.follow{
    max-width: 1400px;
    width: 97%;
    margin: 0 auto;
    padding: 4px 10px;
    display: flex;
    font-family: Calibri, Arial, sans-serif;
    font-size: 30px;
    color: #fff;
    background: #000;
    text-shadow: 0 2px 10px rgb(29, 64, 144);
    box-shadow: 0 1px 1px rgb(44, 44, 44);
    border-radius: 5px;
}

.follow-icon{
    margin-left: auto;
    text-decoration: none !important;

}

.col-custom {
    flex: 0 0 20%; /* Ajusta el ancho al 20% (aproximadamente entre col-md-2 y col-md-3) */
    max-width: 23%;
  }

#pillpopular{
    --bs-nav-link-color: #fff;
    --bs-nav-pills-link-active-color: #000;
    --bs-nav-pills-link-active-bg: #fff;
    max-width: 1400px;
    width: 97%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-size: 20px;
    color: #fff;
    background: #000;
}

.update{
    max-width: 1400px;
    width: 97%;
    margin: 0 auto;
    padding: 4px 10px;
    font-family: Calibri, Arial, sans-serif;
    font-size: 30px;
    color: #fff;
    background: #000;
    text-shadow: 0 2px 10px rgb(29, 64, 144);
    box-shadow: 0 1px 1px rgb(44, 44, 44);
    border-radius: 5px;
}
/*mas vistas*/

.most-view{
    max-width: 1400px;
    width: 97%;
    margin: 0 auto;
    padding: 4px 10px;
    font-family: Calibri, Arial, sans-serif;
    font-size: 30px;
    color: #fff;
    background: #000;
    text-shadow: 0 2px 10px rgb(29, 64, 144);
    box-shadow: 0 1px 1px rgb(44, 44, 44);
    border-radius: 5px;
}
.most-container-series {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap; /* Mantiene todo en una sola fila */
    gap: 0; /* Elimina cualquier espacio entre las tarjetas */
    overflow-x: auto; /* Habilita el desplazamiento horizontal si no caben en la pantalla */
    padding: 10px;
    width: 100%;
}

.most-column-series {
    flex: 0 0 auto; /* Evita que las tarjetas se expandan o se ajusten automáticamente */
    width: 220px; /* Ancho fijo de cada tarjeta */
    margin: 3px; /* Elimina cualquier margen */
}

.most-image-series {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    width: 220px; /* Tamaño exacto del contenedor */
    height: 290px; /* Altura exacta del contenedor */
    display: flex;
    align-items: center; /* Centra la imagen verticalmente */
    justify-content: center; /* Centra la imagen horizontalmente */
    margin: 0; /* Elimina márgenes */
}

.most-image-series img {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    height: 100%; /* Ocupa toda la altura del contenedor */
    border-radius: 8px;
    object-fit: cover; /* Recorta la imagen para que se ajuste sin deformarse */
}

.most-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}

.most-badge {
    margin-top: 5px;
    display: block;
}


/*Series*/
.container-series {
    max-width: 1400px;
    width: 97%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px;
    gap: 15px;
    justify-content: space-between; /* Espacio entre los contenedores */
    align-items: flex-start; /* Alinea los contenedores en la parte superior */
}

.column-series {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: 220px; /* Tamaño máximo del contenedor */
}

.image-series {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    height: 290px; /* Fija una altura para todas las imágenes */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4; /* Fondo gris claro por si la imagen no llena el contenedor */
    border-radius: 8px;
    overflow: hidden;
}

.image-series img {
    width: 100%;
    height: auto; /* Limitar la altura máxima */
    max-height: none;
    object-fit: cover; /* Cubre todo el espacio manteniendo proporciones */
    border-radius: 8px;
}

.image-series:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    
}

.name-series {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: white;
    text-align: center;
    top: 0;
    background: rgba(0, 0, 0, 0.3); /* Fondo oscuro semitransparente */
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
}

.chapter-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
}

.chapter-item:hover{
    background-color: #100f0f;
}

.chapter-item {
    display:flex;
    height: 40px;
    flex-direction:column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
    border-radius: 6px;
    color: white;
    font-size: 11px;
}

.chapter-number {
    margin: 2px 15px;
    font-weight: bold;
}

.chapter-time {
    color: #f05a5a; /* Resaltar el tiempo en rojo */
    font-size: 10px;
    
}

@media (max-width: 768px) { /* Para pantallas móviles */
    .column-series {
        max-width: calc(50% - 15px); /* Dos cómics por fila */
        width: 100%;
    }

    .image-series {
        height: 200px; /* Ajusta la altura para dispositivos más pequeños */
    }

    .name-series {
        font-size: 12px;
    }
    .chapter-item {
        height: 30px;
        font-size: 9px;
    }
    .chapter-number {
        margin: 1px 4px;
    }
    
    .chapter-time {
        font-size: 8px;
        
    }
}


/*carrusel*/
/*

.carousel{margin-bottom:1rem}
.carousel-caption{bottom:3rem;z-index:10}
.carousel-item{height:512px}
.marketing .col-lg-4{margin-bottom:1.5rem;text-align:center}
.marketing h2{font-weight:400}
.marketing .col-lg-4 p{margin-right:.75rem;margin-left:.75rem}
 */
.img-slide{

    width: 768px;
    border-radius: 3px;
    border: 4px solid rgb(4, 1, 17);
    font-size: 1.125rem;
    height:384px;
}
.carousel{margin-bottom:1rem;margin-top: 1rem;}
.carousel-indicators{height: 5px}
.carousel-item{height:384px;width: 768px}
.featurette-divider{margin:5rem 0}
.featurette-heading{font-weight:300;line-height:1;letter-spacing:-.05rem}
@media(min-width:40em){
    .carousel-caption p{margin-bottom:1.25rem;font-size:1.25rem;line-height:1.4}
    .featurette-heading{font-size:50px}}
@media(min-width:62em){
    .featurette-heading{margin-top:7rem}}
@media (max-width: 1024px) {
    .img-slide {
        font-size: 3.5rem;
        max-width: 100%;
        height: 100%;
    }
    .carousel-item{
        height: 100%;

    }

}

