/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible; /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


@font-face {
    font-family: CoFo Sans;
    font-style: normal;
    font-weight: 400;
    src: local('CoFo Sans'), url(../fonts/CoFoSans-Regular.ttf) format("truetype");
}

@font-face {
    font-family: CoFo Sans;
    font-style: normal;
    font-weight: 500;
    src: local('CoFo Sans'), url(../fonts/CoFoSans-Medium.ttf) format("truetype");
}

@font-face {
    font-family: CoFo Sans;
    font-style: normal;
    font-weight: 700;
    src: local('CoFo Sans'), url(../fonts/CoFoSans-Bold.ttf) format("truetype");
}

@font-face {
    font-family: CoFo Sans;
    font-style: normal;
    font-weight: 900;
    src: local('CoFo Sans'), url(../fonts/CoFoSans-Black.ttf) format("truetype");
}

:root {
    --Black: #050920;
    --White: #FFFFFF;
    --Gray-50: #FAFAFA;
    --Gray-300: #D5D7DA;
    --Main-Background: #F7F7F7;
}

body {
    background: var(--Main-Background);
    font-family: CoFo Sans, -apple-system, Roboto, Helvetica, sans-serif;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.header {
    display: flex;
    width: 100%;
    padding: 12px 40px;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
    /* 2 */
    box-shadow: 0px 0px 14px -4px rgba(10, 13, 18, 0.06);
}

.logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

}

.main-btn {
    display: flex;
    padding: 8px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 8px;
    border: 1px solid var(--Gray-50);
    background: var(--White);

    /* Тени */
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);

    text-align: center;
    font-family: "CoFo Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

/* Стили для ссылки внутри кнопки */
.main-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Чтобы `<a>` занял всю ширину кнопки */
    height: 100%; /* Чтобы `<a>` занял всю высоту кнопки */
    text-decoration: none; /* Убираем стандартное подчеркивание */
    color: inherit; /* Наследуем цвет от `.main-btn` */
    font: inherit; /* Наследуем шрифт от родителя */
}

.booking-form {
    align-items: stretch;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08), 0px 4px 6px -2px rgba(10, 13, 18, 0.03);
    display: flex;
    flex-direction: column;
    width: 100%; /* Форма растягивается на всю доступную ширину */
    padding: 34px 16px;
    font-size: 16px;
    font-weight: 500;
    justify-content: start;
    margin-top: 25px;
    box-sizing: border-box;
}

/* Заголовок формы */
.booking-form__title {
    align-self: start;
    color: var(--Black);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

/* Поля формы */
.booking-form__fields {
    margin-top: 24px;
    width: 100%;
    color: #717680;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Ввод */
.booking-form__input,
.booking-form__phone {
    border-radius: 8px;
    border: 1px solid var(--Gray-300);
    background: #fff;
    padding: 10px 14px;
    width: 100%;
}

.booking-form__dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--Gray-300);
    background: #fff;
    padding: 10px 14px;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.booking-form__select {
    appearance: none; /* Убирает стандартный стиль */
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    width: 100%;
    padding-right: 30px; /* Отступ для иконки */
    cursor: pointer;
    font-size: 16px;
    color: gray; /* Серый цвет по умолчанию */
}

.booking-form__select option {
    color: black; /* Обычный цвет текста */
}

.booking-form__select option:disabled {
    color: gray; /* Серый цвет у неактивного текста */
}

.booking-form__select:valid {
    color: black; /* После выбора становится черным */
}

.booking-form__dropdown-icon {
    position: absolute;
    right: 10px;
    width: 16px;
    pointer-events: none;
}

.booking-form__datetime {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
}

.booking-form__time-label {
    cursor: pointer; /* Делаем иконку кликабельной */
}


.booking-form__date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    border: 1px solid var(--Gray-300);
    background: #fff;
    padding: 10px 14px;
    gap: 8px;
    width: 170px;
    cursor: pointer;
    position: relative;
}

/*.booking-form__date-icon,*/
.booking-form__time-icon {
    aspect-ratio: 1;
    object-fit: contain;
    width: 16px;
}


.booking-form__date-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.booking-form__date-text {
    font-size: 16px;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.booking-form__time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--Gray-300);
    background: #fff;
    padding: 10px 14px;
    flex: 1;
    gap: 10px;
}

