html,
body{
    margin: 0;
    padding: 0;
}


/*  1. Header video  --------------------------------------------------------- */

header {
    width: 100%;
    height: calc(100vw / 2.04); /* соотношение сторон видео в (width / height) */
    overflow: hidden;
    display: block;
    margin:0;
}

header video,.video_block img{
    width: 100%;
    height: calc(100vw);
    display: block;
    top: calc(-100vw / 3.9);
    position:relative;
    line-height:0;
    margin:0;
}

/*  2. Header text  --------------------------------------------------------- */

.logo_text{
    font-family: 'Italiana', 'Open sans';
    font-size:  calc( (100vw / 6));
    color:#AC803E;
    position: absolute;
    top: calc((100vw / 2.04) -  (100vw / 4.5));
    text-shadow: 0px 0px 8px #696969;
}
.logo_word1{ left: 1%;}
.logo_word2{ right: 1%; }
.logo_word3, .logo_word4{
    font-family: sans-serif;
    font-weight:bold;
    color:#bf9455;
    font-size:  calc( (100vw / 30));
    letter-spacing: 0.25vw;
    top: calc((100vw / 2.04) -  (100vw / 20) );
}
.logo_word3{
    left: 2%;
}
.logo_word4{
    right: 1%;
}

/*  Slick slider  -------------------------------------------------------- */

* {
    box-sizing: border-box;
}

.slider {
    width: 80%;
    max-width: 1024px;
    margin: 5vh auto 0 auto;
}

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}


.slick-slide {
    transition: all ease-in-out .3s;
    opacity: .2;
}

.slick-active {
    opacity: .5;
}

.slick-current {
    opacity: 1;
}

html{
    font-family: 'Italiana','Arsenal','Cinzel','Comfortaa','Montserrat','Raleway', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    position: relative;
    overflow-x: hidden;
    background-color: #d8d8d8;
}
img {
    max-width: 100%;
    height: auto;
}
main{
    max-width: 1700px;
    margin: 0 auto;
}
img.pull-right { margin: 12px 0px 0px 18px; }
img.pull-left { margin: 12px 18px 0px 0px; }
nav{
    display: flex;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: calc(60px + 10 * ((100vw - 320px)/(1440 - 320)));
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}

