.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.popup__content {
    position: relative;
    margin: 0 auto;
    padding: 50px;
    width: 90%;
    /*max-width: 1200px;*/
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    height: 90%;
}

.popup__container {
    width: 100%;
    min-height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(57, 57, 57, 0.4);
    border-radius: 100%;
}

.popup-close:hover {
    opacity: 80%;
}

.video-container {
    position: relative;
    /*padding-bottom: 56.25%;*/
    /*height: 0;*/
    overflow: hidden;
    max-width: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-form__container {
    font-family: JostRegular, sans-serif;
    letter-spacing: calc(1em / 20);
    font-size: 1rem;
    color: #292929;
    max-width: 500px;
    width: 100%;
}

.popup-form__container .bottom-line-input {
    padding-bottom: 6px;
    margin-bottom: 36px;
    font-family: JostRegular, sans-serif;
    letter-spacing: calc(1em / 20);
    font-size: 1rem;
    color: #292929;
    border-bottom: 1px solid #D9D9D9;
}

.popup-form__container .bottom-line-input input {
    color: #292929;
}

.popup-form__container .bottom-line-input label {
    width: auto;
    margin-right: 6px;
}

.popup-form__container button {
    width: 100%;
}

.popup__content_form {
    max-width: 1000px;
    height: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.popup__content_form .head-text{
    margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
    .popup__content {
        padding: 60px 16px 16px 16px;
    }

    .popup-form__container button {
        margin-top: 7px;
    }
}