.booking-form__date-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.booking-form__time-wrapper.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.booking-form__time-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.booking-form__submit {
    border-radius: 8px;
    border: 1px solid var(--Black);
    background: var(--Black);
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
    padding: 12px 24px;
    color: #fff;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    cursor: pointer;
}

.booking-form__submit:hover {
    opacity: 0.9;
}

.booking-form__submit:active {
    transform: translateY(1px);
}

.form-and-contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
}

.title-form {
    width: 440px;
    flex-shrink: 0;
    color: var(--Black);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    margin-top: 152px;
}


.title-form__title {
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.title-form__title_price {
    font-weight: 900;
    line-height: normal;
    margin: 0;
    text-transform: uppercase;
    position: relative;
}

.finger {
    position: absolute; /* Фиксируем позицию */
    top: 0px; /* Поднимаем выше */
    right: 20px; /* Выравниваем по правому краю */
    transform: rotate(3.779deg);
    padding: 6px 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    border: 2px solid #F9F9F9;
    background: #FF218D;
    /* Тени */
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08), 0px 4px 6px -2px rgba(10, 13, 18, 0.03);
}

.text-finger {
    width: 101px;
    color: #E4E4E4;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.finger-icon {
    position: absolute;
    top: 24px; /* Поднимаем иконку пальца выше */
    right: 4px;
    width: 35.173px;
    height: 35.173px;
    transform: rotate(11.363deg); /* Поворот иконки */
}


.image-container-left {
    position: fixed;
    top: 30%;
    left: 49.9%;
    transform: translateX(-50%);
    width: 100%;
    z-index: -1;
}

@media (max-width: 920px) {
    .image-container-left {
        top: -10%
    }

}

.responsive-image-left {
    aspect-ratio: 0.52;
    object-fit: contain;
    object-position: center;
    width: 100%;
    max-width: 193px; /* Ограничиваем максимальную ширину картинки */
}

.image-container-right {
    position: fixed;
    top: 15%;
    left: auto;
    right: 25%;
    width: auto;
    z-index: -1;
}

.responsive-image-right {
    position: fixed;
    aspect-ratio: 0.9;
    object-fit: contain;
    object-position: center;
    width: 100%;
    max-width: 209px;
}

.image-container-bottom {
    position: fixed;
    bottom: 0;
    right: 7%;
    z-index: -1;
}

.responsive-image-bottom {
    aspect-ratio: 1.24;
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: auto;
    display: block;
    max-width: 453px;
}

.main-container {
    width: 100%;
    max-width: 1130px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 16px;
}


.contact-container {
    width: 440px;
    display: flex;
    flex-direction: column;
    margin-top: 300px;
    transition: margin-top 0.3s ease;
}

.address-section {
    width: 100%;
    font-size: 16px;
    color: var(--Black);
    font-weight: 400;
    text-align: center;
}

.address-card {
    align-items: stretch;
    border-radius: 16px;
    border: 1px solid var(--Gray-50);
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    width: 100%;
    padding: 14px;
    flex-direction: column;
    justify-content: start;
}

.address-card + .address-card {
    margin-top: 11px;
}

.location-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 16px;
    align-self: center;
}

.address-text {
    margin-top: 8px;
}

.contact-section {
    display: flex;
    margin-top: 34px;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
}

.social-icons {
    align-self: center;
    display: flex;
    align-items: start;
    gap: 26px;
    justify-content: start;
}

.social-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 44px;
    flex-shrink: 0;
}

.phone-number {
    color: var(--Black);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 16px;
}

.phone-number a {
    color: inherit; /* Наследует цвет от родителя (.phone-number) */
    text-decoration: none; /* Убирает подчеркивание */
    font-size: inherit;
    font-weight: inherit;
}


@media (max-width: 920px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-container {
        margin-top: 20px;
        width: 100%;
    }

    .title-form {
        width: 100%;
    }


    .finger {
        padding: 6px 8px;
        right: -10px;
    }

    .address-section {
        order: 2;
        padding-bottom: 55px
    }

    .contact-section {
        order: 1;
        padding-bottom: 20px;
        margin-top: 0px;
    }

}

