.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.modal-content {
    background: #fff;
    width: 400px;
    max-width: 90%;
    margin: 100px auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.modal-content .pd-20 {
    padding: 20px;
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        margin: 50px auto;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .modal-content {
        width: 400px;
        margin: 80px auto;
    }
}
@media (min-width: 768px) and (max-width: 1280px) {
    .modal-content {
        width: 500px;
        margin: 80px auto;
    }
}
@media (min-width: 1280px) {
    .modal-content {
        width: 500px;
        margin: 80px auto;
    }
}

.modal-input-full {
    width: 100% !important;
}

.servers-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.servers-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -80px;
    border-radius: 5px 5px 0 0;
    margin-top: -1px;
}

@media (max-width: 320px) {
    .servers-img {
        object-position: center -20px;
    }
}
@media (max-width: 480px) {
    .servers-img {
        object-position: center -40px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .servers-img {
        object-position: center -60px;
    }
}
@media (min-width: 768px) and (max-width: 1280px) {
    .servers-img {
        object-position: center -80px;
    }
}
@media (min-width: 1280px) {
    .servers-img {
        object-position: center -80px;
    }
}

.servers-img-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.modal-half-left {
    width: 50%;
}

.modal-half-right {
    width: 50%;
}

.modal-half-left label {
    width: 90%
}

.modal-half-left input {
    width: 90%;
}

.modal-half-right label {
    width: 100%
    
}

.modal-half-right input {
    width: 100%;
}

.modal-full {
    width: 100%;
}

.modal-full label {
    width: 100%;
}

.modal-full textarea {
    width: 100%;
    height: 100px;
}

.modal-captcha {
    padding-right: 5%;
}

.modal-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}