@font-face {
    font-family: 'Courier New', Courier, monospace;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    overflow: hidden;
}


.titre_nav {
    font-family: Helvetica, Arial, sans-serif;
    position: fixed;
    top: 15px;
    left: 20px; /* Marge à gauche */
    color: black;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    line-height: 0
}

/* Contact en haut à droite */
.contact-info {
    position: fixed;
    top: 0px; /* Aligné avec "MAXIME BLAIS" */
    right: 20px; /* Même marge à droite que la marge à gauche du titre */
    text-align: right;
    z-index: 10;
    line-height: 0.5

}



.contact-link {
    font-size: 12px;
    color: black;
    font-weight: none;

    text-decoration: none;
    line-height: 0.8
}

.contact-link:hover {
    text-decoration: underline;
}

/* Écran de fondu blanc */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Met le GIF en arrière-plan */
}

#background {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Étire l'image pour remplir la page */
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Titre fixe */

/* Diaporama */
.slideshow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: auto;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-out;
}

@keyframes slideshow {
    0%, 6.66% { opacity: 1; z-index: 1; }
    6.67%, 100% { opacity: 0; z-index: 0; }
}

.slide:nth-child(1) { animation: slideshow 30s infinite 0s; }
.slide:nth-child(2) { animation: slideshow 30s infinite 2s; }
.slide:nth-child(3) { animation: slideshow 30s infinite 4s; }
.slide:nth-child(4) { animation: slideshow 30s infinite 6s; }
.slide:nth-child(5) { animation: slideshow 30s infinite 8s; }
.slide:nth-child(6) { animation: slideshow 30s infinite 10s; }
.slide:nth-child(7) { animation: slideshow 30s infinite 12s; }
.slide:nth-child(8) { animation: slideshow 30s infinite 14s; }
.slide:nth-child(9) { animation: slideshow 30s infinite 16s; }
.slide:nth-child(10) { animation: slideshow 30s infinite 18s; }
.slide:nth-child(11) { animation: slideshow 30s infinite 20s; }
.slide:nth-child(12) { animation: slideshow 30s infinite 22s; }
.slide:nth-child(13) { animation: slideshow 30s infinite 24s; }
.slide:nth-child(14) { animation: slideshow 30s infinite 26s; }
.slide:nth-child(15) { animation: slideshow 30s infinite 28s; }

/* Media Query : Mode téléphone portrait */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .slideshow {
        width: 75%;
        height: 100%;
    }
    .slide {
        width: 100%;
        height: auto;
    }
}
