/* Général */
h1, h2{
    font-family: Georgia, serif;
}
html, *{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}
html{
    background-color: #e2c9be;
}
h2{
    font-size: 38px;
    text-align: center;
    margin-top: 40px;
}
h1{
    font-weight: 700;
    text-align: center;
    margin: 30px auto;
    font-size: 48px;
    padding: 0px 30px;
}
h4{
    text-align: center;
    margin: 10px auto;
}
a{
    text-decoration: none;
}
.container{
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
section{
    text-align: center;
}
.big-img img{
    height: 300px;
    object-fit: cover;
    width: 100%;
    border-top: 5px solid rgb(245, 245, 245);
    object-fit: cover;
}
/* Header */
header{
    position: absolute;
    width: 100%;
    height: 80px;
    z-index: 100;
}
header .logo{
    margin-top: 10px;
    margin-left: 30px;
    background-color: rgba(255, 255, 255, 0.75);
    display: block;
    padding: 10px 20px;
    transition: 0.3s;
}
header nav{
    float: right;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}
header nav a{
    height: 80px;
    display: flex;
    align-items: center;
}
header nav a span.nav-text{
    display: block;
    padding: 20px 10px;
    margin: 0 10px;
    font-size: 30px;
    line-height: 30px;
    color:  white;
    font-weight: 500;
    transition: 0.5s;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
}
header nav a:hover span {
    margin: 15px 10px;
    padding: 5px 10px;
    border-bottom: 5px solid #7a7b42;
    border-top: 5px solid #7a7b42;
}
header button{
    border: none;
    display: none;
    margin: auto 5px;
    background-color: transparent;
}
header button img{
    width: 60px;
    background-color: rgb(230, 230, 230);
    border-radius: 5px;
}
header button img{
    cursor: pointer;
}
#mainImg{
    object-fit: cover;
    width: 100%;
    height: 100vh;
}
#intro{
    z-index: 0;
    display: block;
    padding: 0;
    margin: 0 !important;
    background-color: #e2c9be;
    padding-bottom: 50px;
}
.double{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
    justify-content: space-between;
    background-color: #f9f4ee;
}
/* Dividers */
span.green-divider{
    display: block;
    margin: 20px auto;
    width: 150px;
    height: 5px;
    background-color: #7a7b42;
    content: "";
}
/* Footer */
footer{
    background-color: rgb(15, 15, 15);
    color: rgb(192, 192, 192);
    text-align: center;
    display: flex;
    padding: 15px 0;
    align-items: center;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
footer .container{
    margin: 60px auto;
    width: 50%;
}
footer p{
    text-align: center;
    margin: 2px 30px;
}
footer a{
    color: rgb(192, 192, 192);
    display: inline-block;
    margin: 20px;
    transition: color 0.3s;
}
footer a:hover{
    color: #7a7b42;
}
/* Social Media */
.social-media{
    width: 250px !important;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: middle;
}
.social-media a{   
    margin: 10px;
    width: 40px;
    height: 40px;
    display: block;
}
.social-media a img{
    margin: 0 !important;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}
.social-media a:hover img{
    opacity: 0.7;
}

#messages{
    width: 100%;
    padding: 10px 30px;
    text-align: left !important;
}
.message{
    width: 90%;
    background-color: rgb(255, 255, 255);
    margin: auto 20px;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 1px 1px 1px black;
}
#messages .message h2{
    width: 100%;
    margin: 0;
    padding: 5px 30px;
    font-size: 20px;
    text-align: left !important;
}
.message p{
    width: 100%;
    font-size: 16px;
    text-align: left;
}
/* big-contact */
#big-contact{
    position: relative;
}
#big-contact a p span{
    border-top: 3px transparent solid;
    border-bottom: 3px transparent solid;
    margin: 10px 0;
    transition: 0.5s;
    padding: 20px 0;
}
#big-contact a p{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.685);
    padding: 25px 30px;
    color: white;
    display: inline-block;
}
#big-contact a:hover p span{
    padding: 5px 10px;
    border-top: 3px #7a7b42 solid;
    border-bottom: 3px #7a7b42 solid;
}
#big-contact a{
    position: absolute;
    top: 100px;
    right: 0px;
    font-size: 50px;
    width: 100%;
    text-align: center;
}
@media only screen and (max-width:1000px){
    header{
        height: 70px;
    }
    header .logo{
       width: 100px !important;
    }
    header button{
        display: block;
        margin: 5px;
        float: right;
    }
    header nav{
        margin: 0;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        align-content: flex-start;
        background-color: white;
        transition: all 0.5s ease-in-out;
        border-left: solid #555d48;
        padding-top: 40px;
    }
    header nav a{
        display: block;
        float: none; 
        right: 0;
        margin: 20px 30px;
        line-height: 30px;
    }
    header nav a span{
        color:rgb(15, 15, 15) !important;
    }
    header nav.show{
        right: 0;
    }
    #intro p.main-title{
        font-size: 50px;
        left: 5vw;
        width: 90vw;
    }
    .big-img img{
        width: 100vw;
        height: auto;
    }
    #big-contact{
        height: 105px;
    }
    #big-contact a{
        display: inline-block;
        top: 17.5px;
        font-size: 25px;
        padding: 10px  0 !important;
    }
    #big-contact img{
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    #big-contact a p{
        padding: 10px 5px;
    }
}
