.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.7);
    z-index: 50;
    display: none;
}
.overlay.display {
    display: block;
}

.container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: var(--secondary-color);
    width: 90%;
    max-width: 450px;
    height: 90vh;
    max-height: 450px;
    border-radius: 8px;
    padding: 40px 0px 0px 0px;
}

.cancel_container {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 25px;
    width: 25px;
    cursor: pointer;
}

.detail {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    /* margin: 20px 0px 0px 0px; */
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.time_remaining {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color-light);
    border-radius: 5px;
    padding: 5px 8px;
    margin-right: 30px;
    cursor: pointer;
}
.icon {
    height: 16px;
    width: 16px;
}
.time {
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 400;
    margin-left: 10px;
}
.question_container {
    width: calc(100% - 30px);
    padding: 25px 0px 0px 0px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.rules {
    width: 100%;
    height: 80%;
    overflow-y: scroll;
    padding: 25px 10px 0px 20px;
    height: 100%;
    margin: auto;
}
.rules_head {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
}
.rules ul {
    list-style: none;
    font-size: 14px;
}
.rules ul li {
    margin-bottom: 20px;
}
.questions_options {
    display: flex;
    height: 80%;
    width: 100%;
    padding-right: 20px;
    overflow-y: scroll;
}
.number {
    margin-right: 10px;
    font-size: 14px;
}
.main_question {
    font-size: 14px;
}
.options {
    margin: 20px 0px;
    list-style: none;
    font-size: 14px;
}
.option {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.option input {
    height: 10px;
    width: 10px;
}
.option label {
    display: block;
    flex: 1;
}
.cta {
    margin-right: 30px;
}
.next {
    background: var(--gradient);
    outline: none;
    border: none;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}
.next.disabled {
    opacity: 0.8;
}

.questions_options::-webkit-scrollbar {
    width: 3px;
}
.questions_options::-webkit-scrollbar-track {
    background: inherit;
}
.questions_options::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.results {
    padding: 20px 30px;
    text-align: center;
}

.text {
    margin-bottom: 20px;
    font-size: 14px;
}
.head {
    font-size: 18px;
    margin: 20px 0px;
}

.grade {
    font-size: 22px;
    font-weight: 500;
}
.download {
    font-family: "Roboto", sans-serif;
    padding: 8px 20px;
    font-weight: 500;
    margin-top: 30px;
}

@media screen and (max-width: 720px) {
    .question_container {
        width: 95%;
    }
}
