html, body {
    background-color: #c4a087;
}
body {
    display: flex;
    flex-direction: column;
}

main, footer {
    margin: 0%;
}

/** Le carroussel ! **/
main {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0px;
    overflow: hidden;
}

.osef2 {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo{
    z-index: 2;
    width: 500px;
    margin-top: 1.5em;
    margin-bottom: 3em;
}


.navBar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5em;
}

.navBar a {
    margin-inline: 1.5em;
    font-size: 18px;
    text-decoration: none;
    color: #c4a087;
    font-family: 'Barlow', sans-serif;
}
h1 {
    z-index: 1;
    opacity: 0;
}

h2 {
    font-size: 32px;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2em;
}

 


/** partie du bas du carousel (contactez moi) **/

.contact {
    z-index: 2;
    width: 120px;
    height: 50px;
    background-color: #c4a087;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e5dd;
}
.contact:hover{
    background-color: #f0e5dd;
    color: #1f1f1f;
}
.contact h2 {
    font-size: 18px;
    font-weight: 400;
}



/** effets de transition du carousel entre les slides**/
.ordi, .phone {
    display: none;
}


.slide {
    display: block;
    position: absolute;
    object-fit: cover;
    z-index: 1;
    filter: brightness(55%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    opacity: 0;
    /* visibility: hidden; */
    transition: opacity 1.5s ease-in;
}
.slide.active {
    opacity: 1;
    /* visibility: visible; */
    transition: opacity 1.5s ease-in;
}

.slide.transi {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}
