*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --background-main:  #000; /* #191F28; */
    --font-main: #FFFFFF;
    --font-secondary: #818181;
    --font-highlight: #eeee12;
}

@font-face {
    font-family: KenneyMiniSquare;
    src: url("./fonts/Kenney\ Mini\ Square.ttf");
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: KenneyMiniSquare;
    background-color: var(--background-main);
    color: var(--font-main);
    max-width: 100vw;
    overflow-x: hidden;
}

img{
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.flex-c{
    display: flex;
    justify-content: center;
    align-items: center;
}

#burger{
    display: none;
}

#burger div{
    width: 25px;
    height: 3px;
    background-color: var(--font-main);
    margin: 5px;
    transition: all 0.3s ease;
}

#burger.active .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}

#burger.active .line2{
    opacity: 0;
}

#burger.active .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}

nav{
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 30px;
}

nav a{
    position: relative;
    color: var(--font-main);
    text-decoration: none;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
}

nav a:hover{
    color: var(--font-secondary);
}

nav a:hover img{
    filter: invert(30%);
}

nav a img{
    position: relative;
    height: 80px;
    width: 80px;
    padding: 15px;
    margin-bottom: 5px;
}

nav a img.border{
    position: absolute;
    top: 0;
    padding: 0;
}

nav a.active img.icon{
    color: var(--font-highlight);
}

@keyframes navItemFadeIn {
    0%{
        opacity: 0;
        left: -50px;
    }

    100%{
        left: 0px;
        opacity: 1;
    }
}

@keyframes navItemFadeOut {
    0%{
        left: 0px;
        opacity: 1;
    }
    
    100%{
        opacity: 0;
        left: -50px;
    }
}

section.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section.hero p{
    margin: 100px 0;
    font-size: 31px;

    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut{
    0%{
        opacity: 1;
    }

    50%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% { opacity: 1; }

    100%{ 
        opacity: 0; 
        z-index: -1;
    }    
}

h1{
    font-size: 90px;
}

section.hero{
    min-height: 100vh;
}

section{
    margin: 50px 0;
}

section h2{
    font-size: 71px;
}

.muted{
    color: var(--font-secondary);
}

/* BIO Section */
#bio{
    flex-direction: column;
}

#bio .whoami{
    text-align: center;
}

#bio .whoami h3{
    font-size: 36px;
    color: var(--font-secondary);
    margin-top: 50px;
}

#bio .whoami h4{
    font-size: 21px;
    margin-top: 15px;
}

#bio .whoami h4 b{
    color: var(--font-highlight);
}

#bio .strengths{
    margin-top: 50px;
}

#bio .strengths .help{
    flex-direction: column;
    position: relative;
}

#bio .strengths .help .border img{
    position: absolute;
    top: 0;
    height: 125px;
}

#bio .strengths .help .border p{
    font-size: 21px;
    height: 100px;
    width: 275px;
    margin: 35px 20px 60px 20px;
    text-align: center;
}

#bio .strengths .help img{
    height: 200px;
    padding: auto;
    z-index: -1;
}

#bio .strengths .list{
    flex-direction: column;
    margin-left: 50px;
}

#bio .strengths .list h2{
    font-size: 60px;
}

#bio .strengths .list .strengths-list{
    margin-top: 35px;
}

#bio .strengths .list .strength{
    display: flex;
    align-items: center;
    
}

#bio .strengths .list .strength p{
    padding-bottom: 9px;
    margin: 10px 30px 10px 0;
    font-size: 25px;
    width: 200px;
}

#bio .strengths .list .strength .slider{
    position: relative;
}

#bio .strengths .list .strength .slider .slider-handle{
    position: absolute;
    right: 0;
}

#bio .strengths .list .strength .slider img{
    height: 50px;
    width: 50px;
    margin: 0 -2px;
}

#bio .strengths .list .strength:hover{
    color: var(--font-secondary);
    cursor: pointer;
}

#bio .strengths .list .strength.hidden{
    display: none;
}

#bio .strengths .list .description{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    width: 476px;
    min-height: 300px;
    display: none;
}

#bio .strengths .list .description.active{
    display: flex;
}

