#loader {
  width: 100px;
  height: 100px;
  border: 7px solid;
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
  animation: rotation 1.5s ease infinite;
}
.header{
    display: flex;
    justify-content: space-between;
    padding: 0px;
    width: 700px;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0 auto;


}
.header span{
    display: inline-block;
    height: 25px;
    width: 25px;
    background-color: rgb(255, 255, 255);
    font-size: 1.2rem;
    text-align: center;
    justify-content: center;
    line-height: 25px;
    border-radius: 4px;
    margin: 5px;

}
.header div{
    display: flex;
    align-items: center;
}
#question-box{
    display: flex;
    flex-direction: column;
}
#question-text{
    height: 60px;
    margin: 40px 0 30px;
    background-color: #6151c2;
    color: aliceblue;
    border-radius: 18px;
    padding: 15px;
    align-content: center;
}
.answer-text{
    height: 40px;
    border: none;
    padding: 15px;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    background-color: aliceblue;
    border-radius: 18px;
    margin: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    transition:  ease 0.5s;
    cursor: pointer;
    
}
#finish-button ,#next-button{
    width: 70px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #6151c2;
    margin: 15px 10px;
    border-radius: 12px;
    color: #6151c2;
    font-size: 1 rem;
    font-weight: 600;
    transition:  ease 0.5s;
    cursor: pointer;
}
#finish-button:hover , #next-button:hover{
    background-color: #6151c2;
    color: azure;

}
.answer-text:hover{
    background-color: beige;
}
.container{
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
}.correct{
    background-color: rgb(16, 198, 137);
}

.incorrect{
    background-color: crimson;
}

.correct:hover{
    background-color: rgb(16, 198, 137);
}

.incorrect:hover{
    background-color: crimson;
}

#error{
    display: none;

}


    @media screen and (max-width: 600px){
        .header{
            width: 100%;
            font-size: 1rem;
        }
        #question-box{
            width: 100%;
            height: auto;
        }
        #question-text{
            font-size: 1rem;
            height: auto;
        }
        .answer-text{
            font-size: 1rem;
        }
        .container{
            width: 100%;
            justify-content: center;


            margin-left: 40px;
            margin: auto;
            padding: 15px;
        }
    }




@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
