@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body {
    font-family: Montserrat;
    font-weight: 300;
    font-size: 17px;
    margin: 0px;
    overflow: hidden;
}

/* ___________________________________________________________ LAPTOP (> 768px) ___________________________________________________________ */


/* ___________________________________________________________ SLIDER ___________________________________________________________ */

/* ______________________ SLIDER ______________________*/
#slider {
    position: fixed;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards 2s;
}

/* Animation Opacité */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.images {
    display: flex;
    width: max-content;
    animation: images 28s infinite ease-in-out 2s;
}

/* Animation slide (g>d) */
@keyframes images {
    0%, 8.5% { 
        transform: translateX(0); 
    }
    14.3%, 22.8% { 
        transform: translateX(calc(-100vw * 1));
    }
    28.6%, 37.1% { 
        transform: translateX(calc(-100vw * 2)); 
    }
    42.9%, 51.4% { 
        transform: translateX(calc(-100vw * 3)); 
    }
    57.1%, 65.6% { 
        transform: translateX(calc(-100vw * 4)); 
    }
    71.4%, 79.9% { 
        transform: translateX(calc(-100vw * 5)); 
    }
    85.7%, 94.2% { 
        transform: translateX(calc(-100vw * 6)); 
    }
    100% { 
        transform: translateX(calc(-100vw * 7)); 
    }
}

.images img {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    object-fit: cover;
}


/* ______________________ LOGO ______________________*/

.wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: haut 2s ease-in-out forwards 2s;
}

@keyframes haut {
    from { top: 50%; }
    to { top: 10%; }
}

.logo img {
    width: 300px;
    height: auto;
}

/* ______________________ FOOTER ______________________*/

footer {
    width: 90vw;
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
}

ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0px;
}

li {
    list-style: none;
}

a, p {
    color: black;
    text-decoration: none;
    transition: color 2s ease-in-out;
    animation: textColorChange 2s ease-in-out forwards 2s;
}
/* Animation Changement de couleur (b>n) */
@keyframes textColorChange {
    from { color: black; }
    to { color: white; }
}

.reseaux {
    display: flex;
}

.reseaux p {
    margin: 0;
}


/* ___________________________________________________________ TEL (< 768px) ___________________________________________________________ */

@media (max-width: 768px) {

    /* ______________________ LOGO ______________________*/
    /* Logo monte plus haut */
    .wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: haut 2s ease-in-out forwards 2s;
    }

    @keyframes haut {
        from { top: 50%; }
        to { top: 10%; }
    }

    .logo img {
        width: 55vw;
        height: auto;
    }

    /* ______________________ FOOTER ______________________*/
    /* Alignement au centre et vertical + Augmentation de la graisse + taille typo */

    footer {
        text-align: center; 
        font-size: 16px;
        font-weight: 400;

        position: absolute;
        top: 90%;
        left: 50%;
    }

    ul {
        flex-direction: column; 
        align-items: center;
        padding: 0;
        margin: 0;
    }

    li {
        margin-bottom: 10px; 
    }
}