#thank-you-modal {
    position: fixed;
    inset-block-start: 0;
    inset-block-end: 0;
    width: calc(100% - 6px - 2em);
    max-width: 490px;
    user-select: text;
    visibility: hidden;
    overflow: auto;
    display: block;
    box-shadow: 0 0 100vmax #00000038;
    opacity: 0;
    transition: all .3s;
    padding: 32px 45px;
}

#thank-you-modal[open] {
    opacity: 1;
    visibility: visible;
}

#thank-you-modal::backdrop {
    background: #000;
    opacity: 32%;
}

#thank-you-modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#thank-you-modal-container h2 {
    margin-bottom: 24px;
    font-family: Lato;
    font-size: 28px;
    font-weight: 800;
    color: #252525;
}

#thank-you-modal-container p {
    font-family: Lato;
    font-size: 18px;
    font-weight: 500;
    color: #252525;
    text-align: center;
    max-width: 400px;
}

#thank-you-modal-container p.less-green {
    margin-top: 44px;
    margin-bottom: 32px;
    font-family: Lato;
    font-size: 16px;
    color: #2DAA42;
}

#thank-you-modal-container span.green {
    font-family: Lato;
    color: #2DAA42;
}

#thank-you-modal-container p.bold {
    margin-bottom: 16px;
    font-family: Lato;
    font-size: 24px;
    font-weight: 700;
}

#thank-you-modal-container .phone {
    font-family: Lato;
    font-size: 28px;
    font-weight: 800;
    -webkit-text-fill-color: #252525;
}

@media(max-width: 768px) {
    #thank-you-modal {
        margin-left: 24px;
        margin-right: 24px;
    }
}