body{
    margin: 0;
    padding: 0;
    color: white;
    background-color: black;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 10px;
    font-style: normal;
    /* width: 320px;
    height: 480px; */
}

.Comedia  .Terror .Romance .Accion .Drama .CienciaFiccion .Aventura{
    margin: auto; 
}


.header{
    position: relative;
    width: 100%;
    height: auto;
}

.logo-contenedor{
    margin-top: 10px;
    left: 0;
    top: 0;
}


.logo-contenedor img{
    width: 100px;
    height: auto;
}


.titulo1{

    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
    margin-top: 40px;

}

.titulos {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}

#btningresar{
    color: red;
}

#formulario-contenedor{
    text-align: center;
}

.nombrepelicontenedor{
    font-size: 15px;
    margin: 15px;
    min-width: 280px;
    width: 200px;
    height: 35px;
}

#comentario{
    font-size: 15px;
    margin-top: 15px;
    min-width: 280px;
    width: 200px;
    min-height: 80px;
    max-height: 200px;
}

#categoria{
    margin-bottom: 10px;
}

#filtro{
    text-align: center;
    display: block;
    margin: auto;
    width: 200px;
    height: 30px;
}

.tarjeta-diseño{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: black;
    margin: 10px auto;
    width: 300px;
    text-align: center;
}

.tarjeta-texto {
    max-width: 280px;
}


/* una al lado de la otra */
#tarjetas{ 
    display: flex; 
    flex-wrap: wrap;
    word-wrap: break-word;
}


#borrar-todo img{
    background-color:#f8f9fa;
    width: 50px;
    height: 50px;
}

.recomendaciones {
    display: flex; 
    /* flex-direction: column;  */
    justify-content: center; 
    align-items: center;
    /* height: 100vh;
    width: 100%; */
    text-align: center;
}

.peliculas {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    max-width: 90%;
}

.pelicula {
    width: 15%;
    display: flex;
    flex-wrap: wrap; 
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.poster {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
        
.pelicula:hover .poster {
    transform: scale(1.1);
}

.titulo-pelis {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    margin-top: 80px;
    margin-bottom: 30px;
    font-weight: 100;
    text-align: center;
    background-color: black;
    color: white;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.pelis-titulo{
    margin-top: 10px;
}

.estrellas{
    width: 80px; 
    margin-top: -10px;
}

.contfooter {
    color: white;
    display: flex;
    justify-content: center;
}

.redessociales {
    display: flex;
    justify-content: center;
}

.tituloredes {
    text-align: center;
}

.redes img{
    height: 70px;
    width: 70px;
}

.fotosalumnas{
    max-width: 1280px;
    display: flex;
    justify-content: center;
}

.fotosalumnas img{
    padding: 10px;
    height: 100px;
    width: 100px;
}

.card {
    background-color: rgb(26, 26, 26);
}

.oculto {
    display: none !important;
}

@media screen and (max-width: 380px) {
    .redessociales {
    display: block;
    }

    .fotosalumnas{
        display: block;
    }

    .tarjeta-diseño{
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        background-color: #f8f9fa;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        color: black;
        margin: 10px auto;
        width: 270px;
        justify-content: center;
        word-wrap: break-word;
    }

    .tarjeta-texto {
        max-width: 280px;
        width: 250px;
        text-align: center;
    }

    .nombrepelicontenedor{
        min-width: 250px;
    }
}

@media screen and (max-width: 1000px) {
    .logo-contenedor{
        margin-top: 10px;
        text-align: center;
        left: 0;
        top: 0;
    }

    .tarjeta-texto {
        text-align: center;
    }

    .peliculas {
        max-width: 90%;
    }

    .pelicula {
        width: 30%;
    }
}

@media screen and (max-width: 750px) {
    .peliculas {
        max-width: 90%;
    }

    .pelicula {
        width: 40%;
    }
}


@media screen and (max-width: 450px) {
    .peliculas {
        max-width: 90%;
    }

    .pelicula {
        width: 100%;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
    .peliculas {
        max-width: 90%;
    }

    .pelicula {
        width: 20%;
    }
}