@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Bold.woff2') format('woff2'),
        url('/static/fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('/static/fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Regular.woff2') format('woff2'),
        url('/static/fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Light.woff2') format('woff2'),
        url('/static/fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Medium.woff2') format('woff2'),
        url('/static/fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Для iPhone */
input,
input[type="text"] {
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}
/* end */

.page {
    width: 100%;
    min-height: 100vh;
    background-color: #1f1f1f;
    /* padding: 0 200px; */
    --webkit-font-smoothing: antialiased;
    --moz-osx-font-smoothing: grayscale;
    color: white;
    box-sizing: border-box;
    position: relative;
    font-family: "Montserrat";
}

.header__wrap {
    display: flex;
    justify-content: center;
}

.header {
    padding: 20px 8px 14px 8px;
    max-width: 1440px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    box-sizing: border-box;
    height: 60px;
    position: fixed;
    background-color: #1F1F1F;
    width: 100%;
    z-index: 10;
}  

.header__logo { 
    vertical-align: middle;
}

.header-menu__logo {
    margin-top: 25px;
}
    
/* header-menu */
.header__btn-menu {
    background-image: url(/static/images/Vector.svg);
    background-color: transparent;
    border: none;
    height: 18px;
    width: 20px;
    cursor: pointer;
    background-repeat: no-repeat;
}

.header-menu__btn-close {
    background-image: url(/static//images/icon-close.svg);
    background-color: transparent;
    border: none;
    height: 18px;
    width: 20px;
    background-repeat: no-repeat;
    cursor: pointer;
    position: absolute;
    top: 24px;
    right: 4px;
}

.header-menu {
    /* height: 733px; */
    max-width: 1440px;
    background-color: #080808;
    padding: 0 16px 0 10px;
    position: absolute;
    top: -15px;
    right: 2px;
    box-sizing: border-box;
    text-align: end;
    width: 100vw;
}

.header-menu_close {
    display: none;
}

.header-menu__list {
    list-style: none;
    margin: 100px 0 0 0 ;
    padding: 0;
    text-align: end;
    
}

.header-menu__link {
    text-decoration: none;
    color: #FFF;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;

}

.header-menu__item {
    margin-bottom: 24px;
}

.header-menu__list-pool {
    margin: 0 0 80px 0;
    list-style: none;
    padding: 0;
    display: block;
    width: 100%;
 }

.header-menu__list-pool-title {
    font-size: 12px;
    font-weight: 400;
    color: #737373;
    line-height: 14.7px;
    text-transform: uppercase;
    margin-top: 80px;
    text-align: end;
}

.header-menu__list-pool-link {
    text-decoration: none;
    color: #FFF;
}

.header-menu__list-pool-item {
    font-size: 14px;
    font-weight: 400;
    line-height: 19.5px;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 16px;
}

.header-menu__list-pool-bold {
    font-weight: bold;
}

.header-menu__contact {
    font-size: 12px;
    font-weight: 400;
    color: #737373;
    text-transform: uppercase;
}

.header-menu__address {
    margin: 16px 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 17px;
    width: 210px;
    display: inline-block;
    text-align: end;
}

.header-menu__phone {
    font-size: 14px;
    font-weight: bold;
}

.header-menu__phone-link {
    text-decoration: none;
    color: #FFF
}

.header-menu__wrapper {
    display: flex;
    align-items: center;
    padding-bottom: 112px;
    justify-content: end;
}

.header-menu__icon {
    width: 26px;
    height: 26px;
    margin-left: 19px;
}
        /* end header-menu */


        /* card */
.content {
    padding: 75px 8px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
} 

.card {
    max-width: 100%;
    /* max-height: 530px; */
    overflow: hidden;
}

.card__text {
    margin: 8px 0 28px 0;
}

.card__text-bold {
    font-weight: bold;
}

.card__img {
    width: 100%;
    /* max-height: 460px; */
}



.card__link {
    color: #FFF;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    text-transform: uppercase;
}

.order {
    width: 692px;
    align-content: center;
}

.form {
    width: 373px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.form__title {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 20px 0;
}

.order__title-bold {
    font-weight: bold;
}

.form__input-name,
.form__input-phone {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    max-width: 373px;
    width: 100%;
    display: block;
    padding: 8px 0;
    color: #969696;
    font-size: 18px;
    font-weight: 300;
    font-family: inherit;
}

.form__input-name_type_error {
    color: #e12525;
}

.form__input-phone_type_error {
    color: #e12525;
}

.form__input-phone {
    margin: 24px 0 0 0;
}

form__input_novalid {
    color: red !important;
}

.form-input-error {
    display: block !important;
}

.form__input-name-error {
    display: none;
    color: #e12525;
}

.form__input-phone-error {
    display: none;
    color: #e12525;
}

.form__btn {
    cursor: pointer;
    background-color: transparent;
    border-radius: 8px;
    border: 1px solid #969696;
    font-size: 16px;
    color: #FFF;
    padding: 8px 12px;
    text-align: center;
    max-width: 115px;
    margin: 32px 0 8px 0;
    font-weight: 300;
    font-family: inherit;
}

.form__btn_disabled {
    color: #555 !important;
}

.form__btn:active, :hover, :focus {
    outline: 0;
}

.form__information {
    font-size: 12px;
    color: #969696;
    margin: 0;
    font-weight: 300;
}

.display-pool {
    /* margin-top: 10px; */
    /* padding-top: 0px; */
}

.display-pool__link {
    text-decoration: none;
    color: #FFF;
    cursor: pointer;
}

.display-pool__text {
    font-size: 20px;
    /* margin: 8px; */
    text-transform: uppercase;
    margin: 42px 0 10px 0;
}

.display-pool__text-bold {
    font-weight: bold;
}

.display-pool__img {
    width: 100%;
}

.footer {
    width: 100%;
    min-height: 104px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0 0 0;
}

.footer__btn-link {
    display: block;
}

.footer__logo-link {
    text-align: left;
    display: block;
}

.footer__city {
    font-size: 16px;
    font-weight: bold;
    padding-left: 10px;
    position: relative;
    margin: 0;
}

.footer__city::before {
    content: '';
    background-image: url('/static/images/icon__telegram.png');
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: -20px;
}

.footer__btn {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background-color: transparent;
    border-radius: 16px;
    padding: 7px 19px 6px 33px;
    border: 1px solid #393939 ;
    margin: 0;
    margin-left: 26px;
    font-family: inherit;
}

.footer__address {
    font-size: 14px;
    margin: 0 24px;
}


@media (max-width: 1440px) {
    .card {
        width: calc(50% - 12px);    
    }
    .order {
        width: calc(50% - 12px);
    }
}

@media(min-width: 1100px) {
    .card__img:focus,
    .card__img:hover {
    transform: scale(1.05);
    margin-top: -11px;
    margin-bottom: 11px;
    transition: all 0.3s ease-out;
    }
}

@media (max-width: 900px) {
    .order {
        width: 100%;
    }
    .form {
        margin-top: 40px;
    }
}

@media (max-width: 720px) {
    .content {
        justify-content: center;
    }
    .display-pool__text {
        font-size: 16px;
    }
    .card {
        width: 100%;    
    }
}

@media (max-width: 447px) {
    .header__logo {
        max-width: 93%
    }
}

@media (max-width: 400px) {
    .footer {
        flex-wrap: wrap;
    }
    .footer__btn {
        margin-left: 0px;
    }
    .form {
        width: 100%;
        max-width: 373px;
    }
    .form__title {
        font-size: 28px;
    }
}


