/* My website styles css*/

@font-face {
    font-family: 'Amsterdam';
    src: url('fonts/Amsterdam.eot');
    src: url('fonts/Amsterdam.eot?#iefix') format('embedded-opentype');
    src: url('../fonts/Amsterdam.woff2') format('woff2');
    src: url('../fonts/Amsterdam.woff') format('woff');
}

@font-face {
    font-family: 'Aestherodemo';
    src: url('../fonts/aestherodemo-webfont.woff') format('woff'),
       url('../fonts/aestherodemo-webfont.woff2') format('woff2');
} 

@font-face {
    font-family: 'aguafina_scriptregular';
    src: url('../fonts/aguafinascript-regular-webfont.woff2') format('woff2'),
         url('../fonts/aguafinascript-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.home {
    background-image: url(../images/3d-leaves-defocussed-background-with-bokeh-lights.jpg);
    background-attachment: fixed;
    background-size:cover;
}

.contact, .thx {
    background-image: url(../images/back-view-woman-with-afro-hairstyle.jpg);
    background-attachment: fixed;
    background-size: cover;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    
}

.services, .services_braid, .services_braidedwigs {
    background-image: url(../images/close-up-portrait-beautiful-woman-with-flowers.jpg);
    background-attachment: fixed;
    background-size: cover;

}

.services_wigs {
    background-image: url(../images/woman-2537564_1920.jpg);
    background-attachment: fixed;
    background-size: cover;

}

.about {
    background-image: url(../images/banner2.jpg);
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}

.blog {
    background-image: url(../images/people-3238357.jpg);
    background-attachment: fixed;
    background-size:cover;
}

header {
    width: 100%;
    height: 300px;
    background: #dedccaef;
    margin-bottom: 1px;
   
    
}

.contact header, 
.services header, 
.services_braid header,
.services_braidedwigs header, 
.services_wigs header, 
.about header, .blog header {
    margin-bottom: 360px;
}

 
    

.inner-header {
    width: 940px;
    height: 250px;
    margin: 0 auto;
    padding-top: 10px;

}

#logo {
    margin-top: 5px;
    width: 400px;
    display: inline;
    
   
}

img {
    display: block;
    max-width: 100%;
    
}

nav {
    height: 50px;
    background: rgba(0, 0, 0, 0.595);
    width: 980px;
    margin: 0 auto;box-shadow: 0 5px 20px rgba(0, 0, 0, 0.595);
}

nav li {
    float: left;
    width: 20%;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    font-size: 1.2em;
    position: relative;
  
    
}

nav a {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    color: #daecf2;
    border-bottom: #666 solid 1px;
    display: block;
}

nav a:hover {
    border: #666 solid 1px;
    border-bottom: none;
    background: white;
    color: #2199e9;
}

.dropdown {
    display: none;
   
}

.dropdown li {
    float: none;
    width: 155%;
    font-size: 1em;
    background: #b8b29caf;
    
}

.dropdown li a {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    color: #daecf2;
    border-bottom: #666 solid 1px;
    display: block;
}

nav li:hover .dropdown {
    display: block;
    position: absolute;
    z-index: 1;
    
    
}

.dropdown a:hover {
    color: #2199e9;
}


.home nav li:nth-child(1) a,
.about nav li:nth-child(2) a,
.services nav li:nth-child(3) a,
.services_wigs nav li:nth-child(3) a,
.services_braid nav li:nth-child(3) a,
.services_braidedwigs nav li:nth-child(3) a,
.contact nav li:nth-child(4) a, .thx nav li:nth-child(4) a,
.blog nav li:nth-child(5) a {
    border: #666 solid 1px;
    border-bottom: none;
    color: #2199e9;
}


.mask {
    background: #efedded0;
    margin-top: 2%;
    overflow: hidden;
}

#wrapper {
    width: 940px;
    margin: 0px auto;
    /* background: #efedded0; */
    overflow: hidden;
   
}

 #bouton {
    width: 940px;
    margin: 0 auto
    
}

