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

body {
  background-color: #f4f4f4;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3 {
  font-family: 'Merriweather', serif;
}

header {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: white;
  padding: 25px;
  text-align: center;
}

header h1 {
  font-size: 36px;
}

header p {
  font-size: 15px;
  margin-top: 8px;
}

nav {
  background-color: #272f47;
  padding: 15px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

.container {
  padding: 30px 20px;
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h2 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #022b08;
}

.card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  background-color: #2e7d32;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s, transform 0.1s;
}

.btn:hover {
  background-color: #1b5e20;
}

.btn:active {
  transform: scale(0.95);
}

footer {
  text-align: center;
  padding: 25px;
  background-color: #2e7d32;
  color: white;
  margin-top: 30px;
}

.curriculos {
  margin-top: 15px;
}

.curriculos p {
  margin-bottom: 10px;
  font-weight: bold;
}

.curriculos a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 5px 0;
  transition: opacity 0.3s;
}

.curriculos a:hover {
  opacity: 0.7;
}

/* Responsividade */
@media (max-width: 600px) {

  header h1 {
    font-size: 26px;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }

  .card img {
    height: 220px;
  }
}
.ods-container {
  margin-top: 20px;

  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.ods-container img {
  width: 85px;
  border-radius: 10px;

  transition: transform 0.2s;
}

.ods-container img:hover {
  transform: scale(1.05);
}

.livro-img {
  width: 100% !important;
  max-width: 350px;

  height: auto !important;
  object-fit: contain !important;

  display: block;
  margin: 0 auto 20px auto;
}
