@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

header {
    background-image: url(../img/header.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 0 60px;
    background-position: top;
}

.header__content_1 {
    text-align: center;
}

.header__content_2 {
    margin: auto;
    max-width: 1140px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
}

.header__content_2 > img:nth-child(1) {
    width: 400px;
}

.main_content_1 {
    text-align: center;
    padding: 20px 0 50px;
    background: #F8F8F8;
}

.main_content_1 .title h1 {
    text-align: center;
    margin: 0 auto 10px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    background: #7C00FF;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
}

.main_content_1 .text {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    text-align: center;
    color: #6D6D6D;
}

.main_content_1 a {
    color: #2DA6DB;
}

.payment_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Exo 2', sans-serif;
    width: 380px;
    max-width: calc(100% - 20px);
    margin: 0 auto;
    gap: 10px;
}

.payment_top {
    font-family: 'Roboto';
    max-width: 100%;
    text-align: left;
}

.payment_top p {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: start;
    margin: 8px 0;
    font-size: 12px;
}

.payment_top span {
    color: #666;
}

.payment_top strong {
    font-weight: 700;
    color: #111;
}

.payment_box {
    width: 90%;
    border: 1px solid #dcdcdc;
    padding: 15px 20px;
    text-align: center;
}

.btn {
    background: linear-gradient(90deg, #05AFE4 0%, #2393B8 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 35px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 500;
    color: #FFFFFF;
}

.payment_box p {
    margin: 0;
    font-size: 14px;
    color: #6D6D6D;
    line-height: 1.6;
    text-align: left;
}

.input_box input {
    width: 138px;
    height: 45px;
    border: 1px solid #cfcfcf;
    border-radius: 25px;
    outline: none;
    text-align: center;
    font-size: 16px;
    margin: 10px 0;
    transition: 0.3s;
}

.input_box input:focus {
    border-color: #2aa7c9;
}


.payment_links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment_links a {
    color: #2aa7c9;
    text-decoration: none;
    font-size: 16px;
}

.payment_cancel {
    font-size: 18px;
}

.payment_cancel a {
    color: #2aa7c9;
    text-decoration: none;
}

.error_message {
    color: #FF4B4B;
    font-size: 11px;
}
.main_content_2 {
    background: url(../img/background__2.webp) no-repeat;
    text-align: center;
    background-position-x: center;
    width: 100%;
    padding: 50px 0;
    background-size: cover;
}

.card {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: calc(100% - 20px)
}

.card p {
    margin: 15px;
    text-transform: uppercase;
}

.card_1, .card_2, .card_3 {
    flex-direction: column !important;
    justify-content: center !important;
    width: 380px;
    display: flex;
    background-size: contain;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: #fff;
}

.main_content_3 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 65px auto;
}

.main_content_3 .title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 32px;
    text-align: left;
    color: #1A1A1A;
}

.main_content_3 .text {
    max-width: 665px;
}

.main_content_3 .line {
    width: 130px;
    height: 6px;
    gap: 0px;
    background: #7C00FF;
}

.main_content_3 .image img {
    max-width: 100%;
}

.main_content_4 {
    background: url(../img/content_4_back.webp) no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 32px;
    height: 346px;
}

.main_content_4 .text {
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    color: #FFFFFF;
}

.main_content_4 .text_bold {
    font-size: 80px;
    font-weight: 800;
    line-height: 28px;
    color: #f9972d;
}

.main_content_5 {
    padding: 30px 0;
    background: #07132A;
    text-align: center;
}

.main_content_5 > * {
    align-self: center;
}

.main_content_5 .logo img {
    width: 142px;
    height: 32px;
}

#text {
    margin: 25px 0;
    max-width: 628px;
    font-size: 18px;
    font-weight: 400;
    line-height: 28.8px;
    text-align: left;
    color: #6D6D6D;
    font-family: Inter, sans-serif;
}

.wrap {
    background: #F8F8F8;
    margin-top: 50px;
}

.footer {
    font-weight: 300;
    color: #6C6C6C;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    width: 1200px;
    max-width: calc(100% - 20px);
    margin: 0 auto;
}

.footer .link {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}

.footer a {
    color: #484460;
    text-decoration: none;
}

