.datos-academicos {
  padding: 40px 20px;
}

.tarjetas-academicas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.tarjetas-academicas .tarjeta {
  background-color: #030374;
  color: #b3cc99;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.tarjetas-academicas .tarjeta:hover {
  transform: translateY(-5px);
}

.tarjetas-academicas .tarjeta img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  background-color: none;
  margin-bottom: 15px;
  border-radius: 8px;
}

.tarjetas-academicas .tarjeta h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #b3cc99;
}

.tarjetas-academicas .tarjeta a {
  color: #b3cc99;
  font-weight: bold;
  text-decoration: underline;
}

.tarjetas-academicas .tarjeta a:hover {
  color: #a84a06;
}
body {
  margin: 20px;
  padding: 0;
  font-family: sans-serif;
  background-color: #b3cc99;
  color: #222;
}
.barra-superior {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #030374;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.logo img {
  height: 50px;
}
.botones-superiores {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.botones-superiores a {
  text-decoration: none;
  color: #b3cc99;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 0.95rem;
}
.botones-superiores a:hover {
  color: #a84a06;
}
main {
  margin-top: 80px;
  padding: 20px;
}
.presentacion {
  text-align: left;
  padding: 40px 20px;
}

.presentacion h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  background-color: #030374;
  color: #b3cc99;
  padding: 15px 25px;
  display: inline-block;
  border-radius: 8px;
  text-align: center;
  margin: 20px auto;
  font-size: 2rem;
}
.presentacion img {
  display: block;
  margin: 0;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.historia-academica {
  padding: 40px 20px;
}

.tarjetas-historia {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.tarjeta {
  background-color: #030374;
  color: #b3cc99;
  border-radius: none;
  padding: 20px;
  width: 300px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.tarjeta h3 {
  margin-top: 0;
  font-size: 1.3rem;
  text-align: center;
}

.tarjeta ul {
  list-style: none;
  padding-left: 0;
}

.tarjeta li {
  margin-bottom: 8px;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  font-size: 2rem;
  color: #b3cc99;
  cursor: pointer;
  padding: 10px;
}

.menu-navegacion .botones-superiores {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 15px;
  background-color: #030374;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 999;
}

.menu-toggle:checked + .menu-icon + .menu-navegacion .botones-superiores {
  display: flex;
}

.botones-superiores li {
  margin: 10px 0;
  text-align: right;
}
.presentacion-horizontal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.presentacion-imagen img {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
  display: block;
}
.presentacion-texto {
  background-color: #b3cc99;
  border: 2px dashed #a84a06;
  border-radius: 16px;
  padding: 20px;
  flex: 1;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  line-height: 1.6;
}