body {
    max-width: 1366px;
    margin: 0 auto;
    background: #F9F9F9;
    font-family: 'Noto Sans', sans-serif;
    overscroll-behavior-y: none;
    
}

header {
    display: flex;
    justify-content: space-between;
    margin: 64px 32px;

}

.icon {
    visibility: hidden;
}

main {
    margin: 32px;
}

footer {
    margin: 96px 32px;
}

button {
    margin: 0;
    padding: 0;
}

button:active {
    border: none;
    outline: none;
    transform: translateY(-3px);
    transition-duration: .1s;
}

button:hover {
    opacity: .5;
    transition-duration: .2s;
}

button:focus {
    border: none;
    outline: none;
}

.intro {
    margin: 32px;
}

.name {
    width: 150px;
}


nav ul {
    min-width: 110px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0;
    padding: 0;
}

header li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    
}

li a {
    text-decoration: none;
    color: #000;
    font-size: 1em;
    
}

#current-page {
    font-weight: bold;
}

#current-page:hover {
    text-decoration: none;
}

nav li:hover {
    text-decoration: underline;
}

.intro {
    width: 80%;
    margin: 80px auto;
}

h1 {
    font-family: 'Noto Serif', serif;
    font-weight: 400;
    text-align: center;
    font-size: 2.5em;
}

 /* Project Cards */

.project {
    background: #fff;
    border-radius: 30px;
    padding: 5%;
    height: 300px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 32px;
    border: 4px solid transparent;

}

.project_details {
   width: 60%;
    
}

.type {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .35;
    line-height: .25em;

}

.project_name {
    font-family: 'Noto Serif KR', serif;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0;

}

/* Name Variations */

.cmp .project_name {
    color: #00aef0;
}

.insights .project_name {
    color: #2B5993;
}

.ginsights {
    color: #2B5993;
}

.zwaste {
    color: #E1B310;
}

.waste .project_name {
    color: #E1B310;
}

.planit .project_name {
    color: #774BCC;
}

.fds .project_name {
    color: #373B49;
}

.zplanit {
    color: #774BCC;
}

.Projects .project_description {
    font-size: 1em;
    color: #000;
    width: 80%;
}

.CTA {
    text-decoration: none;
    border: 0;
    background: none;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: underline;
    font-size: 1.2em;
    line-height: 2em;
    text-align: left;
}


/* CTA Variations */
.cmp .CTA:hover {
    opacity: .5;
    transition-duration: .2s;
}

.cmp .CTA:active {
    transform: translateY(-3px);
    transition-duration: .1s;
}

.insights .CTA:hover {
    opacity: .5;
    transition-duration: .2s;
}

.insights .CTA:active {
    transform: translateY(-3px);
    transition-duration: .1s;
}

.waste .CTA:hover {
    opacity: .5;
    transition-duration: .2s;
}

.waste .CTA:active {
    transform: translateY(-3px);
    transition-duration: .1s;
}

.planit .CTA:hover {
    opacity: .5;
    transition-duration: .2s;
}

.planit .CTA:active {
    transform: translateY(-3px);
    transition-duration: .1s;
}

.cmp .CTA {
    color: #00aef0;
}

.insights .CTA {
    color: #2B5993;
}

.waste .CTA {
    color: #E1B310;
}

.planit .CTA {
    color: #774BCC;
}

.fds .CTA {
    color:#373B49;
}

/* Image Variations */

.project {
    display: flex;
    flex-direction: row;
    background: #ffffff no-repeat url(assets/CMPMock.png);
    background-position: 120% 0px;
    background-size: 55%;
    
}

.insights {
    display: flex;
    flex-direction: row;
    background: #ffffff no-repeat url(assets/Insights_Mock.png);
    background-position: 120% 0px;
    background-size: 55%;
    
}
 
.waste {
    display: flex;
    flex-direction: row;
    background: #ffffff no-repeat url(assets/Waste_Mock.png);
    background-position: 135% -20px;
    background-size: 65%;
    
    
}

.planit {
    display: flex;
    flex-direction: row;
    background: #ffffff no-repeat url(assets/planit.png);
    background-position: 120% 110%;
    background-size: 50%;
    
    
}

.fds {
    display: flex;
    flex-direction: row;
    background: #ffffff no-repeat url(assets/FDSMock.png);
    background-position: 120% 20px;
    background-size: 55%;
    
}

/* Border Variations */

.project:hover {
    border: 4px #00aef0 solid;
    transition-duration: .5s;
    transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    
}

.insights:hover {
    border: 4px #2B5993 solid;
    transition-duration: .5s;
    transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    
}

.waste:hover {
    border: 4px #E1B310 solid;
    transition-duration: .5s;
    transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    
}

.planit:hover {
    border: 4px #774BCC solid;
    transition-duration: .5s;
    transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    
}

.fds:hover {
    border: 4px #373B49 solid;
    transition-duration: .5s;
    transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
}

/* About Page */

.about {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
   
}

.headshot {
    margin-right: 20px;
    
}