@media screen and (max-width: 1150px) {
    .header__content_1 {
        margin: 0 20px;
    }

    .main_content_3 {
        margin: 65px 10px;
    }
}

@media screen and (max-width: 1030px) {
    .header__content_2 {
        justify-content: center;
    }

    .header__content_2 > * {
        flex-grow: 1;
    }

    .header_images img, .header__content_2 img {
        width: 50% !important;
        height: unset !important;
    }
}

@media screen and (max-width: 1024px) {
    .card_1, .card_2, .card_3 {
        width: 241.69px;
    }

    .card {
        gap: 0px;
    }

    .main_content_3 {
        flex-direction: column;
        margin: 40px 24px;
        justify-content: center;
    }

    .main_content_3 .line {
        margin: 0 auto;
    }

    #text {
        text-align: center;
        max-width: unset;
    }

    .main_content_3 .title {
        margin: 0 auto 20px;
        text-align: center;
    }

    .main_content_5 {
        flex-direction: column;
        gap: 0;
        justify-content: center;
    }

    .footer {
        text-align: center;
    }

    .main_content_4 {
        height: 206px;
    }

    .main_content_4 .text {
        font-size: 18px;
    }

    .main_content_4 .text_bold {
        font-size: 64px;
    }

    .header__content_2 > * {
        flex-grow: unset;
    }

    .header__content_2 {
        gap: 62.2px;
    }
}

@media screen and (max-width: 800px) {
    .header__content_2 {
        justify-content: center;
    }

    .main_content_3 {
        flex-direction: column;
        margin: 40px 24px;
    }

    #text {
        text-align: center;
    }

    .main_content_3 .title {
        margin: 0 auto 20px;
        text-align: center;
    }

    .main_content_3 .line {
        margin: 0 auto;
    }
}

@media screen and (max-width: 630px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    .main_content_1 {
        padding: 0px 0 50px;
        background: #F8F8F8;
    }

    .main_content_1 .footer_content {
        max-width: 100%;
        margin: 30px 10px;
    }

    .main_content_3 {
        flex-direction: column;
    }

    .header {
        padding-top: 10px;
    }

    .card_1, .card_2, .card_3 {
        width: 100%;
    }

    .main_content_5 {
        flex-direction: column;
        gap: 0;
        justify-content: center;
    }

    .footer {
        text-align: center;
    }

    .footer .link {
        font-size: 14px;
    }

    .main_content_2 {
        padding: 20px 0;
    }

    .main_content_4 .text {
        font-size: 18px;
    }

    .main_content_4 {
        height: 206px;
        padding: 0 20px;
    }

    .main_content_4 .text_bold {
        font-size: 64px;
    }

    .card_1, .card_2, .card_3 {
        width: 241.69px;
        height: 166px;
    }

    .card {
        gap: 0;
        margin: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: calc(100% - 20px);
        flex-direction: column;
    }

    .card_1, .card_2, .card_3 {
        height: unset;
    }
}

@media screen and (max-width: 550px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    header {
        padding: 0;
    }

    .main_content_1 .title h1 {
        font-size: 24px;
        line-height: 24px;
        margin: 10px auto;
        padding-top: 0;
    }

    .main_content_1 .footer_content {
        margin-bottom: 20px;
    }

    .header__content_2 {
        flex-direction: column-reverse;
        gap: 0;
    }

    .header__content_2 .header_images {
        max-width: 279.66px;
        width: 100%;
        height: unset;
    }

    .header__content_2 .header_images_2 {
        max-width: 338.76px;
        max-height: 122px;
        width: 100%;
        height: 100%;
    }

    .header__content_2 .header_images {
        order: 1;
    }

    .main_content_3 {
        margin: 40px 10px;
    }

    .main_content_3 .title {
        margin: 0 auto 20px;
        text-align: center;
    }

    .main_content_3 .line {
        margin: 0 auto;
    }

    #text {
        margin: 20px 0;
        text-align: center;
    }

    .header_images img, .header__content_2 img {
        width: 100% !important;
        height: unset !important;
    }
}

@media screen and (max-width: 375px) {
    .header_images img, .header__content_2 img {
        height: unset !important;
    }

    .main_content_1 .title h1 {
        font-size: 22px;
    }
}
