:root{
    --primary: #707070;
    --secondary: #d41414;
}


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

body {
    background: rgb(252, 251, 245);
}

@font-face {
    font-family: rubrik-new, sans-serif;
    src: url("../font/Rubik-Regular.ttf");
}

h1, h2, h3, h4, h5, p, a, li {
    font-family: rubrik-new, sans-serif;
    font-weight: 400;
    font-style: normal;
    src: url("../font/Rubik-Regular.ttf");
    color: var(--primary);
    text-decoration: none;
    list-style: none;
}

hr {
    width: 80%;
    margin: auto;
    background-color: var(--primary);
}

a {
    transition: all 0.8s ease;
}

.moreInfo {
    color: var(--secondary);
}

.moreInfo:hover {
    color: var(--primary);
    transition: all 0.4s ease;
}



header {
    width: 100%;
    height: 8vh;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 99;
}

nav {
    width: 99%;
    height: 100%;
    background-color: rgba(252, 251, 245, 0.75);
    -webkit-backdrop-filter: blur(0.2rem);
    -moz-backdrop-filter: blur(0.2rem);
    backdrop-filter: blur(0.2rem);display: flex;
    justify-content: center;
    align-items: center;
}

.navContainer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    place-items: center;
    width: 90%;
}




.logo {
    grid-column: 1/4;
    width: 100%;
    z-index: 1001;
}

.logo a {
    color: var(--secondary);
}


.logo a:hover {
    color: var(--primary);
}




