main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.noticias-recientes {
	display: flex;
    flex-direction: column;
    align-items: center;
    width:80%;
    padding-bottom: 0;
}

.quienes-somos {
    width: 80%;
}

.marcas-asociadas {
    width: 90%;
}

.noticias-recientes h1 {
    text-align: center;
    margin-top: 2rem;
}

/*CARRUSEL*/
.slide {
	margin-top: 2rem;
	width: 100%;
    height: auto;
}

.slide-inner {
    display: flex;
    flex-direction: column;
	justify-content: space-between;
	width: 100%;
	height: 100%;
}

.slide-open:checked + .slide-item {
	display: block;
}

.slide-item {
	display: none;
	-webkit-transition: opacity 0.6s ease-out;
	transition: opacity 0.6s ease-out;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
	height: 100%;
}

.slide-item img {
	display: block;
	height: 100%;
	width: 100%;
}

.slide-control:hover {
	background: rgba(0, 0, 0, 0.8);
	color: #aaaaaa;
}

#slide-1:checked ~ .control-1,
#slide-2:checked ~ .control-2,
#slide-3:checked ~ .control-3 {
	display: block;
}

.slide-indicador {
	text-align: center;
	z-index: 10;
}

.slide-indicador li {
	display: inline-block;
	padding: 0 5px;
}

.slide-circulo {
	color: #828282;
	cursor: pointer;
	display: block;
	font-size: 45px;
}

.slide-circulo:hover {
	color: #aaaaaa;
}

#slide-1:checked ~ .indicadores .slide-indicador li:nth-child(1) .slide-circulo,
#slide-2:checked ~ .indicadores .slide-indicador li:nth-child(2) .slide-circulo,
#slide-3:checked ~ .indicadores .slide-indicador li:nth-child(3) .slide-circulo {
	color: var(--azul);
}

/* Interior del slide */
.interior-slide {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
    width: 100%;
    height: 24rem;
	padding: 2rem;
	box-sizing: border-box;
	
}

.titulo-noticia {
    text-align: center;
    color: var(--azul);
    font: 500 1.5rem "Rubik", "sans-serif";
	margin-bottom: .5rem;
}

.date-image-text {
    height: 80%;
}

.slide-date {
    width: 100%;
    height: fit-content;
	padding-left: 1rem;
}

.slide-date p {
	font: 1rem "Rubik", sans-serif;
	color: var(--grisclaro);
}

.image-text {
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: row;
	text-overflow: ellipsis;
      overflow: hidden;
}

.image-text img {
    width: 20%;
	max-height: 12rem;
    max-width: 12rem;
    min-width: 9rem;
	padding: 1rem;
}

.image-text p {
    width: 100%;
	max-height: 12rem;
      text-overflow: ellipsis;
      overflow: hidden;
}

.slide-button {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

.slide-button button {
    width: 40%;
}

.slide-button .boton-azul {
	height: fit-content;
	display: flex;
}

.interior-boton {
	color: var(--amarillo);
    font: 500 1rem "Rubik", sans-serif;
	text-decoration: none;
	padding: .7rem 6rem;
}

/*QUIENES SOMOS*/
#quienes_somos {
	margin-top: 1rem;
}

.quienes-somos img {
    min-height: 9rem;
    max-height: 15rem;
    height: auto;
    width: auto;
    padding: 0 1rem 1rem 1rem;
	float:right;
}

.quienes-somos h1 {
    margin-bottom: 1rem;
}

/*MARCAS ASOCIADAS*/
.marcas-asociadas h1 {
    text-align: center;
}


/* Animation */
@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-250px * 7))}
}

/* Styling */
.slider {
	background: white;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
	height: fit-content;
	margin: auto;
	overflow:hidden;
	position: relative;
	width: 80%;	
}

.slider .slide-track {
    animation: scroll 40s linear infinite;
	display: flex;
	width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
}

@media  (max-width: 700px) {
    .image-text {
        flex-direction: column;
        align-items: center;
    }

	.interior-slide {
		height: 34rem;
		justify-content: space-between;
	}

	.interior-boton {
		padding: .5rem 3rem;
	}

	.quienes-somos img {
		float: none;
	}

	.quienes-somos {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.quienes-somos h1 {
		text-align: center;
	}

	.marcas-asociadas {
		padding: 20px 0;
		width: 100%;
	}
}