.me_details {
    width: 30%;
    
}

.social-container {
    margin-top: 20px;
}

.social {
    padding-right: 8px;
}

.social:hover {
    opacity: .5;
}

.experience {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    background: #fff;
    padding: 5%;
    margin-top: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.jobs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company {
    padding: 8px 0px;
}

.role {
    font-size: 1.2em;
    line-height: 1em;

}

.resume {
    align-self: flex-start;
}

/* Case Studies */

.case-study {
    margin: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    
}

.hero {
    width: 50%;
}

.case-study .project_details {
    width: 50%;
    margin-right: 10px;
}

.case-study .project_description {
    width: 80%;
}

.case-body .project_name{
    opacity: .5;
    margin-top: 32px;

}


.metadata {
    margin: 32px;
    /* padding: 32px 32px; */
    border-radius: 30px;
    /* background: #ffffff; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 85%;
    
}


.metadata .type {
    font-size: .8em;
}

.metadata .project_description {
    font-size: 1.3em;
    margin-top: -5px;
    width: 100%;
}

.case-body section {
    margin-top: 32px;
}

.background {
    box-sizing: border-box;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    padding: 64px;
    width: 75%;
    margin: 64px 0;
    
}


.body_text {
    width: 90%;
    font-family: 'Noto Serif';
    font-size: 1.5em;
}

.case-body li {
    font-family: 'Noto Serif';
    font-size: 1.5em;
    width: 90%;
    margin-bottom: 8px;
}

.body_label {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: -5px;
}

.images {
    margin-top: 20px;
    display:flex;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: wrap;
    height: fit-content;
}

.images img {
    width: 47%;
    padding: 3% 3% 3% 0;
    height: 100%;
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.2));
}

.phase img {
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.2));

}

.oldversion img {
    width: 30%;
}

.wireframes .images img:nth-of-type(5) {
    width: 35%;
}

.wireframes .images img:nth-of-type(6) {
    width: 35%;
}

.hidef .images img:nth-of-type(1) {
    width: 80%;
}

.hidef .images img:nth-of-type(2) {
    width: 80%;
}

.hidef .images img:nth-of-type(3) {
    width: 35%;
}

.hidef .images img:nth-of-type(4) {
    width: 39%;
}

.welcome {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.welcome img {
    width: 100%;
    margin: 16px 0;
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.2));
}

.phase {
    display: flex;
    justify-content: space-between;
}

.phase img {
    height: 100%;
    width: 60%;
    flex-shrink: 2;
    align-self: center;
}

.gif {
    width: 100%;
    margin: 0 auto;
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.2));
}

.separator {
    width: 100%;
    margin: 10% 0;
    border: 2px solid #000000;
    opacity: .15;
    border-radius: 30px;

}

.container {
    width: 45%;
}

footer {
    display: flex;
    justify-content: space-between;
}

.backtotop {
    display: flex;
    flex-direction: column;
    align-items: center;

}

footer a{
    text-decoration: none;
    color: black;

}

.backarrow {
    width: 16px;
    transform: rotate(-90deg);
    margin-bottom: -16px;
}

.backtotop:active {
    border: none;
    outline: none;
    transform: translateY(-3px);
    transition-duration: .1s;
}

.backtotop:hover {
    opacity: .5;
    transition-duration: .2s;
}

.nextproject {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 700;
}

.rightarrow {
    width: 16px;
    margin-left: 8px;
}

.nextproject:active {
    border: none;
    outline: none;
    transform: translateY(-3px);
    transition-duration: .1s;
}

.nextproject:hover {
    opacity: .5;
    transition-duration: .2s;
}



/* Media Queries */
@media screen and (min-width: 200px) and (max-width: 320px){

    
}
@media screen and (min-width: 0px) and (max-width:599px){

    .intro {
        margin: 50px auto;
    }
    header {
        margin: 32px 16px;
        flex-direction: column;
        align-items: center;
    }


    nav {
        position:fixed;
        bottom: 0px;
        z-index: 2;
        align-self: center;
        width: 100%;
        
        filter: drop-shadow(0px -8px 15px rgba(0, 0, 0, 0.1));
    }

    nav ul {
        justify-content: space-around;
    }

    .icon {
        visibility: visible;
        height: 25px;
    }

    nav li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: .8em;
        height: 65px;
        width: 50%;
        text-align: center;
        background-color: #fff;
        
    }


    #inactive img {
        opacity: .3;
        
    }

    #inactive a {
        color: rgba(0, 0, 0, 0.3);
        
    }
  
    h1 {
        font-size: 1.5em;
    }
    .type {
        font-size: .8em;
        opacity: 1;
    }
    
    .project_name {
        font-size: 1.5em;
        
    }

    
    
    .Projects .project_description {
        font-size: 1em;
        width: 100%;
    
    }

    .CTA {
        font-size: 1em;
        margin: 5% 0;
    }
    
    .project {
        height: 100%;
        text-align: center;
        background: #ffffff no-repeat url(assets/m_CMPMock.png);
        background-position: center;
        background-size: 80%;
        
    }
    .insights {
        background: #ffffff no-repeat url(assets/m_Insights_Mock.png);
        background-position: center;
        background-size: 80%;
        
    }
    .waste {
        background: #ffffff no-repeat url(assets/m_Waste_Mock.png);
        background-position: center;
        background-size: 90%;
        
    }

    .planit {
        background: #ffffff no-repeat url(assets/m_planit.png);
        background-position: 50% 120%;
        background-size: 80%;
        
    }

    .fds {
        background: #ffffff no-repeat url(assets/m_FDSMock.png);
        background-position: center;
        background-size: 80%;

    }
    .project_details {
        width: 100%;
         
     }

     footer {
         text-align: center;
     }



}

