* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh; /* corrigé */
}

/* --- IMAGE --- */
.z {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.u {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 100em;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  border: 0.5vh solid yellow;
  box-shadow: 0 0 1.5vh blue;
  transition: transform 0.2s, box-shadow 0.2s;
}

.u:hover {
  transform: scale(1.05);
  box-shadow: 0 0 2vh red;
}

 /* unvisited link */
a:link {
  color: red;
}

/* visited link */
a:visited {
  color: green;
}

/* mouse over link */
a:hover {
  color: hotpink;
}

/* selected link */
a:active {
  color: blue;
} 

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

/* --- CONTENU PRINCIPAL --- */
main {
  flex: 1;
  display: flex;
  flex-direction: column; /* ← empile les 2 lignes verticalement */
  align-items: center;
  justify-content: center;
  gap: 40px; /* espace entre la ligne du haut et celle du bas */
  padding: 40px 0;
  color: beige;

}

/* Chaque ligne de 3 box */
.Portofolio-row {
  display: flex;
  gap: 50px;
  justify-content: center;
}

/* Style des box */
.Portofolio-box {
  background-color: antiquewhite;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px red;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0, 3, 6);
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 120px;
}

.Portofolio-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px red;
}

h1  {
  color: beige;
}

/* --- FOOTER --- */
footer {
  background-color: aqua;
  color: black;
  text-decoration: none;
  font-weight: bold;
  width: 100%;
  text-align: center;
  padding: 20px;
}
