body{
    font-family: Arial, sans-serif;
    padding: auto;
    margin: auto;
}
main {
  padding-top: 60px; /* pour décaler le contenu sous la navbar */
  flex: 1; /* prend toute la place dispo */
}

.footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 0.9rem;
}


#TITLE {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: larger;
    align-items: center;
    padding: 10px 20px;

}

#Name{
    display: flex;
    gap: 5px;
}

.LETTER {
  font-family: 'Bradley Hand', cursive;
  font-size: 50px; /* Taille par défaut */
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: space-between;
    padding: 0px; /* espace entre les lettres */
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
}

.LETTER span {
    margin: 2px;
    color: black;
}

/* Cache le texte par défaut */
.hiddenText {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

/* Affiche uniquement quand on survole la lettre */
.LETTER:hover .hiddenText {
    max-width: 200px;
    opacity: 1;

}

#login-button{
    background-color: #ffffff;
    height: 100%;
}


.MenuBar {
    display: flex;
    justify-content: left;
    /* background-color: rgb(199, 194, 194); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); */
    padding: 0;
    margin: 0;
    height: 20px; /* Hauteur contrôlée */
    overflow: hidden;
}

.MenuLink {
    display: flex;
    align-items: center;
    border: none;
    background-color: white;
    height: 100%; /* Pour caler le texte verticalement */
    padding: 0 10px;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    line-height: 1; /* évite que le texte gonfle la ligne */
}

/* .MenuLink:hover {
    background-color: rgb(147, 146, 146);
    color: white;
} */

.MenuLink::after {
    content: "";
    position: absolute;
    bottom: 1px; /* Positionné en bas du lien */
    left: 0;
    width: 0;
    height: 1px;
    background-color: black;
    transition: width 0.3s ease;
}

.MenuLink:hover::after {
    width: 100%;
}



/* Mobile: vertical */
@media (max-width: 768px) {
    .MenuBar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
    }

    .MenuLink {
        height: auto;
        padding: 15px 10px;
        width: 100%;
        border-bottom: 1px solid #aaa;
    }

    .MenuLink::after {
        bottom: 10px;
    }
}



/* Image arrière plan */

#CONTENT{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
}

.image-container {
  position: relative;
  width: 100%;
  margin: auto;
}

.image-container img {
  width: 100%;
  display: block;
}

.texte-superpose {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 70%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: large;
  font-weight: bold;
  background-color: rgba(254, 253, 253, 0.547); /* fond noir transparent */
  padding: 30px;
  border-radius: 10px;
}