.font1_1{
    font-size:calc(14px + 8 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.font1_2{
    font-size:calc(16px + 10 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.font1_3{
    font-size:calc(18px + 12 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.font1_1b{
    font-size:calc(14px + 8 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
.font1_2b{
    font-size:calc(16px + 10 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
.font1_3b{
    font-size:calc(18px + 12 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
.font2_1{
    font-size:calc(14px + 8 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
}
.font2_2{
    font-size:calc(16px + 10 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
}
.font2_3{
    font-size:calc(18px + 12 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
}
.font1_4{
    font-size:calc(22px + 14 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.font2_1b{
    font-size:calc(14px + 8 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
}
.font2_2b{
    font-size:calc(16px + 10 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
}
.font2_3b{
    font-size:calc(18px + 12 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
}
.font1_4b{
    font-size:calc(22px + 14 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}
b{
    font-family: Italiana, sans-serif;
    font-size:calc(22px + 14 * ((100vw - 800px)/(1440 - 800)));
    font-weight: 700;
    margin: 0 1%;
}


nav img{
    display: none;
}
.nav_logo{
    text-decoration: none;
    user-select: none;
    cursor: pointer;
    padding-left: 5%;
    font-size: 35px;
    font-family: 'Italiana', serif;
    text-transform: uppercase;
    color: white;
    text-shadow: 0px 0px 8px #696969;
}
#address{
    position: relative;
    border: none;
    background-color: transparent;
}
#address_link{
    transform: scale(0%);
    position: absolute;
    background: #a7a7a7;
    padding: 10px;
    border-radius: 10px;
    top: calc(40px + 10 * ((100vw - 320px)/(1440 - 320)));;
    text-align: right;
    right: 0;
    transition: all 0.2s ease-in-out;
}
#address_link.active{
    transform: scale(100%);
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.4);
}
.nav_menu_logo{
    display: none;
}
.nav_wrapper{
    align-items: baseline;
    width: 65%;
    display: flex;
    justify-content: space-evenly;
    font-family: 'Raleway', sans-serif;
}
#contacts_button_scroll{
    background-color: transparent;
    border: none;
    font-family: 'Raleway', sans-serif;
}
.nav_wrapper a, #contacts_button_scroll{
    font-size: calc(14px + 4 * ((100vw - 800px)/(1440 - 800)));;
    font-weight: 500;
    color: white;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    line-height: 1;
}
#open_menu_button{
    border: none;
    display: none;
    box-shadow: 0px 0px 8px #ababab;
}
.nav_active{
    text-shadow: 0px 3px 6px wheat;
}
.nav_wrapper a:after, #contacts_button_scroll:after{
    display: block;
    position: absolute;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, wheat, rgb(255, 255, 255));
    content: "";
    transition: width 0.2s ease-out;
}
.nav_wrapper a:hover:after, #contacts_button_scroll:hover:after, .nav_wrapper a:focus:after, #contacts_button_scroll:focus:after{
    width: 100%;
}
#close_menu_button{
    display: none;
}

/* хедер */
header{
    width: 100%;
    position: relative;
    box-shadow: 0px -20px 80px 20px #676767;
}
.video_block{
    width: inherit;
}
.video_block > video{
    width: inherit;
}
.video_block > img{
    display: none;
    width: inherit;
}
.logo_text{
    font-family: 'Italiana', serif;
    font-size:  calc( (100vw / 7.5));
    position: absolute;
    color: white;
    top: calc((100vw / 2.04) -  (100vw / 4.5));
    text-shadow: 0px 0px 8px #696969;
}
.logo_word1{
    left: 1%;
    font-weight: 700;
}
.logo_word2{
    right: 1%;
    font-weight: 700;
}
.logo_word3, .logo_word4{
    font-family: Montserrat, monospace;
    color:white;
    font-weight: 400;
    text-transform: uppercase;
    font-size:  calc( (100vw / 34));
    letter-spacing: 0.25vw;
    top: calc((100vw / 2.04) -  (100vw / 20) );
}
.logo_word3{
    left: 2%;
}
.logo_word4{
    right: 2%;
}
.sale_title{
    display: flex;
    gap: 5px;
    align-items: center;
    position: absolute;
    color: #FFFFFF;
    font-family: Montserrat, monospace;
    font-weight: 300;
    font-size:  calc( (100vw / 40));
    top: calc((100vw / 2.04) -  (100vw / 3.5));
    left: 2%;
}

/* Свайпер */
.slider_main{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
    background-color: #FFFFFF;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.2);
}
.slider_main_title{
    padding: 0 0 0 30px;
}
.paginator_container{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
}
.paginator{
    display: flex;
    width: 90%;
    margin: 0 auto;
    height: 40px;
    align-items: center;
    justify-content: space-between;
}
.prev, .prev1, .prev2{
    cursor: pointer;
    display: block;
    height: calc(20px + 20 * ((100vw - 320px)/(2000 - 320)));
    width: calc(20px + 20 * ((100vw - 320px)/(2000 - 320)));
    background: url('assets/img/reshot-icon-arrow-backward-H9FLPY3V2D.svg');
    background-size: cover;
    background-color: #d8d8d8;
}
.next, .next1, .next2{
    cursor: pointer;
    display: block;
    height: calc(20px + 20 * ((100vw - 320px)/(2000 - 320)));
    width: calc(20px + 20 * ((100vw - 320px)/(2000 - 320)));
    background: url('assets/img/reshot-icon-arrow-forward-48LC5TJNEH.svg');
    background-size: cover;
    background-color: #d8d8d8;
}

/* попап */
.popup_container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
}

.popup_container.active{
    opacity: 1;
    z-index: 2;
    pointer-events: all;
    transition: 0.5s all;
}

.popup{
    position: absolute;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.4);
    transition: 0.5s all;
    max-width: 650px;
    min-width: 220px;
}

.popup.active{
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}

.popup_header{
    padding: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    color: black;
}

.popup_close{
    position: absolute;
    right: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
}
.popup_close > img{
    width: 100%;
}
.popup_header_text{
    white-space: nowrap;
    text-align: center;
    margin: 4px 0 10px 0;
    font-family: Montserrat, monospace;
    text-transform: uppercase;
    font-size: calc(18px + 10 * ((100vw - 320px)/(1440 - 320)));
    font-weight: 500;
}
.popup_content{
    display: flex;
    width: 100%;
    justify-content: center;
}
.popup_content form{
    width: 80%;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.form_inputs{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.form_input{
    width: 100%;
}
.form_input > input{
    width: 100%;
    border: 2px solid #b2b2b2;
    padding: 5px 10px;
    font-family: 'Montserrat', monospace;
    font-weight: 500;
    height: 50px;
}
.form_input > input:focus-visible{
    outline: none;
    border: 2px solid black;
}
.form_submit{
    width: 70%;
}
.form_submit > button{
    width: 100%;
    background-color: #FFFFFF;
    border: 2px solid #b2b2b2;
    padding: 3% 5%;
    transition: all 0.2s ease-in-out;
}
.form_submit > button:hover{
    transform: scale(1.02);
    box-shadow: 0 0 12px 0 rgba(36, 37, 38, 0.2);
}
.form_submit > button:focus-visible{
    outline: none;
    border: 2px solid black;
    box-shadow: 0 0 12px 0 rgba(36, 37, 38, 0.2);
}


.checkbox{
    position:relative;
    padding-left:25px;
    margin: 4% 0 0 0;
}
.checkbox label {
    margin-left: 5px;
    cursor: pointer;
    user-select: none;
}
.checkbox input[type=checkbox] {
    display:none;
    cursor: pointer;
    user-select: none;
}
.checkbox label:after {
    content:'';
    display:block;
    height:14px;
    width:14px;
    outline:1px solid #939598;
    border:2px solid white;
    position:absolute;
    margin: 3px 8px 0 6px;
    top:0;
    left:0;
}
.checkbox input[type=checkbox]:checked + label:after {
    background-color: #94866d;
    outline:1px solid #939598;
    border:2px solid white;
}


/* футер */
footer{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 5%;
    background-size: cover;
}
.contacts_title{
    text-align: left;
    max-width: 1700px;
    margin: 0 auto;
}
.buttons_to_contact{
    max-width: 1700px;
    display: flex;
    width: 90%;
    margin: 10px auto 0 auto;
    align-items: center;
    gap:15px;
    flex-wrap: wrap;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
}
.contact_button{
    color: black;
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.contact_button > a{
    color: black;
    text-decoration: none;
    font-family: Montserrat, monospace;
}
.contact_button:after{
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #46322b;
    content: "";
    transition: background-color 0.2s ease-out;
}
.contact_button:hover:after, .contact_button:focus:after{
    background-color: #fcedd3;
}
.contact_button img{
    width: 25px;
    margin-left: 10px;
}
.join{
    display: flex;
    max-width: 80%;
    text-align: center;
    margin: 80px auto 0 auto;
    background-color: #FFFFFF;
    padding: 20px 40px;
    box-shadow: 0 0 12px 0 rgba(95, 99, 103, 0.4);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size:calc(16px + 10 * ((100vw - 800px)/(1440 - 800)));
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
}
.join_a a{
    color: black;
    text-decoration: none;
}
.join_a a:hover, .join_a a:active{
    text-decoration: underline;
}
.map_container{
    max-width: 1700px;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}
.copyrights{
    width: 100%;
    height: 160px;
    background: url("assets/img/image 18.png") no-repeat, transparent;
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.copyright_title{
    font-size: 16px;
    font-family: 'Italiana', serif;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px #696969;

}
.supported > a{
    font-size: 12px;
    font-family: Montserrat, monospace;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0px 0px 5px #696969;

}

@media screen and (min-width: 1280px){
    .font1_1{
        font-size:18px;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_2{
        font-size:22px;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_3{
        font-size:26px;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_1b{
        font-size:18px;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font1_2b{
        font-size:22px;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font1_3b{
        font-size:26px;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font2_1{
        font-size:18px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .join,
    .font2_2{
        font-size:20px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .font2_3{
        font-size:26px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .font1_4{
        font-size: 30px;
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font2_1b{
        font-size:18px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font2_2b{
        font-size:22px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font2_3b{
        font-size:26px;
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font1_4b{
        font-size: 30px;
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    b{
        font-family: Italiana, sans-serif;
        font-size: 30px;
        font-weight: 700;
    }
}
@media screen and (max-width: 800px){

    body{
        height: 100dvh;
    }


    .font1_1{
        font-size:calc(12px + 10 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_2{
        font-size:calc(12px + 10 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_3{
        font-size:calc(14px + 12 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font1_1b{
        font-size:calc(10px + 8 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font1_2b{
        font-size:calc(12px + 10 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font1_3b{
        font-size:calc(14px + 12 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    .font2_1{
        font-size:calc(12px + 8 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .font2_2{
        font-size:calc(14px + 10 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .join,
    .font2_3{
        font-size:calc(16px + 12 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 500;
    }
    .font1_4{
        font-size:calc(18px + 14 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 500;
    }
    .font2_1b{
        font-size:calc(10px + 8 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font2_2b{
        font-size:calc(12px + 10 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font2_3b{
        font-size:calc(14px + 12 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Comfortaa', sans-serif;
        font-weight: 700;
    }
    .font1_4b{
        font-size:calc(18px + 14 * ((100vw - 320px)/(1440 - 320)));
        font-family: 'Raleway', sans-serif;
        font-weight: 700;
    }
    b{
        font-family: Italiana, sans-serif;
        font-size:calc(20px + 14 * ((100vw - 320px)/(1440 - 320)));
        font-weight: 700;
        margin: 0 2%;
    }



    nav img{
        display: block;
        width: 20px;
        height: 20px;
    }
    .nav_active{
        text-shadow: 0px 3px 6px #ababab;
    }
    .nav_wrapper a:after{
        display: block;
        position: absolute;
        left: 0;
        width: 0;
        height: 4px;
        background: white;
        content: "";
        transition: width 0.2s ease-out;
    }

    #close_menu_button{
        display: unset;
        border: none;
        position: absolute;
        right: 15px;
        top: 12px;
        padding: 5px;
        border-radius: 5px;
        background-color: #FFFFFF;
        box-shadow: 0px 0px 8px #ababab;
    }
    #close_menu_button img{
        margin: auto 2px 1px auto;
    }
    #open_menu_button{
        position: fixed;
        top: 12px;
        display: unset;
        padding: 5px;
        border-radius: 5px;
        background-color: #FFFFFF;
        right: 20px;
    }

    .nav_logo{
        padding-left: 5%;
        font-size: 20px;
        font-family: 'Italiana', serif;
    }
    .nav_menu_logo{
        display: block;
        position: absolute;
        top: 12px;
        color: #FFFFFF;
        font-size: 25px;
        border-bottom: 4px solid #fcedd3;
    }
    .nav_wrapper{
        font-family: 'Raleway', sans-serif;
        overflow: auto;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 99;
        width: 60%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 40px;
        padding: 90px 0 30px 30px;
        background-color: #bbbbbb;
        transition: 0.5s;
        transform: translateX(-100%);
    }
    #contacts_button_scroll{
        text-align: left;
        margin-bottom: 100px;
    }
    .nav_wrapper a, #contacts_button_scroll{
        font-size: calc(18px + 4 * ((100vw - 320px)/(800 - 320)));
    }
    .nav_menu_active {
        transform: translateX(0%);
        -webkit-box-shadow: 100px 0px 51px 250px rgba(0, 0, 0, 0.41);
        -moz-box-shadow: 100px 0px 51px 250px rgba(0, 0, 0, 0.41);
        box-shadow: 100px 0px 51px 250px rgba(0, 0, 0, 0.41);
    }

}
@media screen and (max-width: 600px){

    header{
        height: unset;
    }
    .video_block img{
        display: unset;
        top: 4px;
        height: auto;
    }
    .video_block video{
        display: none;
    }
    .sale_title{
        font-size: calc( (100vw / 20));
        top: calc((100vw / 2.04) - (100vw / 2.8));
        left: auto;
        justify-content: center;
    }
    .logo_word1, .logo_word2{
        top: calc((100vw / 2.04) - (100vw / 20));
    }
    .logo_word3, .logo_word4{
        font-size: calc( (100vw / 15));
    }
    .logo_word3{
        bottom: 50px;
        left: auto;
        top: unset;
        width: 100%;
        text-align: center;
    }
    .logo_word4{
        bottom: 5px;
        right: auto;
        top: unset;
        width: 100%;
        text-align: center;
    }
    .paginator_container{
        position: absolute;
        bottom: -10%;
        width: 100%;
    }
}
@media screen and (max-width: 400px){

    .contact_button{
        width: 100%;
    }
}