.wrapper {
    height: 100vh;
    background-color: #fff;
    padding-top: 20px;
}
.thanks {
    max-width: 1315px;
    height: 90vh;
    overflow: hidden;
    padding: 0 30px;
    margin: 0 auto;
}

.thanks__content {
    display: flex;
    justify-content: center;
    height: 100%;
}

.thanks__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.thanks__content br {
    display: none;
}

.thanks__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thanks__logo-wrap {
    display: block;
    max-width: 375px;
}

.thanks h1 {
    font-family: inherit;
    font-weight: 700;
    font-size: 60px;
    color: #2b2b2b;
    display: flex;
    flex-direction: column;
    position: relative;
}

.thanks__button-back {
    width: 128px;
    font-family: inherit;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    border: 1px solid #2b2b2b;
    background-color: transparent;
    padding: 13px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.thanks__button-back:hover {
    opacity: 0.5;
}

.thanks__button-back_mobile {
    display: none;
}

.thanks__text-wrap {
    max-width: 512px;
    font-size: 18px;
}

.thanks__link {
    font-family: inherit;
    font-weight: 400;

    text-decoration-skip-ink: none;
    color: #2b2b2b;
}

.thanks__text-weight {
    text-decoration: underline;
    font-weight: 700;
}

.thanks__text-weight:hover {
    text-decoration: none;
}

.thanks__button-link {
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    color: #2b2b2b;
    background-color: #f9db00;
    transition: all 0.3s ease;
    padding: 18px 20px;
}

.thanks__button-link:hover {
    background-color: #ffc701;
}

.thanks__link-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

@media (max-width: 1024px) {
    .thanks {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .thanks h1 {
        font-size: 30px;
    }

    .thanks__text-wrap {
        font-size: 16px;
    }

    .thanks__button-back {
        display: none;
    }

    .thanks__button-back_mobile {
        display: block;
    }

    .thanks__button-link,
    .thanks__button-back_mobile {
        width: 100%;
        text-align: center;
    }

    .thanks__icon {
        max-width: 50px;
        height: auto;
    }
}

@media (max-width: 425px) {
    .thanks {
        padding: 0 15px;
    }

    .thanks__content br {
        display: block;
    }

    .thanks__icon {
        position: absolute;
        top: 36px;
        right: 52px;
        max-width: 70px;
    }
}

@media (max-width: 395px) {
    .thanks__icon {
        right: 0;
    }
}

@media (max-width: 320px) {
    .thanks__icon {
        top: 36px;
        right: 20px;
        max-width: 50px;
    }
}
