#pantalla-inicio{
    background: linear-gradient( rgba(0, 0, 0, .2), rgba(0, 0, 0, .0)), url("/img/4.weiden--kennedy-ny_edited---small.png");
    background-size: cover;
    background-position: center center;
    height: 50vh;
}


/* pantalla prncipal */
.contenedor-presentacion{
    max-width: 1176px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.presentacion{
    max-width: 800px;
    width: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, .85); 
    margin: auto;
    margin-top: 5%;
    padding: 20px;
    color: var(--blanco);
    text-align: left;
      
}
.presentacion h1{
    font-size: 48px;
    margin-bottom: 25px;
    text-align: left;
    display: block;
    color: #fff;
    padding-bottom: 10px;
    margin: 0 0 20px;
    border-bottom: var(--sexto) solid 4px;
}

.presentacion h3{
    display: block;
    color: #fff;
    padding-bottom: 10px;
    margin: 0 0 20px;
    font-size: 16px;
    
}
.descripcion-inicio{
    color: var(--blanco);
    margin-bottom: 1.5em;
    font-size: 18px;
    line-height: 1.5em; 
    margin-left: 0;
    text-align: justify;
}
.contenedor-iconos-inicio{
    width:  100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.item a{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 10px;
}
.item a i{
    color: #fdb924;
    padding: 10px;
    font-size: 40px;
    margin-bottom: 8px;
    transform: scale(1.1);
    transition: all .5s;
    font-style: normal;
    line-height: 1;
}
.item a i:hover{
    color: var(--blanco);
    transform: rotateY(180deg) scale(1, 1);
}

.item a span{
    color: var(--blanco);
    font-size: 14px;
    font-weight: 700;
    transform: scale(1.1);
}
@media only screen and (max-width: 768px) {
    .contenedor-presentacion{
        margin-left: 2%;
        margin-right: 5%;
    }
    .contenedor-iconos-inicio{
        width:  100%;
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
    .presentacion h1{
       
        font-size:35px;
        
    }
    .descripcion-inicio{
        font-size: 18px;
    }
    .item a i{
        font-size: 30px;
    }
    .item a span{
        font-size: 12px !important;
    }
}
@media only screen and (max-width: 450px) {
    .item a i{
        font-size: 30px;
    }
    .descripcion-inicio{
        font-size: 15px;
    }
}
/* noticias */
#noticia{
    padding: 40px 0;
    margin: auto;
    background-color: #f3f3f3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.noticias{
    margin-bottom: 70px;
}
.contenedor-noticias{
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 8px;
    padding-right: 8px;   
    margin-top: 0px;
}
.contenedor-titulo{
    width: 100%;
    position: relative;
    margin-top: 2em;
    padding-bottom: 1.5rem;
    margin-bottom: 32px;
    border-bottom: var(--sexto) solid 4px;
}
.contenido-titulo{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.contenido-titulo a {
    position: relative;
    display: inline-block;
    background: 0 0;
    padding-right: 16px;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    color: #5d2b8c;
    font-weight: 700;
}
.contenido-titulo a:hover{
    text-decoration: underline;
}

.titulo-noticia{
    color: #414042;
    font-size: 48px;
    margin: 0;
    display: inline-block;
}


.contenedor-1{
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-right: 18px;
}
.contenedor-1 .contenedor-not{
    width: 100%;
}
/* posible borrado */
.contenedor-2{
    
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
/* --- */


.noticia{
    max-width: auto;

    /* margin: 0 10px; */
    position: relative;
    overflow: hidden;
}
.noticia img{
    height: 469px;
    width: 100%;
    object-fit: cover;
    transition: .5s;

}
.noticia img:hover{
    transform: scale(1.2);
}
.info-noticia{
    position: absolute;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    color: var(--blanco);
    width: 100%;
    padding: 10px;
    bottom: 0;
    z-index: 1000;
    max-height: 100px;
    transition: .5s;
    align-items: left;
}
.info-noticia span{
    color: #41b3c1;
}

.contenedor-2 img{
    max-height: 160px;
    height: 100%;
    width: 100%;

}
/* posible borrado */
.contenedor-2 .info-noticia{
    max-height: 100px;
}


/* seguna parte de noticias */
.contenedor-seccion-noticias{
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 100%; 
    align-items: start;
}
.contenedor-1 .info-noticia p{
    font-size: 11.2px;
    margin-left: -5px;
}
.contenedor-1 .info-noticia h4{
    font-size: 14px; 
    margin-left: -5px;
    margin-right: -5px;
}
.contenedor-2 .info-noticia p{
    font-size: 11.2px;  
}
.contenedor-2 .info-noticia h4{
    font-size: 15px;  
}

/* tercera parte de inicio */
.contenedor-seccion-noticias2{
    /* display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; */
    margin-top: 20px;
}
.seccion-2-contenedor{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}
.seccion-2-noticia{
    
    background-color: #ffffff; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
    margin: 20px auto; 
}
.seccion-2-noticia a{
    text-decoration: none;
}
.seccion-2-noticia img{
    height: auto;
    width: 100%;
    display: block;
    object-fit: cover;
    transition: .5s;
}
.seccion-2-noticia img:hover{
    transform: scale(1.2);
}
.info-noticia2{
    position: relative;
    text-align: left;
    height: 100%;
    width: 100%;
    display: block;
    padding: 15px;
}
.info-noticia2 h4{
    color: #414042;
    margin: 10px 0;
    font-size: 18px;
}
.info-noticia2 span{
    color: #41b3c1;
}
.card-date{
    background-color: #ececec; 
    padding: 5px 10px; 
    display: inline-block; 
    font-size: 14px;
    color: #666; 
    border-radius: 4px; 
    margin-bottom: 10px; 

}

.leer-mas a{
    margin-top: 10px;
    display: flex;
    align-content: center;
    
}
.leer-mas a p{
    color: #5d2b8c;
    font-size: 18px;
    font-weight: bold;
}
.leer-mas i{
    color: var(--sexto);
    transform: rotate(90deg);
    margin-left: 5px;
    
}
/* .seccion-2-contenedor hr{
    background-color: #f0f0f0;
    opacity: .1;
    margin-top: 15px;
} */
.contenido-visible{
    display: none;
}

/* media querys  */
@media only screen and (max-width: 1100px) {
    .contenido-visible{
        display: block;
    }
    .seccion-2-contenedor{
        grid-template-columns: repeat(2,1fr);
    }
    .contenido-no-visible{
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .contenedor-seccion-noticias{
        display: grid;
        grid-template-columns: 1fr;
    }
    .contenedor-2 .info-noticia h4{
        font-size: 14px;   
    }
    .contenedor-1{
        margin-right: 0;
    }
    .contenedor-2{
        width: 100%;
        margin: 15px 0;
    }
    .contenido-titulo{
        flex-direction: column;
        margin-bottom: 10px;
    }
    .contenedor-titulo h2{
        margin-bottom: 10px;
    }
    .contenedor-seccion-noticias2{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    .seccion-2-contenedor{
        grid-template-columns: repeat(1,1fr);
    }
    .contenido-no-visible{
        display: none;
    }
    
}
/* swiper inicio */
/* swiper */
.swiper-container {
    max-width: 1920px;
    max-height: 670px;
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: -70px;
}
  
.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}
  
.swiper-slide {
    flex: 0 0 auto;
    width: 100%;
    position: relative;
    justify-content: center;
    overflow: visible;
}
  
.swiper-slide img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}
  
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    bottom: 6%;
    width: 5%; /* Ancho relativo al tamaño del swiper */
    height: auto; /* Altura automática */
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 0px;
    cursor: pointer;
    transform: scale(1.3); /* Escala inicial */
    transition: transform 0.3s ease; /* Transición suave */
}
  
.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.6); /* Escala al hacer hover */
}
  
