.first {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.second {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    background-color: var(--ok);
    margin: 10px;
    padding: 20px 80px;

}

.f-select {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}


.f-select h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 38px;
    margin: 10px;
}


select {
    margin: 10px;
    font-size: 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    margin: 10px;
}

#quizSection h1 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    margin: 40px 10px;
}

#quizSection h2 {
    font-weight: 700;
    padding: 10px;
    border: 2px solid var(--design);
    font-size: 28px;
    margin: 10px;
    border-radius: 5px;
}

#optionsForm {
    font-weight: 700;
    font-size: 24px;
    margin: 10px;
}

label {
    display: block;
    margin: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 24px;
    padding: 10px;
}

.correct {
    background: #28a745 !important;
    color: white;
    border-color: #28a745;
}

.wrong {
    background: #dc3545 !important;
    color: white;
    border-color: #dc3545;
}

h1.correct-bg {
    background: #28a745;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

h1.wrong-bg {
    background: #dc3545;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

#resultBox {
    font-size: 22px;
    margin-top: 20px;
    font-weight: bold;
}

#quizSection button {
    padding: 1em 3em;
    color: var(--ok);
    margin: 5px;
    border: none;
    width: 25em;
    height: 3em;
    border-radius: 1000px;
    font-weight: 900;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to bottom right, rgb(255, 98, 124), rgba(0, 0, 255, 0.868));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.1s ease;
    cursor: pointer;
}

#nextBtn {
    display: none;
}

.tgh {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.tgh div h2 {
    font-size: 22px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    padding: 20px 5px;
}

.tgh div h1 {
    font-size: 26px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 10px 5px;
}

.tgh div h3 {
    font-size: 24px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 5px;
}

.tgh div p {
    font-size: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 5px;
}

@media screen and (max-width: 1300px) {
    .second {
        padding: 20px 20px;

    }

    .f-select h1 {
        font-size: 30px;
    }

    #quizSection h1 {
        font-size: 24px;
    }

    #quizSection h2 {
        font-size: 20px;
    }

    #optionsForm {
        font-size: 18px;
    }

    .tgh div h2 {
        font-size: 18px;
        padding: 16px 5px;
    }

    .tgh div h1 {
        font-size: 24px;

    }

    .tgh div h3 {
        font-size: 22px;

    }

    .tgh div p {
        font-size: 18px;
    }

    #quizSection button {
        width: 20em;
        height: 2.5em;
    }

    #resultBox {
        font-size: 18px;
    }

}