﻿.q-navigation-container {
    display: flex;
    justify-content: space-between;
    transition: 0.6s all;
    justify-content: center;
}

.all-questions-btn {
    position: relative;
    overflow: visible;
    border-radius: 1rem;
    width: 50%;
    transition: 0.6s all;
    align-content: center;
    cursor: pointer;
    user-select: none;
}

.questions-overlay {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    user-select: none;
    font-size: 1rem;
    font-weight: 700;
}

.all-questions-btn:hover .q-nav-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex-direction: row;
}

.q-nav-button-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8a8cbd;
    box-shadow: 0 0px 10px #1b1464;
    border-radius: 1rem;
    padding: 15px;
    width: 100%;
    transition: 0.6s all;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 100;
    max-height: 450px;
}

.q-nav-button {
    width: 40px;
    height: 40px;
    padding: 0;
}

.Exams-container {
    box-shadow: 0 0px 10px #1b1464;
    border-radius: .5rem;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #e2e3e5;
}

.exam-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.exam-finish-section {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
}

.exam-info-container {
    padding-bottom: 1rem;
    border-bottom: 1px solid black;
}

.sections-container {
    padding-bottom: 1rem;
    border-bottom: 1px solid black;
}

.questions-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

    .image-container img {
        border-radius: .5rem;
    }

.question-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    align-items: center;
}

.choice-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.next-prev-nav-button-container {
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 50%;
    width: 100%;
}

.btn-info {
    color: #000;
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-outline-info {
    color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-dark {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
}

.btn-outline-dark {
    color: #212529;
    border-color: #212529;
}

.btn-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.btn-outline-success {
    color: #198754;
    border-color: #198754;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.flex-btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.questionImage {
    border-radius: 0.25rem;
    transition: all 0.5s ease-in-out;
    user-select: none;
}

    .questionImage:hover {
        cursor: pointer;
        box-shadow: 0 5px 20px #1b1464;
    }

.lessons-navigation {
    gap: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
}

.left-menu {
    border-right: 3px solid rgb(13,110,253);
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    .next-prev-nav-button-container {
        bottom: auto;
    }
}

@media screen and (max-width: 768px) {

    .left-menu {
        border-right: none;
        border-bottom: 3px solid rgb(13,110,253);
        padding-bottom: 1rem;
    }

    .Exams-container {
        padding: .5rem;
    }

    .questions-overlay {
        width: 100%;
    }
    /*
    .q-nav-button-container {
        width: 400px;
    }*/

    .q-nav-button {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        font-size: 1rem !important;
        padding: 5px 10px !important;
    }

    .next-btn {
        font-size: 1rem !important;
        padding: 5px 10px !important;
    }

    .next-prev-nav-button-container {
        bottom: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .all-questions-btn {
        width: 85%;
    }
}

@media (max-width: 575px) {
    /*.q-nav-button-container {
        width: 350px !important;
    }*/
}
