@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
/* font-family: 'Playfair Display', serif; */

body{
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #dceaf1;
}

nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid #333;
    background-color: #D6D696;
}

nav h1{
    color:#717171;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    cursor: pointer;
}

.onglets{
    margin-top: 3px;
    margin-left: 300px;
}

.onglets a{
    text-decoration: none;
    color:#717171;
    margin-right: 10px;
    border-bottom: 1px solid #717171;
    padding-bottom: 5px;
}

header{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(../media/galbg.jpg);
    background-size: cover;
    height: 60vh;
    color:#717171;
    text-shadow: #333;
    padding: 40px;
}

header h1{
    font-family: 'Playfair Display', serif;
    font-size: 50px;
}

header h4{
    margin-top: -20px;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #717171;
}

header button{
    padding: 10px 20px;
    background-color:#D6D696 ;
    color: #717171;
    border: none;
    font-size: 20px;
    border-radius: 5px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    transition: 0.5s;
}

header button:hover{
    transform: scale(1.2);
    background-color: rgba(192, 192, 93, 0.5);
}
.galeries{
    margin-left: 10px;
    flex-wrap: nowrap;
}

.galerie h1{
    color: #717171;
    font-family: 'Playfair Display', serif;
    padding-left: 10px;
}

.galerie a img{
    height: 200px;
    width: 200px;
    flex-wrap: wrap;
    margin-left: 20px;
    margin-top: 30px;
    transition: 0.5s;
}

.galerie a img:hover{
    transform: scale(1.1);
    border-radius: 5px;
}



footer{
    margin-top: 40px;
    border-top: 5px solid #6f6f6f;
    background-color: #D6D696;
    padding: 30px 100px;
}

footer h1{
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid #717171;
    width: 20%;
    padding-bottom: 5px;
}

footer .services{
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
}

footer .services .service{
    margin-right: 8px;
    padding: 10px;
}

footer .services .service p{
    max-width: 300px;
}

footer .services .service img{
    width: 100px;
    height: 100px;
    transition: 00.5s;
}

footer .services .service img:hover{
    transform: scale(1.15);
}

@media screen and (max-width:890px){
    .onglets{
        margin-left: 20px;
        padding-bottom: 25px;
    }
}

@media screen and (max-width:1138px){
    .onglets{
        padding-bottom: 25px;
    }
}

@media screen and (max-width:609px) {
    .onglets a{
        border-bottom: 0px;
        display: inline-block;
        font-size: 13px;
    }

    .main .content .card .right img{
        height: 200px;
        width: 100%;
        margin-top: 0px;
    }

    .main .content .card{
        display:block;
    }


    .galerie a img{
        margin-left: 100px;
    }


}