@import url('https://fonts.googleapis.com/css2?family=Limelight&display=swap');

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #3c0009;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.title {
    font-family: "Limelight", sans-serif;
    font-weight: 400;
    position: fixed;
    right: 40px;
    top: 40px;
    z-index: 10;
    padding: 8px;
    border-radius: 8px;
    opacity: .85;
    font-size: 10vw;
    color: #fff;
    pointer-events: none;
}

.sub-title {
    position: fixed;
    font-family: "Limelight", sans-serif;
    font-weight: 200;
    bottom: 100px;
    left: 40px;
    z-index: 10;
    padding: 8px;
    border-radius: 8px;
    opacity: .85;
    font-size: 3vw;
    color: #fff;
    pointer-events: none;
}

.hint {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 10;
    background: rgb(0 0 0 / .8);
    padding: 8px;
    border-radius: 8px;
    opacity: .85;
    font-size: 13px;
    color: #fff;
    pointer-events: none;
}

.hint a {
    color: tomato;
    text-decoration: none;
    pointer-events: auto;
}

.copy {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #000;
    background: rgb(255 255 255 / .9);
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 100;
    pointer-events: none;
}

.page-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.gallery-container {
    display: flex;
    overflow-x: hidden;
    padding: 20px;
    gap: 25px; /* Espacement légèrement élargi pour aérer les grandes images */
    scroll-behavior: auto;
}

/* --- IMAGES AGRANDIES SUR PC --- */
.gallery-item {
    position: relative;
    flex: 0 0 750px; /* Largeur augmentée (ex: 750px) */
    height: 480px;  /* Hauteur augmentée proportionnellement (ex: 480px) */
    border-radius: 12px;
    overflow: hidden;
    will-change: transform;
}

.gallery-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* --- RESPONSIVITÉ AJUSTÉE --- */
@media (max-width: 1400px) {
    .gallery-item {
        flex: 0 0 580px;
        height: 380px;
    }
}

@media (max-width: 1024px) {
    .gallery-item {
        flex: 0 0 420px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 300px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 240px;
        height: 160px;
    }
}