:root {
    /* Цвета фонов */
    --main-bg-color: #242b50;
    --bg-color-light-gray: #dcdce4;
    --bg-footnotes-color: #628cf5;
    /* Цвета фонов */

    /* Цвета текста */
    --text-color-white: #fff;
    --text-big-color: #3051a8;
    --text-color-gray: #737372;
    --date-color-text: #648ff9;
    /* Цвета текста */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

p {
    margin: 0;
}

html,
body {
    margin: 0;
    padding: 0;
}


.n-banner {
    margin: 0;
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: var(--main-bg-color);
    background: url(/img/banner-img/bg.jpg) no-repeat center / cover;
    font-family: sans-serif;
    position: relative;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
}


.n-banner button.n-banner__close {
    padding: 5px 10px;
    padding-right: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #628cf5;
    color: #fff; 
    border-radius: 20px;
    border: 1px solid #fff;
    animation: none;
}

.n-banner button.n-banner__close::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff url(/img/banner-img/close.svg) no-repeat center / 10px;
    border-radius: 100%;
} 

.n-banner button {
    cursor: pointer;
}

@keyframes slideme {
    0% {
        left: -30px;
        margin-left: 0px;
    }
    30% {
        left: 110%;
        margin-left: 80px;
    }
    100% {
        left: 110%;
        margin-left: 80px;
    }
}

@keyframes showBanner {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.n-banner button {
    overflow: hidden;
    position: relative;
}

.n-banner button:after {
    content: "";
    position: absolute;
    top: 0;
    left: -200px;
    width: 60px;
    height: 100px;
    background-color: #628cf560;
    filter: blur(30px);
    transform: skewX(30deg) translateZ(0);
    transition: 1s;
    animation-name: slideme;
    animation-duration: 3s;
    animation-delay: 0.05s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.n-banner button:hover {
    box-shadow: #3051a8 0 0px 0px 40px inset;
    color: var(--text-color-white);
}

.n-banner__row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}
.n-banner__col {
    width: 33%;
}

.n-banner__col:nth-child(2) {
    padding-left: 20px;
    border-left: 4px solid var(--date-color-text);
}

.n-banner__col:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    position: relative;
    width: 60%;
}

.n-banner__status {
    padding-left: 24px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 24px;
    color: var(--text-color-white);
    background-color: var(--bg-footnotes-color);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    font-size: 32px;
    font-weight: bold;
}

.n-banner__logo {
    margin-top: 20px;
    margin-left: 20px;
    max-width: 50%;
}

.n-banner__title {
    margin-bottom: 20px;
    color: var(--text-color-white);
    font-size: 24px;
}

.n-banner__date {
    font-size: 38px;
    font-weight: bold;
    color: var(--date-color-text);
}

.n-banner__sign-up {
    padding: 10px 25px;
    font-size: 24px;
    color: var(--main-bg-color);
    background-color: var(--text-color-white);
    border: none;
    border-radius: 50px;
    max-width: 280px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #fff;
}

.n-banner address {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--text-color-white);
    font-style: normal;
}
.n-banner__footnote {
    margin-top: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--bg-footnotes-color);
    color: var(--text-color-white);
    font-size: 24px;
    max-width: 300px;
    font-weight: bold;
}

.n-banner__ticket {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.n-banner__ticket::before {
    content: '';
    background: url(banner-img/gear.svg) no-repeat center / cover;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.n-banner__promocode {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--bg-footnotes-color);
    color: var(--text-color-white);
    font-size: 24px;
    height: 100%;
    width: 50%;
}
.n-banner__promocode-btn {
    margin-top: 20px;
    padding: 5px 15px;
    border-radius: 24px;
    font-size: 18px;
    border: 1px solid var(--text-color-white);
    background-color: var(--text-color-white);
    color: #242b50;
    z-index: 11;
}

.n-banner__promocode b {
    font-size: 14px;
}

.n-banner__stand {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    padding-right: 10px;
    position: relative;
    background-color: var(--bg-color-light-gray);
    width: 50%;
}

.n-banner__stand span {
    color: var(--text-color-gray);
    font-size: 24px;
}
.n-banner__text--big {
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-big-color);
}



.n-banner.n-banner--turn {
    padding: 10px;
    padding-left: 0;
    background-position: bottom;
}

.n-banner--turn .n-banner__col:nth-child(1) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 20%;
}

.n-banner--turn .n-banner__col:nth-child(2) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-width: 2px;
}

.n-banner--turn .n-banner__col:nth-child(3) {
    display: none;
}

.n-banner--turn .n-banner__close {
    opacity: 0;
    visibility: hidden;
}

.n-banner--turn .n-banner__status {
    padding: 10px;
}

.n-banner--turn .n-banner__logo {
    margin: 0;
    margin-left: 20px;
    width: 30%;
}


.n-banner.n-banner--turn .n-banner__status,
.n-banner.n-banner--turn .n-banner__title,
.n-banner.n-banner--turn .n-banner__sign-up {
    margin: 0;
    font-size: 14px;
}
.n-banner.n-banner--turn .n-banner__date {
    font-size: 24px;
}

.n-banner.n-banner--turn address {
    margin: 0;
    font-size: 18px;
}


@media (max-width: 1280px) {
    .n-banner__status,
    .n-banner__title {
        font-size: 18px;
    }

    .n-banner__footnote {
        font-size: 14px;
    }

    .n-banner__date {
        font-size: 24px;
    }

    .n-banner address {
        font-size: 20px;
    }

    .n-banner__sign-up {
        font-size: 18px;
    }

    .n-banner.n-banner--turn .n-banner__sign-up {
        max-width: 180px;
    }

    .n-banner__promocode,
    .n-banner__text--big,
    .n-banner__stand span {
        font-size: 20px;
    }

    .n-banner.n-banner--turn .n-banner__status, .n-banner.n-banner--turn .n-banner__title, .n-banner.n-banner--turn .n-banner__sign-up {
        font-size: 12px;
    }

    .n-banner.n-banner--turn .n-banner__date {
        font-size: 16px;
    }

    .n-banner.n-banner--turn address {
        font-size: 16px;
    }

    .n-banner--turn .n-banner__logo {
        flex-shrink: 0;
    }

}

