nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

main {
  padding: 20px;
  text-align: center;
}

.intro img {
  width: 80%;
  max-width: 600px;
  margin-top: 20px;
  border-radius: 10px;
}

footer {
  background-color: #012052;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px;
  position: fixed;
  width: 100%;
  bottom: 0;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #e2ebf1;
  line-height: 1.6;
  padding: 20px;
}

h1{font-family: "Special Gothic Expanded One", sans-serif;
  transition: transform 0.5s;
  text-align: center;
  font-size: 60px;
}

h2{
  font-family: "Noto Sans", sans-serif;
}

header {
  text-align: center;
  background-color: #012052;
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

/*.Contenedor{
  background-color: #0c4e88;
  width: 1430px;
  height: 25px;
  display: flex;
  justify-content: space-around;
  font-family: "Noto Sans", sans-serif;
  border-radius: 10px;
  font-weight: normal;
  font-size: 15px;
}*/

.Contenedor {
  background-color: #0c4e88;
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-family: "Noto Sans", sans-serif;
  border-radius: 10px;
  font-weight: normal;
  font-size: 15px;
}


p{
  font-family: "Winky Rough", sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.section.reverse {
  flex-direction: row-reverse;
}

.text {
  flex: 1;
  min-width: 300px;
}

.image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/*.image img {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.5s;
}*/

.image img {
  width: 100%;
  height: auto;
  max-width: 450px;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s;
}



.image img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  margin-top: 40px;
  color: #888;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

.menu-item {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Clase que se activa desde JS */
.menu-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enlaces normales */
a {color: rgb(255, 255, 255); /* Color del enlace */
  text-decoration: none; /* Elimina el subrayado */
}

/* Enlaces visitados */
a:visited {color: #f5af77;
}

/* Enlaces al pasar el ratón */
a:hover {color: #f88846;
}

/* Enlaces activos (clickeados) */
a:active {color: #871612;
}

ul {list-style-type: none; /* Elimina los puntos de las listas desordenadas */
}

@media (max-width: 768px) {
  .Contenedor {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .menu li a {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #0c4e88;
    padding: 10px;
    border-radius: 8px;
  }
}

