* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* --- Structure de la page --- */
body {
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Contenu principal */
main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

/* --- Avatar / Image --- */
.z {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2vh 0; /* ↓ marge réduite */
}

.u {
  width: 20%; /* ← agrandi (avant 10%) */
  height: auto;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  border: 0.5vh solid #fff;
  box-shadow: 0 0 1.5vh red;
  border-radius: 50%; /* rond */
  transition: transform 0.2s, box-shadow 0.2s;
}

.u:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1.5vh rgba(255, 255, 255, 0.9);
}

#photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Bloc de présentation --- */
.box {
  background-color: rgba(159, 31, 31, 0.984);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  word-break: break-word;
  max-width: 40%;
  margin-bottom: 20px;
  color: #fff;
}
.box:hover{ transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8);}

/* --- Liens du portfolio --- */
.portfolio-container {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.portfolio-box {
  background-color: yellow;
  padding: 20px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  text-align: center;
  color: #000;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.portfolio-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8);
}

/* --- Pied de page --- */
footer {
  background-color: green;
  padding: 20px;
  text-align: center;
  width: 100%;
}

footer a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

