.popup-east-side form input[type=submit],.popup-wrapper:before {
    background-image: linear-gradient(70deg,#31bc69 -8%,#089e4e 96%)
}

.popup,.popup-modal {
    transform: translate(-50%,-50%)
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    z-index: 1000
}

.overlay.active,.popup.active {
    display: block
}

.popup-wrapper {
    display: flex;
    padding: 20px;
    flex-direction: row;
    align-items: center;
    column-gap: 20px;
    justify-content: space-between;
    border-radius: 12px;
    background-image: linear-gradient(92deg,#1e283f,#141b2e)
}

.popup-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 4px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    background-size: 200%
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: rgba(9,15,30,.8);
    z-index: 999
}

.popup-west-side {
    flex: 0 0 39.33333%;
    max-width: 39.33333%;
    height: max-content
}

.popup-east-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    flex: 0 0 58.66667%;
    max-width: 58.66667%
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 15px;
    min-height: 15px
}

.popup-west-side img {
    width: 100%;
    height: auto
}

.popup-east-side-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 5px;
    color: #fff
}

.popup-east-side-text p {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 48px;
    margin-bottom: .25rem;
    color: #fff
}

.popup-east-side form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    width: 100%
}

.popup-east-side form input {
    height: 42px
}

.popup-east-side form textarea {
    height: 100px
}

.popup-east-side form input,.popup-east-side form textarea {
    font-size: 1rem;
    line-height: 10px;
    font-weight: 400;
    padding: 10px;
    border: 0;
    border-radius: .25rem;
    background-color: #fff;
    outline: 0;
    resize: none;
    color: #000;
    width: 100%
}

.popup-east-side form input:focus,.popup-east-side form textarea:focus {
    outline: 0
}

.popup-east-side form input::placeholder,.popup-east-side form textarea::placeholder {
    color: #8c8c8c
}

.popup-east-side form input[type=submit] {
    color: #fff;
    cursor: pointer;
    font-weight: 600
}

@media(max-device-width: 1260px) {
    .popup-west-side {
        display:none
    }

    .popup-east-side {
        flex: unset;
        max-width: 100%
    }
}

@media(max-device-width: 766px) {
    .popup {
        width:96%
    }

    .popup-east-side {
        width: 100%
    }
}

.popup-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1000;
    width: 40%;
    max-width: 500px;
    background-color: rgba(0,0,0,.5);
    overflow: auto;
    padding: 10px;
    color: #fff
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    text-align: center;
    font-size: 22px;
    color: #000;
    border: 1px solid #888;
    position: relative
}

.close-button {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background-color: transparent
}

.popup-modal .close-button {
    top: -7px;
    min-width: 24px;
    color: #000;
    transition: .3s linear
}

.popup-modal .close-button:hover {
    color: #202020
}

.close-button:focus,.close-button:hover {
    color: #ccc;
    text-decoration: none;
    background-color: transparent
}

@keyframes fadeInOut {
    0%,100% {
        opacity: 0
    }

    10%,90% {
        opacity: 1
    }
}

.loading {
    display: none;
    text-align: center;
    font-size: 16px;
    color: #333
}

.popup-checkbox {
    display: flex;
    align-items: start;
    gap: 10px
}

.popup-checkbox label {
    font-size: 9px;
    color: #adadad;
    text-align: justify;
    line-height: 1.2
}

#mailCheck {
    margin-top: -8px;
    width: 30px;
    height: 30px;
    accent-color: #0049ff
}

@media(max-device-width: 768px) {
    .popup-modal {
        width:90%
    }
}