/* Skills Section */

#skills {
    flex-direction: column;
    margin: 0 0 200px 0;
}

#skills .rows{
    margin: 100px 0 30px 0;
}

#skills .skill{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    width: 110px;
    margin: 30px;
}

#skills .skill img{
    height: 100px;
}

#skills .skill:hover img{
    height: 110px;
}

#hover-text{
    font-size: 21px;
}

/* Projects Section */
#projects{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects .featured{
    margin: 50px 0;
}

#projects .featured .project-card{
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

#projects .featured p{
    font-size: 21px;
    margin: 15px 0;
}

#projects .featured .border{
    position: absolute;
    top: 50px;
}

#projects .featured .icon{
    height: 200px;
    width: 300px;
    padding: 25px 80px;
    margin: 20px;
}

/* Experience Section */
#experience{
    width: 1050px;
    margin: 0 auto;
}

#experience h2{
    text-align: center;
}

#experience .work{
    margin: 30px 0;
}

#experience p{
    color: var(--font-secondary);
}

#experience h3{
    font-weight: 500;
    font-size: 21px;
}

#experience h3.position{
    color: var(--font-highlight);
}

#experience .work .details{
    margin: 10px 0 0 30px;
}

#experience .work .details li{
    margin: 5px 0;
}

/* Contact Section */
#contact{
    flex-direction: column;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#contact h2{
    text-align: center;
}

#contact .links{
    margin: 0 auto;
}

#contact a{
    display: flex;
    margin: 10px;
    color: var(--font-main);
}

#contact a img{
    margin-right: 50px;
    height: 60px;
}

#contact a p{
    font-size: 42px;
}

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

    #burger{
        display: block;
        position: fixed;
        top: 25px;
        right: 25px;
        height: 30px;
        width: 30px;
        z-index: 99;
    }

    h1{
        font-size: 60px;
    }

    section.hero p{
        font-size: 21px;
    }

    section h2{
        font-size: 41px;
    }

    #burger{
        display: block;
        cursor: pointer;
    }

    nav{
        display: none;
        background-color: var(--background-main);
        width: 100vw;
        height: 100vh;
        left: 0;
        align-items: baseline;
        z-index: 10;
    }

    nav a{
        flex-direction: row;
        justify-content: left;
        margin: 20px 10%;
        width: 80%;
    }

    nav a img.icon{
        margin-right: 20px;
    }

    nav a img.border{
        left: 0;
    }

    nav a p{
        font-size: 21px;
    }

    #bio .whoami{
        width: 80%;
    }

    #bio .whoami h3{
        font-size: 31px;
    }
    
    #bio .whoami h4{
        font-size: 21px;
    }

    #bio .strengths{
        flex-direction: column-reverse;
    }

    #bio .strengths .list{
        margin: 0 0 50px 0;
    }

    #bio .strengths .list h2{
        font-size: 36px;
        text-align: center;
    }

    #bio .strengths .help .character{
        display: none;
    }

    #bio .strengths .list .strengths-list{
        margin-top: 20px;
    }

    #bio .strengths .list .strengths-list .strength{
        flex-direction: column;
        text-align: center;
    }

    #bio .strengths .list .strengths-list .strength p{
        margin: 0;
    }

    #bio .strengths .list .description{
        width: 80%;
        height: 470px;
    }

    #skills {
        flex-direction: column;
        margin: 0 0 50px 0;
    }

    #skills .rows{
        display: flex;
        flex-direction: column;
        margin: 30px 0 0 0;
    }

    #skills .row{
        flex-wrap: wrap;
        height: auto;
        width: auto;
        margin: 0;
    }

    #skills .skill{
        height: 50px;
        width: 50px;
    }

    #skills .skill img{
        height: 40px;
    }

    #skills .skill:hover img{
        height: 40px;
    }

    #skills p{
        display: none;
    }

    #projects .featured{
        flex-direction: column;
    }

    #experience{
        width: 80%;
    }

    #contact a{
        margin: 30px 0;
    }

    #contact a img{
        margin-right: 20px;
        height: 30px;
    }
    
    #contact a p{
        font-size: 21px;
    }
}