:root {
  --plum-deep: #592851;
  --berry-dark: #732f6e;
  --mint-gray: #a8bfbb;
  --sage-green: #86a694;
  --rose-dust: #bfaaaa;
  --cream: #fdf6e2;
  --mustard: #fbcb66;
  --light-cream: #fff7e4;
}

h1 {
  font-family: "Fredoka", sans-serif;
  font-size: 48px;
  font-weight: bolder;
  margin-top: 0px;
}

h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 36px;
  font-weight: bold;
}

h3 {
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

p {
  font-family: "Baloo 2", sans-serif;
  font-size: 18px;
  font-weight: lighter;
}
/* Estilo de los botones */

.btn-container {
  position: relative;
  width: 20%;
  height: 50px;
  border: 2.5px solid black;
  border-radius: 50px;
  box-shadow: 4px 4px 0 var(--mint-gray);
  cursor: pointer;
  overflow: hidden;
  background-color: transparent;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--mustard);
  border-radius: 50px;
  top: 10px;
  left: 0;
  transition: top 0.5s ease;
  z-index: 0;
  inset: 10px 0 0 0;
}

.btn-text {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Baloo 2", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.btn-container:hover .btn-fill {
  top: 0px;
}

.btn-container:hover {
  transform: translateY(-5px);
}

/*Estilo Info-Section General*/

.info-section {
  overflow: hidden;
  padding: 30px;
  margin: 5%;
  background-color: var(--cream);
  border-radius: 30px;
}

/* Estilo de Navbar*/
.navbar{
  position: sticky;
  top: 0;
  z-index: 1000;
}

.h1-nav {
  margin: 0 auto;
  padding: 0.5rem 1rem;
  font-size: 2.5vw;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  margin: 0 auto;
}

.nav-text {
  color: var(--plum-deep);
  text-align: left;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  position: absolute;
  left: 4%;
  z-index: 4;
}

.nav-container1 {
  height: 80px;
  position: relative;
  width: 100%;
}

.nav-container2 {
  height: 100%;
  position: static;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
  height: 100%;
}

.nav-links {
  position: absolute;
  /* right: 20%; */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 3rem;
  align-items: center;
  z-index: 5;
  left: 30%;
  justify-content: space-around;
}

.nav-links a {
  color: var(--cream);
  font-family: "Fredoka", sans-serif;
  font-size: 1.3vw;
  font-weight: 400;
  padding: 3%;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  margin: 0;
}

.nav-links a:hover {
  background-color: rgba(253, 246, 226, 0.2);
  color: var(--cream);
  transform: translateY(0px);
  height: 100%;
}

.custom-navbar-shape {
  width: 30vw;
  height: 100%;
  background-color: var(--light-cream);
  display: flex;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 0%,
    80% 50%,
    100% 100%,
    100% 100%,
    0% 100%
  );
}

/* Efecto sliding del Navbar*/

.nav-rectangle {
  background: linear-gradient(
    90deg,
    rgba(89, 40, 81, 1) 15.384615957736969%,
    rgba(115, 47, 110, 1) 34.13461446762085%,
    rgba(168, 191, 187, 1) 54.326921701431274%,
    rgba(134, 166, 148, 1) 70.67307829856873%,
    rgba(191, 170, 170, 1) 88.46153616905212%,
    rgba(89, 40, 81, 1) 100%
  );
  width: 100%;
  height: 99%;
  position: absolute;
  left: 0.25px;
  top: 0.5px;
  background-size: 200% 100%;
  animation: slideGradient 4s ease-in-out infinite;
  z-index: 1;
}

.navbar-sliding {
  background: linear-gradient(
    90deg,
    rgba(89, 40, 81, 1) 15.384615957736969%,
    rgba(115, 47, 110, 1) 34.13461446762085%,
    rgba(168, 191, 187, 1) 54.326921701431274%,
    rgba(134, 166, 148, 1) 70.67307829856873%,
    rgba(191, 170, 170, 1) 88.46153616905212%,
    rgba(89, 40, 81, 1) 100%
  );
  background-size: 200% 100%;
  animation: slideGradient 4s ease-in-out infinite;
}

.navbar-sliding-fast {
  background: linear-gradient(
    90deg,
    rgba(89, 40, 81, 1) 15.384615957736969%,
    rgba(115, 47, 110, 1) 34.13461446762085%,
    rgba(168, 191, 187, 1) 54.326921701431274%,
    rgba(134, 166, 148, 1) 70.67307829856873%,
    rgba(191, 170, 170, 1) 88.46153616905212%,
    rgba(89, 40, 81, 1) 100%
  );
  background-size: 200% 100%;
  animation: slideGradient 2s ease-in-out infinite;
}

.navbar-sliding-slow {
  background: linear-gradient(
    90deg,
    rgba(89, 40, 81, 1) 15.384615957736969%,
    rgba(115, 47, 110, 1) 34.13461446762085%,
    rgba(168, 191, 187, 1) 54.326921701431274%,
    rgba(134, 166, 148, 1) 70.67307829856873%,
    rgba(191, 170, 170, 1) 88.46153616905212%,
    rgba(89, 40, 81, 1) 100%
  );
  background-size: 200% 100%;
  animation: slideGradient 6s ease-in-out infinite;
}

@keyframes slideGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/*Estilo del footer*/

#text-footer {
  color: var(--cream);
  text-align: center;
}

/*Estilos responsive del Navbar */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 14px;
    padding: 0.3rem 0.8rem;
  }
}

.hamburger {
  z-index: 5;
  font-size: 30px;
  background: none;
  color: var(--berry-dark);
  border: none;
  cursor: pointer;
  display: none;
}

.hamb-img {
  display: none;
}

.h1-nav-hamb {
  display: none;
}



@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--cream);
    position: absolute;
    top: 90px; 
    width: 60%;
    min-height: 100vh; /* Más alto - 70% de la altura de la ventana */
    padding: 1rem 1rem; /* Más padding vertical */
    color: var(--plum-deep);
    gap: 1.5rem; /* Más espacio entre elementos */
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-radius: 15px; /* Esquinas redondeadas */
    justify-content: flex-end; /* Alinear desde arriba */
  }

  .nav-links.show {
    display: flex;
    top:100%
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .h1-nav {
    font-size: 0;
  }

  .h1-nav::before {
    content: "F";
    color: var(--plum-deep);
    font-size: 2rem;
    display: inline-block;
    margin: 0 auto;
  }

  .nav-text {
    padding: 0%;
    margin-left: 20px;
    margin-top: 6px;
  }

  footer {
    display: flex;
    margin-bottom: auto;
  }

  .nav-links a {
    color: var(--plum-deep);
    font-family: "Fredoka", sans-serif;
    font-size: 1.4rem; /* Ligeramente más grande */
    font-weight: 600; /* Más bold */
    padding: 1.2rem 1.5rem; /* Más padding para botones más grandes */
    border-radius: 12px; /* Esquinas más redondeadas */
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin: 0.3rem 0; /* Margen vertical */
    background-color: rgba(255,255,255,0.7);
    border: 2px solid var(--mint-gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .nav-links a:hover {
    background-color: var(--mint-gray);
    color: var(--plum-deep);
    transform: translateY(-2px);
  }

  /* Asegurar que el menú se cierre correctamente */
  .nav-links:not(.show) {
    display: none;
  }
}
