* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  background-image: url(../imagenes_alta/prove.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden; /* Evita el scroll */
}

/* HEADER FIJO */
.contenedor-header {
  width: 100%;
  background: #0b6730;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column; /* Cambiado a columna */
  align-items: center; /* Centra el contenido horizontalmente */
}

.appbar {
  display: flex;
  justify-content: center; /* Centra el logo */
  align-items: center;
  padding: 10px 20px;
}

.logo-prove img {
  width: 120px; /* Ajusta el tamaño del logo */
}

.nav-enlaces {
  display: flex; /* Cambiado a flex para que los enlaces estén en fila */
  justify-content: center; /* Centra los enlaces */
  padding: 5px 0; /* Espaciado alrededor de los enlaces */
}

.nav-enlaces a {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 30px;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.nav-enlaces a:hover {
  background-color: #42b257;
  color: white;
}

.redes-links a {
  margin: 0px;
}

.redes-links img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1); /* Hace los iconos blancos */
}

.redes-links .insta-icon:hover {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(41%) sepia(87%) saturate(456%) hue-rotate(320deg) brightness(85%) contrast(101%);
}

.redes-links .face-icon:hover {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(300%) hue-rotate(171deg) brightness(85%) contrast(103%);
}

/* Estilos de imágenes */
.logo-links {
  width: 24px;
  height: 24px;
  margin: -2px 8px 0 0;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(100%);
}

.redes-links img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.redes-links .insta-icon:hover {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(41%) sepia(87%) saturate(456%) hue-rotate(320deg) brightness(85%) contrast(101%);
}

.redes-links .face-icon:hover {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(300%) hue-rotate(171deg) brightness(85%) contrast(103%);
}

/* FOOTER FIJO */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0b6730;
  color: white;
  padding: 25px;
  text-align: center;
}

/* CONTENEDOR PRINCIPAL */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
  padding: 80px 20px; /* Espaciado para que no tape el header y footer */
}

/* Centro */
.container-form {
  display: flex;
  border-radius: 20px;
  box-shadow: 0 5px 7px rgba(0, 0, 0, .1);
  height: 300px;
  max-width: 900px;
  margin: auto;
}

.information, .form-information {
  width: 50%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 35px;
}

.information {
  background-color: #0B6730;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.form-information {
  background-color: #f8f8f8;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.info-childs, .form-information-childs {
  width: 100%;
  padding: 0 30px;
}

.info-childs h2 {
  font-size: 1.5rem;
  color: whitesmoke;
}

.info-childs p {
  margin: 15px 0;
  color: whitesmoke;
}

.info-childs input {
  background-color: transparent;
  outline: none;
  border: solid 2px whitesmoke;
  border-radius: 20px;
  padding: 10px 20px;
  color: whitesmoke;
  cursor: pointer;
  transition: background-color .3s ease;
}

.info-childs input:hover, .form-information-childs button:hover {
  background-color: red;
  border: none;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.form-information-childs h2 {
  color: #333;
  font-size: 1.5rem;
}

.form-information-childs p {
  color: #555;
}

.form-information-childs button {
  background-color: #0B6730;
  color: #fff;
  border-radius: 20px;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: red;
}

@media screen and (max-width: 750px) {
  html {
    font-size: clamp(13px, 2vw, 15px);
  }

  /* AJUSTES EN NAVEGACIÓN PARA MÓVILES */
  .nav-container {
    overflow-x: auto;
    padding-bottom: 0px;
  }

  .nav-enlaces {
    flex-direction: row; /* Asegúrate de que los enlaces se mantengan en fila */
  }
  
  .nav-enlaces a {
    margin: 5px; /* Ajusta el margen para pantallas pequeñas */
    font-size: 0.8rem; /* Ajusta el tamaño de fuente de los enlaces */
    padding: 6px 12px; /* Ajusta el padding para que se vea bien en pantallas pequeñas */
  }

  /* Ajustes para el logo */
  .logo-prove img {
    width: 80px; /* Ajusta el tamaño del logo para pantallas pequeñas */
    height: 50px;
  }

  .redes-links img {
    width: 20px; /* Ajusta el tamaño del logo para pantallas pequeñas */
    height: 25px;
  }

  /* AJUSTES EN EL FORMULARIO */
  .container-form {
    flex-direction: column;
    height: auto;
	padding-bottom: 65px;
  }

  .information, .form-information {
    width: 100%;
    padding: 10px;
    border-radius: 0;
  }

  .information {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .form-information {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
}