.nav-links {
    grid-column: 4/10;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

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

.nav-links .active {
    color: var(--secondary);
}

.active a {
    color: var(--secondary);
}



.contact-links {
    grid-column: 10/13;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.cont a {
    color: var(--secondary);
}

.cont a:hover {
    color: var(--primary);
}



.flag-btn {
    width: 2.5rem;
    height: 1.5625rem;
    margin-left: 5%;
    opacity: 0.3;
    cursor: pointer;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.flag-btn:hover {
    opacity: 1;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    transition: all 0.8s ease;
} 

.engCol, .gerCol {
    width: 2.5rem;
    position: absolute;
}


#options-active {
    opacity: 1;
    transition: 0.6s;
}



.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    margin-right: -0.2rem;
}

.burger div {
    width: 1.5625rem;
    height: 0.1875rem;
    background-color: var(--primary);
    margin: 5px;
    transition: all 0.3s ease;
}





.cover {
    width: 100%;
    height: 98vh;
    position: relative;
    display: flex;
    justify-content: center;
    z-index: -99;
}

.bg-text {
    position: fixed;
    top: 10vh;
    width: 90%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    opacity: 0.3;
    z-index: -98;
}

.blur-text {
    width: 100%;
}


.nameBlock {
    width: 100%;
    height: 80%;
    margin-top: 10vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.top, .mid, .bot {
    max-width: 100%;
    height: 20%;
}

.top {
    background-image: url(../assets/elements/hen.svg);
    background-repeat: no-repeat;
    background-position: center;
    
}

.mid {
    background-image: url(../assets/elements/der.svg);
    background-repeat: no-repeat;
    background-position: center;
}

.bot {
    background-image: url(../assets/elements/son.svg);
    background-repeat: no-repeat;
    background-position: center;
}



.cover-bouncer {
    height: 5vh;
    width: 100vw;
    text-align: center;
    position: relative;
    top: -3.5rem;
    z-index: 20;
}




#bounce {
    position: relative;
    top: -50px;
    font-style: normal;
    font-size: 3.2em;
    color: var(--primary);
    -webkit-animation: bounce 0.7s ease infinite alternate;
    -moz-animation: bounce 0.7s ease infinite alternate;
    animation: bounce 0.7s ease infinite alternate;
}

@keyframes bounce { 100% { top: -20px; } }
@-webkit-keyframes bounce { 100% { top: -20px; } }
@-moz-keyframes bounce { 100% { top: -20px; } }






.headline {
    text-align: center;
}

.aboutHeader {
    text-align: center;
    width: 100%;
    height: 5rem;
    line-height: 5rem;
}

.aboutContent {
    width: 60%;
    max-width: 52.5rem;
    height: 100%;
    margin: auto;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.5;
}

.aboutInfo, .info {
    text-align: center;
}




.work {
    margin-top: 8vh;
    position: relative;
    margin-bottom: 2rem;
}





.box {
    margin: auto;
    margin-bottom: 3rem;
}

.content {
    margin: auto;
    position: relative;
    border-radius: 10px;
    box-shadow: 2px 2px 10px var(--primary);
}

.contentTitle {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    border-radius: 0 0 10px 10px;
    -webkit-backdrop-filter: blur(0.4rem);
    -moz-backdrop-filter: blur(0.4rem);
    backdrop-filter: blur(0.4rem);
}

.contentTitle h1 {
    color: rgb(255, 255, 255);
    text-align: center;
}

.aboutWorkText {
    height: 20%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.info {
    margin-top: 1rem;
    align-self: center;
}






@media screen and (max-width: 21.875em) {

    .burger {
        display: block;
    }


    .nav-links {
        position: absolute;
        right: 0px;
        top: 0;
        width: 100vw;
        height: 100vh;
        padding: 40% 0;
        background-color:  rgba(252, 251, 245, 0.9);
        backdrop-filter: blur(1rem);
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
    }

    .cont {
        display: none;
    }

    
    .logo {
        grid-column: 1/7;
        font-size: 0.8rem;
    }


    .contact-links {
        height: 0.625rem;
        grid-column: 7/12;
    }

    .bg-text {
        opacity: 0.15;
    }

    .aboutHeader h1 {
        font-size: 1.8rem;
    }


    .aboutContent {
        width: 80%;
    }

    .aboutInfo {
        width: 80%;
        margin: auto;
    }

    .box {
        width: 90%;
        height: 45vh;
        margin-bottom: 2rem;
    }

    .content {
        width: 90%;
        height: 50%;
    }

    .aboutWorkText {
        height: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
        align-items: flex-start;
    }

}







@media screen and (min-width: 21.875em) and (max-width: 43.75rem) {

    .burger {
        display: block;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        top: 0;
        width: 100vw;
        height: 100vh;
        padding: 40% 0;
        background-color:  rgba(252, 251, 245, 0.9);
        backdrop-filter: blur(1rem);
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
    }


    .logo {
        grid-column: 1/7;
        font-size: 0.95rem;
    }

    .cont {
        display: none;
    }

    .contact-links {
        grid-column: 7/12;
    }

    .bg-text {
        opacity: 0.2;
    }



    .aboutContent {
        width: 80%;
    }



    .box {
        width: 90%;
        height: 50vh;
        margin-bottom: 1rem;
    }

    .content {
        width: 90%;
        height: 50%;
    }

    .aboutWorkText {
        height: auto;
        width: 90%;
        margin: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    
}



.nav-active {
    transform: translateY(0%);
}


@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}   

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

.toggle .line2 {
    opacity: 0;
}

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




@media screen and (min-width: 43.75em) and (max-width: 53.125rem) {

    .logo {
        grid-column: 1/4;
        font-size: 1rem;
    }

    .nav-links {
        grid-column: 4/11;
        font-size: 0.8rem;
    }

    .contact-links {
        grid-column: 11/13;
        font-size: 0.8rem;
    }

    .cont {
        display: none;
    }

    .aboutContent {
        width: 70%;
    }



    .box {
        height: 50vh;
        max-height: 20rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 3rem;
        margin-bottom: 4rem;
    }

    .content {
        width: 90%;
        height: 100%;
        grid-column: 1/2;
        grid-row: 1/4;
        margin: auto 0 auto auto;
    }

    .aboutWorkText {
        width: 80%;
        height: auto;
        margin: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
        grid-column: 2/3;
        grid-row: 2/3;
        align-self: start;
    }

    .info {
        grid-column: 2/3;
        grid-row: 2/3;
        align-self: center;
        margin-top: 1rem;
    }

    .left .content {
        grid-column: 2/3;
        grid-row: 1/4;
        margin: auto auto auto 0;
    }

    .left .aboutWorkText {
        grid-column: 1/2;
    }

    .left .info {
        grid-column: 1/2;
    }


}



@media screen and (min-width: 53.125em) and (max-width: 62.5rem) {

    .nav-links {
        font-size: 0.77rem;
    }
}



@media screen and (min-width: 53.125em) {


    .box {
        width: 90%;
        height: 50vh;
        max-height: 50rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 3rem;
        margin-bottom: 6rem;
    }

    .content {
        width: 90%;
        height: 100%;
        grid-column: 1/2;
        grid-row: 1/4;
        margin: auto 0 auto auto;
    }


    .aboutWorkText {
        width: 80%;
        margin: auto;
        margin-top: 1rem;
        grid-column: 2/3;
        grid-row: 2/3;
        align-self: start;
        font-size: 1.2rem;
    }

    .info {
        grid-column: 2/3;
        grid-row: 2/3;
        align-self: center;
        margin-bottom: 4rem;
    }


    .left .content {
        grid-column: 2/3;
        grid-row: 1/4;
        margin: auto auto auto 0;
    }

    .left .aboutWorkText {
        grid-column: 1/2;
    }

    .left .info {
        grid-column: 1/2;
    }


}

