*{
    margin : 0px;
    padding: 0px;
    outline : none;
    box-sizing: border-box;
    font-family: "Poppins";
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background : linear-gradient(45deg , #1B6B93, #4FC0D0 ,#AEE2FF);
    transition: all 0.4s;
}

.container{
    height: 400px;
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-radius: 1vh;
    background-color: #fff;
    transition: 0.4s;
    margin: 20px;
}

.heading{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    text-align: center;
}

.section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    height: 240px;
    width: 80%;
    position: relative;
    border-radius: 1vh;
    border: 2px solid  #79E0EE;
    margin: 0 10px;
    transition: 0.4s;
}

.question{
    position: relative;
    top: 20px;
    height: auto;
    margin-top: 10px;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: auto;
    scroll-behavior: smooth;
}

.remove-top{
    top: 0px;
}

.question>h2{
    font-size: 1rem;
    height: 100%;
    width: 100%;
    text-align: justify;
    padding: 5px;
}

.answer{
    position: relative;
    height: auto;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    scroll-behavior: smooth;
    margin-bottom: 10px;
    scale: 0;
    opacity: 0;
    transition: 0.4s;
}

.answer>h2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 1rem;
    height: 100%;
    width: 100%;
    color: #1B6B93;
    text-align: justify;
    
}

.answer-section{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-around;
    width: 80%;
    height: 50px;
}

#answer{
    height: 40px;
    width: 180px;
    border-radius: 1vh;
    border: none;
    background-color: #4FC0D0;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

#next{
    height: 40px;
    width: 180px;
    border-radius: 1vh;
    border: none;
    background-color: #4FC0D0;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}

#answer:hover,
#next:hover{
    background-color: #79E0EE;
    color: #fff;
}

.roll{
    scale: 1;
    opacity: 1;
}

@media only screen and (max-width: 500px){

    .container{
        height: 440px;
        width: 500px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        border-radius: 1vh;
        background-color: #fff;
        transition: 0.4s;
        margin: 20px;
    }

    h2{
        font-size: 20px;
    }
    .section{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 30px;
        height: 240px;
        width: 80%;
        position: relative;
        border-radius: 1vh;
        border: 2px solid  #79E0EE;
        margin: 0 10px;
        transition: 0.4s;
    }

    .answer-section{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 80px;
    }
    
    #answer{
        height: 50px;
        width: 80%;
        border-radius: 1vh;
        border: none;
        background-color: #4FC0D0;
        font-size: 18px;
        font-weight: 900;
        color: #fff;
        display: block;
    }
    
    #next{
        height: 46px;
        width: 80%;
        border-radius: 1vh;
        border: none;
        background-color: #4FC0D0;
        font-size: 18px;
        font-weight: 900;
        color: #fff;
        display: block;
    }
    
}
