body.bloc-note {
    background-image: url('/images/carreaux.png');
    background-repeat: repeat;
    background-size: auto;
}

/* Logo */
.rainbow {
  font-family: 'Righteous', cursive;
  font-size: clamp(2rem, 8vw, 5rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .05em;
  margin: 0 auto;
  text-align: center;
}

.rainbow span {
  color: hsl(0, 70%, 80%);
  animation: pastel 3s infinite alternate;
  animation-delay: calc(var(--i) * .2s);
}

@keyframes pastel {
  0%   { color: hsl(0, 70%, 80%); }
  25%  { color: hsl(60, 70%, 80%); }
  50%  { color: hsl(140, 70%, 80%); }
  75%  { color: hsl(200, 70%, 80%); }
  100% { color: hsl(280, 70%, 80%); }
}

/* Fin logo */

/* centrer tout le contenu */
.page-center {
   display: flex;
    flex-direction: column; /* éléments les uns sous les autres */
    align-items: center;    /* centrage horizontal */
    
    margin-top: 60px; /* hauteur réelle du menu */
    padding: 40px;
    overflow-y: auto;
    height: calc(100vh - 60px);
}


/* Conteneur du formulaire */
.form-wrapper {
    background: white;
    padding: 40px;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

/* Titre */
.form-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Labels */
.form-wrapper label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Champs */
.form-wrapper input[type="text"],
.form-wrapper input[type="password"] ,
.form-wrapper input[type="email"]
{
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* Bouton */
.form-wrapper button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.form-wrapper button:hover {
    background: #0056b3;
}

/* Top menu */

.top-menu {
    background: #333;
    color: white;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-menu nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
}


