/* font-family: 'Rubik', sans-serif; */


*{
    font-family: 'Rubik', sans-serif;
}

html{
    scroll-behavior: smooth;
}

body{   
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--font-black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

:root{
    --font-black: rgb(51, 51, 51);
    --white-transpa: rgb(255, 255, 255,.5);
    --white-box: rgb(255, 255, 255,.8);
    --orange: rgb(255, 160, 52);
    --brown: #d88660;
}

.background{
    background-image: url('img/bg-camera02.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 100vh;
    z-index: -100;
    position: fixed;  
    filter: blur(0px);
    transition: filter 1s ease-in-out;
}
.background.blur{
    filter: blur(5px);
}

.d-none{
    display: none !important;
}
.invisible{
    opacity: 0;
    visibility: hidden;        
}

/* -----------------------Header----------------- */
.navigation{
    background: var(--white-transpa);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
}
.nav-container{
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}
.nav-logo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-link{
    color: var(--font-black);
    font-size: 26px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-link::after{
    background-color: var(--brown);
    content: '';
    width: 0;
    height: 3px;
    transition: width 230ms ease-in-out;
}
.nav-link:hover{
    color: inherit;
}
.nav-link:hover::after{
    width: 100%;
}

/* Language button */
#Button{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;        
}
#Languagebtn{
    background-color: rgb(65, 65, 65);
    height: 30px;
    width: 60px;
    border: solid 1px rgb(211, 211, 211,.5);
    border-radius: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
    box-shadow: 3px 3px 10px rgb(0, 0, 0,.8) inset;
    cursor: pointer;
    position: relative;
}        
#English,
#German{
    color: white;            
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 100%;               
}   
#Closebtn{
    content: '';
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 100%;
    box-shadow: 2px 2px 10px rgb(0, 0, 0, .8);
    position: absolute;
    left: 1px;
    transition: 230ms;       
}

@media(max-width: 900px){
    .nav-container{
        width: 90%;
    }
}

@media(max-width: 500px){
    .nav-logo img{
        height: 45px;
    }
    .nav-container{
        padding: 10px 0px;
    }
    .nav-link{
        font-size: 23px;
    }
}



/*----------- Startbildschirm---------- */
.start-container{
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.start-container h1{
    font-size: 3em;
    font-weight: 500;
    text-align: center;
    padding: 30px;
    margin-top: 10px;
}
.start-container p{
    font-size: 30px;
    text-align: center;
}
.start-btn{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}
.start-btn p{
    font-size:30px;
    margin: 0;
}
.bg-brain{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    z-index: -10;
}
.bg-brain img{
    width: 350px;    
    opacity: .25;
}

@media(max-width: 500px){
    #Start-head{
        font-size: 40px;
    }
    #Start-text{
        font-size: 25px;
    }
    .start-btn img{
        width: 50px;
        height: 50px;
    }
    .bg-brain img{
        width: 250px;
    }
}

/* -------------Quiz ----------------*/

.quiz-container{    
    display: flex;
    justify-content: center;
    align-items: center;        
}
.question-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.questionbox{
    background-color: var(--white-box);
    height: 700px;
    width: 700px;
    backdrop-filter: blur(5px);
    border: 1px solid gray;
    margin-right: 50px;
}
.questionbox h2{
    text-align: center;
    font-size: 40px;
    font-weight: 400;
    padding: 10px 20px;
    margin: 0;    
}

