

body {
    font-family: 'monospace';font-size: 30px;
    background-color: grey;
}

header {
    display: flex; /* Flex container to display the child elements as flex with space between and wrap */
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    color: greenyellow;
    height: 60px;
    font-size: 2vw;
    padding: 10px 10px 10px 10px;
    font-family: 'Monospace';font-size: 60px;
  }

.btnHeader {
    border-radius: 10px;
    background-color: grey;
    text-decoration: none;
    border: 0;
    color: greenyellow;
    font-family: 'Monospace';font-size: 50px;
}

.btnHeader:hover {

    background-color: whitesmoke;
    
  
    
}

.btn {
    border-radius: 12px;
    border: 0;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 30px;
}



#mainDiv {
    margin: 25%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    margin-top: 50px;
    font-family: 'Monospace';font-size: 22px;
}

#gridContainer {
    /* width:65%; /* Contain the grid to a maximum of 80% of the flex wrapper */
     display: grid;
     grid-template-columns: repeat(2, 1fr) 2fr 1fr;  /* Create a 4X4 grid of same size*/
     grid-template-rows: repeat(10, 1fr); /* 4 rows of equal size */
     gap: 10px 10px; /* Gap on x and y grid */
     font-family: 'Monospace';font-size: 22px;
 }


#questionDisplay {
    text-align: center;
    align-self: baseline;
    grid-column: 2 / span 2;
    grid-row: 1 / span 5;
    place-self: center;
    font-size: 30px;
}

#finalScoreDisplay {
    
    grid-column: 1 / span 2;
    grid-row: 6 / span 1;
    font-size: 15px;
}



#enterInitials {
    
    grid-column: 1 / span 1;
    grid-row: 7 / span 1;
    font-size: 15px;
}


#enterInitialsTextArea {
    
    grid-column: 2 / span 1;
    grid-row: 7 / span 1;
    font-size: 15px;
    resize: none;
    
}

#submitScore {
    grid-column: 3 / span 1;
    grid-row: 7 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 15px;
}

#start-quiz {
    grid-column: 2 / span 2;
    grid-row: 5 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    place-self: center;
    color: white;
    font-family: 'Monospace';font-size: 15px;
}

#answer1 {
    grid-column: 1 / span 2;
    grid-row: 6 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 15px;
    margin-left: 25px;
}

#answer2 {
    grid-column: 1 / span 2;
    grid-row: 7 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 15px;
    margin-left: 25px;
    margin-left: 25px;

}

#answer3 {
    grid-column: 1 / span 2;
    grid-row: 8 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 15px;
    margin-left: 25px;
}

#answer4 {
    grid-column: 1 / span 2;
    grid-row: 9 / span 1;
    padding: 10px 10px 10px 10px;
    border-radius: 10%;
    background-color: cadetblue;
    color: white;
    font-family: 'Monospace';font-size: 15px;
    margin-left: 25px;
}






#answer1:hover{
    
    background-color: pink;
     
}

#answer2:hover{
    
    background-color: pink;
  
}

#answer3:hover{
    
    background-color: pink;
  
}

#answer4:hover{
    
    background-color: pink;
  
}

#submitScore:hover{
    
    background-color: pink;
  
}



#answerCorrectWrongGrid {
    /*width:65%; /* Contain the grid to a maximum of 80% of the flex wrapper */
    display: grid;
    grid-template-columns: 4fr;  /* Create a 4X4 grid of same size*/
    grid-template-rows: repeat(2, 1fr); /* 4 rows of equal size */
    gap: 10px 10px; /* Gap on x and y grid */
    font-family: 'Monospace';font-size: 22px;

}

#answerCorrectWrong {
    text-align: left;
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    
}


/* This will be applied on any screen smaller than 768px */
@media screen and (max-width: 768px) {


    
    #answer1:hover{
        
        background-color: cyan;
        
    }

    #answer2:hover{
        
        background-color: cyan;
    
    }

    #answer3:hover{
        
        background-color: cyan;
    
    }

    #answer4:hover{
        
        background-color: cyan;
    
    }

    #submitScore:hover{
        
        background-color: cyan;
    
    }



    #questionDisplay {
        font-size: 25px;
    }
    
    #answer1 {
        grid-column: 2 / span 2;
    }
    
    #answer2 {
        grid-column: 2 / span 2;
           
    }
    
    #answer3 {
        grid-column: 2 / span 2;
    }
    
    #answer4 {
        grid-column: 2 / span 2;
    }
    
  

}


   /* This will be applied on any screen smaller than 575px */
@media screen and  (max-width: 575px) {

    #answer1:hover{
        
        background-color: cyan;
        
    }

    #answer2:hover{
        
        background-color: cyan;
    
    }

    #answer3:hover{
        
        background-color: cyan;
    
    }

    #answer4:hover{
        
        background-color: cyan;
    
    }

    #submitScore:hover{
        
        background-color: cyan;
    
    }


    #mainDiv {
        margin-left: 5%;
        margin-right: 5%;
    }

    #questionDisplay {
        grid-column: 2 / span 2;
        font-size: 15px;
    }
  

  }