/*=================================================*/
/*GLOBAL*/
/*Global body properties*/
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
    box-sizing: border-box;
}

.noScroll{
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #ebebeb;
}

::-webkit-scrollbar-thumb {
    background: #b4b4b4; 
}

::-webkit-scrollbar-thumb:hover {
    background: #b4b4b4; 
}

 
/*=================================================*/
/* HEADER */
/* Header Section */
header {
    background: -webkit-linear-gradient(#00eb7a, #239E76);
    background: -o-linear-gradient(#00eb7a, #239E76);
    background: -moz-linear-gradient(#00eb7a, #239E76);
    background: linear-gradient(#00eb7a, #239E76);
    width: 100vw;
    height: 50vw;
}
/*Container covering the header front*/
#headerFront{
    height: 50vw;
    width: 100%;
/*    background-color: rgba(149, 206, 255, 0.36);*/
    position: relative;
    top: 0px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*Container covering the header back*/
#headerBack{
    height: 50vw;
    width: 100%;    
    position: relative;
    top: -50vw;
    z-index: 1;
    /*  Only mess below  */
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: flex-end;

}

/*Typogram*/
#typoContainer{
    color: white;
    width: 16.3vw;
    height: 22.3vw;
    display: flex;
    flex-wrap: wrap;
    user-select: none;
    cursor: default;
    justify-content: center;
}

#Dank{
    font-family: 'ChaletComprime-HongKongSeventy', sans-serif;
    font-size: 10vw;
    height: 7vw;
    line-height: 6.7vw;
    
}

#typoDivider{
    height: 0.7vw;
    background-color: black;
    width: inherit;
    margin-top: 1vw;
    margin-bottom: 1vw;
}

#Design{
    font-family: 'Bungee', sans-serif;
    font-size: 4.1vw;
    font-weight: normal;
    height: 2.6vw;
    line-height: 2.8vw;
}

.titleCard{
    background-color: black;
    font-family: 'ChaletComprime-HongKongSeventy', sans-serif;
    font-size: 2vw;
    text-align: center;
    width: inherit;
    padding: 3px;
}
 
#name{
    margin-top: 4vw;
    letter-spacing: 1px;
    font-size: 2.4vw;
}

#jobDesc{
    font-family: 'TodayShop-UltraItalic', sans-serif;
    margin-top: 0.4vw; 
    font-size: 1.6vw;
    letter-spacing: 1px;
}

/*Slider*/
#slider{
/*    background-color: aqua;*/
    width: 60vw;
    height: 40vw;
    position: absolute;
    left: 27vw;
    z-index: 1;
    overflow: hidden;
}


#slider > div { 
    position: absolute; 
    top: 0px; 
    left: 0px; 
    right: 0px; 
    bottom: 0px; 
    background-size: cover;
}

/* HEADER: IMAGES */
#slider > #image1{
    background-image: url(1-Resources/Images/Header/Me_Keyboard.png);
}

#slider > #image2{
    background-image: url(1-Resources/Images/Header//Me_Dog.png);
}

#slider > #image3{
    background-image: url(1-Resources/Images/Header/Me_VR.png);
}


/*=================================================*/
/* NAV */

nav {
    background-color: #12100f;
    width: 100%;
    height: 80px;
    display: flex;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    z-index: 3;
}
.caseNav{
    display: flex;
    display: none;
}

.navActive{
    display: flex;
    width: 100%;
    height: 50px;
    background-color: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: navIn;
    animation-duration: 1s;
}

@keyframes navIn{
    0%{
        height: 0px;
        color: rgba(255, 255, 255, 0);
        display: none;
    }
    100%{
        height: 50px;
        color: rgba(255, 255, 255, 0);
        display: flex;
    }
}

/*Navigation link item*/

.navItem {
    color: #ffffff;
    position: relative;
    font-family: 'ChaletComprime-CologneEighty', sans-serif;
    font-size: 19px;
    letter-spacing: 1px;
    line-height: 20px;
    text-decoration: none;
    margin: 0 15px;
    z-index: 3;

}

/*Nav when fixed to the top of the screen*/
nav.fixed{
    position: fixed;
    top: 0;
    z-index: 99;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.35);
    height: 60px;
    background-color: rgba(18, 17, 16, 0.96);
    animation-name: shrink;
    animation-duration: 2s;
}

nav.fixed:hover{
    background-color: #121110;
}
/*Transition animation*/
@keyframes shrink{
    from{
        background-color: #121110;
        height: 80px;
    }
    to{
        height: 60px;  
        background-color: rgba(18, 17, 16, 0.96);
    }
}
/*Underline animation*/
nav > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

nav > a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
}
nav > a:hover{
    margin-bottom: 3px;
}

/*Invisible filler*/
.filler{
    display: none;
}
.active {
    width: 100%;
    height: 120px;
    display: block;
    background-color: #191919;
}



/*=================================================*/
/* MAIN */

