/* Définition des couleurs et du style global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #212121; 
    color: white;
}

header, footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background-color: #212121; 
    color: white;
    border-bottom: 2px solid white;
}

.texte {
    font-size: 2em;
}

h1 {
    font-size: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.main-content {
    text-align: center;
    margin: 2rem;
    animation: fadeIn 1.5s ease-in-out;
}

.redirect-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 5rem;
    color: #FFFFFF; /* Couleur de police accessible pour un excellent contraste */
    background-color: #7b2cbf; /* Couleur initiale correspondant au début du dégradé */
    border: 5px solid #c084d4;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    font-size: 3em;
    cursor: pointer; /* Curseur en forme de pointeur */
    overflow: hidden;
}

/* Effet de dégradé animé, agrandissement et ombre au survol */
.redirect-link:hover {
    color: #FFFFFF; /* Maintient un excellent contraste sur fond de dégradé */
    background-image: linear-gradient(45deg, #7b2cbf, #d084f9);
    background-size: 200% 100%;
    background-position: 100% 0%;
    animation: gradientMove 2s forwards;
    transform: scale(1.05); /* Agrandissement léger */
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.5); /* Ombre violette légère */
}

/* Animation de déplacement du dégradé */
@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    font-size: 0.9rem;
    margin-top: auto;
}

.roboto-thin {
    font-family: "Roboto", serif;
    font-weight: 100;
    font-style: normal;
  }
  
.roboto-light {
    font-family: "Roboto", serif;
    font-weight: 300;
    font-style: normal;
  }
  
.roboto-regular {
    font-family: "Roboto", serif;
    font-weight: 400;
    font-style: normal;
  }
  
.roboto-medium {
    font-family: "Roboto", serif;
    font-weight: 500;
    font-style: normal;
  }
  
.roboto-bold {
    font-family: "Roboto", serif;
    font-weight: 700;
    font-style: normal;
  }
  
.roboto-black {
    font-family: "Roboto", serif;
    font-weight: 900;
    font-style: normal;
  }
  
.roboto-thin-italic {
    font-family: "Roboto", serif;
    font-weight: 100;
    font-style: italic;
  }
  
.roboto-light-italic {
    font-family: "Roboto", serif;
    font-weight: 300;
    font-style: italic;
  }
  
.roboto-regular-italic {
    font-family: "Roboto", serif;
    font-weight: 400;
    font-style: italic;
  }
  
.roboto-medium-italic {
    font-family: "Roboto", serif;
    font-weight: 500;
    font-style: italic;
  }
  
.roboto-bold-italic {
    font-family: "Roboto", serif;
    font-weight: 700;
    font-style: italic;
  }
  
.roboto-black-italic {
    font-family: "Roboto", serif;
    font-weight: 900;
    font-style: italic;
}