*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --button-color: hsl(250, 80%, 60%);
    --body-color: hsl(210, 100%, 80%);
    --nav-background-color: hsl(350, 100%, 75%);
}
body{
    background-color: var(--body-color);
}

/* NAVBAR */
.nav-container{
    background-color: var(--nav-background-color);
    width: 100%;
    z-index: 100;
    position: relative;
    top: 0;
}
.nav-list{
    list-style: none;
    padding: 0px 50px;
    text-align: center;
    /* animation: slideRight 0.8s forwards ease-in; */
}
.nav-items{
    display: inline-block;
    padding: 15px;
    margin: 0px 2vw;
}
.nav-items a{
    padding: 14px 20px;
    text-decoration: none;
    background-color: var(--button-color);
    border-radius: 10px;
    color: white;
    font-weight: 500;
    font-size: 20px;
    font-family: Helvetica, sans-serif;
}
#nav-items-dropdown{
    display: none;
}

/* @keyframes slideRight {
    from {
        padding-left: 0;
        opacity: 0;
    }
} */

/* WORK DROPDOWN */
.work-dropdown{
    position: relative;
}
.work-dropdown-content{
    position: absolute;
    display: none;
    top: 50px;
    text-align: left;
    background-color: var(--button-color);
    border-radius: 10px;
    z-index: 10;
}
.work-dropdown-content a {
    display: block;
    width: 250px;
}
.show-nav-dropdown {
    display: block;
}

/* SIDE NAV */
.sideNav-container{
    position: fixed;
    left: 80px;
    top: 150px;
    width: 80px;
    height: 400px;
    background-color: var(--nav-background-color);
    border-radius: 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.15s ease-in;
}
.sideNav-list{
    height: 400px;
    padding: 5px;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    position: relative;
}
.sideNav-items{
    padding: 10px;
    margin: 10px 0px;
}
.sideNav-items a{
    text-decoration: none;
    padding: 15px;
    color: white;
    font-weight: bold;
    background-color: var(--button-color);
    border-radius: 10px;
    transition: 0.2s ease-in;
}
.show-sideNav {
    display: block;
    opacity: 1;
}

/* SIDENAV HOVER EFFECTS */

/* SIDENAV HOME BTN HOVER EFFECT */
.sideNav-home {
    position: relative;
}
.sideNav-home::after {
    content: 'ome';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 28px;
    color: white;
    padding: 15px 15px 14.5px 0px;
    background-color: var(--button-color);
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-28px);
}
.sideNav-items:hover .sideNav-home::after{
    animation: slideIn 0.2s ease-in forwards;
}

/* SIDENAV WORK BTN HOVER EFFECT */
.sideNav-work {
    position: relative;
}
.sideNav-work::after {
    content: 'ork';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 30px;
    color: white;
    padding: 15px 15px 14px 0px;
    background-color: var(--button-color);
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-30px);
}
.sideNav-items:hover .sideNav-work::after{
    animation: slideIn 0.2s ease-in forwards;
}

/* SIDENAV GAME BTN HOVER EFFECT */
.sideNav-game {
    position: relative;
}
.sideNav-game::after {
    content: 'ame';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 28px;
    color: white;
    padding: 15px 15px 14px 0px;
    background-color: var(--button-color);
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-30px);
}
.sideNav-items:hover .sideNav-game::after{
    animation: slideIn 0.2s ease-in forwards;
}

/* SIDENAV QUALIFICATION BTN HOVER EFFECT */
.sideNav-qualifications {
    position: relative;
}
.sideNav-qualifications::after {
    content: 'ualifications';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 28px;
    color: white;
    padding: 15px 15px 14px 0px;
    background-color: var(--button-color);
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-30px);
}
.sideNav-items:hover .sideNav-qualifications::after{
    animation: slideIn 0.2s ease-in forwards;
}

