section {
  padding: 20px;
  text-align: center !important;
}

header {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
}

main.detalle {
  margin: 0;
  font-family: "Ancizar sans", Tahoma, Geneva, sans-serif !important;
  padding: 0 !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Ancizar sans", Tahoma, Geneva, sans-serif !important;
  text-align: center !important;
}

h3 {
  color: white !important;
  font-weight: bold !important;
  font-style: italic !important;
  font-size: 2.6rem;
  margin-top: 0 !important;
}

h1::before,
h2::before,
h3::before {
  display: none;
}

h1::before {
  content: none !important;
}

main.detalle h3 {
  color: white !important;
  font-weight: bold !important;
  font-style: italic !important;
  font-size: 2.6rem;
  margin-top: 0 !important;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: white;
  min-height: 100vh;
}

body {
  background-image: url("https://minas.medellin.unal.edu.co/images/home/Opcion_3-01.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  min-height: 100vh;
}

.banner {
  width: 100%;
  aspect-ratio: 16 / 5; /* O ajusta según tu imagen real */
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

header {
  padding: 0rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
  margin: 0;
  font-size: 5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2em;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

nav ul li {
  margin: 0 0.5rem;
}

/* Contenedor del menú de navegación */
nav .nav-buttons {
  display: flex;
  justify-content: center; /* Centra los botones */
  gap: 15px; /* Espaciado entre botones */
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

/* Botones dentro del menú */
.nav-buttons li a button {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 25px; /* Bordes redondeados */
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 2rem;
}

/* Efecto hover */
.nav-buttons li a button:hover {
  transform: scale(1.05); /* Agranda ligeramente al pasar el cursor */
  opacity: 0.9; /* Hace el botón un poco más claro */
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.2em;
  font-style: italic;
}

p {
  font-size: 1.7rem;
}

a.button {
  font-size: 1.7rem;
}

main.detalle ul li {
  border-bottom: none !important;
  list-style-image: none !important;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.button {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-color: white;
}

footer {
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

#introduccion {
  background: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
  color: white; /* Texto blanco para contraste */
  padding: 20px 40px; /* Espaciado interno reducido en los lados */
  margin: 20px auto; /* Espaciado externo */
  max-width: 95%; /* Permite que el contenedor sea más ancho */
  border-radius: 10px; /* Bordes redondeados */
  text-align: justify; /* Justificación del texto para que sea uniforme */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Sombra para profundidad */
}

#introduccion h2 {
  color: #ffaa00; /* Color del título */
  margin-bottom: 15px; /* Espaciado debajo del título */
  text-align: center; /* Alineación centrada del título */
}

#introduccion p {
  font-size: 1.7rem; /* Tamaño del texto del párrafo */
  line-height: 1.6; /* Espaciado entre líneas */
  margin-bottom: 15px; /* Espaciado entre párrafos */
}

.perfil-egreso {
  text-align: center;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.perfil-egreso:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.perfil-egreso a {
  text-decoration: none;
  color: #0056b3;
  font-size: 3rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.perfil-egreso a:hover {
  color: #003d82;
}

.perfil-egreso img {
  display: inline;
  margin-left: 0.5rem;
  vertical-align: middle;
  width: 35px;
  height: 35px;
}

.breadcrumb-class {
  display: none !important;
}

.video-container {
  width: 50%; /* o usa 60% si quieres un poco más grande */
  max-width: 560px;
  margin: 2em auto;
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


@media (max-width: 576px) {
  .video-container {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .video-container {
    max-width: 1400px;
  }
}

@media (max-width: 768px) {
  header {
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }

  .card-container {
    grid-template-columns: 1fr;
  }

  header h1 {
    display: none;
  }
}
