*{
    margin: 0;
    padding: 0;
    font-family: 'Crimson Text', serif;
    font-family: 'Roboto Condensed', sans-serif;
    box-sizing: border-box;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(images/background_img.png);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;

} 
.navbar{
    flex: 1;
    text-align: right;
}
.navbar ul li{
    list-style-type: none;
    display: inline-block;
    padding: 2% 2%;
    position: relative;
}
.navbar ul li a{
    color:brown;
    text-decoration: none;
    font-size: 17px;
}
.navbar ul li::after{
    content:' ';
    width:0%;
    height: 2px;
    background: #f4433f ;
    display: block;
    margin:auto;
    transition: 0.50s;
}
.navbar ul li:hover::after{
    width:100%;
}

.text-box{
    width: 80%;
    color: palevioletred;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 40px;
}

.btn{
    margin: 10px;
    display: inline-block;
    text-decoration: none;
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.btn:hover{
    border: 1px solid  brown;
    background: rgb(221, 133, 177);
    transition: 1s;
}
nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 30px;
    }

    .navbar ul li{
        display: block;
    }
    .navbar{
        position: absolute;
        background: rgb(252, 203, 252);
        height: 100vh;
        width: 170px;
        top: 0;
        right: -200px;
        text-align: center;
        z-index: 2;
        transition: 1s;
    }
    .navbar ul li:hover::after{
        width:60%;
        
    }
    nav .fa{
        display: block;
        color:rgb(80, 56, 56) ;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
       
    }
    .navbar ul{
        padding: 30px;
    }
}

/* ---Training---- */

.training{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}


p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.training-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight:550 ;
    margin:10px 0;
}
.training-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width:700px){
    .row{
        flex-direction: column;
    }
}

/* ------Services----- */
.service{
    width: 80%;
    margin:auto;
    text-align: center;
    padding-top: 50px;
    
}

.service-col{
    flex-basis:42% ;
    border-radius: 10px;
    margin: 5px;
    margin-bottom: 30px;
    position:relative;
    overflow: hidden;
    background:black;
}.service-col img{
    width: 100%;
    display: block;
}


.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top:0;
    left: 0;
    transition: 0.5s;
} 
 .layer:hover{
    /* background: rgba(53, 0, 0, 0.6); */
    background-color: rgb(148, 221, 221);
    opacity: 0.6;
 }
.layer h3{
    width:100%;
    font-weight:500;
    color:rgb(223, 71, 71);
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position:absolute;
    opacity: 0;
    transition: 0.7;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}


/* ----testimonials---- */
.testimonial{
    width: 80%;
    margin:auto;
    padding-top: 5%;
    text-align: center;
}
.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display:flex;
}
.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 60%;
}
.testimonial-col p{
    padding: 0;
}
.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}

@media(max-width: 700px){
    .testimonial-col img{
        margin-left: 0px;
        margin-right: 15px;  
    }
}

/*-----footer----- */

.footer{
    width:100%;
    justify-content:space-between;
    padding: 10px 30px;
    background: #ecc7c7;    
    display:flex;
    
}

.footer input{
    padding: 5px;
    border: none;
}


.footer button{
    padding: 5px 15px;
    background-color: #fff;
}

.footer button:hover{
    background-color: #ecc7c7;
    color: #fff;
    border: 2px solid #fff;
}

.footer textarea{
    resize: none;
    border: none;
    padding: 5px;
    width: 65%;
}
.footer-col h4{
    margin: 10px;
    font-weight: 600;
    font-size: 18px;
    text-align: left;
    
    
}
.footer-col{
    flex-basis: 44%;
   margin-top: 20px;
    margin-bottom: 5%;
    text-align: left;
    padding: 25px;
    cursor: pointer;
    display:flex;
    flex-direction: column;
}

.footer-col ul li{
    margin: 10px;
    list-style-type: disc;
    justify-content: space-between;
    text-align: left;
}

.footer-col ul li:hover{
    color: #fff3f3;
}
@media(max-width:700px){
    .footer{
        flex-direction: column;
    }
}

/* Contact Us page */
.Contact{
    display: flex;
    justify-content:center;
    padding: 40px;
    align-items: left;
}
.sub-header{
    height:40vh;
    width: 100%;
    background-color: #ecc7c7;
    background-size: cover;
    text-align: center;
    color: antiquewhite;
}
.text h3{
    font-size: 30px;
    margin: 0%;
    margin-bottom: 5px;
}
.text p{
    font-size: 25px;
    color: antiquewhite;
}
.contact-row{
    text-align: left;
    padding: 10px;
    cursor: pointer;
    margin: 15px;
}


.contact-row input{
    padding: 5px;
}

.contact-row textarea{
    resize: none;
    width: 100%;
    padding: 5px;
}


.contact-row button{
    padding: 5px 15px;
    background-color: #fff;
}

.contact-row button:hover{
    background-color: #ecc7c7;
    color: #fff;

}

.makeupservice{
    width: 90%;
    margin:auto;
    text-align: center;
    padding-top: 50px;
    
}

.makeupservice-col{
    flex-basis:42% ;
    margin: 5px;
    margin-bottom: 30px;
    position:relative;
    overflow: hidden;
}

.makeupservice-col img{
    width: 100%;
    display: block;
}

.makeuplayer button{
    padding: 5px 15px;
    background-color: #fff;
}
.makeuplayer button:hover{
    background-color:#ecc7c7;
    color: #fff;
    border: #ecc7c7;
}

@media(max-width:700px){
    .Contact{
        flex-direction: column;
    }
}