/* Answerbox */
.answer-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.answerbox{
    width: 550px;
    background-color: rgb(255, 255, 255,.8);
    border: 1px solid #707070;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow 200ms ease-in-out,
        background-color 200ms ease-in-out;                
}
.answerbox:hover{
    box-shadow: 0px 0px 10px rgb(128, 128, 128,.6);       
}
.letter{
    width: 50px;
    height: 50px;
    background-color: rgb(128, 128, 128,.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 200;
    margin-right: 20px;
}
.answer{
    font-size: 20px;
    font-weight: 200;
}


/* Progress */
.progress-container-all{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
}
.progress-container{
    width: 400px;    
}
.question-progress{    
    font-size: 20px;
    font-weight: 200;
    text-align: center;
}
.progress-bar{
    background-color: var(--brown);
}
.arrow{
    height: 50px;
    width: 50px;
    background-color: var(--white-box);
    border: 1px solid #707070;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    transition: box-shadow 200ms ease-in-out;  
}
.arrow:hover{
    box-shadow: 0px 0px 10px rgb(128, 128, 128,.5);    
}

@media(max-width: 700px){
    .questionbox{
        width: 500px; 
        height: 650px;               
    }
    .questionbox h2{
        font-size: 30px;
    }
    .answerbox{
        width: 450px;
    }
    .answer{
        font-size: 17px;
    }
    .progress-container{
        width: 300px;
    }
}

@media(max-width: 500px){
    .questionbox{
        width: 350px; 
        height: 570px;               
    }
    .questionbox h2{
        font-size: 25px;
    }
    .answerbox{
        width: 300px;
        padding: 10px;
    }
    .answer{
        font-size: 15px;
    }
    .question-progress{    
        font-size: 16px;
        font-weight: 200;
    }
    .progress-container{
        width: 180px;
    }
}


/* Helpscreen */

.helpscreen{
    background-color: var(--white-box);
    backdrop-filter: blur(5px);
    border: 1px solid gray;
    width: 500px;
    height: 600px;
    transition: opacity 150ms ease-in-out,
                visibility 150ms ease-in-out;
}
.help-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;  
    padding: 0 40px;  
}
#Help-img{
    background-color: var(--brown);
    height: 350px;
    width: 350px;
    object-fit: contain;
    object-position: center;
    padding: 5px;    
}
#Help-text{
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    margin: 10px 0px;
}

@media (max-width:1300px){
    .quiz-container{
        flex-direction: column;
        justify-content: space-between;
        margin: 40px;
        height: 1350px;
    }
    .questionbox{
        margin-right: 0;
    }
    
}
@media(max-width: 500px){
    .quiz-container{
        height: 1120px;
        margin: 20px;
    }
    .helpscreen{
        width: 350px;
        height: 500px;
    }
    #Help-img{
        width: 270px;
        height: 270px;
    }
    #Help-text{
        font-size: 17px;
    }
}

/* ---------Endbildschirm---------- */
.end-container{
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.end-container h1{
    font-size: 3em;
    font-weight: 500;
    text-align: center;
    padding: 30px;
    margin-top: 10px;
}
.end-container p{
    font-size: 30px;
    text-align: center;
}

.result-container p{
    font-size: 40px;
    margin-top: 20px;
}

.bg-award{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    z-index: -10;
}
.bg-award img{
    width: 350px;    
    opacity: .5;
}
#Download-cheatsheet{
    height: 50px;
    width: 50px;
}

@media (max-width: 500px){
    .end-container h1{
        font-size: 2em;
    }
    .end-container p{
        font-size: 25px;
    }
    .bg-award img{
        width: 250px;
    }
}

/* -----------------Footer----------------------- */

footer{
    background: var(--white-transpa);
    width: 100%;
      
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
}
.footer-container{
    display: flex;
    justify-content: space-between;
    width: 70%;
}

.link-copyright-container{
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.link-copyright-container a{
    color: var(--font-black);
    text-decoration: none;
}

.sm-links{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sm-links a{
    margin: 10px;
}
.sm-links a img{
    height: 55px;
    width: 55px;
    border-radius: 7px;
    opacity: .6;
    transition: background-color 200ms ease-in-out;
}
.sm-links a img:hover{
    background-color: var(--brown);
}

@media(max-width: 900px){
    .footer-container{
        width: 90%;
    }
}

@media(max-width: 500px){
    .link-copyright-container{
        font-size: 12px;
    }
}