*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    user-select: none;
    scroll-behavior: smooth;
    overflow-x: hidden;
}


section{
    width: auto;
    height: 100vh;
    background-image: url(img/black.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

div{
    width: 100%;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
}

img{
    margin: 21px;
    border-radius: 10px;
 

}
script{justify-content: center;}
/* 1. Définir l'état par défaut de l'image (le "point de départ") */
img {
    /* Propriété de transition : Appliquer à TOUTES les propriétés (dont transform) */
    /* Durée : 0.5s */
    /* Fonction de minutage : ease-in-out pour un démarrage et un arrêt en douceur */
    transition: transform 0.3s ease-in-out; 
    
    /* Il est important que l'image ait un z-index initial si tu veux qu'elle passe au-dessus */
    position: relative; 
    z-index: 1;
}

/* 2. Définir l'état au survol de la souris (le "point d'arrivée") */
img:hover {
    /* 'scale(1.1)' agrandit l'image de 10% (1 = 100%) */
    transform: scale(1.1); 
    
    /* Optionnel mais recommandé : augmente le z-index pour s'assurer */
    /* que l'image agrandie passe AU-DESSUS des images voisines. */
    z-index: 10; 
}
img:hover {
    transform: scale(1.1);
    z-index: 10;
    /* Ajoute une ombre douce */
    box-shadow: 0 10px 20px rgba(130, 130, 130, 0.5); 
}
div {
    padding-left: 15px; /* 🔥 équilibre les côtés */
}

#footer{
    display: flex;
    justify-content: center;
    align-items: center;
}

.tr{
    text-decoration: none;
    color: aliceblue;
    font-size: 25px;
    font-weight: 500;
    border: solid 1px rgb(49, 48, 48);
    border-radius: 12px;
    padding: 9px 20px;
    transition: 0.7s;
    margin: 0;
    margin-right: 300px;
}

.tr:hover{
    background-color: red;
}

h2{
    color: aliceblue;
}

body{
    background-color: black;
}

@media (min-width: 769px) and (max-width: 1024px){
    body{
        background-color: black;
    }
}

/* PHONES */
@media (min-width: 481px) and (max-width: 768px){
body{
        background-color: black;
    }
}

/* SMALL PHONES */
@media (min-width: 300px) and (max-width: 480px){
body{
        background-color: black;
    }
}

p{
    color: aliceblue;
    font-size: x-large;
    position: relative;
    overflow-wrap: break-word;
    max-width: 350px;
    top: 5px;
}