body {
    background-color: #141414;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body::-webkit-scrollbar {
    -webkit-appearance: none;
    background-color: transparent;
}

body::-webkit-scrollbar:vertical {
    width:10px;
}

body::-webkit-scrollbar-button:increment,body::-webkit-scrollbar-button {
    display: none;
} 

body::-webkit-scrollbar:horizontal {
    height: 10px;
}

body::-webkit-scrollbar-thumb {
    background-color: #3dadff;
    border-radius: 20px;
    border: none;
}

body::-webkit-scrollbar-track {
    border-radius: 10px;  
}

.busqueda {
    display: flex;
    flex-wrap: wrap;
}

.busquedas {
    border-radius: 5px;
    max-width: 330px;
    width: 90%;
    background-color: #3dadff;
    position: absolute;
    top: 100%;
    height: auto;
    max-height: 300px;
    overflow-y: scroll;
    margin-top: 5px;
    display: none;
    transition: all 1s ease;
}

.busquedas::-webkit-scrollbar {
    -webkit-appearance: none;
    /* esta linea permite cambiar los estilos del scrollbar */
}

.busquedas::-webkit-scrollbar:vertical {
    width:10px;
}

.busquedas::-webkit-scrollbar-button:increment,.busquedas::-webkit-scrollbar-button {
    display: none;
} 

.busquedas::-webkit-scrollbar:horizontal {
    height: 10px;
}

.busquedas::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: none;
}

.busquedas::-webkit-scrollbar-track {
    border-radius: 10px;  
}

.busquedas ul {
    width: 100%;
    text-align: left;
    align-items: center;
    padding: 0;
    margin: 0;
}

.busquedas ul li {
    width: auto;
    text-align: left;
    display: block;
    justify-content: left;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid white;
    background: inherit;
}

.busquedas ul:last-child {
    border-bottom: 1px solid #3dadff;
}

.busquedas ul li:hover {
    background: #76c6ff;
}

header {
    background-image: url(img/cargando.gif);
    background-repeat: no-repeat;
    background-size: 20%;
    background-attachment: scroll;
    background-position: center;
}

.contenidoUno {
    padding: 10px;
}

