/* Estilo del body con degradado verde claro animado */
body {
  margin: 10px;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #6de9a1, #d0f5e1, #b2f7ce);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  min-height: 100vh;
  
}

/* Animación del degradado */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Header */
.main-header { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 20px;
  color: rgb(0, 0, 0);
  border-radius: 20px;
 box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

}

/* Logo */
.logo img {
  height: 100px;
}

/* Menú */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > ul > li {
  position: relative;
  display: inline-block;
}

.menu a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  font-weight: bolder;
}


.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0; /* Alinea el menú al borde derecho del <li> */
  transform: translateX(-40px); /* Desplaza hacia la izquierda */
  background-color: #ffffff;
  min-width: 180px;
  padding: 10px 0;
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.dropdown-menu li a {
  color: #333;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #f1f1f1;
  border-radius: 12px;
}

.banner {
  width: 95%;
  margin-top: 20px;
  max-height: 300px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-bottom: 30px;
}

.banner img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.titulo{
    text-align: center;
}


.tarjetas {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.tarjetas .tarjeta-1,
.tarjetas .tarjeta-2,
.tarjetas .tarjeta-3 {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tarjetas .tarjeta-1:hover,
.tarjetas .tarjeta-2:hover,
.tarjetas .tarjeta-3:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.tarjetas img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 15px;
}

.tarjetas a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #008f5e;
  font-size: 16px;
  margin-top: 10px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 30px 20px;
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05);
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
 
}

footer img {
  width: 100px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}


footer .info h4 {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}




 

  form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    
  }

  h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
  }

  label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
  }

  input[type="text"],
  input[type="password"],
  input[type="number"],
  select,
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
  }

  input[type="submit"] {
    background-color: #00c6ff;
    background-image: linear-gradient(45deg, #0072ff, #00c6ff);
    border: none;
    color: white;
    padding: 12px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  input[type="submit"]:hover {
    background-image: linear-gradient(45deg, #0059ff, #00aaff);
    transform: scale(1.03);
  }

 @media screen and (max-width: 768px) { 
        
        
        footer {
            flex-direction: column;
        }
        
        
    }