@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300&display=swap');


/* Config gral */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    background-color: black;
}

.page-buscador {
    height: 100%;
    max-width: 100%;
    background-image: url(https://assets.nflxext.com/ffe/siteui/vlv3/935156fb-9579-4fc2-ad94-70680402b8ef/9970821c-56b1-4ead-8063-3533c09e0f17/BR-en-20230109-popsignuptwoweeks-perspective_alpha_website_large.jpg);
}

    #dark-background{
        height: 100vh;
        max-width: 100vw;
        background: rgba(44, 44, 44, 0.288);
        background: radial-gradient(circle closest-side, rgba(100, 100, 100, 0.6), rgba(0, 0, 0, 0.6) 90%);
    }

/* header */

#heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
}

    #heading img {
        height: 90px;

    }

        #logo-mundoflix {
            margin-left: 5vw;
        }

        #btn-entrar {
            margin-right: 5vw;
        }


/* Texto principal */

.principal-text {
    text-align: center;
    margin-top: 10%;
    color: white;
}

    #title {
        font-family: 'Raleway';
        font-size: 40px;
    }
    #description {
        font-family: 'Raleway';
        font-size: 24px;
        margin-bottom: 25px;
    }

/* Formulario */

#form {
    text-align: center;
    justify-items: center;
}

    #buscador {
        height: 40px;
        width: 30%;
        padding: 3px;
        padding-left: 10px;
        font-size: 18px;
        border-radius: 10px;
        border-color: gray;
    }

    #submit {
        height: 40px;
        margin-left: 8px;
        background-color: black;
        color: white;
        border-radius: 10px;
        padding: 10px;
        border: 2px solid red;
    }

        #submit:hover {
            cursor: pointer;
            border: 2px solid rgb(59, 0, 0);
            color: rgb(190, 190, 190);
            transition: 2s;
        }

/* page-down */
#separacion {
    border: 6px solid black;
    max-width: 100%;
    animation: color-change 4s linear;
}

/* Animacion de color */
    @keyframes color-change {
        0% {border-color: gray;}
        50% {border-color: thistle;}
        100% {border-color: black;}
    }

/* Config página */

#page-demo {
    background: black;
    box-shadow: inset 1px 1px 5px 5px rgba(128, 128, 128, 0.432);
    padding: 2%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Seg texto */

    #llamado {
        font-family: 'Oswald', Arial, Helvetica, sans-serif;
        font-size: 56px;
        text-shadow: 2px 2px 2px brown, 2px 2px 2px brown;
        text-transform: uppercase;
        text-align: center;
        margin-top: 30px;
    }

    #precio {
        font-size: 42px;
        font-family: 'Oswald', Arial, Helvetica, sans-serif;
        margin-top: 25px;
        text-align: center;
        letter-spacing: 1px;
        margin-bottom: 35px;
    }

        #caracter-especial {
            font-size: 44px;
            text-shadow: 2px 2px 2px rgb(82, 0, 82), 2px 2px 2px rgb(82, 0, 82);
            font-weight: 800;
            text-decoration: underline;
        }

        #distinto {
            text-shadow: 2px 2px 2px yellow, 2px 2px 2px yellow;
            font-size: 50px;
            animation: cambio-color-letras 6s infinite;
        }

/* Animacion de color p texto */

@keyframes cambio-color-letras {
    0% {text-shadow: 2px 2px 2px blue, 2px 2px 2px blue;}
    60% {text-shadow: 2px 2px 2px red, 2px 2px 2px red;}
    90% {text-shadow: 2px 2px 2px purple, 2px 2px 2px violet;}
    100% {text-shadow: 2px 2px 2px violet, 2px 2px 2px pink;}
}

/* Botón final */

#oferta {
    padding: 15px;
    width: 300px;
    border-radius: 10px;
    font-size: 25px;
    border-color: 5px black;
    align-self: center;
    margin-bottom: 18px;
}

    #oferta:hover {
        background-color: rgb(202, 202, 202);
        cursor: pointer;
        animation: cambio-color-letras  6s infinite;

    }

#lista-filmes {
    margin-top: 60px;
    margin-bottom: 20px;

    color: white;
}

.filmes {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    transition: 1s;

    margin: 0 50px;
}

.filmes img {
    height: 280px;
    width: 180px;
    transition: 2s;
    color: white;
}

.filmes p {
    display: none;
}

.filmes img:hover {
    cursor: pointer;

    height: 300px;
    width: 200px;

    rotate: 1 10 1 25deg;
}

.filme:hover + .nomeFilme {
    display: inline;
    color: white;
}

.nomeFilme {
    font-size: 28px;
    font-family: fantasy;
}