*{
    font-family: 'Lexend', sans-serif;
}

a{
    text-decoration: none;
}

html{
    height: 100%;
    scroll-behavior: smooth;
}

body{
    margin: 0;
    height: 100%;
}

.colorYellow{
    color: #ae8122;
}

/* header */

header{
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

header img{
    width: 20%;
}

header a{
    color: white;
    margin: 15px;
    font-weight: bold;
    font-size: 1.4em;
    transition: color 0.3s;
}

header a:hover{
    color: rgb(211, 211, 211);
}

header>div{
    width: 50%;
}

header>div:last-child{
    text-align: right;
}

header a:last-child{
    color: black;
    background-color: #ae8122;
    padding: 3%;
    transition: color 0.3s;
}

header a:last-child:hover{
    color: rgb(44, 44, 44);
}

/*** HEADER MOBILE ***/

#mobileHeader{
    position: fixed;
    display: none;
    z-index: 5;
    top: 0;
    height: 75px;
}

#mobileHeader a{
    text-decoration: none;
}

/* menu */

#mobileHeader>div:nth-child(1){
    position: relative;
    display: inline-block;
    z-index: 2;
    padding: 20px;
    border-radius: 15px;
    margin: 10px;
    background-color: black;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    cursor: pointer;
}

#mobileHeader div:nth-child(1) i{
    color: white;
    font-size: 2em;
}

#mobileHeader div:nth-child(1) a i:last-child{
    display: none;
}

/* sous menu */

#nav{
    display: none;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    background-color: black;
    border-radius: 10px;
    z-index: 1;
    margin-left: 10px;
}

nav{
    display: flex;
    flex-direction: column;
    padding: 20px;
}

nav>a{
    color:white;
    text-decoration: none;
    text-align: left;
    padding: 15px;
}

.slideIn{
    animation-duration: 0.8s;
    animation-name: slideinHeader;
}

.slideOut{
    animation-duration: 0.8s;
    animation-name: slideoutHeader;
}

/* autres */

#mobileHeader i{
    vertical-align: top;
}

#mobileHeader hr{
    color: #4facfe;
    border: solid 1px #4facfe;
    background-color: #4facfe;
}

@keyframes slideinHeader {
    0% {
        margin-top: -400px;
    }

    100% {
        margin-top: 0px;
    }
}

@keyframes slideoutHeader {
    0% {
        margin-top: 0px;
    }

    100% {
        margin-top: -400px;
    }
}

/* COUVERTURE */

#couverture{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background-color: black;
}

.parallax{
    background-image: url("img/salon1.jpg");
    min-height: 500px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#couverture>div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    font-weight: bold;
    color: white;
}

#couverture p{
    margin: 5px;
}

#couverture i{
    font-size: 2em;
    margin-top: 5px;
}

#couverture>div>p:first-child{
    font-size: 5em;
    text-align: center;
}

#couverture>div>:nth-child(2){
    font-size: 2em;
}

/* presentation */

#presentation{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

#presentation img{
    position: absolute;
    z-index: 1;
    opacity: 0.4;
    width: 20%;
}

#presentation>p{
    position: relative;
    z-index: 2;
    width: 70%;
    font-weight: bold;
    font-size: 1.5em;
    text-align: center;
    color: white;
    margin: 10% 0%;
}

#pre1{
    left: 15%;
}

#pre2{
    right: 15%;
    top: 15%;
}

/* salon */

#salon{
    width: 50%;
    margin: auto;
}

#salon>h2{
    color: #ae8122;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
}

#salon>div{
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#salon>div>div{
    width: 350px;
    height: 350px;
    margin: 2%;
    overflow: hidden;
}

#salon img{
    width: 100%;
    object-fit: cover;
    min-height: 350px;
    min-width: 350px;
}

/* les retours */

#retour{
    display: block;
    position: relative;
    margin: 6% auto;
    background-color: black;
    width: 70%;
    color: white;
}

#retour>h2{
    top: 15px;
    left: 15px;
    position: absolute;
    margin: 0;
    font-size: 3em;
}

#retour>div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2% 0px;
}

#retour>div>p:nth-child(2){
    font-weight: bold;
    font-size: 1.2em;
    color: #ae8122;
}

#retour img{
    border-radius: 1000000px;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

#triangle{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 0;
    height: 0;
    border-top: 50px solid white;
    border-left: 50px solid transparent;
}

/* footer */

footer{
    background-color: #ae8122;
    color: white;
    padding: 5px;
}

footer>div{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 2% auto;
}

footer hr{
    height: 5px;
    background-color: white;
    border: none;
}

footer>div>div:last-child{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    margin-left: 10px;
}

footer>div>div:first-child>p:first-child{
    font-weight: bold;
}

footer>p{
    margin: 0;
    margin-left: 15px;
    margin-bottom: 15px;
}

/* RESPONSIVE */

@media screen and (max-width:1525px){

    #salon>div>div{
        width: 250px;
        height: 250px;
        margin: 2%;
        overflow: hidden;
    }
    
    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 250px;
        min-width: 250px;
    }

    #retour > div:nth-child(2) > p:nth-child(3){
        text-align: center;
    }

}

@media screen and (max-width:1225px){

    #salon>div>div{
        width: 200px;
        height: 200px;
        margin: 2%;
        overflow: hidden;
    }
    
    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 200px;
        min-width: 200px;
    }

    header>div:first-child{
        width: 20%;
    }

    header>div:last-child{
        width: 80%;
    }

    header img{
        width: 70%;
    }

}

@media screen and (max-width:1100px){

    #salon>div>div{
        width: 200px;
        height: 200px;
        margin: 2%;
        overflow: hidden;
    }
    
    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 200px;
        min-width: 200px;
    }

    #retour>h2{
        position: static;
    }

}

@media screen and (max-width:800px){

    #presentation>p{
        font-size: 1em;
    }

    #couverture > div > :nth-child(2) {
        text-align: center;
    }

    footer>div{
        margin-bottom: 5%;
    }

    #salon{
        width: 70%;
    }

    #salon>div>div{
        width: 200px;
        height: 200px;
        margin: 2%;
        overflow: hidden;
    }
    
    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 200px;
        min-width: 200px;
    }

    #retour{
        width: 90%;
    }

    #triangle{
        border-top: 25px solid white;
        border-left: 25px solid transparent;
    }

    #mobileHeader{
        display: block;
    }

    header{
        display: none;
    }

}

@media screen and (max-width:650px){

    #salon{
        width: 80%;
    }

    #salon>div>div{
        width: 175px;
        height: 175px;
        margin: 2%;
        overflow: hidden;
    }

    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 175px;
        min-width: 175px;
    }

    #retour img {
        width: 150px;
        height: 150px;
    }

    #salon{
        margin-bottom: 15%;
    }

}

@media screen and (max-width: 480px){

    #salon{
        width: 90%;
    }

    #salon>div>div{
        width: 130px;
        height: 130px;
        margin: 2%;
        overflow: hidden;
    }

    #salon img{
        width: 100%;
        object-fit: cover;
        min-height: 130px;
        min-width: 130px;
    }

}