* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: white;
  color: #333;
}

/*Navbar*/
.navbar li {
  list-style: none;
  overflow: hidden;
}
.navbar li a:not(.actualPage) {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: #1f2937;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.7rem 0.8rem;
}
.navbar li a:hover:not(.actualPage) {
  transform: scale(1.1);
}
.actualPage {
  background-color: #ff6b00;
  color: white;
  cursor: unset;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.7rem 0.8rem;
  align-items: center;
}
header {
  position: relative;
  padding: 0 2rem;
}
.svgIcon {
  fill: #1f2937;
  margin-right: 5px;
}
.actualPage .svgIcon {
  fill: white;
  margin-right: 5px;
}
.logo .svgIcon {
  fill: red;
  margin-right: 5px;
  width: 25px;
  height: 25px;
}
.navbar {
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo a {
  list-style: none;
  text-decoration: none;
  color: #1f2937;
  font-size: 1.4rem;
  font-family: "Inter", sans-serif;
  font-weight: bold;

  display: flex;
  align-items: center; /* Alinea verticalmente */
  justify-content: center;
}

.navbar .links {
  display: flex;
  gap: 2rem;
}
.navbar .links li a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .toggle_btn {
  color: #1f2937;
  font-size: 0.9rem;
  cursor: pointer;
  display: none;
  user-select: none;
}

/*dropdown menu */
.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  width: 300px;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000;
  user-select: none;
}

.dropdown_menu.open {
  height: 180px;
  user-select: none;
}

