@font-face {
    font-family:font-regular ;
    src: url(./assets/fonts/JosefinSans-Regular.ttf);
}
*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: font-regular;
    font-weight: 300;
}
html{
    font-size: 62.5%;
}
.navbar{
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.12), inset 0 -1px 0 0 #dadce0;
    height: 12vh;
    background-color: #fff;
    padding: 0rem 7rem;
}
                        /* front page CSS */
.smit-icon > img{
    width: 100px;
}
.student-logo{
    display: flex;
    align-items: center;
    gap: 1.2em;
}
.student-logo > img{
    width: 34px;
    height: 34px;
    border-radius: 17px;
}
.student-name{
    font-size: 1.6em;
    color: #0d6db7;
}
.intro {
    margin-top: 11em;
    background-color: #fff;
}
.intro > h1{
    text-transform: capitalize;
    color: #0d6db7;
    font-size: 3rem;
}
.intro p{
    font-size: 1.6rem;
    color: #484e54;
    margin-top: 0.5em;
}
hr{
    color: #6c757d;
    margin-top: 0.5em;
}
.card{
    width: 25vw;
    height: auto;
    padding: 3em !important;
    margin-top: 1em !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}
.card-title{
    font-size: 2.5rem;
    font-weight: 500;
}
.card-subtitle{
    font-size: 1.6rem;
    margin-top: 0.5em;
}
#card-button{
    width: 100%;
    text-transform: capitalize;
    height: 2.5em;
    outline: none;
    border: 1px solid #0d6db7;
    color: #0d6db7;
    font-size: 1.5em;
    margin-top: 1em;
    background-color: #fff;
}
#card-button:hover{
    border: 1px solid #fff;
    background-color: #0d6db7;
    color: #fff;
}
.first-page{
    /* display: none; */
}
        /* END */
                    /* Second Page CSS */
.subject-span{
    font-size:1.6rem ;
}
.hr-gap-2nd-sec{
    margin-top: 2.5rem;
}
.accordion-item:first-of-type .accordion-button {
    background-color: #e5e6e7 !important;
    font-size: 1.5rem;
}
.accordion-button:not(.collapsed){
    color: #6c757d;
    font-size: 1.5rem;
}
.accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: 0;
    box-shadow: 0;
}
.accordion-item:first-of-type {
    margin-top: 1.5rem;
    background-color: #e5e6e7;
    height: 50px;
}
.accordion-body h3{
    color: #6c757d;
    margin: 1rem;
    padding: 1.5rem 1em;
    border-radius: 5px;
    background-color:#e5e6e7 ;
}
.list-group li{
    padding: 1rem 1rem;
    font-size: 1.6rem;
    text-transform: capitalize;
    font-weight: bold;
}
.quiz-name{
    color: #0d6db7;
    font-weight: bold;
}
.list-group-item{
    border: none;
    display: flex;
    gap: 10rem;
}
.theme-btn {
    background-color: #0d6db7;
    color: #fff;
    padding: 5px 20px;
    outline: none;
    border: none;
    cursor: pointer;
}
.theme-btn:hover {
    color: #fff;
    background-color: #408cc5;
}
.second-page{
    display: none;
}
        /* END */
                    /* Quiz Section */
.main-div{
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-color: hsl(206, 92%, 94%);
}
.inner-div{
    width: 40vw;
    background-color: #fff;
    padding: 3rem 5rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 1rem -0.7rem rgba(0, 0, 0, 0.4);
}
.inner-div h2{
    font-weight: 800;
    font-size: 2.5rem;
    margin: 1em 0rem ;
}
.inner-div li{
    list-style-type: none;
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0.8em 0rem ;
}
input{
    cursor: pointer;
}
#submit, .btn {
    padding: 1rem 2rem;
    outline: none;
    font-size: 1.5rem;
    font-weight: 400;
    display: block;
    margin: auto;
    border: none;
    text-transform: uppercase;
    color: #fff;
    background-color: #67b3ff;
    margin-top: 0.5rem;
}
#submit, .btn:hover{
    background-color: #0984e3;
}
#showScore{
    background-color: #dfe6e9;
    margin-top: 3rem;
    padding: 3rem 4rem;
    box-shadow: 0 1rem 1rem -0.7rem rgba(0, 0, 0, 0.4);
}
.scoreArea{
    display: none;
}

.footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0rem;
    box-shadow: 0 1rem 1rem -0.7rem rgba(0, 0, 0, 0.4);
    background-color: #0984e3;
}
.footer p{
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
}
            /* END */
@media only screen and (max-width:992px){
    .intro{
        padding: 0 1em;
    }
    .card{
        width: 35vw;
    }
    .inner-div{
        width: 80%;
    }
}

@media only screen and (max-width:769px){
    .card{
        margin: auto;
        width: 50vw;
    }
    .navbar{
        padding: 0rem 1rem;
    }
}
@media only screen and (max-width:572px){
    .intro{
        padding: 0 1.5em;
    }
    .card{
        width: 90%;
    }
    .footer p{
        font-size: 1.2rem;
    }
    #submit, .btn {
        padding: 0.5rem 1.5rem;
        font-size: 1.3rem;
    }
}
@media only screen and (max-width:432px){
    .inner-div{
        width: 82%;
        margin: auto;
    }
    .inner-div h2{
        font-size: 1.8rem;
        margin: 0.6em 0rem ;
    }
    .inner-div li{
        font-weight: 800;
        font-size: 1rem;
    }
    .footer p{
        font-size: 1.03rem;
    }
}