/* My website styles css*/

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

.home {
    background-image: url(../images/hair-2419587_1920.jpg);
    background-attachment: fixed;
    background-size: cover;
}

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

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

.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(245, 245, 245, 0.595);
    width: 980px;
    margin: 0 auto;
}

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

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

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

.home nav li:nth-child(1) a,
.about nav li:nth-child(2) a,
.services 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;
    background: white;
    color: #2199e9;
}

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

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

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

#bouton h3 {
    background: #efedde;
    width: 250px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    border-radius: 10px;
    
    
}

#bouton h3 a {
    text-decoration: none;
    color:#2199e9;
    display: block;
    
}

#bouton a:hover {
    border: #666 solid 1px;
    border-radius: 10px;
    color: #bf8013;
    background: #efedde86;
}


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


.second {
    float: left;
    width: 455px;
    margin-right: 25px; 
    margin-top: 50px;
}

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


.second h2 {
    font-family:cursive;
    font-size: 2em;
    text-align: center;
    margin-top: 180px;
    font-style: italic;
    font-weight: 100;
}

.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 p a {
    font-family: 'Times New Roman', Times, serif;
    text-decoration: none;
    color: #2199e9;
}

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: #666;
    overflow: hidden;
}

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

}



.third {
float: left;
width: 300px;
margin-right: 20px;
margin-bottom: 10px;
font-size: .8em;
color: white;
}

.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;
    
}

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

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%;
}

input[type=submit] {
    width: 100px;
    margin-left: 250px;
    
}

input[type=radio], input[type=checkbox] {
    height: auto;
    width: auto;
    margin-right: 3px;
    margin-bottom: 3px;
}

textarea {
    width: 100%;
    height: 110px;
    margin-bottom: 20px;
}

select {
    margin-bottom: 15px;
    margin-left: 10px;
}

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;
}
