﻿.popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 70;
    background: rgba(33, 33, 33, 0.8);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
    overflow: auto;
}

.popup .popup-box {
    border-radius: 15px;
    position: absolute;
    /*            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);*/
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 50px;
    width: 550px;
}

.popup .popup-inner-box {
    text-align: center;
    /*font-weight: bold;*/
    line-height: 1.3rem;
}

.popup .popup-inner-box .popup-headline {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    line-height: 1.6rem;
}

.popup.visible {
    visibility: visible;
    opacity: 1;
}

.popup .popup-text {
    width: 90%;
    margin-left: 5%;
}

.popup .sendButton {
    background: linear-gradient(93.12deg, #DEDC00 0%, #FFFD00 100%);
    box-shadow: 0px 10px 19px rgb(222 220 0 / 40%), 0px 3px 0px #bab801;
    width: 100%;
    font-size: 16px;
    color: #202020;
    line-height: 16px;
    height: auto;
    padding: 14px;
    font-weight: 700;
    text-align: center;
}

    .popup .sendButton.gray {
        background: #F0F0F0;
        box-shadow: 0px 10px 19px rgba(240, 240, 240, 0.4), 0px 3px 0px #A9A9A9;
        margin-top: 20px;
    }

.popup span.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    font-size: 25px;
    font-weight: 700;
    color: #A9A9A9;
}

.popup .sendButton:hover {
    opacity: 0.9;
    box-shadow: 0px 10px 19px rgb(222 220 220 / 60%), 0px 3px 0px #A9A9A9;
}

@media (max-width: 767px) {
    .popup .popup-box {
        min-width: auto;
        max-width: 98%;
        padding: 50px 20px;
    }

    .popup .popup-text {
        margin: unset;
        width: 100%;
    }
}