/**
 * Сторінка дякую
 *
 */

.thank-you-content {
    margin-top: 214px;
    display: flex;
    width: 440px;
    flex-direction: column;
    align-items: center;
    gap: 64px;

}

@media (max-width: 991px) {
    .thank-you-content {
        margin-top: 126px;
        width: 90%;
    }
}


.thank-you-title {
    color: var(--Black);
    text-align: center;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .thank-you-title {
        max-width: 100%;
        color: var(--Black);
        text-align: center;

        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }
}


.thank-you-message {
    display: flex;
    width: 440px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .thank-you-message {
        width: 90%;
    }
}

.thank-you-description {
    color: var(--Black);

    text-align: center;

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    width: 299px;
}

.info-block {
    display: inline-flex;
    transform: rotate(-3.937deg);
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    border: 2px solid #F7F7F7;
    background: #FF218D;

    /* 1 */
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08), 0px 4px 6px -2px rgba(10, 13, 18, 0.03);
}

.text-info {
    width: 109.655px;
    color: #E4E4E4;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.back-button {
    display: flex;
    width: 408px;
    height: 48px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--Gray-50, #FAFAFA);
    background: var(--White, #FFF);
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Наследуем цвет текста */
    box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
}

@media (max-width: 991px) {
    .back-button {
        width: 311px;
        margin-top: 184px;
        white-space: initial;
        padding: 0 20px;
    }
}

.back-button-content {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: start;
    margin: auto 0;
}

@media (max-width: 991px) {
    .back-button-content {
        white-space: initial;
    }
}

.back-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 16px;
    align-self: stretch;
    margin: auto 0;
}

.back-text {
    color: var(--Black, #050920);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}


.contact-container-2 {
    width: 440px;
    display: flex;
    flex-direction: column;
    transition: margin-top 0.3s ease; /* Плавное изменение отступа */
    gap: 34px;
}

.image-container-bottom-completed {
    position: fixed;
    transform: rotate(-31.265deg);
    width: 304.083px;
    height: 337.546px;
    bottom: 0;
    right: 30%;
    z-index: -1;
}

@media (max-width: 991px) {
    .image-container-bottom-completed {
        display: none;
    }
}

.error-message-tel {
    color: #CF0219;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.image-container-left-completed {
    position: fixed;
    top: 0%;
    left: 49.9%;
    transform: translateX(-50%);
    display: flex;

    width: 100%;
    z-index: -1;
}

.responsive-image-left-completed {
    aspect-ratio: 0.52;
    object-fit: contain;
    object-position: center;
}

.image-container-right-completed {
    position: fixed;
    top: -2%;
    left: auto;
    right: -5%;

    width: 354px;
    height: 197px;
    flex-shrink: 0;
    z-index: -1;
}

/**
 * Сторінка помилки
 *
 */


.error-img {
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
}

.error-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    align-self: stretch;
}

.error-info-text {
    color: var(--Black);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.info-error {
    width: 273px;
}

.error_btn {
    margin-top: 64px;
}

.error_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Кнопка занимает всю ширину */
    height: 100%; /* Опционально, если нужен фиксированный размер */
    color: var(--White);
    background: var(--Black); /* Замените на нужный цвет */
    text-decoration: none;
    font: inherit;
    padding: 10px 20px; /* Отступы для удобства */
    border-radius: 5px; /* Скругление углов */
    text-align: center;
}

@media (max-width: 991px) {
    .error-contact {
        margin-top: 58px;
    }
}


.error-message {
    display: flex;
    width: 600px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991px) {
    .error-message {
        width: 90%;
    }
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрирование элементов */
    justify-content: center; /* Выравнивание по вертикали */
    width: 600px;
    gap: 64px;
    text-align: center; /* Выравнивание текста по центру */
    margin: 0 auto; /* Выравнивание всего блока по центру страницы */
    margin-top: 214px;

}

@media (max-width: 991px) {
    .error-content {

        margin-top: 194px;
        display: flex;
        width: 343px;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
}

.error-title {
    color: var(--Black);
    text-align: center;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .error-title {
        max-width: 100%;
        color: var(--Black);
        text-align: center;

        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }
}

