html,
body {
    min-width: 344px;
    height: 100%;
}

[data-theme='light'] {
    --link-color: #000000;
    --modal-box-color: #ffffff;
    --background-modal-color: rgba(29, 35, 42, 0.5);
}

[data-theme='dark'] {
    --link-color: #ffffff;
    --modal-box-color: #1d232a;
    --background-modal-color: rgba(255, 255, 255, 0.5);
}

label {
    color: var(--link-color);
}

.btn {
    color: var(--link-color);
    padding: 0px;
}

.navbar-start a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
}

h1,
h2,
h3,
h4 {
    color: var(--link-color);
}

.btn svg {
    fill: var(--link-color);
}

.dropdown-content a {
    color: var(--link-color);
    transition: color 0.2s ease-in-out;
    font-size: medium;
}

.dropdown-content {
    position: absolute;
    z-index: 20;
}

.navbar {
    position: relative;
    min-width: 344px;
    z-index: 10;
}

.navbar-center ul a {
    color: var(--link-color);
    transition: color 0.2s ease-in-out;
    font-size: medium;
}

.get-survey-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
}

body {
    background-color: var(--modal-box-color);
}

main {
    min-width: 344px;
}

.get-survey-input-container {
    width: 90%;
    max-width: 500px;
    margin-top: 20px;
    text-align: center;
}

.get-survey-button-container {
    width: 90%;
    max-width: 500px;
    margin-bottom: 20px;
    margin-top: auto;
}

.get-survey-submit-button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
}

.get-survey-submit-button:hover,
.get-survey-submit-button:active,
.get-survey-submit-button:focus {
    background-color: #D2D2D2;
}

.submit-form-presentation {
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    color: var(--link-color);
}

.submit-form-presentation button {
    width: 100%;
    padding: 10px;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
}

.submit-form-presentation button:hover,
.submit-form-presentation button:active,
.submit-form-presentation button:focus {
    background-color: #D2D2D2;
}

.get-survey-input-field {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
    color: var(--link-color);
    margin-top: 8px;
}

.get-survey-input-field.invalid {
    border: 1px solid red;
}

.get-survey-input-field.valid {
    border: 1px solid #ccc;
}

.carousel {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.carousel-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem;
}

.carousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.carousel-item {
    display: none;
    position: relative;
    justify-content: center;
}

.carousel-item:target {
    display: block;
}

#slide0 {
    display: block;
}

.carousel-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 100%;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.carousel-button a {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0;
    width: 25px;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 0;
    color: black;
}

.carousel-button a:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-presentation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-modal-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 60;
}

.modal-presentation.hidden {
    display: none !important;
}

.modal-box-presentation {
    background-color: var(--modal-box-color);
    border-radius: 0.5rem;
    padding: 0;
    width: 100%;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.modal-body-presentation {
    display: flex;
    overflow: auto;
    max-height: 80vh;
    padding: 10px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE и Edge */
}

.modal-body-presentation::-webkit-scrollbar {
    display: none;
    /* Safari и Chrome */
}

.modal-body-presentation img {
    max-width: none;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: grab;
    display: block;
    margin: auto;
}

.modal-body-presentation img:active {
    cursor: grabbing;
}

.container-error {
    display: flex;
    justify-content: center;
    align-items: center;
}

.error {
    color: #f00;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 20px;
    text-align: center;
}

.survey-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

}

.survey-container h2 {
    margin-top: 5px;
}

.carousel-item h2 {
    text-align: center;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-container img {
    display: block;
    margin: 0 auto;
}

.image-container svg {
    display: block;
    margin: 0 auto;
}

.questionpicture-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-icon {
    color: var(--link-color);
    width: 256px;
    height: 256px;
}

@media only screen and (max-width: 768px) {
    .svg-icon {
        width: 128px;
        height: 128px;
    }
}

.submit-button_review_result {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
}

.submit-button_review_result:hover,
.submit-button_review_result:active,
.submit-button_review_result:focus {
    background-color: #D2D2D2;
}

.submit-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.answer {
    color: var(--link-color);
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 20px;
    text-align: center;
    margin-bottom: 10px;
}

.answer_text_result {
    color: var(--link-color);
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 5px;
    text-align: center;
    margin-bottom: 10px;
}

.pass {
    color: #008000;
}

.not_pass {
    color: #ff0000;
}

.result-container {
    display: flex;
    align-items: center;
}

.loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--link-color);
    display: none;
}

.loading-container.hidden {
    display: none;
}

.loading-container.visible {
    display: block;
}

.form-check-label {
    font-size: large;
}


.download-attachment-form-presentation {
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    color: var(--link-color);
}

.download-attachment-form-presentation button {
    width: 100%;
    padding: 10px;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
}

.download-attachment-form-presentation button:hover,
.download-attachment-form-presentation button:active,
.download-attachment-form-presentation button:focus {
    background-color: #D2D2D2;
}

.submit-form-presentation {
    width: 100%;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    color: var(--link-color);
}

.submit-form-presentation button {
    width: 100%;
    padding: 10px;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
}

.submit-form-presentation button:hover,
.submit-form-presentation button:active,
.submit-form-presentation button:focus {
    background-color: #D2D2D2;
}

.button-form-left-right {
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    color: var(--link-color);
}

.button-form-left-right a {
    padding: 20px;
    font-size: large;
    background-color: #F2F1F0;
    color: black;
    width: 15%;
    height: 100%;
}

.button-form-left-right a:hover,
.button-form-left-right a:active,
.button-form-left-right a:focus {
    background-color: #D2D2D2;
}