/* SIDENAV CONTACT BTN HOVER EFFECT */
.sideNav-contact {
    position: relative;
}
.sideNav-contact::after {
    content: 'ontact';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 28px;
    color: white;
    padding: 15px 15px 14px 0px;
    background-color: var(--button-color);
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-30px);
}
.sideNav-items:hover .sideNav-contact::after{
    animation: slideIn 0.2s ease-in forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-28px);
    }
    50% {
        opacity: 0.1;
        transform: translateX();
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* LANDING PAGE */
.landing-section{
    width: 100%;
    height: 720px;
    padding: 140px;
    text-align: center;
    /* line-height: 20vh; */
    --landing-font-color: hsl(0, 0%, 21%);
    --landing-font-family: 'Courier New', Courier, monospace;
    animation: slideDownFadeIn 0.8s forwards ease-in;
}

.landing-section h1 {
    font-size: 50px;
    font-family: var(--landing-font-family);
    color: var(--landing-font-color);
    padding-bottom: 100px;
    user-select: none;
}

.landing-section h3 {
    font-size: 35px;
    font-family: var(--landing-font-family);
    color: var(--landing-font-color);
    user-select: none;
}

@keyframes slideDownFadeIn {
    from {
        padding: 0px;
        opacity: 0;
    }
}

/* SECTIONS  */
.section {
    width: 65vw;
    height: 70vh;
    border-radius: 10px;
    box-shadow: 1px 3px 5px 3px gray;
}

/* SECTION 1 */
.section1{
    margin: 0 auto 150px auto;
    position: relative;
}
.section1 canvas{
    background-color: #ccc;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
#section1-header{
    position: absolute;
    left: 27vw;
    top: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.lang{
    position: absolute;
}
#lang_0{
    top: 8vh;
    left: 4vw;
}
#lang_1{
    top: 16vh;
    left: 10vw;
}
#lang_2{
    top: 22vh;
    left: 16vw;
}
#lang_3{
    top: 28vh;
    left: 22vw;
}
#lang_4{
    top: 34vh;
    left: 29vw;
}
#lang_5{
    top: 43vh;
    left: 40vw;
}
#lang_6{
    top: 50vh;
    left: 50vw;
}
#lang_7{
    top: 58vh;
    left: 60vw;
}


/* SECTION 2 */
.section2 {
    background-color: #ccc;
    margin: 0 auto 150px auto;
}
.section2 > img{
    width: 70%;
    height: 70vh;
    float: left;
    border-radius: 10px 0px 0px 10px;
    margin-right: 10px;
}
.section2 h1{
    padding-top: 30px;
}
.section2 p{
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 23px;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1024px) and (min-width: 844px) {
    .sideNav-container{
        left: 45px;
    }
    .nav-items{
        margin: 0px 1vw;
    }
    .nav-list{
        padding: 0px 20px;
    }
}

@media screen and (max-width: 844px){
    .sideNav-container{
        left: 35px;
    }
    .nav-items{
        margin: 0px 10px;
        padding: 15px 5px;
    }
    .nav-list{
        padding: 0px 10px;
    }
}

@media screen and (max-width: 740px) {
    #nav-items-dropdown{
        display: block;
        font-size: 30px;
        padding: 10px 30px;
        margin: 0px auto 0px auto;
        background-color: hsl(350, 100%, 68%);
        color: white;
        border: 2px solid hsl(350, 100%, 68%);
    }
    .nav-list{
        display: none;
        position: absolute;
        top: 58px;
        width: 100%;
        text-align: center;
        background-color: var(--button-color);
        z-index: 10;
        animation: none;
        padding: 0;
    }
    .nav-items{
        display: block;
    }
    .work-dropdown{
        padding: 15px 0px;
        margin: 0;
    }
    .work-dropdown-content{
        position: relative;
        top: 0;
        text-align: center;
    }
    .work-dropdown-content a{
        width: 100%;
        text-align: center;
    }
    .show{
        display: block;
    }
}

@media screen and (max-width: 720px) {
    .sideNav-container{
        display: none;
    }
    .landing-section{
        padding: 20vw;
    }
}
@media screen and (max-width: 420px) {
    .landing-section{
        padding: 15px;
        height: 670px;
    }
}
@media screen and (max-width: 280px) {
    .landing-section{
        padding: 5px;
        height: 670px;
    }
    .landing-section h1{
        padding: 20px 0px 50px 0px;
    }
}
