*{
    box-sizing: border-box;
}

header{
    display: flex;
    justify-content: space-evenly;
    height: 50px;
    align-items: center;
}
header nav{
    display: flex;
    width: 50%;
    justify-content: space-between;
}
header ul{
    display: flex;
    width: 95%;
    justify-content: space-around;
}
.brand{
    font-size: 30px;
    font-style: italic;
}
header a{
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
}
header i{
    margin-left: 4em;
}
main{
    height: 90vh;
    background: url(https://cdn.discordapp.com/attachments/769332575600640010/782270826967859200/salon-main-img.jpg);
    background-position: inherit;
    background-size: cover;
}
main h1{
    color: white;
    font-size: 95px;
    text-transform: uppercase;
    position: absolute;
    top: 30%;
    left: 15%;
    width: 40%;
    letter-spacing: 5px;
}
.headline{
    color: white;
    text-transform: uppercase;
    position: absolute;
    top: 53%;
    left: 15%;
    width: 50%;
    letter-spacing: 0.5px;
    font-size: 19px;
}
main > a{
    font-size: 15px;
    text-transform: uppercase;
    position: absolute;
    top: 58%;
    left: 15%;
    background-color: black;
    color: white;
    padding: 12px 22px;
    text-decoration: none;
}
.timing{
    position: absolute;
    font-size: 22px;
    width: 40%;
    top: 68%;
    left: 78%;
    transform: rotateZ(90deg);
    color: white;
    display: block;
    text-transform: uppercase;
}
.offer{
    position: absolute;
    top: 70%;
    left: 12.5%;
    background: black;
    color: white;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 14%;
}
.offer h2{
    font-size: 14px;
    text-transform: uppercase;
    width: 80%;
    margin: 0 auto;
}
.offer p span{
    font-size: 30px;
    font-weight: bold;
}
.offer p{
    text-transform: uppercase;
    width: 79%;
    font-size: 16px;
    margin: 0 auto;
    line-height: 1.7;
}
.offer a{
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    background: white;
    width: 66%;
    margin-left: 2em;
    text-transform: uppercase;
    font-size: 15px;
}
.services{
    display: flex;
    height: 350px;
    width: 80%;
    margin: 0 auto;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    
}
.services section{
    width: 25%;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.services img{
    width: 25%;
}
.services h3{
    font-size: 19px;
    font-weight: bold;
    text-transform: uppercase;
}
.treatment{
    height: 500px;
    display: flex;
    justify-content: space-evenly;
    background: gainsboro;
}
.treatment section{
    width: 50%;
}
.momentum-img,.momentum{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.treatment img{
    width: 60%;
}
.treatment h1{
    font-size: 40px;
    text-transform: uppercase;
    line-height: 1.3;
    width: 50%;
    margin-bottom: 0.5em;

}
.treatment p{
    width: 50%;
    margin-bottom: 1em;
}
.treatment a{
    position: relative;
    color: white;
    top: 2%;
    right: 15%;
    background: black;
    padding: 12px 24px;
    text-decoration: none;
}
.experts{
    height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.experts section{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-right: 1em;
}
.experts h1{
    font-size: 55px;
    columns: black;
    display: block;
    border-bottom: 5px solid black;
    line-height: 1.8;
}
.experts h2{
    font-size: 18px;
    margin-bottom: 0.4em;

}
.experts span{
    font-size: 11px;
}
.experts div{
    background: black;
    color: white;
    padding: 12px 87px;
    text-align: center;
    position: absolute;
    top: 250vh;
    display: none;
}
.color-day{
    width: 61%;
    height: 475px;
    margin: 0 auto;
    background: url(assets/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.color-day h2{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 1em;
    margin-left: 3em;
}
.color-day span{
    font-size: 35px;
    font-weight: bold;
    
}
.color-day p{
    font-size: 29px;
    text-transform: uppercase;
    width: 34%;
    margin-left: 2.1em;
    margin-bottom: 0.7em;
    font-weight: bold;
}
.color-day a{
    font-size: 14px;
    padding: 13px 20px;
    background: black;
    color: white;
    text-decoration: none;
    width: 14%;
    margin-left: 4em;
}
.lookbook{
    height: 1000px;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 auto;
    margin-bottom: 25em;
}

.lookbook .section{
    height: 500px;
    width: 33%;
    
}
.lookbook h2{
    font-size: 45px;
    border-bottom: 5px solid black;
    line-height: 1.6;
}
.section-1,.section-2,.section-3{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 1000px;
}
.section-1{
    display: flex;
    flex-direction: column;
    width: 72%;
    height: 1009px;
    margin-right: 1em;
}
.images{
    width: 100%;
    height: 600px;
    display: flex;
}
.img1,.img2,.img3,.img4,.img5,.img6{
    width: 100%;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 1em;
}
.hover:hover{
    opacity: 0.2;
    z-index: 1;
}
.img1{
    background: url(https://ayesha.dropletthemes.com/wp-content/uploads/2019/08/Gallery-01.jpg);
    height: 300px;
    background-repeat: no-repeat;
    width: 99%;

}
.img2{
    background: url(assets/lookbook2.jpg);
    height: 650px;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 99%;
}
.img3{
    background: url(assets/lookbook3.jpg);
    height: 650px;
    margin: 0 1em 1em 1em;
    background-repeat: no-repeat;
}
.img4{
    background: url(assets/lookbook5.jpg);
    margin: 0 1em 1em 1em;
    height: 300px;
    width: 98%;
    background-repeat: no-repeat;
}
.img5{
    background: url(assets/lookbook1.jpg);
    margin-left: 1em;
    height: 370px;
    background-repeat: no-repeat;
}
.img6{
    background: url(assets/lookbook4.jpg);
    margin-left: 1em;
    height: 580px;
    background-repeat: no-repeat;
}
footer{
    height: 600px;
    background: black;
    color: white;
    display: flex;
   justify-content: space-evenly;
   padding-top: 5em;
}
footer > section{
    flex-basis: 13%;
    display: flex;
    flex-direction: column;
}
footer h3{
    font-size: 22px;
    border-bottom: 5px solid white;
    line-height: 2;
    width: 71%;
    margin-bottom: 1em;
    text-transform: uppercase;
    margin-bottom: 2em;
}
footer p{
    margin-bottom: 2em;
}
.about-us i{
    margin-right: 1.5em;
}
footer i{
    margin-bottom: 2em;
    margin-left: 1em;
}
footer section span{
    margin-bottom: 1em;
}
.small-lookbook{
    display: flex;
    flex-direction: row;
    flex-basis: 33%;
    flex-wrap: wrap;
}

.small-lookbook section{
    border: 2px solid white;
    width: 30%;
    margin: 4px;
}
.small-img{
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
}
.popular-posts img{
    float: left;

}
.popular-posts section{
    margin-bottom: 1em;
}
.popular-posts section h2{
    float: right;
    margin-bottom: 5px;
    font-size: 18px;
}
.popular-posts section span{
    margin-left: 1em;
    color: gray;
}
footer .copyright{
    width: 100%;
    position: absolute;
    top: 505vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.copyright{
    border-top: 1px solid gray;
    line-height: 7;
    display: flex;
    justify-self: space-evenly;
}
.copyright section{
    flex-basis: 30%;
    display: flex;
    justify-content: space-around;
}
.copyright a{
    color: white;
    text-decoration: none;
}

@media all and (max-width: 1325px){
    main h1{
        font-size: 66px;
    }
    
}
@media all and (max-width: 1200px){
    .experts .expert1{
        display: none;
    }
    header nav{
        width: 70%;
    }
    .offer{
        width: 25%;
        top: 64%;
    }
    .treatment p{
        width: 80%;
    }
    .our-lookbook{
        display: none;
    }
    footer > section{
        flex-basis: 31%;
    }
    .copyright section{
        flex-basis: 51%;
    }
}

@media all and (max-width: 805px){
    header span{
        display: none;
    }
    header nav{
        width: 90%;
    }
    main h1{
        top: 21%;
        font-size: 38px;
    }
    p.headline{
        top: 30%;
    }
    main > a{
        top: 37%;
    }
    .offer{
        top: 44%;
        left: 14.5%;
    }
    .timing{
        width: 52%;
        top: 52%;
        left: 71%;
    }
}
@media all and (max-width: 1550px){
    .offer{
        top: 65%;
        left: 14.5%;
    }
    .headline{
        top: 25%;
    }
}