body {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #222;
  margin: 0;
  line-height: 1.6;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://www.mauffrey.academy/images/camion.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
header {
  background: #cc00005e;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
header img {
  height: 60px;
  margin-right: 15px;
}
header h1 {
  margin: 0;
  font-size: 2rem;
}
nav {
  background: #eee;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem;
}
nav a {
  color: #191e23;
  text-decoration: none;
  font-weight: 400;
}
nav a:hover {
  text-decoration: underline;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  margin-bottom: 3rem;
}
h2 {
  color: #c00;
  border-bottom: 2px solid #c00;
  padding-bottom: 0.3rem;
}
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.actus {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
p {
  margin: 5px;
}

.intro-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Image */
.intro-img {
  width: 160px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.intro-text {
  flex: 1;
}

@media (max-width: 800px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }

  .intro-img {
    width: 200px;
    margin-bottom: 10px;
  }

  .intro-text {
    text-align: center;
  }
}
