@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
}
a{
    text-decoration: none;
}
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}


header a{
    color: #eee;
    margin-right: 40px;
    font-size: 22px;
    font-weight: bold;
}
.negocio{
    color: yellow ;
}



/*PARA BOTON DE WHATSAPP*/
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .whatsapp-button:hover {
    transform: scale(1.1);
  }
  .whatsapp-icon {
    color: white;
    font-size: 24px;
  }


/*FIN  BOTON DE WHATSAPP*/

.des0{
    font-size: 20px;
}
/*PARA EL SCROLL paginas secundarias*/
.des{
    font-size: 16px;
}
.des {
    width: 300px; /* Ancho del div */
    height: 250px; /* Alto del div */
    overflow: auto; /* Añade scroll si el contenido es mayor que el div */
    border: 1px solid #ccc; /* Opcional: añadir un borde para visualizar mejor el área del div */
    padding: 10px; /* Opcional: añadir padding para mejor apariencia */
    background-color: black; /* Fondo negro para el contenido */
    color: white; /* Color de texto blanco para legibilidad */
}

.author{
    color: #f0ee6a;
   
    font-size: 3em;

}
/* carousel */
.carousel{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
   
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
   
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
   
    
}
.carousel .list .item .content{
    position: absolute;
    top: 15%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
   /* text-shadow: 0 5px 10px rgb(235, 217, 217);*/
    text-shadow: 12px 12px 14px rgb(224, 230, 49); /* Sombra oscura detrás de cada letra */
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 3em;
    font-weight: bold;
    line-height: 1.0em;
   
    color: #f0ee6a;
    text-shadow: 12px 12px 10px #060000; /* Sombra oscura detrás de cada letra */
   
}

.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(207, 227, 22, 2.9);
    
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}



/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 150px;
    left: 30%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(207, 227, 22, 2.9);
}
.thumbnail .item .content{
   color: #eee;
    /*color: #f1683a;*/
    text-shadow: 12px 12px 10px #060000; /* Sombra oscura detrás de cada letra */
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 20px;
}
.thumbnail .item .content .title{
    font-weight: 500;
     color: #170d42; /* Amarillo fosforescente */
    font-weight: bold;
    font-size: 0.9em;
    text-shadow: 0 0 5px #FFFF33, 0 0 10px #FFFF33; /* Brillo */
}
.thumbnail .item .content .description{
    color: #f0ee6a;
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 50%;
    right: 68%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(207, 227, 22, 2.9);
    
    border: none;
    color: #180202;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
.boton1{
    margin-top: 2%;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(207, 227, 22, 2.9);
    padding: 10px;
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
        top: 10%;
    }
    .carousel .list .item .content .title{
        font-size: 20px;
    }
   
    /* .des controla el scroll PANTALLA CHICA*/
    .des {
        width: 100%;
        max-width: 700px;
        height: 300px;
        padding: 15px;
        margin-top: 2%;
    }
    
    
    
}
/* .des controla el scroll PANTALLA GRANDE*/

@media (min-width: 900px) {
    .des {
        width: 80%;
        max-width: 900px;
        height: 250px;
        padding: 20px;
    }
}


.footer {
  background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
  color: #fff;
  text-align: center;
  padding: 10px 10px;
  font-size: 0.8rem;
  letter-spacing: 0.9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  font-weight: 600;
  color: #00c6ff;
}

.footer a {
  color: #00c6ff;
  text-decoration: none;
}

.footer a:hover {
  color: yellow;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer .phone {
  margin: 0 5px;
  color: #ccc;
}

@media (max-width: 600px) {
  .footer {
    font-size: 0.8rem;
    padding: 0px 5px;
  }
  .footer .phone {
    display: block;
    
    padding: 0px 5px;
    font-size: 0.7rem;
  }
}
