@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Montserrat:wght@400;500&display=swap');

@font-face {
    font-family: 'OktaNeue';
    src: url('/font/OktaNeue-Regular.eot');
    src: local('OktaNeue'), local('OktaNeue-Regular'),
    url('/font/OktaNeue-Regular.eot?#iefix') format('embedded-opentype'),
    url('/font/OktaNeue-Regular.woff2') format('woff2'),
    url('/font/OktaNeue-Regular.woff') format('woff'),
    url('/font/OktaNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #DEE9FF;
    font-family: 'OktaNeue', sans-serif;
}
p {
    font-size: 20px;
}
.wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #1B304B;
    flex-direction: column;
    padding-bottom: 50px;
}

.header {
    width: 95%;
    border-radius: 30px;
    background-color: #FFF;
    margin: 40px;
    display: flex;
    align-items: center;
    padding: 20px;
}
.header img {
    width: 225px;
}
.main {
    display: flex;
    width: 95%;
    margin-top: 140px;
    justify-content: space-between;
    align-items: flex-start;
}
.main__content {
    max-width: calc(100% - 840px);
}
.main__content-title {
    color: #FFF;
    font-size: 70px;
    line-height: 80px;
}
.main__content-text {
    color: #FFF;
    font-size: 18px;
    margin-top: 40px;
}
.main__content-date {
    color: #FFF;
    font-size: 24px;
    margin-top: 24px;
}
.main__right {
    min-width: 618px;
    max-width: 50%;
}

.promocode {
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    border-radius: 12px;
    background: #F7EADD;
    padding: 16px;
}
.promocode-info {
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 24px;
}

.form {
    background-color: #fff;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    color: #1B304B;
    overflow: hidden;
}

.form .form-control {
    margin-bottom: 25px;
    border-radius: 12px;
    background: #EDEDED;
}

.form .form-control.is-invalid {
    margin-bottom: 0;
}

.form .form-button{
        border-radius: 16px;
    background: #F9B454;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    padding: 16px 52px;
    color: #fff;
}
.form .form-button.btn-white {
    background: transparent;
    border: 2px solid #FFBA58;
    padding: 16px 0;
    width: 100%;
    color: #FFBA58;
}

.form mark {
    border-radius: 30px;
    padding: 5px 10px;
}
.form h3 {
    font-size: 48px;
    max-width: 700px;
    margin-bottom: 24px;
}
.form .wrapper-spinner {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    display: none;
}

label {
    font-size: 24px;
}
#promo h3 {
    margin-bottom: 24px;
}
input {
    color: #909090;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
}
.form-check-input:checked {
    background-color: #FFBA58;
    border-color: #FFBA58;
}
.form-check-label {
    font-size: 22px;
    position: relative;
    top: -2px;
}
.alert {
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 100%;
    max-width: 400px;
    transition: 1s;
    display: none;
    opacity: 0;
    background-color: rgba(221, 151, 74, 0.6);
    border-color: rgba(221, 151, 74, 0.6);
    border-radius: 30px;
    text-align-last: center;
    color: #fff;
}

.alert-show {
    opacity: 1;
}

.ui-datepicker .ui-datepicker-header {
    background-color: #dee9ff;
    border: none;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    background-color: #dee9ff;
    border: none;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    background-color: #5791ff;
    border: none;
}

.ui-state-hover, .ui-widget-content .ui-state-hover {
    background-color: #5791ff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.ui-widget-header .ui-state-hover {
    background-color: #dee9ff;
    border: none;

}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    transform: rotate(45deg);
    margin-top: -4px;
    background-image: none;
}

.ui-datepicker .ui-datepicker-prev span {
    border-right: none;
    border-top: none;
}

.ui-datepicker .ui-datepicker-next span {
    border-left: none;
    border-bottom: none;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
    top: 2px;
}
.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
    top: 2px;
}

#code, #registry, #error, #promo {
    display: none;
}

@media (max-width: 1360px) {
    .main__content {
        max-width: calc(100% - 640px);
    }
    .form {
        min-width: 600px;
    }
}
@media (max-width: 1270px) {
    .main {
        margin-top: 60px;
        flex-direction: column;
        align-items: center;
    }
    .main__content {
        margin-bottom: 40px;
        max-width: 50%;
        min-width: 618px;
    }
}

@media (max-width: 720px) {
    .alert {
        right: auto;
        left: calc((100% - 600px) / 2);
        bottom: 20px;
        width: 100%;
        max-width: 600px;
    }
    .form {
        width: 95%;
        padding: 10px;
        min-width: auto;
    }
    .header {
        justify-content: center;
        padding: 10px;
    }
    .header img {
        width: 170px;
    }
    .main__content-title {
        font-size: 48px;
        line-height: 56px;
    }
    .main__content-text {
        font-size: 18px;
    }
    .form {
        padding: 24px;
    }
    .form h3 {
        font-size: 32px;
    }
    .form label {
        font-size: 20px;
    }
    .form input {
        font-size: 16px;
    }
    .form-check-label {
        font-size: 16px;
        margin-left: 5px;
    }
    .form .form-button {
        padding: 16px;
        width: 100%;
        font-size: 18px;
        margin-top: 0;
    }
    .agree{
        display: flex;
    }
    .main__right, .main__content {
        min-width: 100%;
        max-width: 100%;
    }
    .main__right .form {
        width: 100%;
    }
    .main__content-date {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .alert {
        left: 10px;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 530px) {
    .form .form-button {
        font-size: 16px;
    }
}