body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

.header {
    height: 77px;
    border-bottom: 1.9px solid black;
    display: flex;
    align-items: center;
}

.fleche img {
    width: clamp(80px, 10vw, 140px);
    margin-left: 28px;
}

.fleche:hover {
    opacity: 0.4;
}

h1 {
    text-align: center;
    font-weight: 200;
    font-size: clamp(40px, 5vw, 60px);
    margin-top: 70px;
    margin-bottom: 70px;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 20px;
}

.cinema {
    width: 100%;
}

.scene {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.scene img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    transform: scale(0.3);
    opacity: 0;
    margin: auto;
    display: block;
    cursor: pointer;
    transition: opacity 2s ease, transform 1.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.scene.visible img {
    transform: scale(1);
    opacity: 1;
}

.scene.first img {
    opacity: 0.2;
    transform: scale(0.8);
    margin-top: 50px;
}

.scene.first {
    margin-bottom: 30px;
}

.scene.first.visible img {
    opacity: 1;
    transform: scale(1);
}

.ligne {
    border-bottom: 1px solid black;
    width: 740px;
    height: 250px;
    margin: -250px auto;
    margin-bottom: 100px;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(50, 50, 50);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen img {
    max-width: 90vw;
    max-height: 90vh;
}

.close {
    position: absolute;
    top: 0px;
    right: -50px;
    width: 200px;
    height: auto;
    cursor: pointer;
    opacity: 1;
}

.close:hover {
    opacity: 0.5;
}

.fleche-bas {
    position: absolute;
    margin-bottom: 30px;
    right: 80px;
    height: 200px;
    width: 21px;
    animation: moveDown 0.5s infinite alternate;
}

@keyframes moveDown {
    0% {
        bottom: 35px;
    }

    100% {
        bottom: 75px;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header {
        display: flex;
        align-items: center;
        padding: 0 20px;
    }

    .fleche img {
        margin-left: 0;
    }

    h1 {
        font-size: 32px;
        margin-top: 40px;
        text-underline-offset: 10px;
        margin-bottom: 32px;
    }

    .scene {
        min-height: auto;
        height: auto;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .scene img {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        box-shadow: 4px 5px 4px rgba(0, 0, 0, 0.4);
        object-fit: cover;
        border-radius: 1%;
    }

    .ligne {
        width: 90%;
        border-bottom: 1px solid black;
        margin: 30px auto 30px;
        height: 100%;
    }

    .fullscreen img {
        max-width: 90%;
        max-height: 80vh;
    }

    .close {
        width: 250px;
        top: -15px;
        right: -80px;
    }

    .scene.first img {
        margin-top: 0;
        margin-bottom: 0;
    }

    .scene.first {
        margin-bottom: 0;
    }

    .fleche-bas {
        display: none;
    }
}