#logo {
  width: 400px;
  margin-bottom: 20px;
}

body {
  width: 100%;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  text-align: center;
  line-height: 1.6;
}

.container {
  width: 95%;
  max-width: 1500px;
  margin: auto;
  padding: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

h2 {
  /* color: #304b7f; */
  color: #000;
  text-align: center;
}

ul {
  list-style-type: none; /* Elimina los puntos predeterminados */
  padding-left: 0; /* Quita el sangrado de la izquierda */
}

ul li {
  display: flex; /* Alinea los elementos horizontalmente */
  align-items: center; /* Centra verticalmente los elementos */
  margin-bottom: 10px; /* Espacio entre los elementos de la lista */
}

.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #f9f9fc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: justify;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.objval {
  text-align: left;
}

/* Esquinas superior derecha e inferior izquierda (Bordes) */
.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 5px solid #ccc; /* Color del borde */
}

.card::before {
  top: 5px;
  right: 5px;
  border-left: none;
  border-bottom: none;
}

.card::after {
  bottom: 5px;
  left: 5px;
  border-right: none;
  border-top: none;
}

/* Esquinas superior izquierda e inferior derecha (Diseño en gradiente) */
.corner {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #172e73, #009cdf);
  box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.5);
}

.top-left {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.bottom-right {
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 100%, 0% 100%, 100% 0%);
}

.card:hover {
  transform: translateY(-10px); /* Mueve la tarjeta hacia arriba */
  background: #fff; /* Cambia el color de fondo */
}

.team {
  background: #f9f9fc;
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.team-member {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  width: 200px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
  transform: translateY(-10px); /* Mueve la tarjeta hacia arriba */
  background: #fff; /* Cambia el color de fondo */
}

.team-photo {
  width: 100px; /* Ajusta el tamaño de la foto */
  height: 100px;
  object-fit: cover; /* Mantiene la proporción de la imagen */
  border-radius: 50%; /* Hace que la imagen sea circular */
  border: 3px solid #304b7f; /* Borde pequeño alrededor de la imagen */
  margin-bottom: 15px; /* Espacio entre la foto y el texto */
}

/* Esquinas superior derecha e inferior izquierda (Bordes) */
.team::before,
.team::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 5px solid #ccc; /* Color del borde */
}

.team::before {
  top: 5px;
  right: 5px;
  border-left: none;
  border-bottom: none;
}

.team::after {
  bottom: 5px;
  left: 5px;
  border-right: none;
  border-top: none;
}

.cargo {
  color: #304b7f;
}

.antecedentes {
  background: #f9f9fc;
  margin-top: 40px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: justify;
  line-height: 2;
  position: relative;
  overflow: hidden;
}

/* Esquinas superior derecha e inferior izquierda (Bordes) */
.antecedentes::before,
.antecedentes::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 5px solid #ccc; /* Color del borde */
}

.antecedentes::before {
  top: 5px;
  right: 5px;
  border-left: none;
  border-bottom: none;
}

.antecedentes::after {
  bottom: 5px;
  left: 5px;
  border-right: none;
  border-top: none;
}

footer {
  margin-top: 20px;
  padding: 15px;
  background: #304b7f;
  color: white;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribuye los elementos */
  text-align: center;
  flex-wrap: wrap; /* Permite que los elementos se acomoden si no caben */
}

.footer-logo {
  width: 100px;
  height: auto;
}

.footer-text {
  max-width: 60%;
}

.contacto a {
  color: #f5d742; /* Color amarillo para resaltar */
  text-decoration: none;
}

.contacto a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  #logo {
    max-width: 100%;
    width: auto;
    height: auto;
  }

  .info {
    grid-template-columns: 1fr;
  }

  .objval {
    text-align: left;
  }

  .team-grid {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
  }

  .card,
  .team,
  .antecedentes {
    padding: 15px 10px;
  }

  .contacto {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido en móviles */
    text-align: center;
  }

  .contacto a {
    margin-top: 5px;
  }

  .footer-logo:first-of-type {
    display: none;
  }
}
