/*
Theme Name: DevAlex
Author: Alex Ermakov
Author URI: https://t.me/AlexErmakov
Version: 0.0.1
*/


.page-template-default .footer,
.error404 .footer {
    padding: 11.1111111111rem 3.6111111111rem 6.6666666667rem
}

@media only screen and (max-width: 1200px) {

    .page-template-default .footer,
    .error404 .footer {
        padding: 125px 20px 75px
    }
}

@media only screen and (max-width: 992px) {

    .page-template-default .footer,
    .error404 .footer {
        padding: 100px 20px 60px
    }
}

@media only screen and (max-width: 768px) {

    .page-template-default .footer,
    .error404 .footer {
        padding: 80px 20px 45px
    }
}

@media only screen and (max-width: 576px) {

    .page-template-default .footer,
    .error404 .footer {
        padding: 60px 20px 35px
    }
}

.main__container {
    color: #fff;
    padding: 6.111111rem 3.6111111111rem 3.666667rem;
}

.main_title {
    font-weight: 350;
    font-size: 5rem;
    line-height: 100%;
    letter-spacing: -0.05em;
    text-transform: lowercase;
    color: #fff;
    margin: 0 0 2.75rem;
}

.default__text * {
    margin-bottom: 1.35rem;
}

.page__content__text {
    max-width: 70rem;
}

.default__text {
    line-height: 1.55;
    font-size: 1.15rem;
    letter-spacing: -0.05em;
    font-weight: 300;
}

.default__text h2 {
    margin-bottom: 0.95rem;
    margin-top: 3rem;
    font-weight: 350;
    font-size: 1.5rem;
    text-transform: lowercase;
    margin-bottom: 0.75rem;
}

.default__text *:first-child {
    margin-top: 0;
}

.default__text *:last-child {
    margin-bottom: 0;
}


@media only screen and (max-width: 1200px) {
    .main__container {
        padding: 25px 20px 0;
    }

    .main_title {
        font-size: 34px;
        line-height: 1.1;
        margin-bottom: 27px;
    }

    .default__text {
        font-size: 13px;
        line-height: 1.6;
    }

    .page__content__text {
        max-width: 700px;
    }

    .default__text h2 {
        font-size: 1.4em;
        margin-bottom: 5px;
        margin-top: 30px;
    }

    .default__text * {
        margin-bottom: 16px;
    }
}



.page__404__title {
    text-align: center;
    font-size: 3.3333333333rem;
    font-weight: 350;
    text-transform: lowercase;
    margin-bottom: -0.5rem;
}

.page__404__small_text {
    font-size: 3em;
    line-height: 0.85;
}

.page__404__big_text {
    margin-bottom: 1.5rem;
}

.link-404 {
    display: inline-flex;
    min-width: 25rem;
    gap: 24px;
}

.page__404__inner {
    justify-content: center;
    display: flex;
    align-items: flex-end;
    max-width: 60rem;
    margin: 0 auto;
    justify-content: space-between;
    padding: 5rem 0;
}

@media only screen and (max-width: 992px) {

    .page__404__inner {
        max-width: 750px;
    }

    .page__404__title {
        font-size: 44px;
    }

    .link-404 span {
        margin: 0;
    }

    .link-404 {
        min-height: 0;
        min-width: 36rem;
    }
}

@media only screen and (max-width: 550px) {

    .page__404__inner {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 50px 0;
    }

    .link-404 {
        width: 100%;
        max-width: 360px;
    }

    .page__404__big_text {
        margin-bottom: 18px;
        font-size: 16px;
        font-weight: 300;
    }

    .page__404__small_text {
        font-size: 100px;
    }
}

.card-promo__slide-img {
    object-fit: contain;
}

.header__lang-item {
    text-transform: uppercase;
}

.footer__address {
    width: 100%;
}

.contact__form-checkbox-text a {
    transition: 0.25s ease-in-out;
    color: inherit;
}

.contact__form-checkbox-text a:hover {
    opacity: 0.5;
}

.contact__form-checkbox--modal {
    flex: none;
    margin-top: 1.5rem;
    max-width: 25.5rem;
}

@media only screen and (max-width: 1200px) {
    .contact__form-checkbox--modal {
        max-width: 350px;
        margin-top: 15px
    }
}