@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');
*{
    font-family: "Lemon", serif;
    font-weight: 400;
    font-style: normal;
}


body{
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0d1021;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d1021;
    z-index: 9999;
    display: none;
  }
  
  .loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
  }
  
  .loader-text {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .loader-progress {
    width: 200px;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .loader-progress-bar {
    width: 0;
    height: 100%;
    background-color: #773bff;
    transition: width 0.3s ease;
  }
  
.greetings{
    font-size: 2rem;
    font-weight: 900;
}

.greetings > span{
    animation: glow 4.5s ease-in-out infinite;
}

@keyframes glow{
    0%, 100%{
        color: #fff;
        text-shadow: 0 0 12px #773bff, 0 0 50px #773bff, 0 0 100px #773bff;
    }
    10%, 90%{
        color: #696565;
        text-shadow: none;
    }
}

.greetings > span:nth-child(2){
    animation-delay: .2s ;
}
.greetings > span:nth-child(3){
    animation-delay: .4s ;
}
.greetings > span:nth-child(4){
    animation-delay: .6s;
}
.greetings > span:nth-child(5){
    animation-delay: .8s;
}
.greetings > span:nth-child(6){
    animation-delay: .8s;
}

@media screen and (max-width:574px){
    .greetings{
        display: block;
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
    }
}
  
  .img {
    width: 200px;
    height: 200px;
    animation: latidos 4s infinite;
	transform-origin: center;
  }

  /* Animación con keyframe llamada "latidos" */
@keyframes latidos {
    from { transform: none; }
    50% { transform: scale(0.9); }
    to { transform: none; }
}