*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.box{
    width: 100%;
    max-width: 1692px;
    min-width: 1440px;
    height: auto;
    background: black;
    overflow-x: hidden;
    margin: 0 auto;
}
nav{
    width: 100%;
    height: 110px;
    border: 1px solid black;
    display: flex;
    justify-content: space-around;
    align-items: center ;
}
.logo{
    width: 15%;
    height: auto;
    cursor: pointer;
}
.logo img{
    width: 100%;
    user-select: none;
}
.nav_buttons{
    width: 30%;
    height: 45px;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.nav_menu{
    width: 6%;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    display: none;
}
.line{
    width: 100%;
    height: 4px;
    background: white;
}
.nav_button-yellow{
    color: rgb(184, 162, 105);
    text-decoration: underline currentColor 2px;
    text-underline-offset: 5px;
}
.nav_buttons p{
    cursor: pointer;
    user-select: none;
}
.nav_buttons p:hover{
    color: rgb(184, 162, 105);
    text-decoration: underline currentColor 2px;
    text-underline-offset: 5px;
}
.make_appointment{
    width: 15%;
    height: 45px;
    background: rgb(146, 130, 93);
    color: white;
    border: none;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    user-select: none;
}
.make_appointment:hover{
    background: rgb(136, 120, 78);
}
header{
    width: 100%;
    height: 800px;
    background: url(../img/HeaderBg.png);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}
.header_title{
    font-size: 20px;
    position: relative;
    top: -300px;
    font-size: 20px;
    opacity: 0;
    transition: 1.5s;
}
.header_title.anim{
    font-size: 90px;
    top: 0;
    opacity: 100%;
}
.header_text{
    font-size: 10px;
    height: 80px;
    opacity: 0;
    transition: 1.5s;
}
.header_text.anim{
    font-size: 23px;
    opacity: 100%;
}
.header_button{
    width: 19%;
    height: 60px;
    color: white;
    background: rgb(146, 128, 83);
    border: none;
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 15px;
    cursor: pointer;
    user-select: none;
    position: relative;
    top: 300px;
    opacity: 50%;
    transition: 1.5s;
}
.header_button:hover{
    color: rgb(146, 128, 83);
    background: white;
}
.header_button.anim{
    top: 0;
    opacity: 100%;
}
.section1{
    width: 100%;
    height: 1350px;
    background: rgb(26, 26, 26);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section1 h2{
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 20px;
    transition: 1.5s;
}
.section1 .h2_anim{
    font-size: 50px;
}
.working_hours_block{
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}
.work_hours_img{
    width: 40%;
    height: 500px;
}
.work_hours_img img{
    width: 100%;
    height: 500px;
    user-select: none;
    position: relative;
    left: -500px;
    opacity: 0%;
    transition: 1s;
}
.work_hours_img .img_anim{
    left: 0;
    opacity: 100%;
}
.work_hours_text{
    width: 40%;
    height: 450px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    left: 600px;
    opacity: 0%;
    transition: 1s;
}
.work_hours_text.text_anim{
    left: 0;
    opacity: 100%;
}
.sec1_phone_number{
    font-size: 22px;
    color: rgb(184, 162, 105);
    cursor: pointer;
    user-select: none;
}
.working_hours_block h3{
    font-size: 33px;
    font-weight: lighter;
    letter-spacing: 1px;
}
.sec1_line1{
    width: 14%;
    border: 1.4px solid rgb(184, 162, 105);
}
.schedule_block{
    width: 35%;
    height: 80px;
    font-size: 20px;
    word-spacing: 50px;
}
.schedule_block span{
    font-weight: bold;
    letter-spacing: 1px;
}
.work_hours_des{
    font-size: 17px;
    font-style: italic;
}
.sec1_line2{
    width: 80%;
    border: 1.4px solid rgb(184, 162, 105);
    align-self: center;
}
.history_block{
    width: 82%;
    height: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    overflow: hidden;
    align-content: flex-start;
}
.hist_content1{
    width: 100%;
    height: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: 1s;
    position: absolute;
    top: 150px;
}
.hist_content1.anim{
    margin-left: -400px;
    transform: translateX(-100%);
    opacity: 0;
}
.hist_content2{
    width: 100%;
    height: 370px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: 0.5s;
    position: absolute;
    
    opacity: 0;
    top: 150px;
}
.hist_content2.anim{    
    transform: translateX(0);
    opacity: 1;
}
.history_block h2{
    width: 100%;
    height: 110px;
    font-size: 20px;
    transition: 1.5s;
}
.history_block .h2_anim{
    font-size: 50px;
}
.hist_item{
    width: 30%;
    height: 400px;
    display: flex;
    flex-direction: column;
    letter-spacing: 1px;
    line-height: 1.5;
    position: relative;
    top: 350px;
    opacity: 0%;
    transition: 1s;
}
.hist_item.item_anim{
    top: 0;
    opacity: 100%;
}
.hist_item h3{
    font-size: 35px;
    font-weight: lighter;
}
.hist_item p{
    font-size: 19px;
    color: rgb(119, 119, 119);
}
.arrow{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: rgba(184, 162, 105, 0.6);
    position: relative;
    top: 65%;
    left: -650px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 3.5px;
    cursor: pointer;
    user-select: none;
    z-index: 1;
}
.right_arrow{
    left: 650px;
}
.section2{
    width: 100%;
    height: 1400px;
    background: rgb(51, 51, 51);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
.sec2_title-mini{
    width: 100%;
    text-align: center;
    font-weight: lighter;
    letter-spacing: 1px;
}
.sec2_title{
    width: 100%;
    height: 130px;
    text-align: center;
    font-size: 50px;
}
.hairdressers_block{
    width: 82%;
    height: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
}
.hairdresser{
    width: 30%;
    height: 530px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 35px;
    padding-right: 0;
    padding-bottom: 0;
    color: black;
    position: relative;
    top: 400px;
    opacity: 0%;
    transition: 1s;
}
.hairdresser.anim{
    top: 0;
    opacity: 100%;
}
.hairdresser img{
    width: 90%;
    transform: rotateX(180deg);
    transition: 1.5s;
    opacity: 0%;
}
.hairdresser .img_anim{
    transform: rotateY(0);
    opacity: 100%;
}
.post{
    font-size: 22px;
    color: rgb(184, 162, 105);
    font-weight: bold;
}
.name{
    font-size: 25px;
    letter-spacing: 1px;
    height: 40px;
}
.social_media{
    width: 30%;
    height: 35px;
    display: flex;
    gap: 13px;
    user-select: none;
}
.social_media a{
    width: 17%;
}
.social_media img{
    width: 100%;
    cursor: pointer;
}
.section3{
    width: 100%;
    height: 800px;
    background: rgb(26, 26, 26);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sec3_title{
    width: 100%;
    height: 140px;
    color: white;
    font-size: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec3_buttons{
    width: 47%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}   
.sec3_buttons button{
    width: auto;
    height: 45px;
    padding: 0 25px 0 25px;
    border: none;
    background: rgb(64, 64, 64);
    color: white;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.sec3_buttons button:hover{
    background: rgb(51, 51, 51);
}
.sec3_buttons .active_button{
    background: rgb(184, 162, 105);
    color: black;
}
.sec3_buttons .active_button:hover{
    background: rgb(146, 128, 83);
}
.display_block{
    width: 81%;
    height: 480px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.display_block p{
    width: 55%;
    text-align: center;
    line-height: 1.5;
    font-size: 17px;
}
.sec3_bold_text{
    font-weight: bold;
}
.display_block img{
    width: 17%;
    border-radius: 100%;
}
footer{
    width: 100%;
    height: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 40px;
}
.footer_block1{
    width: 30%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.footer_block1 img{
    width: 30%;
}
.footer_block1 p{
    width: 90%;
    text-align: center;
    font-size: 18px;
}
.footer_schedule_block{
    width: 47%;
    height: 80px;
    font-size: 20px;
    word-spacing: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer_schedule_block span{
    font-weight: bold;
    letter-spacing: 1px;
}
.footer_block2{
    width: 30%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
}
.footer_block2_title{
    width: 100%;
    color: white;
    text-align: center;
    font-size: 25px;
}
.footer_block2 p{
    font-size: 20px;
    text-align: center;
    line-height: 1.4;
}
.footer_block2 .footer_block2_contacts{
    color: rgb(184, 162, 105);
    cursor: pointer;
    user-select: none;
}
.footer_block2 .footer_block2_contacts:hover{
    color: white;
}
.footer_block2_social_media{
    width: 20%;
    height: 35px;
    display: flex;
    gap: 13px;
    user-select: none;
}
.footer_block2_social_media a{
    width: 25%;
}
.footer_block2_social_media img{
    width: 100%;
    cursor: pointer;
}
.footer_block3{
    width: 30%;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 20px;
}
.footer_block3 img{
    width: 15%;
}
.footer_block3 h3{
    font-size: 30px;
}
.footer_block3 p{
    text-align: center;
    font-size: 20px;
}
.footer_block3 button{
    width: 45%;
    height: 50px;
    border: none;
    background: rgb(184, 162, 105);
    color: white;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    user-select: none;
}
.footer_block3 button:hover{
    background: white;
    color: rgb(184, 162, 105);
}
.menu{
    width: 50%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.menu.active{
    transform: translateX(0);
}
.cross_block{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    padding-right: 15px;
    color: white;
    font-size: 30px;
}
.navigation_block{
    width: 70%;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 17px;
}
.make_appointment-menu{
    width: 95%;
    height: 45px;
    background: rgb(146, 130, 93);
    color: white;
    font-size: 17px;
    letter-spacing: 1px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.menu_social_media{
    width: 300px;
    height: 110px;
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
}
.menu_social_media a{
    width: 15%;
}
.menu_social_media img{
    width: 100%;
}
body.active{
    overflow: hidden;
    height: 100%;
}
@media screen and (max-width: 576px) {
    .box{
        min-width: 100px;
        max-width: 576px;
    }
    nav{
        justify-content: space-between;
        padding: 0 30px 0 30px;
    }
    .logo{
        width: 30%;
    }
    .nav_buttons{
        display: none;
    }
    .make_appointment{
        display: none;
    }
    .nav_menu{
        display: flex;
    }
    header{
        height: 470px;
        background-size: 100% 100%;
    }
    .header_title.anim{
        font-size: 60px;
    }
    .header_text.anim{
        width: 90%;
        font-size: 18px;
    }
    .header_button{
        width: 50%;
    }
    .section1{
        height: 1500px;
    }
    .working_hours_block{
        height: 800px;
        flex-direction: column;
    }
    .sec1_title.h2_anim{
        font-size: 35px;
    }
    .work_hours_img{
        width: 80%;
        height: 400px;
    }
    .work_hours_img img{
        width: 100%;
        height: 400px;
    }
    .work_hours_text{
        width: 85%;
    }
    .schedule_block{
        width: 100%;
    }
    .schedule_block p{
        width: 100%;        
    }
    .work_hours_des{
        font-size: 20px;
    }
    .sec1_line2{
        width: 100%;
    }
    .history_block{
        width: 85%;
        height: 400px;
    }
    .hist_content1{
        height: 220px;
        justify-content: center;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .hist_item{
        width: 80%;
        height: 200px;
        gap: 20px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        gap: 16px;
    }
    .hist_item.item_anim h3{
        font-size: 28px;
    }
    .arrow{
        display: none;
    }
    .section2{
        height: 3400px;
    }
    .sec2_title-mini{
        width: 90%;
        margin-bottom: 20px;
    }
    .sec2_title{
        width: 90%;
        font-size: 35px;
    }
    .hairdressers_block{
        height: 3100px;
        flex-direction: column;
    }
    .hairdresser{
        width: 85%;
        height: 500px;
    }
    .hairdresser img{
        width: 90%;
    }
    .section3{
        height: 1000px;
    }
    .sec3_title{
        width: 70%;
        font-size: 35px;
        text-align: center;
    }
    .sec3_buttons{
        width: 85%;
        height: 210px;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .display_block{
        height: 550px;
    }
    .display_block img{
        width: 50%;
    }
    .display_block p{
        width: 90%;
    }
    footer{
        height: 1300px;
        flex-direction: column;
    }
    .footer_block1,
    .footer_block2,
    .footer_block3{
        width: 90%;
    }
    .box.active{
        height: 100%;
    }
}