@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;500;900&display=swap');
html, body{
    position: absolute;

    padding: 0px; 
    margin: 0px; 

    left: 0px; 
    top: 0px;

    width: 100%;
    height: 100%;

    font-family: "Roboto";
    font-weight: 300;

    background-image: url(./../images/banner-s10p.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: black;
}
.container{
    padding: 50px;

    width: 80%;
    height: 80%;

    margin: auto;
    margin-top: 50px;

    border-radius: 20px;
    box-shadow: 1px 20px 50px #313131;

    background-color: #fff;
}

.container .header{
    border-bottom: 1px solid #313131; 
}
.container .header ul{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;

    list-style: none;
}
.container .header ul li{
    padding: 8px;
    margin: 4px;

    background-color: #FFD700;
    
    color: #fff;
    font-weight: bold;

    border-radius: 5px;
}
.container .header ul li:hover{
    cursor: pointer;
}

.container .header .result{
    display: flex;
    justify-content: center;
}


.container .header .result .animal{
    width: 50px; 
    height: 50px;
}

.container .body{
    position: relative;

    height: 250px;
}
.container .body .question{
    position: absolute;
    top: 0px;
    left: 0px;
}
.container .body .question.final-question{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container .body .question.final-question .board{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}
.container .body .question.final-question .board img{
    width: 120px;
    height: 120px;
}
.container .body .question.final-question .board h1{
    text-align: center;
}

.container .body button{
    background-color: #FFD700;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    padding: 8px 12px;
    border: none; 
    font-size: 16px;
}
.container .body .question.final-question button{
    background-color: royalblue;
    padding: 8px 12px;
}

@media(max-width: 860px){
    .container {
        width: calc( 90%  - 100px );
        height: auto;
        margin: auto 5%;
    }
    .test .container .body{
        position: relative;
    
        height: 480px;
    }
}


/* main page */
.mainPage{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mainPage .container{
    display: flex;
    flex-direction: column;
    justify-content:center;
    background-image: -webkit-linear-gradient(90deg, #333 50%, #313131);
    border: 5px solid#fff;
    color: #fff; 
    font-weight: bold; 
}
.mainPage .container .header{
    border: none;
}
.mainPage .container .header img.alx{
    max-width: 300px;
}
.mainPage .container .header{
    text-align: center;
    font-size: 18px;
}
.mainPage .container .body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-top: 20px;
}
.mainPage .container .body button{
    background-color: #8F620E;
    color: #fff;
    font-size: 22px;
}
.mainPage .container .body button:hover{
    cursor: pointer;
}



/* pop-up */
.pop-up{
    position: fixed;
    top: 0px; 
    left: 0px; 

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;

    background-color: rgba(0, 0, 0, 0.7);
    
    visibility: hidden;

    transition: all 0.25s;
}

.pop-up .content{
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;

    height: 300px;

    padding: 50px; 
    margin: auto;
    border-radius: 10px;

    background-color: #fafafa;
}

.pop-up .content .closed-button{
    position: absolute;
    right: -10px; 
    top: -10px;
    height: auto;


    
    color: #fff;
    font-weight: bold;

    padding: 8px 12px;
    border-radius: 10px;
}

.pop-up .content .closed-button:hover{
    cursor: pointer;
}

.pop-up .content form {
    display: flex;
    flex-direction: column;
}

.pop-up .content form input{
    width: 90%;

    padding: 12px 12px;
    margin: 5px auto;

    border: none; 
    border-radius: 5px; 
    box-shadow: 1px 1px 10px #dadada;
 }
 .pop-up .content form input[type="button"]{
    width: 90%;
    background-color: #1802FA;
    
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    
    padding: 12px 8px;
 }
 .pop-up .content form input[type="button"].cancel{
    background-color: #FA370A;
 }


 .home-container{
    background-color: #333;
    border: 5px solid #fff;
}