/* Variables */
html{
    --colorPrincipal:#2c3359;
    --colorFondos: #ccc;
    --text: #f2ede4;
    --search:#75b8bf;
    --fondoTítulo: #f2be5c;
    --sectoresUno: #f24d34;
    --bordes: rgba(0, 0, 0, 0.3)
}

header{padding: 15px 5px 8px; background-color: #f2ede4;}

#notasPrincipales{width: 100%;}
#artUno{
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-bottom: 8px solid #f2be5c;}

#artDos{
    width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden; 
    border-bottom: 8px solid #f2be5c;}

#artTres{width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-bottom: 8px solid #f2be5c;
}

.placaTítulo{
    width: 100%;
    position: absolute;
    bottom: 25px;
    background-color: rgba(0, 0, 0, 0.8);
}

.placaTítulo h2{
    color: white;
    text-align: center;
    font-weight: 400;
    padding: 10px 0;
    margin: 0;
    font-size: 1.4rem;
}

#artUno img{
    width: 100%;
    height: 300px;
    object-fit: cover;  
    transition: .5s;
}

#artUno img:hover, #artDos img:hover, #artTres img:hover{transform: scale(1.2);}

#artDos img, #artTres img{
    width: 100%;
    height: 150px;
    object-fit: cover;  
    transition: .5s;
}

main{
    padding: 15px;
}

h1{
    margin: 15px 0 50px 0 !important;
    font-size: 2rem !important;
    font-weight: 700;
    color: var(--colorPrincipal);
    text-align: center;
}

#tituloPopulares, #tituloSecciones{
    width: 95%;
    height: auto;
    padding: 10px 0 8px 10px;
    margin: 0 auto 10px auto;
    /* border-radius: 12px 12px 0 0; */
    color: var(--text);
    font-size: 1.3rem;
    background-color: var(--colorPrincipal);
}


/*NOTAS POPULARES - SWIPER*/
.swiper-button-next{right: 26px !important;}

.swiper-button-prev{left: 26px !important;}

.swiper {
    width: 100%;
    height: auto;
    margin-top: 0;
}

#nPopulares{
    width: 100%;
    height: auto;
    margin: 0px auto 0 auto;
}

.cardNotas{
    width: 95%;
    height: 370px;
    margin: 0 auto 25px auto;
    padding: 15px;
    border: 1px solid var(--bordes);
    background-color: white;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
  
#nPopulares .cardNotas h3{
    color: var(--colorPrincipal);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 10px 0;
}

#nPopulares .cardNotas h4{
    color: black;
    font-size: 1.2rem;
    text-align: left;
    margin: 10px 0;
}
  
#nPopulares .cardNotas .fotoNotasPopulares{
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Secciones */
#secciones{
    width: 100%;
    height: auto;
    margin: 0px auto 0 auto;
}

.cardSecciones{
    width: 95%;
    height: 250px;
    margin: 0 auto 25px auto;    
    /* border: 2px solid var(--bordes); */
    background-color: white;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    background-color: white;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

#secciones .cardSecciones h3{
    width: 100%;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
}

#card1{background-image: url(../imagenes/secciones/s1.jpg);}
#card2{background-image: url(../imagenes/secciones/s2.jpg);}
#card3{background-image: url(../imagenes/secciones/s3.jpg);}
#card4{background-image: url(../imagenes/secciones/s4.jpg);}
#card5{background-image: url(../imagenes/secciones/s5.jpg);}
#card6{background-image: url(../imagenes/secciones/s6.jpg);}

/* Container Videos */
#containerVideos{
    width: 100%;
    height: auto;
    margin: 0px auto 0 auto;
}

#containerVideos iframe{
    width: 95%;
    height: 250px;
    margin: 10px auto 15px auto;
    display: block;
    border-bottom: 8px solid #f2be5c;
}

/* ////////////////////////////////////// */

@media screen and (min-width: 768px){
    #artUno{
    position: relative;
    margin-bottom: 20px;
    height: 400px;}

    #artUno img{
    height: 400px;
    object-fit: cover;}

    #tituloUno{bottom: 100px;}

    #notasSecundarias{
    width: 100%;
    display: flex;
    justify-content: space-between;}

    #artDos, #artTres{
    width: 49%; 
    height: 150px;
    position: relative;
    margin-bottom: 20px;}

    main{padding: 30px;}

    #tituloPopulares, #tituloSecciones{
    width: 100%;
    height: auto;
    padding: 10px 0 8px 10px;
    margin: 0 auto 10px auto;
    /* border-radius: 12px 12px 0 0; */
    color: var(--text);
    font-size: 1.3rem;
    background-color: var(--colorPrincipal);
    }
   
    .swiper-slide, .swiper-slide-active{margin:0 !important;}

    #nPopulares, #secciones{margin-bottom: 30px;}
   
    .cardNotas{
    width: 95%;
    height: 370px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--bordes);
    background-color: white;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);}
    
    .cardSecciones{
    width: 95%;
    height: 250px;
    margin: 0;}

    #tituloSecciones{margin-top: 30px;}

    #containerVideos iframe{
    width: 100%;
    height: 350px;
    margin: 10px auto 15px auto;
    display: block;
    }
}

@media screen and (min-width:992px){    
}


@media screen and (min-width:1024px){
    /* Container Videos */
    #containerVideos{
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: space-between;
    }

    #containerVideos iframe{
    width: 49%;
    height: 300px;
    margin: 0;
    display: block;
    }
}

@media screen and (min-width: 1200px){
    header{
    padding: 15px 0px 8px; 
    width: 98%;
    margin: auto;
    background-color: transparent;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
    }

    /* Notas Principales */
    #notasPrincipales{
    width: 100%;
    display: flex;
    justify-content: space-between;
    }

    #artUno{width: 71%; height:550px; position: relative; margin-bottom: 20px;}

    #artUno img{
    width: 100%;
    height: 550px;
    }

    #artUno img:hover{transform: scale(1.1);}

    #notasSecundarias{
    width: 28%;
    display: block;}

    #artDos{width: 100%; height: 265px; margin-bottom: 20px; display: block;}
    #artTres{width: 100%; height: 265px; margin-bottom: 15px; display: block;}

    #artDos img, #artTres img{
    width: 100%;
    height: 265px;
    object-fit: cover;}


    .placaTítulo{
    width: 100%;
    position: absolute;
    bottom: 25px;
    background-color: rgba(0, 0, 0, 0.8);}

    .placaTítulo h2{
    color: white;
    text-align: center;
    font-weight: 400;
    padding: 10px 0;
    margin: 0;
    font-size: 1.4rem;
    }

    main{
    padding: 15px 0 70px 0;
    width: 90% !important;
    margin: auto;
    }

    #nPopulares{margin-bottom: 35px;}
    #tituloSecciones{margin-top: 40px;}
    #secciones{margin-bottom: 40px;}

    .swiper {
    width: 100%;
    height: 415px;
    margin-top: 0;
    }
   
    .cardNotas{
    width: 95%;
    height: auto;
    min-height: 400px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--bordes);
    background-color: white;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);}

    .swiperSecciones{height: 268px;}
    
    .cardSecciones{
    width: 95%;
    height: 250px;
    margin: 0;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    }

    #containerVideos iframe{
    width: 49%;
    height: 400px;
    margin: 0;
    display: block;
    }
    
}