/*---Estilos para el front-page.php--*/

/*---Header img/video--*/
header#media{
    & video{
        aspect-ratio: 2.5;
        position: relative;
        object-fit: cover;
        object-position: center;
        max-height: 950px;
        z-index: -1;
    }

    & div.overla-header{
        position: absolute;
        bottom: 10px;
        right: 10px;
        /*---Botones Redes Sociales--*/
        & .btn-social {
            font-size: 25px;
            color: var(--secondary-color);
            width: 55px;
            transition: color .3s ease-in-out;

            &:hover{
                color: var(--primary-color);
            }
        }
    }
}

@media (min-width:768px) {
    header#media{
        & div.overla-header{
            bottom: 30px;
            right: 30px;
        }
    }
}

/*---Menu iconos--*/
nav#container-menu-iconos{
    
    & li.menu-item{
        max-width: 200px;
        list-style: none;
        text-align: center;
        display: block;
        padding: 10px 20px 15px 20px;
        background-color: var(--secondary-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
        transition: transform .3s ease-in-out, box-shadow 0.3s ease-in-out ;
        transform: scale(1);

        &:hover{
            transform: scale(1.02);
            box-shadow: 0 .5rem 1.1rem rgba(0, 0, 0, .40);
        }

        & > a{
            text-decoration: none;
            margin-bottom: 5px;
            color: white;
            font-weight: 500;
            & i{
                font-size: 40px;
                padding-top: 10px;
                padding-bottom: 5px;
            }
            
        }
    }
}

@media (min-width:420px) {
    nav#container-menu-iconos{
        & li.menu-item{
            padding: 10px 10px 25px 10px;
            & > a{
                & i{
                font-size: 60px;
                padding-top: 15px;
                padding-bottom: 15px;
            }
            }
            
        }
    }
}

@media (min-width:992px) {
    nav#container-menu-iconos{
        & li.menu-item{
           max-width: 250px;
        }
    }
}

@media (min-width:1200px) {
    nav#container-menu-iconos{
        & li.menu-item{
           max-width: 330px;
           & > a{     
            & i{
                font-size: 63px;
            }
           }
           
        }
    }
}

/*Titulos de secciones de cartelera y Noticias*/
h2 > span{
    border-radius: 0 15px;
    bottom: 20px;
}

/*Seccion de Cartelera*/
section#section-cartelera{
    & div.cont-carteles{
        border-radius: 0 50px 50px 50px;
    }
}

/*Seccion de Noticias*/

section#section-noticias{
    & .card{
        box-shadow: 4px 4px 16px lightgray;
        transform: translateY(0);
        transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
        &:hover{
            transform: translateY(-10px);
            box-shadow: 4px 4px 10px gray;

        }
        & figure{
            margin-bottom: 0;
        } 
            
        & h3{
            line-height: 1;
        }
    }
}