@media screen and (min-width: 600px) and (max-width: 800px) {

    h1 {
        font-size: 2em;
    }
    .type {
        font-size: .8em;
    }
    
    .project_name {
        font-size: 2em;
        
    }

    .project_description {
        font-size: .8em;
    }

    .CTA {
        font-size: 1em;
    }

    
    .project {
        background: #ffffff no-repeat url(assets/CMPMock.png);
        background-position: 120% 50%;
        background-size: 50%;
        
    }
    
    .insights {
        display: flex;
        flex-direction: row;
        background: #ffffff no-repeat url(assets/Insights_Mock.png);
        background-position: 120% 50%;
        background-size: 50%;
        
    }
    
    .waste {
        display: flex;
        flex-direction: row;
        background: #ffffff no-repeat url(assets/Waste_Mock.png);
        background-position: 150% 50%;
        background-size: 70%;
        
        
    }

    .planit {
        display: flex;
        flex-direction: row;
        background: #ffffff no-repeat url(assets/planit.png);
        background-position: 110% 110%;
        background-size: 52%;
        
        
    }

    .fds {
        display: flex;
        flex-direction: row;
        background: #ffffff no-repeat url(assets/Insights_Mock.png);
        background-position: 110% 110%;
        background-size: 52%;
        
        
    }

   
    

}

@media screen and (max-width: 600px) {

    /* About */

    .about {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    
    }


    .headshot {
        margin-right: 0px;
        
    }

    .me_details {
        width: 70%;
        text-align: center;
        
    }

    .me_details .project_description { 
        font-size: 1em;
        
    }

    .social-container {
        margin-top: 20px;
    }

    .type {
        opacity: .5;
    }

    /* Case Studies */

    .case-study {
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        
    }
    
    .case-study .project_details {
        width: 100%;
        margin-right: 0px;
        margin-top: 32px;
        text-align: center;
    }

    .hero {
        width: 70%;
    }
    
    .case-study .project_description {
        width: 100%;
    }

    .metadata {
        margin: 32px auto;
        /* padding: 32px 32px; */
        border-radius: 30px;
        /* background: #ffffff; */
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        
    }
    
    .meta-container {
        width: 45%;
        
    }

    .background {
        padding: 10%;
        width: 100%;
        margin: 5% 0;
        
    }
    
    .images {
        margin-top: 20px;
        display:flex;
        justify-content: space-around;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .images img {
        width: 100%;
        padding: 3% 0;
        height: 100%;
        
    }

    .phase {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .phase img {
        width: 100%;
    }
    
    .container {
        width: 100%;
    }

    .wireframes .images img:nth-of-type(5) {
        width: 100%;
    }
    
    .wireframes .images img:nth-of-type(6) {
        width: 100%;
    }
    
    .hidef .images img:nth-of-type(1) {
        width: 100%;
    }
    
    .hidef .images img:nth-of-type(2) {
        width: 100%;
    }
    
    .hidef .images img:nth-of-type(3) {
        width: 100%;
    }
    
    .hidef .images img:nth-of-type(4) {
        width: 100%;
    }
    
    

    
  

}

@media screen and (max-width: 800px) {

    /* About */
   
   .experience {
       flex-direction: column;
       justify-content: space-between;
       align-items: center;
       padding: 10%;
   }
   
   .jobs {
       display: flex;
       flex-direction: column;
       justify-content: space-between;
       text-align: center;
       margin: 25px 0;
   }

   .me_details .project_description { 
    font-size: 1em;
    
}
   
   .company {
       padding: 8px 0px;
   }
   
   .role {
       font-size: 1em;
       line-height: 1em;
   
   }
   
   .resume {
       align-self: center;
   }

   /* Case Studies */

    .metadata .project_description {
        font-size: 1em;
    }

    .body_text {
        width: 100%;
        font-family: 'Noto Serif';
        font-size: 1.2em;
    }
    
    .case-body li {
        font-family: 'Noto Serif';
        font-size: 1.2em;
        width: 100%;
        
    }
    
    .body_label {
        font-size: 1.2em;
        font-weight: 700;
        margin-bottom: -5px;
    }

    footer {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        align-items: center;
    }

    .nextproject {
        padding-bottom: 32px;
    }



    }