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

.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, rgb(20, 27, 46));
}

.popup-wrapper:before {
    content: "";
    display: block;
    background: linear-gradient(90deg, #00b7ff 0, #c700ff 17%, #fb0 41%);
    position: absolute;
    top: 0;
    left: 25px;
    right: 25px;
    height: 4px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    background-size: 200% auto;
}

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

.overlay.active {
    display: block
}

.popup-west-side {
    max-width: 50%
}

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

.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: none;
    resize: none;
    color: #000;
    width: 100%
}

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

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

.popup-east-side form input[type=submit] {
    color: #fff;
    background: linear-gradient(135deg, #0095ff 0, #0855c4 100%);
    cursor: pointer;
    font-weight: 600;
}

/* 
    .popup-east-side form input[type=submit]:hover {
        background-color: #0037c4;
    } 
*/

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

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

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

.popup-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -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:hover,
.close-button:focus {
    color: #ccc;
    text-decoration: none;
    background-color: transparent
}

@keyframes fadeInOut {
    0% {
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.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%
    }
}

@media (max-width: 355px) {
    .close-button {
        right: -10px;
        top: -22px;
    }
}