styles.css

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    background: linear-gradient(135deg, #74ebd5, #9face6);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 100% ;
    overflow-x: hidden;
}

h1 {
    font-size: 1.7rem;
    color: #000000;
    text-align: center;
    transition: color 0.8s ease;
}

h2 {
    font-size: 1.7rem;
    color: #161616db;
    text-align: center;
    transition: color 0.8s ease;
}


p {
    font-size: 1.3rem;
    color: #000000;
    text-align: center;
    margin-top: 1rem;
    transition: color 0.8s ease;
}

a {
    text-decoration: none;    
    font-size: 1.45rem;
    color: #0800ff;
    font-weight: bold;
    transition: color 1.5s ease;
    text-align: center;
    text-indent: 2.5cm;
    position: relative;
}

.text {
    font-size: 1.7rem;
    color: #000000;
    text-align: center; 
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 80px;
    width: 80%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 40px;
    background-color: rgb(255, 255, 255,0.65); /* Couleur de fond avec transparence */
    transition: transform 1.9s ease, background-color 1.9s ease, color 1.9s ease; /* Ajout des transitions */
}

a::after {
    content: '';
    position: absolute;
    right: 0;
    width: 0%;
    bottom: -4px;
    height: 3px;
    background-color: #ffffff;
    margin-top: 5px;
    transition: width 0.3s ease-in-out;
}
a:hover::after {
    width: 100%;
    left: 0;
}

.text:hover {
    transform: scale(1.1);  /* fais des actios au survol */
    transition: transform 1.5s ease;
    background-color: rgb(128, 85, 255);
    text-size-adjust: 50%;
    cursor: pointer;
   
}

.text:hover h2,
.text:hover .underline,
.text:hover p {     
    color: rgb(255, 255, 255); 
}


.text:hover a,
.text:hover h1 {
    color: rgb(255, 255, 255);   
    text-shadow: 1px 1px 1px rgb(0, 238, 255);
    
}

.container {
    text-align: center;
    font-size: 1.7rem;
    padding: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: rgba(0, 128, 255, 0.9); /* Couleur de fond avec transparence */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.53);
    width: 100%;
    margin: auto;
    overflow: hidden;

}

.underline {
    text-decoration: underline;
    font-size: 1.7rem;
    color: #000000;
    text-align: center;
    margin-top: 1rem;
}

.footer-image {
    margin-bottom: -6px; /* Ajustez la valeur pour abaisser les images */
    display: inline-block; /* Assure que l'image reste alignée avec le texte */
}

* {
    box-sizing: border-box;
}
