main {
    position: relative;
}

body:has(.thank-you-page) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:has(.thank-you-page) header {
    position: unset;
}

body:has(.thank-you-page) main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body:has(.thank-you-page) footer {
    margin-top: auto;
}

.thank-you-page {
    font-family: CircularXX TT, sans-serif;
}

.thank-you-page > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 120px;
    gap: 12px;
}

.thank-you-page .container h1 {
    font-family: CircularXX TT, sans-serif;
    font-weight: 700;
    font-size: 55px;
    line-height: 1.3;
    color: rgba(12, 25, 55, 1);
}

.thank-you-page .container .thank-you-page-content {
    font-family: CircularXX TT, sans-serif;
    font-weight: 450;
    font-size: 24px;
    line-height: 32px;
    color: rgba(12, 25, 55, 1);
    text-align: center;
}



.thank-you-page .container .button { 
    background-color: var(--primary-color);
    min-width: 105px;
    min-height: 48px;
    padding: 1rem 2rem;
    border-radius: 24px;
    color: #fff;
    font-family: CircularXX TT, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration: none;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .thank-you-page > .container {
        padding-block: 80px;
    }
}