/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Veille Container */
.veille-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Réduire la largeur des colonnes */
  gap: 15px; /* Réduire l'écart entre les cartes */
  padding: 20px 0;
  margin-top: 20px;
}

/* Cards */
.card {
  background-color: #3A3A3A;
  padding: 20px;
  border-radius: 10px;
  color: #E0E0E0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

/* Card Hover Effects */
.card:hover {
  transform: translateY(-5px);
  background-color: #444;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #cccccc;
}

.card a {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.card a:hover {
  background-color: #0056b3;
}

/* Image Size */
.card img {
  width: 250px; /* Réduire la largeur de l'image */
  height: auto;
  object-fit: cover;
  margin-bottom: 15px; /* Espacement entre l'image et le texte */
}

/* Section */
section {
  padding: 40px;
  margin-bottom: 40px;
}

/* Hero Section */
.hero {
  background-color: #2C2C2C;
  padding: 80px 0;
  text-align: center;
  color: #E0E0E0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.hero .btn:hover {
  background-color: #0056b3;
}

/* Intro, Projects, Contact */
.intro, .projects, .contact {
  background-color: #2C2C2C;
  color: #E0E0E0;
  text-align: center;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background-color: #3A3A3A;
  padding: 20px;
  border-radius: 7px;
  text-align: center;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.project-card .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.project-card .btn:hover {
  background-color: #0056b3;
}

/* Contact Section */
.contact .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.contact .btn:hover {
  background-color: #0056b3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #1E1E1E;
  color: #E0E0E0;
  font-size: 16px;
}

a {
  color: #007BFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

section {
  padding: 40px;
  margin-bottom: 40px;
}

.hero {
  background-color: #2C2C2C;
  padding: 80px 0;
  text-align: center;
  color: #E0E0E0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.hero .btn:hover {
  background-color: #0056b3;
}

.intro, .projects, .contact {
  background-color: #2C2C2C;
  color: #E0E0E0;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background-color: #3A3A3A;
  padding: 20px;
  border-radius: 7px;
  text-align: center;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.project-card .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.project-card .btn:hover {
  background-color: #0056b3;
}

.contact {
  text-align: center;
  background-color: #2C2C2C;
}

.contact .btn {
  background-color: #007BFF;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

.contact .btn:hover {
  background-color: #0056b3;
}
