@font-face {font-family: 'Cinzelt'; src: url('/recursos/font/Cinzelt.woff') format('woff');}

* {margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; list-style: none;   scroll-behavior: smooth; }

/* Fuente principal */
.fontPrincipal {font-family: 'Cinzelt';}
.bold{font-weight: bold;}
.Dorado{color:#C6A75E}
.Marfil{color: #f5f1e8b2;}

body{
    background-image: url("/recursos/img/fondoIndex.png");
    background-repeat: repeat;
    background-size: contain;
    background-color: #0c0b0c;
}


.container_textPrincipal{
    width: 100%;
    min-height: 100vh;
display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.corazon{
  width: 25px;
    margin-left: 5px;
    height: 25px;
}

.container_textPrincipal::after {
  content: "";
  position: absolute;
  width: 100%;
  height:100%;
right: -2.5em;
    top: -3.5em;
  background-image: url("/recursos/img/FlorEsquinaleft.png");
  background-size: contain;
   background-position: right top;
  background-repeat: no-repeat;
  z-index: 5;
  pointer-events: none;
    opacity: 0.85;
}

.container_textPrincipal::before {
  content: "";
  position: absolute;
left: -2.5em;
    bottom: -2.5em;
  width: 100%;
  height: 100%;
  background-image: url("/recursos/img/FlorEsquinaBottom.png");
  background-size: contain;
 background-position:left bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
}

.div-text-valor{
  position: relative;
  width: 750px;
    height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}

.divisorVintage{
  width: 270px;
  opacity: 0.6;
}

.div-text-valor h1{
    font-size: 29px;
}

.focus {
  animation: text-focus-in 1.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  font-size: 25px;
  font-weight: bold;
}

.typing1 {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s steps(11) forwards;
}

/* Animación de escritura */
@keyframes typing {
  from { width: 0; }
  to { width: 11ch; } /* 11 letras de "Bienvenido" */
}

.typing2 {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing2 5s steps(38) forwards;
   animation-delay: 2s;
}

/* Animación de escritura */
@keyframes typing2 {
  from { width: 0; }
  to { width: 38ch; } /* 11 letras de "Bienvenido" */
}

.typing3 {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing3 3.2s steps(25) forwards;
   animation-delay: 7s;
}

.mobile {
  display: none;
}

/* Animación de escritura */
@keyframes typing3 {
  from { width: 0; }
  to { width: 25ch; } /* 11 letras de "Bienvenido" */
}

.typing4 {
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing4 4s steps(25) forwards;
   animation-delay: 4.6s;
}

/* Animación de escritura */
@keyframes typing4 {
  from { width: 0; }
  to { width: 25ch; } /* 11 letras de "Bienvenido" */
}


@keyframes text-focus-in {
  0% {
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

/* CSS */
.button-6 {
  align-items: center;
  background-color: #5A0F1C;
  border: 1px solid  rgba(225, 225, 225, 0.474);
  border-radius: 20px;
  font-size: 22px;
  box-shadow: rgba(162, 137, 78, 0.255) 0 1px 3px 0;
  box-sizing: border-box;
  color:#E8D7A2;
  font-weight: bold;
  padding: 0.3em 0.8em 0.3em 0.8em;
  transition: all 250ms;
  width: auto;
  cursor: pointer;
  
}

.button-6:hover,
.button-6:focus {
  border-color: rgba(225, 225, 225, 0.474);
  box-shadow: rgba(162, 137, 78, 0.255) 0 4px 12px;
}

.button-6:hover {
  transform: translateY(-1px);
}

.button-6:active {
  background-color: #851a2c;
  border-color: rgba(225, 225, 225, 0.474);
  box-shadow:  rgba(162, 137, 78, 0.255) 0 2px 4px;
  color:#E8D7A2;
  transform: translateY(0);
}

.animate__animated {
    animation-duration: 3s;
    animation-delay:9s;
    animation-fill-mode: both;
  }

@keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  .fadeIn {
    animation-name: fadeIn;
  }


@media (max-width: 768px) {
  .desktop {
    display: none;
  }

  .mobile {
    display:flex;
  }

  .container_textPrincipal::before {
left: -1em;
 bottom: -1em;
}

.container_textPrincipal::after {
 top: -1em;
        right: -0.5em;
}

.button-6 {
    font-size: 20px;
}

.div-text-valor h1{
    font-size: 22px;
}

  .div-text-valor{
  width: 320px;
    height: 320px;
  }

  .div-text-valor::after {
    top: -30px;
    right: -22px;
    width: 150px;
    height: 150px;
  }

  .div-text-valor::before {
    bottom: -30px;
    left: -22px;
    width: 150px;
    height: 150px;
  }

  .typing3 {
   animation-delay:8.5s;
}

.typing2 {
  animation: typing2 3s steps(26) forwards;
   animation-delay: 2s;
}

/* Animación de escritura */
@keyframes typing2 {
  from { width: 0; }
  to { width: 26ch; } /* 11 letras de "Bienvenido" */
}

.animate__animated {
    animation-delay:11s;
 
  }
}