/* ========== General Title Span ========== */
.titleSpan{
    width: 100%;
    height: 70px;
    display: flex;
    background-color: #191919;
    justify-content: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

h1{
    margin: 0;
    color: white;
    font-weight: lighter;
    font-family: 'ChaletComprime-HongKongEighty', cursive;
    font-size: 40px;
    letter-spacing: 1px;
    
}

/* ========== About Me ========== */
/*General Elements*/
.tile{

}

h2{
    font-family: 'Bungee';
    font-weight: normal;
    font-size: 25px;
    color: #239E76;
    line-height: 20px;
    margin-top: 0;
}
h3{
    font-family: 'TodayShop-UltraItalic';
    font-size: 23px;
    font-weight: normal;
    letter-spacing: 1px;
    text-decoration: underline;
    width: 100%;
    margin: 0 40px;
    margin-top: 20px;
}

p{
    font-family: 'ChaletComprime-CologneEighty';
    font-weight: lighter;
    letter-spacing: 0.8px;
    font-size: 18px;
    line-height: 20px;
}

/*Section: Personal*/
#AbMePersonal{
    width: 100%;
    background-color: #191919;
    color: white;
}

/*Auto-scaling to tiles*/
#gridContainerAM{
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    user-select: none;
}

#gridBoundsAM{
    width: 100%;
    height: 100%;
}

.tileAM{
    position: relative;
    float: left;
    width: 300px;
    margin: 50px;
}

/*Content*/
/*SLIDER*/
#creationSlider{
    width: 300px;
    height: 200px;
    background-color: #212121;
}

/*PLAYLIST*/
#playListContainer{
    width: 300px;
    height: 70px;
    background-color: #212121;
    overflow: hidden;
}

#playListAddition{
    width: 300px;
    height: 70px;
    background-color: #212121;
    overflow: hidden;
}

/*Section: Professional*/
#AbMeProfessional{
    width: 100%;
}

#AM2Flex{
/*    background-color: #44d4d4;*/
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    margin-bottom: 5vw;
}

/*Flexible container*/

.tileAM2{
    float: left;
    margin: 40px;
}

.tileAM2 p{
    width: 300px;
}

#flexGrid{
/*    background-color: #ededed;*/
    height: auto;
    max-width: 690px;
    min-width: 400px;
    margin-right: 50px;
    display: flex;
    flex-wrap: wrap;
}

.skillBox{
    width: auto;
    height: 80px;
    margin-top: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
/*    background-color: #343434;*/
}

.skillIcon{
    width: 80px;
    height: 80px;
    margin-right: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.skillText{
    width: 120px;
    height: auto;
/*    background-color: #215d36;*/
    font-family: 'ChaletComprime-HongKongEighty';
    font-weight: normal;
    letter-spacing: 0.8px;
    font-size: 16px;
}

/* ========== Feature section ========== */

#featuredItems {
    width: 100%;
    display: flex;
    margin-top: 5vw; 
    margin-bottom: 5vw;  
}

#gridContainerM{
    width: 100%;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*Grid bounding box*/
#gridBoundsM{
    width: 100%;
    height: 100%;
}

/*container class*/
.featureContainer {
    margin: 5vw;
    width: 300px;
    background-size: cover;
    position: relative;
    float: left;
    text-decoration: none;
}

/*Feature headers edit*/
.featureContainer h2{
    font-size: 30px;
    line-height: 1;
    margin: 0;
}

.featureContainer h3{
    font-size: 23px;
    color: #000000;
    margin: 0;
    margin-bottom: 20px;
    text-decoration: none;
}

/*Image properties*/

.featureImage {
    width: 100%;
    height: 300px;
    background-color: #e3e3e3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.featureContainer:hover .featureImage {
    filter: brightness(120%);
    animation-name: mainFadeIn;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
    
/*    filter: grayscale(50%);*/
}

@keyframes mainFadeIn{
    0%{
        filter: brightness(100%);
    },
    100%{
        filter: brightness(120%); 
    }
}

/*FEATURE: IMAGES */
#project1_Image{
    background-image: url(1-Resources/Images/FeaturedCases/Mickeyboard.png);

}

#project2_Image{
    background-image: url(1-Resources/Images/FeaturedCases/Brandbook%20Cover.png);
}

#project3_Image{
    background-image: url(1-Resources/Images/FeaturedCases/Snips_Cover.png);
}

/*============== Other Projects Section ============*/
/*Section*/
#otherItems{
    width: 100%;
    height: auto;
}

/*Grid Container*/
#gridContainer{
    padding: 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    user-select: none;
}

/*Grid bounding box*/
#gridBounds{
    width: 100%;
    height: 100%;
}

/*Grid Tiles*/
.tile{
    background-color:#e3e3e3;
    background-size: cover;
    background-position: center;
    position: relative;
    float: left;
    margin: 20px;
    width: 200px;
    height: 200px;
    cursor: pointer;
}