.btn {
    background: black;
    width: 450px;
    font-size: 1.4em;
    border-radius: 5px;
    padding: 20px 40px;
    text-transform: uppercase;
    text-decoration: none;
    color: aliceblue;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
}

.btn:hover {
    background: #0000008b;
    color: aqua;
    
}
#bouton {
    text-align: center;
    margin-top: 5px;
}

.second .btn {
    padding: 10px 170px;
    text-transform: none;
    font-size: 1em;
    border-radius: 0;
    
    
}




h1 {
    text-align: center;
    font-family:fantasy;
    font-size: 2.8em;
    margin-top: 40px;
    color: #2199e9;
    line-height: 2.5;
    
}


.second {
    float: left;
    width: 455px;
    margin-right: 30px; 
    margin-top: 50px;
    text-align: center;
}

.second:last-of-type{
    margin-right: 0;
}


.second h2 {
    font-family:'Aestherodemo';
    font-size: 4.5em;
    text-align: center;
    margin-top: 100px;
    font-weight: 200;
}

.second p {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 10px auto;
    font-size: 1.2em;
    text-align: center;
    padding: 10px;
    line-height: 1.7;
}

.second img {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.595)
}


footer {
    height: 40px;
    background: rgb(222, 222, 205);
    clear: both;
    line-height: 40px;
    display: flex;
    justify-content: center;
}

footer li {
    float: left;
    margin-right:20px;
    list-style-type: none;
    color: #666;
    font-size: .7em;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
footer li:last-of-type{
    margin-right: 0;
}

footer a {
    color: #666;
}

#foot {
    background: #2e2e2e;
    overflow: hidden;
    clear: both;
    margin-top: 20px;
    
}

.contenner  {
    width: 940px;
    margin: 10px auto;
    height: 300px;
    

}



.third {
float: left;
width: 300px;
margin-right: 20px;
margin-bottom: 10px;
font-size: .8em;
color: rgb(152, 148, 148);


}

.third:last-of-type {
    margin-right: 0;
    
}

.third li {
    list-style-type: none;
    margin-left: 15px;
    line-height: 1.7;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 2.5;
    
}

.third a {
    color: rgb(152, 148, 148);
    text-decoration: none;
}

.third a:hover{
    color: white;
}
.social li {
    float: left;
    width: 30px;
    margin-top: 15px;
    
}

.social li:hover{
    width: 33px;
}

.third h3 {
    text-transform: uppercase;
    margin: 10px 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #fff;
}

main {
    width: 580px;
    float: left;
}

aside {
    width: 340px;
    float: right;
    padding-top: 20px;
    margin-bottom: 20px;
}

aside img {
    max-width: 100%;
    margin-top: 20px;
}

form{
    max-width: 580px;
}

form li{
    list-style-type: none;
}

form ul {
    margin-left: 15px;
    margin-bottom: 15px;
}

fieldset{
    padding: 10px;
    border-radius: 10px;
    border: dotted #800 1px;
   
}

label{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
    
}

input{
    margin-bottom: 20px;
    height: 30px;
    width: 100%;
    border-radius: 5px;
    border: #9a9797 solid 1px;
}

input[type=submit] {
    width: 100px;
    margin: 0 230px;
    margin-bottom: 20px;
    
}


input[type=radio], input[type=checkbox] {
    height: auto;
    width: auto;
    margin-right: 3px;
    margin-bottom: 3px;
}
input::placeholder {
    font-size: 1.3em;
    padding-left: 15px;
}

textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: #9a9797 solid 1px;
}

textarea::placeholder {
    font-size: 1.4em;
    padding-left: 15px;
    padding-top: 10px;
}

select {
    margin-bottom: 15px;
    margin-left: 10px;
    width: 150px;
    font-size: 1.8em;
    
}

legend {
    font-size: 1.3em;
    font-style: italic;
    padding: 0 5px;
    font-family:'Times New Roman', Times, serif;

}
.contact h1 {
    margin: 10px 0;
    margin-bottom: 20px;
    font-family: cursive;
    font-size: 3em;
    line-height: 1.2;
}

.thx h1 {
    font-size: 1.6em;
    font-weight: 100;
    color: #800;

}