.swiper-button-prev {
    left: 43%;
}
  
.swiper-button-next {
    right: 43%;
}

/* texto swiper  */
.contentedor-slide{
    background-color: rgba(0,0,0,.75);
    max-width: 1176px;
    width: 75%;
    position: relative;
    bottom: 90%;
    left: 11%;
    padding: 48px;
    text-align: left;
    color: var(--blanco);
    
    
}
.slider h2{
    width: 100%;
    font-size: 48px;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 32px;
    border-bottom: var(--sexto) solid 4px;
}
.slider{
    
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 2em;
    padding-bottom: 1.5rem;
    margin-bottom: 32px;
    border-bottom: #a6a9ac solid 1px;
}
.slider a{
    text-decoration: none;
    color: #414042;
    background-color: var(--sexto);
    border-color: var(--sexto);
    padding: 13px 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 4px;
}
/* Paginación (puntos blancos) */
.swiper-pagination {
    position: absolute; 
    bottom: 5.3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    
    transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: #f7c400;
    opacity: 1;
}
@media only screen and (max-width: 768px) {
    .slider h2{
        font-size: 24px;
    }
    .swiper-container {
       
        max-height: 100%;
        
    }
    .swiper-button-prev {
        left: 35%;
    }
      
    .swiper-button-next {
        right: 35%;
    }
    
}
@media only screen and (max-width: 1176px) {
    .contentedor-slide{
        left: 10px;
        width: 96%;
    }
    .contenedor-presentacion{
       
        margin-left: 1%;
        margin-right: 1%;
    
    }
}

