.thankyou {
    display: block;
    padding: 0;
    margin: auto;
}

.thankyou .container .wrapper {
    display: flex;
    min-height: 659px;
    border-radius: 30px;
    background-color: var(--grey);
    gap: 20px;
    justify-content: space-between;
    margin: 20px 0 40px 0;
    position: relative;
    overflow: hidden;
}



.thankyou .text-content {
    display: flex;
    padding: 57px 0 57px 57px;
    flex-direction: column;
    gap: 20px;
    justify-content: space-around;
    width: 50%;
}
.thankyou  .text-content  h1 {
    font-weight: 700;
    font-size: 58px;
    line-height: 130%;
    text-transform: uppercase;
    padding: 0;
    margin: 0;

}

.thankyou .text-content p {
    font-weight: 400;
    font-size: 26px;
    line-height: 130%;
    padding: 0;
    margin: 0;
}

.thankyou .text-content .phone-number {
    font-weight: 400;
    font-size: 26px;
    leading-trim: NONE;
    line-height: 130%;

}

.thankyou .text-content .call-instruction {
    font-weight: 700;
}

.thankyou .button {
    font-weight: 400;
    font-size: clamp(18px, 2vw, 24px);
    border-radius: clamp(8px, 1.5vw, 16px);
    padding: clamp(20px, 3vw, 24px) clamp(30px, 7vw, 60px);
    background-color: black;
    color: white;
    display: block;
    text-align: center;
    font-weight: 400;
    line-height: 130%;
    max-width: 381px;

}
.thankyou   .button:hover {
    opacity: 0.8;
}
.thankyou .button:focus {
    opacity: 0.8;
}

.thankyou .image-container {
    position: relative;
    overflow: hidden;
    display: block;
    width: 50%;
}

.thankyou .image-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.thankyou .only-adaptive {
    display: none;
}




@media screen and (max-width: 1024px) {

    .thankyou .container  {
        width: 100%;
    }


    .thankyou .container .wrapper {
        flex-direction: column;
        width: 100%;
    }

    .thankyou .container h1 {
        font-size: 32px;
    }

    .thankyou .image-container, .thankyou .text-content  {
        width: unset;
    }

    .thankyou .text-content {
        padding: 30px;

    }


    .thankyou .image-container {
        margin: 20px;
        border-radius: 30px;
        overflow: hidden;
        display: block;
    }


    .thankyou .text-content .button {
        display: none;
    }


    .thankyou .only-adaptive {
        display: block;
        margin: auto;
        margin-bottom: 40px;
        margin-left: 20px;
        margin-right: 20px;
    }

}