@media (max-width: 961px) {

    .n-banner.animate {
        animation: showBanner 1s 1;
    }

    .n-banner:not(.n-banner--turn) {
        max-width: 560px;
        height: 600px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 24px;
    }

    .n-banner:not(.n-banner--turn) .n-banner__row {
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .n-banner__col {
        width: 100%;
    }

    .n-banner__col:nth-child(3) {
        width: 100%;
    }

    .n-banner__status {
        width: 90%;
    }

    .n-banner.n-banner--turn address {
        display: none;
    }
}

@media (max-width: 750px) {
    .n-banner.n-banner--turn .n-banner__status {
        display: none;
    }
    .n-banner--turn .n-banner__logo {
        margin-left: 10px;
        width: 200px;
    }

    .n-banner--turn .n-banner__logo img {
        display: block;
        width: 100%;
    }

    .n-banner.n-banner--turn .n-banner__title {
        font-size: 8px;
    }

    .n-banner.n-banner--turn .n-banner__status, .n-banner.n-banner--turn .n-banner__title, .n-banner.n-banner--turn .n-banner__sign-up {
        font-size: 10px;
        max-width: 120px;
    }
}

@media (max-width: 600px) {
    .n-banner:not(.n-banner--turn) {
        width: 95%;
    }
}

@media (max-width: 530px) {
    .n-banner.n-banner--turn .n-banner__date {
        display: none; 
    }

    
}

@media (max-width: 480px) {
    .n-banner:not(.n-banner--turn) {
        height: 700px;
    }

    .n-banner__promocode, .n-banner__text--big, .n-banner__stand span {
        font-size: 16px;
    }

    .n-banner__ticket {
        flex-direction: column;
    }

    .n-banner__ticket::before {
        display: none;
    }

    .n-banner__promocode,
    .n-banner__stand {
        padding-left: 20px;
        width: 100%;
    }

    .n-banner__promocode, .n-banner__text--big, .n-banner__stand span {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .n-banner.n-banner--turn {
        padding-right: 0;
    }
    .n-banner__promocode, .n-banner__text--big, .n-banner__stand span {
        font-size: 14px;
    }

    .n-banner__col:nth-child(2) {
        padding-left: 10px;
        padding-right: 10px;
    }

    .n-banner button {
        max-width: 100%;
    }

    .n-banner__sign-up {
        margin: 0 auto;
    }
}

@media (max-height: 700px) and (max-width: 400px) {
    .n-banner:not(.n-banner--turn) {
        height: 99%;
    }
}

/* Модальное окно с формой */

.overlay-n-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff8c;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999999;
}

.overlay-n-banner.active {
    opacity: 1;
    visibility: visible;
}

.modal-n-banner {
    padding: 20px;
    border-radius: 24px;
    max-width: 540px;
    background-color: #fff;
    color: #333;
    font-family: sans-serif;
    transform: scale(0);
    transition: all .3s;
    -webkit-box-shadow: 4px 4px 30px 0px rgba(34, 60, 80, 0.11);
-moz-box-shadow: 4px 4px 30px 0px rgba(34, 60, 80, 0.11);
box-shadow: 4px 4px 30px 0px rgba(34, 60, 80, 0.11);
display: none;
}

.modal-n-banner  b {
    color: #628cf5;
}

.overlay-n-banner.active .modal-n-banner--form {
    transform: scale(1);
    animation: showBannerModal 1s ease-in-out;
    display: block;
}

.overlay-n-banner.active.send-success .modal-n-banner--form  {
    display: none;
}

.overlay-n-banner.send-success .modal-n-banner--tnk {
    transform: scale(1);
    animation: showBannerModal 1s ease-in-out;
    display: block;
}

@keyframes showBannerModal {
    0% {
transform: scale(0);
opacity: .1;
    }
    50% {
transform: scale(1.17);
opacity: 1;

    }
    100% {
transform: scale(1);
    }
}

.modal-n-banner__header {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #628cf581;
}
.modal-n-banner__close-btn {
    margin-left: auto;
    font-size: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #fff url('/img/banner-img/close.svg') no-repeat center / 14px;
}
.modal-n-banner__title {
    padding: 10px;
    padding-left: 0;
    padding-right: 0;
    font-size: 18px;
    font-family: sans-serif;
    width: 100%;
}
.modal-n-banner__body {
    padding-top: 20px;
    padding-bottom: 20px;
}

.modal-n-banner__body p {
    margin-bottom: 10px;
}

.modal-n-banner__body p:last-child {
    margin-bottom: 0;
}

.modal-n-banner__form {
}

.modal-n-banner__form-field label {
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
}

.modal-n-banner__form-field {
    margin-bottom: 10px;
}

.modal-n-banner__form-field input {
    padding: 10px;
    width: 100%;
    border-radius: 30px;
    border: none;
    outline: none;
    -webkit-box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
-moz-box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
}

.modal-n-banner__form-field button {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 24px;
    font-size: 18px;
    border: 1px solid var(--text-color-white);
    background-color: var(--bg-footnotes-color);
    color: #fff;
    z-index: 11;
    width: 100%;
     -webkit-box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
-moz-box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
box-shadow: 2px 2px 10px 0px rgba(34, 60, 80, 0.11);
}