*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background-image: url("images/boutique-timeva.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', serif;
}

#bienvenue {
    background-color: #FFFCFCD6;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    text-align: center;
    margin: 7.5% 5%;
    max-width: 62.5rem;
}

img {
    height: auto;
    max-height: 10rem;
}

h1 {
    font-weight: 700;
    font-size: 2.4rem;
    margin: 1.5rem 0;
}

p {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.7;
}

#bouton {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

#bouton a {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: #953B7D;
    border-radius: 5px;
    padding: 0.9375rem 2.3125rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.25s;
}

#bouton a:hover {
    background-color: #000000;
}

footer {
    background-color: #953B7D;
    color: #FFFFFF;
    padding: 1rem 0;
    text-align: center;
    position: fixed;  /* Fixer le footer en bas de la page */
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;  /* Empêche le texte de dépasser les bords */
}

#villes-container {
    overflow: hidden; /* Cache tout ce qui dépasse du conteneur */
    white-space: nowrap;
    width: 100%; /* S'assure que le conteneur prend la largeur disponible */
    position: relative;
}

#villes-defilantes {
    display: inline-block;
    white-space: nowrap;
    animation: defilement 200s linear infinite; /* Ralenti l'animation à 300s pour un défilement plus lent */
    position: relative;
}

@keyframes defilement {
    0% {
        transform: translateX(0); /* Commence visible */
    }
    100% {
        transform: translateX(-50%); /* Défile la moitié, car le texte est dupliqué */
    }
}


