@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merienda+One&display=swap');

/*
======================================
==		     	  BODY   	         ==
====================================== */

.indexBody {
    font-family: 'Roboto', sans-serif;
    background-color: #E8F0F2;
    box-sizing: border-box;
}

.indexMainContainer {
    background-color: #E8F0F2;
}

/*
======================================
==		     HEADER         	     ==
====================================== */

header nav {
    background-color: #053742;
}

.navLoginBtn {
    color: rgb(13, 202, 240);
}


/*
======================================
==		     	  SLIDER 	         ==
====================================== */

#indexCarouselHeader {
    height: 30rem;
    overflow: hidden;
    
}

#indexCarouselHeader .carousel-inner img {
    height: 30rem;
    object-fit: cover;
    overflow: hidden;
}

#indexCarouselHeader .carousel-inner .carousel-caption h1 {
    font-weight: bolder;
    font-size: 2.8rem;
    text-shadow: 6px 4px 4px rgba(0, 0, 0, 1);
}


/*
======================================
==		     MAIN-CONTENT       	 ==
====================================== */


/* CARDS */

.indexCardContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Merienda One', cursive;
}

.indexCardContainer figure {
    position: relative;
    height: 26rem;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.indexCardContainer figure img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
    object-fit: cover;
}

.indexCardContainer figure .capa {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.indexCardContainer figure:hover > .capa {
    opacity: 1;
    visibility: visible;
}

.indexCardContainer figure:hover > .capa h3 {
    margin-top: 70px;
    margin-bottom: 15px;

}

.indexCardContainer figure:hover > img {
    transform: scale(1.2);
}

.indexCardContainer figure > .capa h3 {
    color: #fff;
    font-weight: 400;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}

.indexCardContainer figure .capa .indexCardTitles {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.indexCardContainer figure .capa .indexCardDescription {
    margin-bottom: 2rem;
    padding: 0 1rem;
    font-family: 'Roboto', sans-serif;
}

.indexCardContainer figure .capa p {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    width: 100%;
    max-width: 520px;
    margin: auto;
}

/* FINAL BOX  */

.indexFinalBoxContainer img {
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.4);
}

/* INDEX END  */


/*
======================================
==		     	 ASIDE     	        ==
====================================== */

/* ACORDEON DE CATEGORIAS  */

.btn-check:focus + .btn, .btn:focus {
    outline: 0;
    box-shadow: none;
}

#indexAccordionCategories .indexAccordionText{
    font-weight: bolder;
    border: 0;
}

#indexAccordionCategories .indexAccordionText:hover{
    background-color: rgba(0, 0, 0, 0.84);
    color: #fff;
}

/* NOTICIAS */

.indexNoticiasContent .card{
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3);
    border-radius: 0.4rem;
    overflow: hidden;
    cursor: pointer;
}

.indexNoticiasContent .card img{
    height: 8rem;
    object-fit: cover;
}

.indexNoticiasContent .card a{
    color: black
}


/*
======================================
==		     MEDIA QUERY     	    ==
====================================== */

@media screen and (max-width: 358px){
    /* CARDS  */
    .indexCardContainer .indexCardMainTitle h3 {
        font-size: 17px;
    }

    .indexCardContainer figure .capa .indexCardTitles p {
        font-size: 13px;
    }

    .indexCardContainer figure .capa .indexCardDescription p {
        font-size: 13px;
    }
}

@media screen and (max-width: 415px){
    /* CARD 4  */
    .indexCardContainer .indexCard4 {
        font-size: 17px;
    }
}

@media screen and (max-width: 500px){
    /* CARRUSEL  */
    #indexCarouselHeader .carousel-inner .carousel-caption h1 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 767px){
    /* PUBLICIDAD, NOTICIAS Y CAJA FINAL */
    #indexPublicidad #indexCarruselPublicidad {
        display: none;
    }

    #indexNoticias {
        display: none;
    }

    #indexFinal {
        display: none;
    }
}

@media screen and (max-width: 830px){
    /* NOTICIAS TITULO */
    #indexNoticias h2 {
        font-size: 1.5rem;
    }
}

