.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 100;
}

.popup__bgc {
    background-color: #020B14;
    opacity: .5;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.spinner {

    animation: rotate 2s linear infinite;
    z-index: 200;
    position: absolute;
    top: 59%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 40px;
    height: 40px;
    display: none;


}

.spinner circle {
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
    stroke: #ccc;
}

.popup_db {
    display: block;
}

.popup__show {
    display: flex;
}

.popup-wrap {
    max-width: 345px;
    margin: 0 auto;
    position: relative;
    z-index: 10
}

.popup-image {
    position: relative;
    width: 100%;
    height: 200px
}


.popup-image img {
    box-shadow: none;
    border-radius: 10px 10px 0px 0px;
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
}

.popup-form {
    border-radius: 0px 0px 10px 10px;
    background: linear-gradient(180deg, #0A3A81 0%, #031A33 100%);
    color: #fff;
    padding: 30px 23px;
}

.popup__title {
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}



.popup__descr {
    text-align: center;
    font-family: '300';
    display: block;
    margin-bottom: 20px;
}

.popup-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.popup__input {
    height: 45px;
    color: #79A3DD;
    padding: 0 10px 0 10px;
}

.popup-main__input {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #082F65;
    border: 1px solid #0A47A1;
}

.popup__input::placeholder {
    color: #79A3DD;
    text-align: center;
}

.popup__input:focus {
    outline: none;
}

.popup__btn {
    background: #92c738;
    border: none;
    height: 45px;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 16px;
}

.popup-main__btn {
    border-radius: 5px;
    width: 300px;
}

.popup-footer__btn {
    border-radius: 10px;
    width: 200px;
}

.popup__btn:hover {
    background: linear-gradient(180deg, #C14112 0%, #E75A28 100%);
}

.popup__close {
    font-size: 14px;
    color: #79A3DD;
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    cursor: pointer;
}



@media (max-width: 400px) {
    .popup-wrap {
        max-width: 300px;
        margin: 0 auto;
        position: relative;
    }

    .popup-image {
        position: relative;
        width: 100%;
        height: 185px
    }

    .popup__btn {
        max-width: 254px;
    }

}