.bienvenida {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.bienvenida .titulos {
    width: 1fr;
    text-align: center;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.titulos h1 {
    color: #3dadff;
    font-size: 50px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.titulos h3 {
    margin: 20px;
}

.bienvenida .log {
    width: 250px;
}

.bienvenida .log img {
    width: 100%;
}

@media screen and (max-width:660px){
    .titulos h1 {
        display: none;
    }
    .bienvenida .log {
        width: 75%;
        max-width: 35%;
        order: 1;
    }
    .bienvenida .titulos {
        order: 2;
        width: 100%;
    }
}

.load {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #131313;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.load img {
    width: 200px;
}

.aviso {
    width: auto;
    height: 50px;
    position: fixed;
    top: 100px;
    right: 0;
    z-index: 200;
    color: white;
    font-size: 12px;
    background-color: #3daeff83;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px 5px 10px;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    cursor: pointer;
}

.portada {
    display: flex;
    width: 100%;
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

@media screen and (max-width:700px) {
    .portada {
        height: 400px;
    }
}

.degradado {
    background: linear-gradient(to top, #141414, transparent 100%);
    bottom: 0;
    margin-bottom: -10px;
    padding-top: 50px;
}

.swiper-pagination-fraction, .swiper-pagination {
    bottom: 0;
}

.degradado2 {
    background: linear-gradient(to top, #202020, transparent 50%);
    height: 100px;
    width: 100%;
    margin-top: -100px;
}

.dondeEstoy {
    width: auto;
    color: white;
    font-size: x-large;
    padding: 1% 0 1% 3%;
    margin: 10px 0 20px 0;
    background: linear-gradient(to right, #3daeff9c, transparent 100%);
    display: flex;
    align-items: center;
}

.contenido {
    padding: 0% 3% 3% 3%;
    justify-content: center;
    background: linear-gradient(to top, #3dadff, transparent 50%);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    grid-gap: 10px;
    transition: all 0.2s ease;
}

.pegajoso-fixed {
    position: fixed;
    top: 0;
}

.pelicula {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 5px;
    margin: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pelicula:hover {
    background-color: #3d8bff;
    transform: scale(1.1, 1.1);
    box-shadow: 5px 5px 30px black;
}

.pelicula .imagen {
    width: 100%;
    height: 85%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all 0.2s ease;
}

.pelicula .detalles {
    width: 100%;
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    transition: all 0.2s ease;
}

.fondoModal {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.600);
    overflow-y: scroll;
    justify-content: center;
    z-index: 1000;
}

.ventanaModal {
    margin-top: 50px;
    width: 95%;
    max-width: 850px;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.75) 0px 3px 10px;
    background-color: #202020;
    border-radius: 6px;
    color: white;
    position: absolute;
}

.ventanaModal .imagenModal {
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 700px){
    .ventanaModal .imagenModal {
        height: 270px;
    }
}

.ventanaModal .descripcion {
    width: 90%;
    height: auto;
    padding: 5%;
    background-color: #202020;
}

.ventanaModal .descripcion .resumen {
    width: 70%;
    text-align: justify;
    word-wrap: break-word;
}

.cerrarModal {
    width: 20px;
    height: 20px;
    background-color: #181818;
    border-radius: 50%;
    padding: 8px;
    float: right;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: larger;
    margin: 20px 0 0 0;
    cursor: pointer;
    z-index: 1000;
    position: absolute;
    right: 10px;
}

.cerrarModal:hover {
    color: gray;
}

.recomendaciones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 10px;
}

.recomendaciones .recom {
    width: 100%;
    height: auto;
    min-height: 200px;
    background-color: rgb(53, 53, 53);
    display: flex;
    flex-wrap: wrap;
    margin: 2px;
    border-radius: 7px;
    cursor: pointer;
}

.recomendaciones .recom:hover {
    background-color: rgb(65, 65, 65);
}

.recom .imagenRecom {
    width: 100%;
    height: 80%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.descripcion .botonesModal {
    width: 100%;
    display: flex;
    justify-content: left;
    padding-top: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.splide__slide{
    padding: 0px;
}

.descripcion .botonesModal a {
    margin-right: 10px;
    width: 120px;
    height: auto;
    font-size: large;
    outline: none;
    color: white;
    background-color: rgb(58, 58, 58);
    border:none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    outline-color: white;
}

.textoVer {
    margin: 50px 0 20px 0;
    font-size: x-large;
    font-weight: bold;
    color: #3dadff;
    text-align: center;
}

.botonesVer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 5px;
}

.botonesVer .botonM {
    width: 100%;
    height: auto;
    max-height: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    background-color: #2b2b2b;
}

.botonesVer .botonM a {
    width: 100%;
    margin: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botonesVer .botonM:hover {
    background-color: #414141;
}

.botonesVer .botonM img {
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 70px;
}

.botonM {
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}
    
.botonM:hover{
    transform: scale(1.2, 1.2);
    box-shadow: 3px 3px 20px #141414;
}

iframe {
    width: inherit;
    height: inherit;
    border: none;
    position: absolute;
    top: 0;
}

.recom .tituloRecom {
    width: 100%;
    height: 20%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divUp {
    background-color: #3dadff;
    border-radius: 100px;
    box-shadow: 2px 2px 5px black;
    width: 50px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 40px;
    right: 40px;
    cursor: pointer;
}

@media screen and (max-width:650px){
    .divUp {
        bottom: 7%;
        right: 5%;
    }
}

@keyframes desvanecer {
    0% {
        opacity: 1;
    } 100% {
        opacity: 0;
        display: none;
    }
}

@keyframes aparecer {
    0% {
        /*display: flex;*/
        opacity: 0;
    } 100% {
        opacity: 1; 
    }
}

.divUp .flecha {
    color: white;
    padding: 8px;
}

.divUp:hover {
    background-color: #2f8ed1;
}

.divUp:active {
    background-color: #3dadff;
}

footer {
    padding: 3%;
    color: gray;
    background-color: #141414;
}

footer .contenidoFooter {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-template-rows: auto;
}

footer .contenidoFooter .logoPage img {
    width: 200px;
}

.contenidoFooter .logo img {
    width: 150px;
}

.logoPage, .opciones, .credito, .contenidoFooter .logo {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

footer .opciones ul li {
    margin-bottom: 5px;
}

footer .opciones ul li a {
    text-decoration: none;
}

footer .redes {
    display: flex;
    margin-bottom: 15px;
    padding-left: 5%;
}

footer .redes div {
    margin: 3px 10px 3px 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .redes div a i {
    font-size: 30px;
    color: gray;
}

footer .credito {
    text-align: center;
}

.credito ,.creditoTexto a {
    color: gray;
}

@media screen and (max-width:460px){
    footer .contenidoFooter .logoPage img {
        width: 100px;
    }
    .logoPage, .opciones, .credito, .contenidoFooter .logo {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
    }
}

@media screen and (max-width:600px){
    .contenidoFooter {
        grid-gap: 10px;
    }
    .swiper-slide .tituloPort  {
        font-size: x-large;
    }
    .contenido {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
    .contenido .pelicula {
        min-height: 300px;
    }
    .ventanaModal .descripcion {
        width: 100%;
        padding: 0;
    }
    .ventanaModal .descripcion .resumen {
        width: 100%;
    }
    .divAtras, .divAdelante {
        position: relative;
        height: auto;
        width: auto;
        display: block;
    }

}

@media screen and (max-width: 400px) {
    .recomendaciones {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    }
}

.divSinResults{
    text-align: center;
    color: white;
}

.sinResults {
    font-size: xx-large;
    margin-bottom: 30px;
}

.divSinResults a {
    color: #141414;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.divSinResults a:hover {
    background-color: rgb(211, 211, 211);   
}