* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

body.modal-open {
    overflow: hidden;
}


body {
    background-image: url('../../res/img/join/process.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 35, 72, 0.6), rgba(18, 35, 72, 0.6));
    z-index: -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.dos_donts_1 hr {
    background-color: #cda757;
    height: 4px;
    width: 400px;
    border: none;
    margin: 10px auto;
    display: block;
    border-radius: 3px;
    margin-top: -10px;
}

.exam_buttons {
    margin-bottom: 20px;
}


h1 {
    font-family: 'Bree Serif', serif;
    font-size: 45px;
    color: white;
    text-align: center;
    margin-bottom: 5px;
}

.dos_donts_container {
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 3px;
    width: 70%;
    color: #122348;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #cda757;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 1s ease-in forwards 0.5s;
}

#btn_sample {
    font-family: 'Bree Serif', serif;
    background-color: #122348;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 3px;
    font-size: 20px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-block;
}

#btn_sample:hover {
    background-color: #cda757;
}

.dos_donts_container:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
}

.dos_donts_container ul {
    margin-left: 10px;
}

#dos_donts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.correct {
    background-color: green;
    color: white;
    font-weight: bold;
}

.wrong {
    background-color: red;
    color: white;
    font-weight: bold;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 35, 72, 0.7);
    z-index: 1000;
}

.modal {
    color: #122348;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 25px;
    border-radius: 2px;
    z-index: 1000;
    width: 800px;
    height: 600px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sample_probs {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.sample_probs img {
    height: 50px;
    width: auto;
}

.sample_probs h2 {
    margin: 0;
    font-size: 28px;
}

.modal p {
    font-size: 25px;
    margin-bottom: 10px;
    line-height: 1;
}

.answer {
    padding: 10px;
    border-radius: 3px;
    background-color: #122348;
    color: white;
    display: none;
    font-size: 15px !important;
}

.exam_buttons {
    font-size: 20px !important;
}

.exam_buttons label {
    display: block;
    margin: 4px 0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.exam_buttons input[type="radio"] {
    margin-right: 8px;
    accent-color: #122348;
}

.exam_buttons label:hover {
    background-color: #cda757;
}


#figure {
    height: 140px;
    width: auto;
}

.modal hr {
    background-color: #cda757;
    height: 4px;
    width: 100%;
    border: none;
    margin: 10px auto;
    display: block;
    border-radius: 3px;
    margin-top: -10px;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    color: #122348;
}

#quiz-form h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.modal button {
    background-color: #122348;
    color: white;
    padding: 6px 30px;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    display: block;
    margin: 15px auto;
}

.modal button:hover {
    background-color: #cda757;
    color: white;
}

#quiz-result {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 10px;
}

@media screen and (max-width: 375px) {
    .modal {
        color: #122348;
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 25px;
        border-radius: 5px;
        z-index: 1000;
        width: 350px;
        height: 300px;
        overflow-y: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 35px;
        line-height: 1;
        margin-bottom: 5px;
    }

    .dos_donts_1 hr {
        width: 200px;
        margin-top: 5px;
    }

    .dos_donts_container {
        align-items: center;
        background: rgba(255, 255, 255, 0.7);
        padding: 20px;
        border-radius: 3px;
        width: 90%;
        color: #122348;
        justify-content: space-between;
        align-items: center;
        border-bottom: 5px solid #cda757;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
    }

    #btn_sample {
        padding: 10px 30px;
        font-size: 13px;
    }

    .modal {
        color: #122348;
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 25px;
        border-radius: 5px;
        z-index: 1000;
        width: 400px;
        height: 450px;
        overflow-y: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .sample_probs h2 {
        margin: 0;
        font-size: 18px;
    }

    .modal p {
        font-size: 15px;
    }

    .exam_buttons {
        font-size: 18px !important;
    }

    #quiz-form h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    #figure {
        height: 50px;
        width: auto;
    }
}