/* Configuration générale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;

}

/* Colonnes */
.left-column,
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.left-column {
   position: relative; /* Nécessaire pour le positionnement absolu des enfants */
    width : 50%
    height: 100%;
    overflow: hidden;
    background-color: transparent;

}
/* Logo */
.logo {
    position:relative;
    background-color:transparent;
    width:30%;
    height:15%;
    top: 5%;
    left:35%;
    display: flex;
    align-items: center;

}

.logo img {
    width: 50%;
    height:100%;
}

.logo h1 {
    font-size: 24px;
    color: black;
    font-weight: bold;
    width: 40%;
    margin-left:10%;
    padding :10%
    height:100%;
}
#content {
    width: 80%;
    height: 75%;
    background-color: transparent; /* Couleur de fond pour visualisation */
    position: absolute; /* Nécessaire pour centrer avec `top` et `left` */
    top: 22.5%; /* Positionne le centre verticalement */
    left: 10%; /* Positionne le centre horizontalement */
    display: flex; /* Utilise flexbox pour centrer le contenu */
    flex-direction: column; /* Aligne les boutons verticalement */
    align-items: center; /* Centre horizontalement */

}
#btn-inscription ,#btn-connexion{
    width: 75%; /* Largeur relative au parent */
    padding: 10px; /* Espace interne */
    margin: 10% 0; /* Espace vertical entre les boutons */
    border-radius: 15px; /* Coins arrondis */
    border: none; /* Supprime la bordure par défaut */
    background-color: blue; /* Couleur de fond */
    color: white; /* Couleur du texte */
    font-size: 16px; /* Taille du texte */
    cursor: pointer; /* Curseur pointeur */
    text-align: center; /* Centre le texte à l'intérieur du bouton */
    transition: background-color 0.3s ease; /* Animation fluide */
}

#btn-connexion:hover,#btn-inscription:hover {
    background-color: #2381DF  /* Change la couleur au survol */
}


.right-column {
    position: relative; /* Nécessaire pour le positionnement absolu des enfants */
    width : 50%
    height: 100%;
    overflow: hidden;
    background-color: #065AD8;
    text-align: center;
    flex-direction:line;
}
.rotating-images {
    width : 80%;
    height : 80%;
    left:10%;
    top:7%;
    background-color:#1D79E3;
    text-align: center;
    position:relative;
    border-radius:50%;
    overflow: hidden;

}

#img-1 {
    position: absolute;
    top: 4%; /* Placée en haut */
    left: 30%; /* Centrée horizontalement */
    width: 40%;
    height: 40%;
}

/* Image 2 - En bas à gauche */
#img-2 {
    position: absolute;
    top: 50%; /* Placée en bas */
    right: 10%; /* Positionnée à gauche */
    width: 30%;
    height: 30%;
}

/* Image 3 - En bas à droite */
#img-3 {
    position: absolute;
    bottom: 4%; /* Placée en bas */
    left: 20%; /* Positionnée à droite */
    width: 15%;
    height: 15%;
}



/* Description en bas */
.description {
    position: absolute; /* Position relative au conteneur .right-column */
    bottom: 0; /* Placé au bas du conteneur */
    width: 100%; /* Adopte la largeur du parent */
    text-align: center; /* Centrer le texte */
    font-size: 16px;
    color: white; /* Texte blanc */
    background-color: transparent; /* Couleur de fond */
    padding: 10px; /* Espacement interne */
     height:5%;
}
#h1-right{
    position: absolute; /* Position relative au conteneur .right-column */
    bottom: 25px; /* Placé au bas du conteneur */
    width: 100%; /* Adopte la largeur du parent */
    text-align: center; /* Centrer le texte */
    font-size: 25px;
    color: white; /* Texte blanc */
    background-color: transparent; /* Couleur de fond */
    padding: 10px; /* Espacement interne */
     height:8%;
}

/* Style pour les messages */
.messages {
    width: 100%;
    margin-top: 20px;
}

/* Classe pour les messages de succès */
.alert.success {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Classe pour les messages d'erreur */
.alert.error {
    background-color: #f44336;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

