*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
html, body{
    height: 100%;
}


body{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;*/
    background: /*linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), */url('images/tan-bg.jpg');
    
}

a {
    color: #70a596;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.game-quiz-container{
    width: 40rem;
    background-color: #b6254e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 30px;
    color: #efe2d1;
}

.game-details-container{
    width: 80%;
    height: 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.game-details-container h3{
    font-size: 0.8rem;
}

.game-question-container{
    width: 90%;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 2px solid darkgray;
    border-radius: 25px;*/
}

.game-question-container h2{
    font-size: 1.1rem;
    text-align: center;
    padding: 3px;
}

.display-photo-container
{
    width: 90%;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#display-photo {
    display: block;
    margin: 10px 0;
    max-width: 100%;
    max-height: 500px;
}

.game-options-container{
    width: 90%;
    height: 12rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

.game-options-container span{
    width: 48%;
    height: 3rem;
    border: 2px solid #efe2d1;
    border-radius: 10px;
    overflow: hidden;
}
span label{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
    font-weight: 600;
    
}

span label:hover{
    -ms-transform: scale(1.12);
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
    color: white;
}

input[type="radio"] {
    position: relative;
    display: none;
}


input[type=radio]:checked ~ .option {
	background: #cfb197;
    color:white;
}

.next-button-container{
    width: 60%;
    height: 4rem;
    display: flex;
    justify-content: center;
    margin-top:30px;
}
.next-button-container button{
    width: 8rem;
    height: 3rem;
    border-radius: 10px;
    background: none;
    color: white;
    font-weight: 600;
    background: #466760;
    cursor: pointer;
    outline: none;
}
.next-button-container button:hover{
    background-color: #70a596;
}

.modal-container{
    display: none;
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    -webkit-animation: fadeIn 1.2s ease-in-out;
    animation: fadeIn 1.2s ease-in-out;
}

.modal-content-container{
    height: 25rem;
    width: 25rem;
    background-color: #3f695f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 25px;
}

.modal-content-container h1{
    font-size: 1.3rem;
    color: #cfb197;
    text-align: center;
}

.grade-details{
    width: 20rem;
    height: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.grade-details p{
    color: white;
    text-align: center;
    font-weight: 200;
}

#remarks {
    font-weight: bold;
}

.modal-button-container{
    height: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-button-container button{
    width: 10rem;
    height: 2rem;
    background: none;
    outline: none;
    border: 1px solid rgb(252, 242, 241);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 10px;
}
.modal-button-container button:hover{
    background-color: rgb(83, 82, 82);
}

footer {
    width: 100%;
    background-color: #efe2d1;
    padding: 10px 0;
    text-align: center;
    margin-top: 40px;
}

@media(min-width : 300px) and (max-width : 350px){
    .game-quiz-container{
        width: 90%;
     }
     /*.game-details-container h3{
        font-size: 0.8rem;
     }
 
     .game-question-container{
       
     }*/
     .game-question-container h2{
       font-size: 0.9rem;
    }
    .game-options-container span{
        width: 90%;
        height: 2.5rem;
        margin-bottom: 5px;
    }
    .game-options-container span label{
        font-size: 0.8rem;
    }
    .modal-content-container{
        width: 90%;
        height: 25rem;
    }
    
    .modal-content-container h1{
        font-size: 1.2rem;
    }
}

@media(min-width : 350px) and (max-width : 700px){
   .game-quiz-container{
       width: 90%;
    }
    /*.game-details-container h3{
        font-size: 1rem;
    }

    .game-question-container{
        
    }*/

    .game-question-container h2{
        font-size: 0.9rem;
     }

    .game-options-container span{
        width: 90%;
        margin-bottom: 5px;
    }
    .modal-content-container{
        width: 90%;
        height: 25rem;
    }
    .modal-content-container h1{
        font-size: 1.2rem;
    }
    #display-photo {
        max-height: 300px;
    }
}



@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
  }

  @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
  }