@import url(fonts.css);

*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    background-repeat: no-repeat;
}

.--m-auto {
    margin: auto;
}

.--mt-24 {
    margin-top: 1.5rem;
}

.--mt-32 {
    margin-top: 2rem;
}

.--text-right {
    text-align: right;
}

body,
html {
    font-size: 16px;
}

.page {
    position: relative;
    color: white;
    margin: 0;
}

.--fix {
    position: fixed;
}

.page__fon-background {
    top: 0;
    left: 0;
    z-index: -5;
}

.page__fon-eda {
    right: 0;
    bottom: 0;
    z-index: -4;
}

.page__fon-logo {
    top: 0;
    left: 0;
    z-index: -3;
}

.wrapper {
    padding-left: 5rem;
    padding-right: 5rem;
}

.logo {
    width: 12.75rem;
    height: 13.4rem;
}

.header {
    display: flex;
    justify-content: space-between;
    padding-top: 3rem;
}

.header__info {
    display: flex;
    width: 27.75rem;
    justify-content: space-between;
}

.header__info-contacts {
    display: flex;
    flex-direction: column;
}

.header__info-contacts-phone {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 2.25rem;
}

.header__info-contacts-phone:hover {
    cursor: pointer;
}

.header__info-contacts-email {
    color: white;
    text-decoration: none;
    font-family: 'Gotham-Pro';
    font-style: normal;
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 2rem;
    opacity: 0.4;
}

.header__adress {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2rem;
}

.header__info-messengers {
    display: flex;
    justify-content: space-between;
    width: 7.6rem;
    height: 3.6rem;
}

.header__info-messenger {
    background: #221a19;
    border: 1px solid #221a19;
    border-radius: 56px;
    width: 3.6rem;
    display: flex;
}

.header__info-messenger:hover {
    cursor: pointer;
}

.messenger-icon {
    opacity: 1;
    margin: auto;
}

.main {
    text-align: center;
}

.main__text-title {
    font-family: 'Lilita-One-Rus';
    font-style: normal;
    font-weight: 400;
    font-size: 2.75rem;
    line-height: 3rem;
    letter-spacing: 1px;
}

.main__title {
    font-family: 'Lilita-One-Rus';
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 4rem;
    letter-spacing: 1px;
}

.main__text-subtitle {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 2rem;
    letter-spacing: 1px;
}

.main__subtitle {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    letter-spacing: 1px;
}

.main__buttons {
    max-width: 31.9rem;
    display: flex;
    margin: auto;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.main__button {
    width: 15.125rem;
    display: flex;
    height: 4rem;
}

.--ya {
    background-color: #FFD500;
}

.--dl {
    background-color: #0DC644;
}

.--dl-icon {
    width: 8.4rem;
}

.--map {
    margin-top: 1.75rem;
    width: 25.4rem;
    background: #7B00FF;
    border: 2px solid #FFFFFF;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.--mp:hover {
    cursor: pointer;
}

.main__button-text {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 2rem;
    margin-left: 0;
}

.main__button-point {
    margin-right: 0.9rem;
}

.main__adress {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 2.5rem;
    letter-spacing: 1px;
}

.--none {
    display: none;
}

@media screen and (min-width: 501px) and (max-width: 1440px) {
    body,
    html {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .wrapper {
        padding: 0;
    }
    .main__buttons {
        flex-direction: column;
        height: 8.75rem;
    }
    .main__button {
        width: 100%;
    }
    .--map {
        max-width: 31.9rem;
    }
}

@media screen and (min-width: 1440px) {
    .page__fon-eda {
        position: fixed;
    }
}

@media screen and (max-width: 767px) {
    .page__fon-eda {
        width: 100%;
    }
}

@media screen and (min-width: 768px) and (max-width:1440px) {
    .page__fon-eda {
        width: 70%;
        position: fixed;
    }
}

@media screen and (min-width:1026px) {
    .header__info-mbl {
        display: none;
    }
}

@media screen and (max-width:1025px) {
    .header__info {
        display: none;
    }
    .header__info-mbl {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }
    .header__info-messengers {
        margin-top: 2rem;
    }
    .header__adress {
        display: none;
    }
    .header {
        justify-content: center;
    }
    .page__fon-logo {
        width: 50%;
    }
}

@media screen and (max-width:500px) {
    .header__info-contacts-phone{
    font-size:1.75rem;
}
.header__info-contacts-email{
    font-size:1rem;
}

    .main__subtitle {
        font-size: 1rem;
        line-height: 1.375rem;
    }
    .main__text-subtitle {
        font-size: 1.35rem;
    }
    .main__title {
        font-size: 2.5rem;
        line-height: 2.75rem;
    }
    .main__adress {
        font-size: 1.15rem;
    }
    .wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .page__fon-eda {
        width: 100%;
        height: 101%;
    }
}