.modal {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 101;
    padding: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    transition: all 0.4s ease;
}

.modal__wrapper {
    padding: 16px;
    border-radius: 20px;
    max-width: 800px;
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: min-content;
    position: relative;
    background: #fff;
    box-shadow: 0 0 7px #121212;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
}

.modal__header-title {
    font-size: 19px;
    margin: 0;
}

.modal__close-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    background: #fce500;
    cursor: pointer;
}

.modal__content {
    width: 100%;
}

.modal__body {
    padding: 30px;
}

.modal__body iframe {
    max-width: 700px;
    width: 100%;
}

.modal-open {
    overflow: hidden;
    padding-right: 17px;
}

.show {
    overflow-y: scroll;
    pointer-events: auto;
    transition: all 0.4s ease;
    opacity: 1;
}

.modal--start {
    align-items: flex-start;
}

.modal-success__wrapper {
    max-width: 960px;
}
.form-success {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-success__content {
    padding: 56px 0;
}

.form-success__title {
    margin: 0;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
}

.form-success__description {
    margin: 0;
    margin-bottom: 32px;
    font-weight: 400;
    font-size: 24px;
    line-height: 31px;
}

.form-success__body {
    margin: 0;
    margin-bottom: 68px;
    font-size: 18px;
    line-height: 160%;
}

.form-success__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 16px 40px;
    color: var(--main-dark);
    background-color: var(--accent);
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 45px;
    transition: all 0.4s ease;
}
.form-success__button:hover {
    padding: 16px 40px;
    color: var(--accent);
    background-color: var(--main-dark);
}

@media screen and (max-width: 768px) {
    .modal,
    .modal__body,
    .modal__header {
        padding: 8px;
    }

    .modal__header-title {
        max-width: 250px;
        font-size: 14px;
    }
}
@media screen and (max-width: 550px) {
    .modal__close-btn {
        width: 35px;
        height: 35px;
    }

    .modal-open {
        padding-right: 0;
    }
}