.dropdown_menu li {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/*hamburger*/
/* From Uiverse.io by JulanDeAlb */
.hamburger {
  cursor: pointer;
  user-select: none;
}

.hamburger input {
  display: none;
  user-select: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.line {
  fill: none;
  stroke: #1f2937;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.line-top-bottom {
  stroke-dasharray: 12 63;
  user-select: none;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
  user-select: none;
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
  user-select: none;
}

nav a {
  text-decoration: none;
  margin-left: 20px;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #f36;
}

.btn-inicio {
  background-color: #ff6b00;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
}

.hero {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;

  box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.192);
}

#home.hero {
  background: linear-gradient(to bottom right, #ffe2c0, #fbd0d4);
}

.hero-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.hero-icon .circle {
  margin-bottom: 20px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

#home .circle {
  background: linear-gradient(135deg, #ef4444, #ec4899);
}

#fotos .circle {
  background: linear-gradient(135deg, #22c55e, #0d9488);
}

.circle svg {
  display: inline-block;
  z-index: 100;
  width: 60x;
  height: 60px;
  fill: white;
}

#home .circle svg {
  animation: girar-corazon 4s infinite;
}
@keyframes girar-corazon {
  0% {
    transform: rotate(0deg);
  }
  12.5% {
    transform: rotate(10deg);
  }
  37.5% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.hero h1 {
  font-size: 80px;
  font-weight: bold;
  padding-right: 10px;
  padding-left: 10px;
}

#home.hero h1 {
  background: linear-gradient(45deg, #ff6b00, #d6135e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#fotos.hero h1 {
  background: linear-gradient(45deg, #22c55e, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 28px;
  margin-top: 10px;
  color: rgb(55, 65, 81);

  font-weight: 450;
  padding-right: 10px;
  padding-left: 10px;
}

.sectionExplora {
  padding: 60px 20px;
  background: white;
  text-align: center;
}

.sectionExplora h2 {
  font-size: 50px;
  margin-bottom: 10px;
}

.sectionExplora p {
  color: #666;
  margin-bottom: 40px;
  font-size: 22px;
  font-weight: 450;
}

.explora {
  text-decoration: none; /* quitar subrayado del link */
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
  background: white;
}

.tarjeta {
  text-decoration: none; /* quitar subrayado del link */
  animation: hover-efecto-tarjeta-explora 10s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.tarjeta:nth-child(1) {
  animation-delay: 0s;
}

.tarjeta:nth-child(2) {
  animation-delay: 0.1s;
}

.tarjeta:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes hover-efecto-tarjeta-explora {
  0% {
    transform: translateY(0);
  }
  6% {
    transform: translateY(-5px);
  }
  12% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(0);
  }
}

.tarjetaContenido {
  text-decoration: none; /* quitar subrayado del link */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  padding: 30px 24px;
  width: 400px;
  height: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit; /* hereda color del texto (importante para <a>) */
  user-select: none;
}

.tarjetaContenido:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
  user-select: none;
}

.tarjeta:hover {
  animation-play-state: paused;
  user-select: none;
}

.explora .icono {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explora .icono svg {
  width: 35px;
  height: 35px;
  fill: white;
}

.tarjeta h3 {
  text-decoration: none; /* quitar subrayado del link */
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

.tarjeta p {
  text-decoration: none; /* quitar subrayado del link */
  font-size: 1.2rem;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.4;
}

.stats {
  padding: 60px 20px;
  background: white;
  text-align: center;
}

.stats h2 {
  font-size: 50px;
  margin-bottom: 10px;
}

.stats p {
  color: #666;
  margin-bottom: 40px;
  font-size: 22px;
  font-weight: 450;
}

.datos {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.datoNumero {
  padding: 30px 24px;
  width: 400px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.datoNumero h3 {
  font-size: 45px;
  font-weight: 600;
}

.datos .icono {
  width: 70px;
  height: 70px;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-left: auto;
  margin-right: auto;
}

.datoNumero .icono svg {
  width: 40px;
  height: 40px;
}

.piepag {
  padding-bottom: 50px;
  padding-top: 50px;
  background: #251e18;
  text-align: center;
  padding-right: 10px;
  padding-left: 10px;
}

.piepag h1 {
  color: white;
  font-size: 21px;
  margin-bottom: 25px;

  display: flex;
  align-items: center; /* Alinea verticalmente */
  justify-content: center;
}

.piepag .svgIcon {
  fill: #ff6b00;
  margin-right: 8px;
  width: 24px;
  height: 24px;
}

.piepag h2 {
  color: rgb(160, 160, 160);
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 450;
}

.piepag h3 {
  color: rgb(160, 160, 160);
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 450;
}

/* From Uiverse.io by 3bdel3ziz-T */
.FotoUploadContaienr {
  margin-top: 75px;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  height: 200px;
  gap: 30px;
  transition: gap 0.3s ease;
}

.FotoUpload {
  --transition: 350ms;
  --folder-W: 120px;
  --folder-H: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(135deg, #22c55e, #0d9488);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  height: 150px;
  position: relative;
  width: 220px;
  cursor: pointer;
  transition: margin 0.3s ease, transform 0.3s ease;
}

#FotoViewr {
  animation: aparecer 0.3s ease forwards;
  transition: none;
}

#FotoViewr.hide {
  animation: desaparecer 0.3s ease forwards;
  pointer-events: none;
  display: none;
}
@keyframes aparecer {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.folder {
  position: absolute;
  top: -20px;
  left: calc(50% - 60px);
  animation: float 2.5s infinite ease-in-out;
  transition: transform var(--transition) ease;
}

.folder:hover {
  transform: scale(1.05);
}

.folder .front-side,
.folder .back-side {
  position: absolute;
  transition: transform var(--transition);
  transform-origin: bottom center;
}

.folder .back-side::before,
.folder .back-side::after {
  content: "";
  display: block;
  background-color: white;
  opacity: 0.5;
  z-index: 0;
  width: var(--folder-W);
  height: var(--folder-H);
  position: absolute;
  transform-origin: bottom center;
  border-radius: 15px;
  transition: transform 350ms;
  z-index: 0;
}

.FotoUpload:hover .back-side::before {
  transform: rotateX(-5deg) skewX(5deg);
}
.FotoUpload:hover .back-side::after {
  transform: rotateX(-15deg) skewX(12deg);
}

.folder .front-side {
  z-index: 1;
}

.FotoUpload:hover .front-side {
  transform: rotateX(-40deg) skewX(15deg);
}

.folder .tip {
  background: linear-gradient(135deg, #ff9a56, #ff6f56);
  width: 80px;
  height: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -10px;
  z-index: 2;
}

.folder .cover {
  background: linear-gradient(135deg, #ffe563, #ffc663);
  width: var(--folder-W);
  height: var(--folder-H);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.custom-file-upload {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border: none;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-block;
  width: 100%;
  padding-top: 19px;
  padding-bottom: 19px;
  position: relative;
}

.custom-file-upload:hover {
  background: rgba(255, 255, 255, 0.4);
}

.custom-file-upload input[type="file"] {
  display: none;
}

.fotoscargadas {
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  height: 150px;
  width: 350px;
  padding: 10px;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.fotoscargadas .left {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  order: 1;
}
.fotoscargadas .right {
  width: 50%;
  display: flex;
  flex-direction: column; /* Apila los elementos verticalmente */
  align-items: center; /* Centra horizontalmente */
  justify-content: center;
  order: 2;
}
.fotoscargadas .title {
  display: none;
  font-size: 1.5em;
  font-weight: 600;
  color: white;
  text-align: left;
}

.fotoscargadas .file-list h4 {
  font-size: 75px;
  color: white;
}

.fotoscargadas .file-list h5 {
  font-size: 25px;
  color: white;
}

.fotoscargadas .list {
  position: relative;
  height: 50%;
}

.fotoscargadas .list-toggle {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 8px;
  padding: 5px;
  cursor: pointer;
  color: white;
  width: 100%;
  height: 100%;
  transition: 0.2s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  flex-direction: column; /* Apila los elementos verticalmente */
  align-items: center; /* Centra horizontalmente */
  justify-content: center;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
}

.fotoscargadas .list-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
}

.fotoscargadas .list-menu {
  position: absolute;
  width: 100%;
  background: rgba(236, 81, 29, 0.4);
  backdrop-filter: blur(15px);
  border-radius: 8px;
  z-index: 10;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 110;
}

.fotoscargadas .list-menu.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  z-index: 110;
}

.fotoscargadas .list-menu div {
  padding: 10px;
  cursor: pointer;
  color: white;
  transition: 0.2s ease;
  z-index: 110;
}

.fotoscargadas .list-menu div:hover {
  background: rgba(231, 150, 124, 0.8);
  z-index: 110;
}

.loadButton {
  border: none;
  backdrop-filter: blur(15px);
  border-radius: 8px;
  padding: 5px;
  width: 100%;
  height: 50%;
  transition: 0.1s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: 600;
  z-index: 10;
}

.loadButton:not(.off) {
  cursor: pointer;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.loadButton {
  cursor: default;
  color: rgba(172, 172, 172, 0.801);
  background: rgba(139, 139, 139, 0.2);
  z-index: 10;
}

.loadButton:hover:not(.off) {
  background: rgba(255, 255, 255, 0.4);
}

.loadButton:active:not(.off) {
 transform: scale(0.9);
}

.list-toggle.animar {
  animation: scaleDown 0.2s forwards;
}

@keyframes scaleDown {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/*responsive design*/
@media (max-width: 1020px) {
  .navbar .links {
    display: none;
  }

  .navbar .toggle_btn {
    display: block;
  }

  .dropdown_menu {
    display: block;
  }

  .hero h1 {
    font-size: 60px;
  }
  .hero p {
    font-size: 20px;
  }

  .sectionExplora h2 {
    font-size: 40px;
  }

  .sectionExplora p {
    font-size: 22px;
  }
  .stats h2 {
    font-size: 40px;
  }

  .stats p {
    margin-bottom: 30px;
  }
  @media (max-width: 660px) {
    .hero h1 {
      font-size: 45px;
    }
    .hero p {
      font-size: 16px;
    }

    .sectionExplora h2 {
      font-size: 35px;
    }

    .sectionExplora p {
      font-size: 16px;
    }
    .stats h2 {
      font-size: 35px;
    }

    .stats p {
      margin-bottom: 16px;
    }
    header {
      padding: 0 1.1rem;
    }
    @media (max-width: 400px) {
      .navbar .logo a {
        font-size: 1.2rem;
      }
      .logo .svgIcon {
        width: 22px;
        height: 22px;
      }

      @media (max-width: 400px) {
        .fotoscargadas {
          flex-wrap: wrap;
          display: flex;
          flex-direction: column;
          height: 300px;
          width: 220px;
        }
        .fotoscargadas .left {
          height: 50%;
          width: 100%;
          order: 2;
        }
        .fotoscargadas .right {
  display: unset;
          height: 50%;
          width: 100%;
          order: 1;
        }
        .sectionExplora p {
          margin-bottom: 20px;
        }
        .tarjetaContenido {
          text-decoration: none; /* quitar subrayado del link */
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          background: white;
          border-radius: 16px;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
          padding: 20px 14px;
          width: 280px;
          height: 200px;
          text-align: left;
          display: flex;
          flex-direction: column;
          gap: 12px;
          color: inherit; /* hereda color del texto (importante para <a>) */
        }

        .explora .icono svg {
          width: 20px;
          height: 20px;
        }

        .explora .icono {
          width: 40px;
          height: 40px;
          border-radius: 8px;
        }

        .tarjeta h3 {
          text-decoration: none; /* quitar subrayado del link */
          font-size: 1.5rem;
          font-weight: 700;
          margin: 0;
          color: #1f2937;
        }

        .tarjeta p {
          text-decoration: none; /* quitar subrayado del link */
          font-size: 1rem;
          color: #4a4a4a;
          margin: 0;
          line-height: 1.4;
        }

        .stats {
          padding: 0px 0px;
          background: white;
          text-align: center;
        }

        @media (max-width: 360px) {
          .navbar .logo a {
            font-size: 1.12rem;
          }
          .logo .svgIcon {
            width: 20px;
            height: 20px;
          }
        }
      }
    }
  }
}
