/* === RESET CSS === */

* {
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
}

/* === FONTS === */

@font-face {
    font-family: liszt;
    src: url("../fonts/Liszt-Display.otf");
}

@font-face {
    font-family: Magistrat;
    src: url("../fonts/magistrat_regular100.otf");
}


/* === NAVIGATION === */

nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    margin-top: 10px;
    z-index: 999;

}

nav a {
    text-decoration: none;
    color: white;
    position: absolute;
    font-family: "Magistrat";
    font-weight: 100;
    mix-blend-mode: difference;
}

nav #logo {
    left: 2%;
}

nav #about {
    right: 2%;
}

/* === Project Nav === */

#projectsNav {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(400px * 11);
    height: 100%;
    overflow: hidden
}

#projectsNav img {
    width: 400px;
    height: 100vh;
    object-fit: cover;
    display: inline-block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.25s;
}

/*#projectsNav img:hover {
    width: 700px;
}*/

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

    #projectsNav {
        width: 100%;
        overflow-y: auto;
    }

    #projectsNav img {
        width: 100vw;
        height: 400px;
        display: block;
        overflow-y: auto;
    }

    #projectsNav img:hover {
        width: 100vw;
    }

    body {
        overflow-y: auto;
    }

}

/* === Projects Content === */

#projectContent #crossBack {
    position: absolute;
    top: 2%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 35px;
    transition-property: all;
    transition-duration: 0.5s;
}

#projectContent #crossBack img {
    transition-property: all;
    transition-duration: 0.5s;
}

#projectContent #crossBack img:hover {
    transform: rotate(180deg);
}

#projectContent div img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: 70vh;
}

#projectContent div {
    display: none;
}

#projectContent div:nth-child(1) {
    display: inline-block;
}

#projectContent #crossBack img {
    width: 35px;
    height: auto;
    cursor: pointer;
    margin-top: 2%;
}

#projectContent h1 {
    position: absolute;
    margin-right: auto;
    margin-left: auto;
    left: 0;
    right: 0;
    bottom: 5%;
    text-align: center;
    font-size: 1em;
    font-family: liszt;
    font-weight: 100;
}

#projectContent #projectTxt {
    width: 90%;
    position: absolute;
    top: 120px;
    left: 2%;
}

#projectTxt h2 {
    font-family: liszt;
    font-weight: 100;
    font-size: 2.2em;
    margin-bottom: 20px;
}

#projectTxt p {
    font-size: 1.4em;
    line-height: 1.3em;
    font-family: Magistrat;
    font-weight: 10;
    margin-bottom: 80px;
}

#projectTxt p span,
#projectTxt h2 {
    margin-left: 150px;
}

#projectTxt ul {
    display: inline-block;
    vertical-align: top;
    list-style: none;
    margin-right: 100px;
    font-family: Magistrat;
    font-size: 0.8em;
    position: relative;
}

#link {
    position: fixed;
    bottom: 50px;
}

#projectTxt ul li a {
    text-decoration: none;
    color: black;
    position: relative;
    z-index: 999;
}

/* === Click Zone === */

#clickZone {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 90vh;
}

#clickZone p {
    position: relative;
    width: 50%;
    height: 70vh;
    display: inline-block;
}

#clickZone p:nth-child(1) {
    cursor: url("../images/icons/left_Arrow_black.png"), auto;
}

#clickZone p:nth-child(2) {
    cursor: url("../images/icons/right_Arrow_black.png"), auto;
}

@media only screen and (max-width: 1000px) {
    #projectContent div {
        width: 96%;
        margin-left: 2%;
        display: block;
        position: relative;
        margin-top: 150px;
    }

    #projectContent div img {
        width: 100%;
        height: auto;
        position: relative;
        transform: none;
        top: 0;
    }

    #projectContent #projectTxt {
        position: relative;
    }

    #projectContent #crossBack {
        top: 50px;
    }

    #projectContent h1 {
        top: 110px;
    }

    #projectContent #projectTxt {
        width: 94%;
        top: 0;
        margin-bottom: 100px;
    }
    
    #projectTxt h2 {
        font-size: 1.5em;
    }

    #projectTxt p {
        font-size: 0.9em;
    }

    #projectTxt p span,
    #projectTxt h2 {
        margin-left: 0;
    }
    
    #clickZone {
        display: none;
    }
}