/*OTHER PROJECTS: IMAGES*/
#tile1{
    background-image: url(1-Resources/Images/OtherCases/ABN/Mockups/ABN_Front.jpg);
}

#tile2{
    background-image: url(1-Resources/Images/OtherCases/Choystuff/Choy_Poster_Frames.jpg);
}

#tile3{
    background-image: url(1-Resources/Images/OtherCases/Buddies/Buddies_Card_Mockup.jpg);
}

#tile4{
    background-image: url(1-Resources/Images/OtherCases/BusinessCard/Mockup.jpg);
}

#tile5{
    background-image: url(1-Resources/Images/OtherCases/GOTPortrait/LowPoly_JonSnow_Framed.jpg);
}

#tile6{
    background-image: url(1-Resources/Images/OtherCases/ING/ING_Mockup.jpg);
}

#tile7{
    background-image: url(1-Resources/Images/OtherCases/Runners/Mockup_2.jpg);
}


/*Tile Content when hidden*/
.projectName{
    color: rgba(0, 0, 0, 0);
}

.projectSub{
    color: rgba(0, 0, 0, 0);
}

.tileOverlay {
    height: 100%;
    width:  100%; 
    position: absolute;
    
}

/*Tile Content when hovered over*/
.tileOverlay:hover, titleOverlay:focus{
    height: 100%;
    width:  100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.59);
    animation-name: fadeIn;
    animation-duration: 0.5s;
}

/*Fade-in animation*/
@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
        
    }
    to {
        background-color: rgba(0, 0, 0, 0.59);
    }
}

/*Make the title name visible*/
.tileOverlay:hover .projectName, .titleOverlay:focus .projectName{
    font-family: 'ChaletComprime-HongKongEighty', sans-serif;
    color: white;
    align-self: center;
    font-size: 30px;
    margin: 0;
    line-height: 1.2;
    animation-name: fadeIn2;
    animation-duration: 0.2s;
}

/*Make the project subtitle visible*/
.tileOverlay:hover .projectSub, .titleOverlay:focus .projectSub{
    font-family: "TodayShop-UltraItalic", sans-serif;
    font-weight: normal;
    letter-spacing: 0.8px;
    color: white;
    background-color: #239E76;
    align-self: center;
    font-size: 14px;
    padding: 3px 10px;
    animation-name: fadeIn2;
    animation-duration: 0.4s;
}

/*Fade-in animation for text*/
@keyframes fadeIn2 {
    from {
        
        font-size: 10px;
        color: rgba(255, 255, 255, 0);
        
    }
    to {
       
    }
}
/*Overlay CSS*/

.overlay{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    position: fixed;
    z-index: 99;
    top: 0; 
    left: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    display: none;
}

.visible{
    display: flex;
}


/*Popups*/
.popUp{
    width: 95%;
    max-width: 1000px;
    margin-top: 5%;
    margin-bottom: 5%;
    height: 700px;
    background-color: white;
    display: inherit;
    align-content: flex-start;
    flex-wrap: wrap;
    align-self: center;
}

/*Big Screen Row Version*/
.imageSlider{
    width: 500px;
    flex-grow: 1;
    height: 100%;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
}

.popUpTextArea{
    padding: 20px;
    width: 300px;
/*    flex-grow: 1;*/
    height: 100%;
    box-sizing: border-box;
    overflow-y: scroll;
}

/*Small Screen Column Version*/
@media only screen and (max-width: 967.5px){
    
    .imageSlider{
        width: 100%;
        height: 50vw;
    }
    
    
    .popUpTextArea{ 
        width: 100%;
        overflow-y: scroll;
        height: auto;
    }
    
    .popUp{
        overflow-y: hidden;
        overflow-x: hidden;
    }
}

.popUpTextArea p{
    max-width: 500px;
}

.popUpTextArea h3, h2{
    margin: 0;
    margin-top: 10px;
    padding: none;
    text-decoration: none;
}

/*============== Footer (contact) Section ============*/

footer{
    padding: 5vw 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #212121;
    color: white;
    font-family: 'ChaletComprime-CologneEighty';
    font-weight: normal;
    box-sizing: border-box;
}

.contactBox{
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 4vw;
}

.linkIcon{
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background-color: #239E76;
    border-radius: 50%;
}

.contactLink{
    letter-spacing: 1px;
    font-size: 20px;
    line-height: 20px;
}

.contactLink a{
    color: #ffffff;
    font-weight: lighter;
}

.footerLow{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contactLocation{
    font-family: 'TodayShop-UltraItalic';
    background-color: #239E76;
    letter-spacing: 1px;
    margin: 50px 0px 20px;
    padding: 3px 8px;
}

.contactLegal{
    border-top: 1px solid #000000;
    width: 100%;
    text-align: center;
    background-color: #212121;
    padding: 6px;
    color: #5a5a5a;
    box-sizing: border-box;
}
  
.contactLegal p{
    font-size: 16px;
    font-weight: bold;
}
