@font-face {
  font-family: 'Outfit-Bold';
  src: url('../fuentes/Outfit-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Orbitron-Black';
  src: url('../fuentes/Orbitron-Black.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'Outfit-Bold', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.blog {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-family: 'Orbitron-Black', sans-serif;
  font-size: 2.5rem;
  color: #2f9cb3;
  margin-bottom: 0.5rem;
}

.blog-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: auto;
}

.blog-entradas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1000px) {
  .blog-entradas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .blog-entradas {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: scale(1.02);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-info {
  padding: 1.2rem;
}

.blog-info h2 {
  font-size: 1.4rem;
  color: #2f9cb3;
  margin-bottom: 0.5rem;
}

.blog-info p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.boton-blog {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #2f9cb3;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.boton-blog:hover {
  background-color: #257e93;
}
