body{
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: #FCFFF5;
    color: #193441;

    font-family: 'Open Sans', sans-serif;
}

main{
    width: 100%;
    max-width: 1440px;
}

section{
    padding: 70px 10px;
}

h1, h2, h3{
    font-family: 'Cormorant Garamond', serif;
}

p, ul{
    font-size: 18px;
    line-height: normal;
}

ul{
    list-style: inside;
}

a{
    color: #193441;
}

i{
    padding-right: 9px;
}

input, textarea{
    border: solid 1px #1934412f;
}

blockquote{
    font-size: 24px;
    font-style: italic;
    padding-bottom: 20px;
    animation: apparition 0.7s ease-out;
}

blockquote::before, blockquote::after{
    content: '"';
    font-size: 42px;

    position: relative;
    top: 10px;
}

figcaption{
    font-size: 20px;
    animation: apparition 0.8s ease-out;
}

figcaption::before, figcaption::after{
    content: '\002014';
    padding: 0 10px;
}

/* Animation d'appartion */
@keyframes apparition{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

/* --- BOUTTON -------------------------------------------------------------------- */

.btn{    
    background-color: #3E606F;
    border: none;
    border-radius: 7px;
    
    width: max-content;
    padding: 12px 17px;
    
    font-weight: 600;
    color: #FCFFF5;
    text-transform: uppercase;
    font-size: 14px;
    
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover{
    background-color: #193441;
}

/* --- HEADER -------------------------------------------------------------------- */

header{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 1440px;
    padding: 25px 0 20px 0;
    border-bottom: 1px solid #1934412f;
}

header .logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    padding-bottom: 25px;
}

header .logo img{
    width: 100%;
    max-width: 125px;    
    padding-bottom: 25px;
}

header .logo p{
    text-align: center;
    font-size: 23px;
    font-weight: bold;
}

/* --- MENU -------------------------------------------------------------------- */

nav{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 70%;
}

nav a{
    position: relative;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;

    padding: 10px;
    width: max-content;
}

nav a::before{
    content: "";
    background: #3E606F;
    opacity: 0.3;
    display: block;

    width: 0;
    height: 33%;
    top: 15px;

    position: absolute;
    z-index: -1;
    
    transition: 0.5s ease-out;
}

nav a:hover:before{
    width: 100%;
}

@media screen and (max-width: 720px){
    nav{
        display: none;
    }

    .open-menu{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    /* icône Hamburger */
    .hamburger{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
        cursor: pointer;
        width: 40px;
    }
    .hamburger .lines{
        height: 6px;
        width: 40px;
        background-color: #193441;
        margin-top: 5px;
        border-radius: 5px;

        transition: all 0.3s;
    }
}

/* --- HERO -------------------------------------------------------------------- */

.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;

    background-image: url(../img/hero.jpeg);
    background-size: cover;
    background-position: center;

    width: 100%;
    height: 55vh;
    padding: 70px 0;
}

.hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero h1{
    font-size: 100px;
    margin-bottom: 20px;
    text-align: center;
    color: #FCFFF5;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    animation: apparition 0.7s ease-out;
}

.hero p{
    font-size: 24px;
    text-align: center;
    color: #FCFFF5;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    max-width: 800px;    
    animation: apparition 0.8s ease-out;
}

@media screen and (max-width: 600px){
    .hero{
        align-items: center;
    }

    .hero .container{
        align-items: center;
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .hero h1{
        text-align: center;
        font-size: 60px;
    }
}

/* --- TITLE-------------------------------------------------------------------- */

.title{
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.title h2{
    font-size: 50px;
    padding-bottom: 20px;
}

.title h3{
    font-size: 36px;
    padding-bottom: 20px;
}

/* --- TWO COLUMNS-------------------------------------------------------------------- */

.two-columns{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Image */
.two-columns .img-container{
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
}

.two-columns img{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 100%;
    height: 280px;
    object-fit: cover;
}

.two-columns .color{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    background-color: #91AA9D;
    width: 60%;
    height: 100%;
}

/* Texte */
.two-columns .txt-container{
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 650px;
}

.two-columns h3, .two-columns p, .two-columns ul{
    padding-bottom: 20px;
}

.two-columns h3{
    font-size: 36px;
}

.two-columns .btn{
    margin-top: 10px;
}

@media screen and (max-width: 1359px){
    .two-columns{
        flex-direction: column;
    }

    .two-columns .first{
        margin-bottom: 40px;
    }

    .two-columns .txt-container{
        align-items: center;
    }

    .two-columns p{
        text-align: center;
    }
}

/* --- TARIFS -------------------------------------------------------------------- */

.tarifs{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tarifs .item{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 300px;

    margin: 10px;
    padding: 10px;
    border: #193441 1px solid;
}

.tarifs img{
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;

    margin: 20px 10px;
}

/* Texte */
.tarifs h3, .tarifs p{
    padding: 10px;
}

.tarifs .time{
    font-size: 28px;
}

.tarifs .price{
    font-size: 36px;
}

/* Titre */
.title-tarifs{
    padding: 0;
    padding-top: 20px;
}

/* --- CONTACT -------------------------------------------------------------------- */

.form-container{
    display: flex;
    flex-direction: column;

    width: 100%;
}

.form-item{
    margin: 7px 0;
}

.emiter{
    display: flex;
}

.form-container textarea{
    width: 100%;
    height: 100px;
    padding: 0;
}

.form-container input{
    width: 100%;
    height: 40px;
}

#name{
    margin-right: 7PX;
}

#email{
    margin-left: 7px;
}

@media screen and (max-width: 520px){

    .contact-title{
        text-align: center;
    }

    .emiter{
        flex-direction: column;
        align-items: center;
    }

    #name, #email{
        margin: 7px 0;
    }

    .form-container .btn{
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    @media screen and (max-width: 380px){
        .contact-title{
            max-width: 320px;
        }
    }
}