img{
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
a {
    text-decoration: none;
    color: #40362c;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -ms-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    cursor: pointer;
}
a:hover {
    color: #d3ad88;
    opacity: 0.9;
}
button, 
.btn{
    display: block;
    font-size: 2rem;
    padding: 17px 45px;
    text-align: center;
    background: #40362c;
    color: #fffffe;
    box-shadow: 0px 5px 30px -13px #000;
    border: none;
    line-height: 1;
    outline: none;
    font-weight: 500;
    margin: 55px 0;
    cursor: pointer;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -ms-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
}
button:hover, 
.btn:hover{
    background: #d3ad88;
}
.color-red{
    color: #d3ad88;
}
.d-flex{
    display: flex;
    flex-wrap: wrap;
}
.j-btw{
    justify-content: space-between;
}
.a-center{
    align-items: center;
}
.w-500{
    font-weight: 500;
}
.w-700{
    font-weight: 700;
}
.w-900{
    font-weight: 900;
}
.f-24{
    font-size: 2.4rem;
}
.f-30{
    font-size: 3rem;
}
.text-center{
    text-align: center;
}
.container{
    max-width: 1400px;
    padding: 15px;
    margin: 0 auto;
}
html{
    font-size: 10px;
    background: #fffffe;
}
body{
    font-size: 2rem;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    color: #40362c;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}
h1{
    font-size: 6rem;
    margin: 25px 0 5px;
}
h1 span{
    display: block;
    font-size: 2.7rem;
}
section.main-top{
    padding: 70px 0;
    position: relative;
}
section.main-top:after{
    content: "";
    position: absolute;
    top: -25px;
    right: 0;
    width: 48%;
    height: 664px;
    background: url("../img/header.jpg") no-repeat 50% 50%/cover;
}

button span{
    display: inline-block;
    animation-duration: 3s;
    animation-name: slidein;
    animation-iteration-count: infinite;
}

@keyframes slidein {
    from {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(0, 5px);
    }

    50% {
        transform: translate(0, -5px);
    }

    to {
        transform: translate(0, 0);
    }
}

.top-subtitle{
    font-size: 1.6rem;
}

.project-num{
    background: #d3ad88;
    margin-top: 75px;
    color: #fffffe;
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
}

.project-num-block{
    width: 65%;
}

.project-num-block>div{
    position: relative;
    margin-top: -22px;
}

.project-num-block>div:nth-child(2n+2){
    margin-top: 165px;
}

.project-num-block>div>div{
    position: relative;
    z-index: 1;
}

.project-num-block span{
    font-weight: 900;
    position: relative;
    font-size: 6.5rem;
    display: block;
    line-height: 1;
}

.project-num-block>div:before{
    background: #40362c;
    width: 215px;
    height: 145px;
    content: "";
    position: absolute;
    top: -15px;
    left: -37px;
    transform: rotate(10deg);
    box-shadow: 0px 10px 25px -13px #40362c;
}

.date-block{
    position: relative;
    padding-top: 40px;
}
.date-block:after{
    content: "";
    width: 369px;
    height: 403px;
    background: #f5f1e6;
    position: absolute;
    left: 0;
    top: -55px;
    transform: rotate(-27deg);
}
.date-block>div{
    position: relative;
    z-index: 1;
    color: #40362c;
}

h2{
    font-weight: 900;
    font-size: 5rem;
}
.main-info{
    position: relative;
}
section.main-info{
    background: url("../img/main.jpg") no-repeat fixed 50% 50%;
}
section.main-info .container{
    margin: 0 auto;
    background: rgba(255,255,255, 0.9);
    padding: 177px;
    padding-bottom: 50px;
}
section.main-info .container h2{
    margin-top: 20px;
    line-height: 1.5;
}
section.main-info .container h2 span{
    letter-spacing: -2px;
}
section.main-info .container span{
    color: #bf7649;
}
section.main-info .container ul{
    list-style-type: square;
    margin-top: -25px;
    margin-bottom: 25px;
}

.link-block{
    margin-top: 30px;
}

.day-list-block{
    counter-reset: list;
}

.list-img-day>div{
    width: 49%;
}

.day-list {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 40px -30px rgba(32, 43, 64, 0.7);
    margin-top: 60px;
    position: relative;
    background: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.day-list:before {
    counter-increment: list;
    content: counter(list);
    position: absolute;
    left: -45px;
    top: -97px;
    font-weight: 900;
    font-size: 16rem;
    z-index: -1;
}

.day-list h3{
    font-weight: 900;
    color: #d3ad88;
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.day-list>div{
    margin-bottom: 10px;
}

.day-list>div span{
    font-weight: 700;
}

.day-list > div+div{
    border-top: 1px solid #f3f3f3;
    padding-top: 11px;
}

.day-list>div p{
    margin-bottom: 10px;
}

.list-img-block{
    margin-top: 130px;
    overflow: hidden;
    height: 1852px;
    position: relative;
}

.list-img-block button{
    position: absolute;
    right: 0;
    top: 0;
    transform: rotate(90deg);
    display: block;
}

.list-img-block button{
    background: #40362c;
    font-size: 3rem;
    padding: 10px;
    height: 69px;
    cursor: auto;
}

.list-img-block button span{
    animation-name: slideup;
}

@keyframes slideup {
    from {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(5px, 0);
    }

    50% {
        transform: translate(-5px, 0);
    }

    to {
        transform: translate(0, 0);
    }
}

.list-img-block>div{
    overflow: auto;
    scrollbar-color: #40362c #fffffe;
    scrollbar-width: thin;
    height: 100%;
}
.list-img-block>div::-webkit-scrollbar,
.list-img-block>div::-webkit-scrollbar{
    width: 8px;
    background-color: #fffffe;
}
.list-img-block>div::-webkit-scrollbar-thumb,
.list-img-block>div::-webkit-scrollbar-thumb{
    background-color: #40362c;
    border-radius: 8px;
}
.list-img-block>div::-webkit-scrollbar-thumb:hover,
.list-img-block>div::-webkit-scrollbar-thumb:hover{
    background-color: #d3ad88;
}

.list-img-block img{
    width: 100%;
}
.reg-form-block{
    background: #40362c;
    text-align: center;
    color: #fffffe;
    padding-top: 50px;
    margin-top: 60px;
    padding-bottom: 20px;
}
.reg-form-block a{
    color: #fffffe;
}
.reg-form-block.orange-block{
    background: #bf7649;
    margin: 0;
}

.qr-block{
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.qr-block a{
    color: #d3ad88;
}
.qr-block img{
    margin-top: 20px;
}
.qr-block>div{
    width: 45%;
    margin: 0 auto;
}

.more-block{
    margin-top: 45px;
}

.more-block span{
    color: #bf7649;
}

.re-block-img{
    margin-bottom: 50px;
}

.re-block-img>div{
    width: 32%;
    margin-top: 30px;
}
.w-d{
    color: #d3ad88;
    font-size: 3rem;
}
.broker-block-img>div{
    width: 25%;
}
.broker-block-img img{
    width: 100%;
    height: auto;
}

.form{
    padding-bottom: 20px;
}

.form .container{
    background: url('../images/form.jpg') -390px -95px no-repeat;
    max-width: 760px;
    margin: 20px auto;
}

.form .container>div{
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 40px -30px rgba(32, 43, 64, 0.7);
    margin-top: 80px;
    position: relative;
    background: rgba(255,255,255,0.9);
}

.success{
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    left: 0;
    height: 100%;
    padding-top: 195px;
    box-sizing: border-box;
}

input{
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -ms-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    border: none;
    border-bottom: 1px solid #eee;
    color: #323b4f;
}

.error input{
    border-bottom: 2px solid red; 
}

.agree-input.error label::before{
    border: 1px solid red;
}

input:focus{
    border-bottom: 2px solid #323b4f;
}

form{
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -ms-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
}

form .btn{
    max-width: 300px;
    margin: 55px auto;
}

form span{
    font-size: 14px;
    color: #ccc;
    display: block;
    padding-top: 15px;
    text-align: center;
}

.agree-input {
    height: 40px;
    line-height: 40px;
    padding: 45px 15px 15px;
}

.agree-input input {
    display: none;
    width: auto;
    padding: 0;
}

.agree-input label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    padding-left: 26px;
    line-height: 1;
    font-size: 17px;
    font-weight: 400;
    color:#424242;
}

.agree-input label::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border: 1px solid #989898;
    background-color:#fffffe;
    opacity: 0.8;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    -webkit-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -moz-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -ms-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -o-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
}
.agree-input input[type="checkbox"]:checked + label::after {
    opacity: 1;
}
.agree-input label::after {
    content: "\2713";
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -moz-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -ms-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    -o-transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    transition: all 400ms cubic-bezier(0.65, 0.05, 0.36, 1) 0s;
    opacity: 0;
}

@media screen and (max-width: 1500px) {
    .day-list::before {
        left: 0;
    }
}
@media screen and (max-width: 1350px) {
    section.main-top::after{
        width: 40%;
    }
    section.main-info .container{
        padding: 100px;
    }
}
@media screen and (max-width: 1200px) {
    .top-subtitle{
        max-width: 325px;
    }
    section.main-top {
        padding: 20px 0 0;
    }
    .reg-form-block {
        padding-top: 25px;
        margin-top: 40px;
        padding-bottom: 0;
    }
    .more-block {
        margin-top: 30px;
    }
    .re-block-img > div {
        margin-top: 15px;
    }
    .re-block-img {
        margin-bottom: 30px;
    }
    .form .container > div{
        margin-top: 25px;
    }
    form .btn {
        margin: 25px auto;
    }
}
@media screen and (max-width: 1150px) {
    h1{
        max-width: 500px;
        line-height: 1;
    }
    h1 span{
        margin-top: 15px;
    }
    .main-top .btn{
        margin: 15px 0 65px;
    }
    .project-num-block {
        width: 100%;
        margin-top: 70px;
    }
    h2{
        line-height: 1.2;
    }
}
@media screen and (max-width: 1000px) {
    .project-num{
        margin-top: 0;
        overflow: hidden;
    }
    section.main-top{
        z-index: 1;
    }
    section.main-info .container{
        padding: 50px;
    }
    .list-img-block{
        height: 5000px;
    }
}
@media screen and (max-width: 900px) {
    section.main-top::before{
        display: none;
    }
    section.main-top::after{
        height: 385px;
        width: 40%;
        right: 0;
        border-radius: 0;
    }
    .project-num-block{
        width: 100%;
        margin-top: 80px;
    }
    .project-num-block > div::before{
        top: -23px;
        left: -15px;
    }
    .date-block::after{
        top: -15px;
    }
}
@media screen and (max-width: 800px) {
    section.main-top::after {
        position: static;
        display: block;
        transform: rotate(0);
        width: 100%;
    }
    button, .btn{
        margin: 25px 0;
    }
    .top-subtitle {
        max-width: 100%;
    }
    section.main-top {
        padding: 0;
    }
    h1 {
        margin: 15px 0 5px;
    }
    main h1{
        font-size: 2.5rem;
    }
    section.main-info .container h2{
        line-height: 1.2;
    }
}
@media screen and (max-width: 700px) {
    .list-img-day > div {
        width: 100%;
    }
    .list-img-block {
        margin-top: 30px;
        height: 2000px;
    }
}
@media screen and (max-width: 600px) {
    h2 {
        font-size: 3.5rem;
        line-height: 1;
        margin-bottom: 10px;
    }
    .f-24 {
        font-size: 2rem;
    }
    body {
        font-size: 1.6rem;
    }
    h1 {
        font-size: 5rem;
    }
    .project-num-block > div,
    .project-num-block > div:nth-child(2n+2){
        margin-top: 0;
        width: 100%;
        text-align: center;
        margin-bottom: 72px;
    }
    .project-num-block > div::before{
        right: 0;
        margin: auto;
        top: 0;
        left: 15px;
    }
    .date-block::after {
        height: 1090px;
    }
    section.main-top::after {
        height: 250px;
    }
}

@media screen and (max-width: 500px) {
    .re-block-img > div {
        width: 49%;
        margin-top: 5px;
    }
    .re-block-img > div:last-child {
        display: none;
    }
    .day-list h3{
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .day-list{
        padding: 15px;
    }
    section.main-info .container{
        padding: 20px;
    }
    section.main-info .container h2 {
        margin-top: 10px;
    }
    .link-block {
        margin-top: 10px;
    }
    .day-list{
        margin-top: 45px;
    }
    .day-list::before{
        top: -65px;
        font-size: 10rem;
    }
    .qr-block {
        margin: 20px auto 25px;
    }
    .more-block {
        margin-top: 15px;
    }
    .broker-block-img > div {
        width: 50%;
    }
    .form .container > div {
        margin-top: 0;
    }
    .form .container > div {
        padding: 15px;
    }
    .f-30 {
        font-size: 2.5rem;
    }
    .qr-block > div {
        width: 100%;
        margin-bottom: 25px;
        font-size: 2rem;
    }
    input{
        font-size: 20px;
        padding: 15px;
    }
    .agree-input label{
        font-size: 12px;
    }
    .agree-input label::after {
        top: 8px;
    }
    .project-num-block > div::before{
        top: -10px;
    }
    .project-num-block > div:nth-child(3):before{
        top: 1px;
    }
}