.thx h2 {
    font-size: 1em;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
    color:#800;
    text-align: center;

}





.contact p, .thx p {
    line-height: 1.5;
    font-size: .8em;
    text-align: justify;
}
.contact aside h3, .thx aside h3 {
    margin-bottom: 12px;
    font-size: 1.4em;
    font-weight: 100;
    color: #800;
}

main {
    margin-bottom: 20px;
}

figcaption {
    font-size: 1.47em;
    background: black;
    color: whitesmoke;
    padding: 0 5px;
    font-style: italic;
}

.services h1{
    font-size: 3em;
 }

.ads h3 {
    font-size: 5em;
    text-align: center;
    font-family: 'Aestherodemo';
    font-weight: 100;
    margin-top: 10px;
}

.services p, .services_braid p, .services_wigs p, .services_braidedwigs p  {
    font-size: 1.5em;
    text-align: center;
    margin: 25px 20px;
}
.ads p{
    text-align: left;
    margin-left: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    
}

.ads {
    float: left;
    width: 450px;
    margin-right: 40px;
    margin-bottom: 40px;
}

.ads:last-of-type {
    margin-right: 0;
}



.row .btn {
    width: 260px;
    height: 60px;
    margin: 0 auto;
    
   
}

.row .btn a {
    font-size: .8em;
    padding: 0;
    text-transform: none;
    display: block;
    color: #fff;
    text-decoration: none;
    
}

.about aside h3 {
    font-family:'aguafina_scriptregular';
    font-size: 3em;
    font-weight: 100;
    text-align: center;
    line-height: 1.2;
    margin-bottom: -30px;
}

.about aside img {
    border-radius: 10px;
}

.about main, .about aside {
    padding-bottom: 40px;
}

.about aside p {
    font-size: 1.2em;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-style: italic;

}

#beth {
    border-radius: 300px 10px;
    width: 70%;
    margin: 0 auto;
    margin-top: -10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.595);
}

#mask2 {
    background: #000;
    border-radius: 60px 300px;
    clear: both;
}

main p {
    font-size: 1.2em;
    margin-top: -10px;
    text-align: justify;
    font-style: italic;
    padding: 0 20px;
    line-height: 1.3;
    color: rgb(48, 1, 1);
}

main h2 {
    text-align: center;
    margin-top: 20px;
    font-size: 2em;
    font-family: fantasy;
    color: rgb(201, 16, 16);
}

.about #bouton {
    clear: both;
    padding-bottom: 20px;
      
}




.service-second2 {
    position: relative;
    width: 920px;
    height: 550px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.595);
    transition: 0.3s;
    padding: 30px 30px;
    background: #fff;
    float: left;
    cursor: pointer;
    margin-top: 200px;

}


.service-second {
    position: relative;
    width: 460px;
    height: 550px;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.595);
    transition: 0.3s;
    padding: 30px 30px;background: #fff;
    float: left;
    cursor: pointer;
    margin-top: 150px;

}

.service-second:not(:last-child) {
    margin-right: 20px;
}

.service-second:hover, 
.service-second2:hover {
    height: 800px;
}

.imgbox {
    position: relative;
    transform: translateY(-120px);
    z-index: 1;
}

.services .service-second img, 
.services .service-second2 img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.595);
    
}


.content h2 {
    font-family: 'Aestherodemo' ;
    font-size: 5em;
    font-weight: 100;
    margin-bottom: -10px;
}



.content .btn {
    padding: 5px 20px;

}

.content {
    text-align: center;
    margin-bottom: 100px;
    padding: 10px 20px;
    transition: .4s;
    transform: translateY(-500px);
    opacity: 0;
}

.service-second:hover > .content, 
.service-second2:hover > .content{
    opacity: 1;
    transform: translateY(-100px);
    
}

.second-blog {
    float: left;
    width: 48.7%;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.595);
    cursor: pointer;
    margin-bottom: 20px;
    
} 

.second-blog:not(:last-of-type){
    margin-right: 20px;
   
    
}

.second-blog:hover{
    width: 48.93782%;
    border: #ffffff solid 2px;
      
}


