body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.slideshow {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.next-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 15px 20px;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
}

    
.overlay {
    position: absolute;
    top: 2%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Transparence à 20% */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Texte au centre */
.overlay-text {
    color: white;
    font-size: 3rem;
    font-family: 'InterTight', sans-serif;
    font-weight: bold;
}

/* Styles pour les boutons */
.buttons {
    position: absolute;
    bottom: 10%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    width: 150px;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.left {
    margin-left: 20px;
}

.right {
    margin-right: 20px;
}

.arrow-button {
    width: 170px;
    height: 170px;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0%;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.arrow-button img[alt="Flèche gauche"] {
    width: 100%;               
    height: 100%;             
    object-fit: contain;                 
    transition: transform 0.2s ease;
}

.arrow-button img[alt="Flèche droite"] {
    width: 100%;               
    height: 100%;             
    object-fit: contain;                 
    transition: transform 0.2s ease;
}   

.arrow-button img.hover {
    display: none;
    width: 100%;
}

.arrow-button:hover img.normal {
    display: none;
}

.arrow-button:hover img.hover {
    display: inline;
}


.arrow-button.left {
    left: 10px;
}

.arrow-button.right {
    right: 10px;
}

@font-face {
    font-family: 'InterTight';
    src: url('../assets/fonts/InterTight.ttf') format('truetype');
}
