/* ESTILOS GENERALES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: auto;
  font-family: 'JosefinSans-Medium', sans-serif !important;
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* DISEÑO DE BOTONES */
.purple-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1F253A;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  width: auto;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.purple-button:hover {
  background-color: #27314F;
  transition: background-color 0.3s ease;
}

.btn-design1 {
  padding: 8px 16px;
  background-color: #27314F;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  font-family: 'Josefin Sans', sans-serif !important;
}

.btn-design1:hover {
  background-color: rgb(4, 6, 10);
  color: white;
  transition: background-color 0.3s ease;
}


.btn-design2 {
  padding: 8px 16px;
  color: #27314F;
  background-color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  font-family: 'Josefin Sans', sans-serif !important;
}

.btn-design2:hover {
  color: #111522;
  background-color: white;
  transition: background-color 0.3s ease;
}

/* TIPOS DE TITULOS */

.type-h1 {
  color: #1F253A;
  font-size: 55px;
  font-weight: 300;
  /* font-family: 'TT Interphases DemiBold', sans-serif; */
  text-shadow: 1px 1px 1px #171c1e;
}

.type1-h1 {
  color: #1F253A;
  font-size: 55px;
  font-weight: 300;
  /* font-family: 'TT Interphases DemiBold', sans-serif; */
  text-shadow: 1px 1px 1px #171c1e;
}

.type1-h1-bold {
  color: #fff;
  font-size: 96px;
  font-weight: 700;
  text-shadow: 1px 1px 1px #171c1e;
  /* font-family: 'TT Interphases DemiBold', sans-serif; */
}

.type2-h1 {
  color: #1F253A;
  font-size: 25px;
  font-weight: 750;
  -webkit-text-stroke-color: #171c1e;
  stroke: #171c1e;
}

.type3-h1 {
  color: #1F253A;
  font-size: 15px;
  font-weight: 650;
  -webkit-text-stroke-color: #171c1e;
  stroke: #171c1e;
}

.type4-h1 {
  color: #1F253A;
  font-size: 20px;
}

.type5-h1 {
  color: #1F253A;
  font-size: 20px;
}

.frases-tarjeta h1 {
  transform: rotate(-6deg);
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  line-height: 2.2rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px #000;
}

.frases-tarjeta {
  padding: 60px 20px;
}

/* REVERTIR */
.view-reverse {
  flex-direction: row-reverse;
}

/* TRANSICION DE ITEMS */

.titulo {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease;
}

.titulor {
  opacity: 0;
  transform: translateX(50px);
  transition: transform 0.9s ease-out, opacity 0.5s ease-out;
}

.titulol {
  opacity: 0;
  transform: translateX(-50px);
  transition: transform 0.9s ease-out, opacity 0.5s ease-out;
}

.item {
  animation: aparecer 0.8s ease forwards;
}



@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* DISEÑO DE LINEAS */


.divider-section-section {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #1F253A, #1F253A);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}


/* LOADER */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #1F253A, #27314F, #1F253A, #27314F, #1F253A,
      #27314F, #1F253A, #27314F, #1F253A, #27314F);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Imagen sobre la barra */
.loader-img img {
  width: 100px;
}

/* Barra de fondo */
.progress-bar {
  width: 10%;
  height: 2px;
  background: transparent;
  border-radius: 5px;
  overflow: hidden;
}


/* Barra que se llena */
.progress-fill {
  width: 100%;
  /* Asegura que ocupe todo el ancho de la barra */
  height: 100%;
  --c: no-repeat linear-gradient(#1f253ac2 0 0);
  background: var(--c), var(--c), #c5c5c5;
  background-size: 60% 100%;
  animation: l16 3s infinite;
}

@keyframes l16 {
  0% {
    background-position: -150% 0, -150% 0
  }

  66% {
    background-position: 250% 0, -150% 0
  }

  100% {
    background-position: 250% 0, 250% 0
  }
}

.lobster-regular {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

@media(max-width:1366px) {
  .container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  .type-h1 {
    font-size: 3.8rem;
  }

  .type1-h1-bold {
    font-size: 7rem;
  }

  .type3-h1 {
    font-size: 1.4rem;
  }
}


@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  .purple-button {
    font-size: 13px;
    width: auto;
    text-align: center;
  }

  .container {
    /* centra horizontalmente */
    padding: 0 20px;
    /* espacio a los lados */
  }

  .progress-bar {
    width: 30%;
  }

  .hidden {
    visibility: hidden;
  }

  .type-h1 {
    font-size: 3.2rem;
  }

  .type1-h1-bold {
    font-size: 4.2rem;
  }

}