

header {
    background-image: url(../assets/backgrounds/moviesPage.jpg);
}


main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    & .time-line {
        position: sticky;
        left: auto;
        right: auto;
        width: 3px;
        background-color: var(--rougeTheme);
        height: 100lvh;
        top: 0;

    }

    & nav {
        @media (max-width: 900px) {
            width: 90vw;
        }
    }
    

    & select {
        padding: 10px;
        border-radius: 5px;
        border: var(--rougeTheme) 1.5px solid;
        background-color: var(--grisTheme);
        justify-self: center;
        margin-top: 10lvh;
        z-index: 1;
        margin-bottom: 10lvh;

        @media (max-width: 900px) {
            font-size: 2rem;
            padding: 20px;
            border-radius: 20px;
        }


            &:focus {

                outline: 3px solid rgba(255, 0, 0, 0.541);
                border: 1.5px solid var(--rougeTheme);

                &::placeholder {
                    scale: 0.8;
                    position: relative;
                    float: left;
                    transform: translateY(-20%);
                    left: -1%;
                }
            }

        }


    & section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        margin-top: 30lvh;
        

        & .film, .serie {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 65vw;
            margin-bottom: 10lvh;
            z-index: 1;

            @media (max-width: 900px) {
                width: 90%;
                flex-direction: column;
            }

            &.right {
                flex-direction: row-reverse;

                @media (max-width: 900px) {
                    flex-direction: column;
                }
            }

            & img {
                height: 50lvh;
                border-radius: 10px;


            }
            
            & .text {
                height: 25lvh;
                width: 35vw;
                background-color: var(--grisThemeLight);
                box-shadow: 0 0 10px 10px var(--rougeTheme);
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                text-align: center;
                line-height: 1.3rem;

                @media (max-width: 900px) {
                    width: 90vw;
                    margin-bottom: 3lvh;
                }

                & p {
                    width: 70%;
                    margin: 0;

                    @media (max-width: 900px) {
                        width: 100%;
                    }

                }
            }
        }
    }
}

