/* RESET + fond général */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: radial-gradient(circle at center, #3057e1, #1a237e, #000);
  font-family: "Courier New", Courier, monospace;
  color: white;
}

/* Menu */
#nav-menu {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  height: 50px;
  background: rgba(200, 200, 200, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
  backdrop-filter: blur(10px);
}
#list-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  width: 100%;
}
#list-menu li {
  color: white;
}
#list-menu li:hover {
  color: #848482;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

/* Layout principal */
#main-contain {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ← changement ici pour centrer verticalement */
  padding: 60px 40px;
  width: 100%;
  min-height: 300px;
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid white;
  margin-top: 20px;
}

/* Partie gauche : 25 % */
.left-section {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partie droite : 75 % */
.right-section {
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

/* Intro stylée */
#intro {
   border-left: 3px solid #848482;
  border-radius: 3px;
  padding: 30px;
  max-width: 600px;
  font-size: 1.3rem;
  line-height: 1.6;
  background: linear-gradient(
    to right,
    rgba(160, 32, 240, 1),
    rgba(180, 0, 255, 0.7),
    rgba(200, 80, 255, 0.4),
    rgba(220, 100, 255, 0.1),
    rgba(240, 120, 255, 0)
  );
  font-weight: bold;
}

/* Cercle décoratif */
#cercle {
  height: 500px;
  width: 500px;
  background-color: #bbb;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#sect2{
   height: 100vh; /* prend 100% de la hauteur visible du navigateur */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement le contenu */
  align-items: center;
  padding: 40px;
}

.projects {
  padding: 60px 40px;
  background-color: rgba(255, 255, 255, 0.05);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background-color: rgba(255,255,255,0.1);
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

#sect3{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

#sect4{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}
