@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

body {
    background: #313C45;
    font-family: "PT Sans";
    font-weight: 400;
    font-style: normal;
    color: #CED2DE;
}

.wrapper {
    min-height: 100%;
}

.container {
    max-width: 972px;
    margin: 0 auto;
    padding: 0 14px;
}

h1 {
    text-align: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    margin-top: 30px;
    margin-bottom: 25px;
    color: #D8E8F4;
}

header {
    height: 70px;
    background: #252E34;    
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header__links {
    display: flex;
    align-items: center;
    gap: 55px;
}

.header__link {
    color: #D8E8F4;
    font-size: 18px;
    line-height: 100%;
    padding-bottom: 4px;
    border-bottom: 2px solid #FF7979;
}

.header__link:hover {
    color: #FF7979;
}

.header__row .logo img {
    width: 258px;
    height: auto;
}

.header__burger {
    display: none;
}

.headliner {
    margin-bottom: 45px;
}
.headliner__btn {
    width: 100%;
    height: 62px;
    background: #FF7979;
    border-radius: 10px;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #252E34;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    border: 2px solid #FF7979;
    transition: all 0.2s ease 0s;
}

.headliner__btn:hover {
    background: #252E34;
    color: #FFF;
}

.headliner-tg {
    position: relative;
    display: block;
    width: 100%;
}

.headliner-tg__info {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 35px;
    border: 5px solid #27A7E7;
    background: #3E4D59;
    border-radius: 68px;
    padding-left: 9px;
}

.headliner-tg__info-img {
    width: 67px;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #27A7E7;
    border-radius: 50%;
    padding-right: 6px;
}

.headliner-tg__info-text {
    font-weight: 700;
    font-size: 24px;
    color: #FFF;
}

.headliner-tg__btn {
    position: absolute;
    top: -5px;
    left: 431px;
    width: 511px;
    height: 100px;
    background: #27A7E7;
    border-radius: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 700;
    font-size: 32px;
    color: #FFF;
    border: 5px solid #27A7E7;
}

.headliner-tg:hover .headliner-tg__info {
    background: #27A7E7;
}

.headliner-tg:hover .headliner-tg__btn {
    background: #3E4D59;
}

@media (max-width: 970px) {
    .headliner-tg__info {
        justify-content: center;
        height: 136px;
        align-items: flex-start;
        border-radius: 35px;
        margin: 0 10px;
        width: calc(100% - 20px);
        padding-top: 20px;
        padding-left: 0;
    }

    .headliner-tg__info-img {
        display: none;
    }

    .headliner-tg__info-text {
        font-size: 20px;
    }

    .headliner-tg__btn {
        top: 66px;
        left: 0;
        height: 70px;
        width: calc(100vw - 28px);
        font-size: 24px;
    }
    
    .headliner-tg__btn svg {
        width: 26px;
        height: 20px;
    }
}

.info {
    padding-bottom: 60px;
}

.info__title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 12px;
    color: #D8E8F4;
}

.info__block img {
    float: left;
    margin-right: 26px;
    margin-bottom: 12px;
}

.info__block p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 22px;
    color: #9DB8B8;
}

.mobile__menu {
    display: none;
}

@media (max-width: 750px) {
    h1 {
        font-size: 22px;
        margin-top: 16px;
        margin-bottom: 12px;
        line-height: 120%;
    }
    header {
        height: 55px;
    }
    .header__row {
        height: 55px;
    }
    .header__row .logo img {
        width: 232px;
        height: auto;
    }
    .header__links {
        display: none;
    }
    .header__burger {
        display: block;
    }

    .info__title {
        font-size: 23px;
        line-height: 26px;
    }

    .info__block p {
        margin-bottom: 10px;
    }

    .info__block img {
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        height: auto;
    }

    .mobile__menu {
        position: fixed;
        display: block;
        top: 55px;
        left: -100%;
        width: 100%;
        height: 100%;
        background: #252E34;
        z-index: 10;
        padding: 20px 14px 0;
        z-index: 100;
        transition: all 0.3s ease 0s;
    }

    .mobile__menu.active {
        left: 0;
    }

    .mobile__menu-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
        row-gap: 16px;
    }

    .mobile__menu-link {
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #313C45;
        border: 1px solid #4f4f4f;
        color: #f2f2f2;
        font-size: 16px;
    }
    .mobile__menu-link:last-child {
        grid-column: span 2;
    }
    .headliner {
        margin-bottom: 30px;
    }
    .headliner-tg {
        height: 136px;
        max-height: 136px;
    }
}
