:root{
	/* --paneles:rgb(255, 255, 255);
	--font:rgb(0, 0, 0);
	--hover:#20e3b2; */

	--paneles:rgb(255, 255, 255);
	--font:rgb(0, 0, 0);
	--hover:#20e3b2;
	--nav:rgb(255, 255, 255);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	width: 100%;
    background: #0cebeb;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #29ffc6, #20e3b2, #0cebeb);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #29ffc6, #20e3b2, #0cebeb); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a {
	text-decoration: none;
}

.contenedor {
	width: 90%;
	max-width: 1600px;
	margin: 20px auto;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(4, auto);
	grid-template-areas:
		'header			header   	header'
		'destacado		destacado 	destacado'
		'articulos		articulos 	aside'
		'lista	        lista       lista'
        'galeria        galeria     galeria'
		'footer	 		footer 		footer';
}

/* ---------- HEADER ----------*/
.header {
	border-radius: 20px;
	grid-area: header;
	padding: 20px;
	background: var(--nav);
	box-shadow: 0px 0px 70px rgba(0, 0, 0, 0.952);
}

.header .logo {
	margin-bottom: 20px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 3px;
}

.logo h1 {
	font-size: 45px;
	color: var(--font);
}

.header .logo img{
	max-width: 150px;
	max-height: 150px;
}

.logo .iniciales-logo {
	padding: 5px;
	border: 2px solid #000;
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
	color: var(--font);
}

.menu {
	display: flex;
	justify-content:space-around;
}

.menu a {
	padding: 10px;
	color: var(--font);
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	width: 100%;
	text-align: center;
	transition: 0.2s ease all;
	font-size: 16px;
}

.menu a:hover {
	background:var(--hover);
	color: var(--font);
}

/* ---------- Articulos ----------*/
.articulos {
	grid-area: articulos;
	display: grid;
	grid-template-columns: 1;
	grid-gap: 20px; 
}

.articulo {
	display: flex;
	color: var(--font);
	background: var(--paneles);
	box-shadow: 0px 0px 70px rgb(0, 0, 0);
	border-radius: 20px;
	height: 200px;
}

.articulo .contenedor-texto {
	padding: 20px;
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
}

.articulo .contenedor-thumbnail {
	width: 40%;
}

.articulo img {
	width: 100%;
	height: 100%;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	object-fit: cover;
}

.articulo .titulo {
	margin-bottom: 10px;
	font-size: 25px;
}

.articulo .titulo a {
	font-weight: 400;
	color: var(--font);
}

.articulo .fecha {
	font-size: 16px;
	margin-bottom: 10px;
}

.articulo .extracto {
	font-size: 20px; 
	line-height: 25px; 
	font-weight: 300;
	margin-bottom: 20px; 
}



/* ---------- lista ----------*/
.lista {
	grid-area: lista;
	display: grid;
	grid-template-columns: 1;
	grid-gap: 20px; 
}

.elemento {
	display: flex;
	color: var(--font);
	background: var(--paneles);
	box-shadow: 0px 0px 70px rgb(0, 0, 0);
	border-radius: 20px;
	text-align: center;
}

.elemento .contenedor-texto {
	padding: 20px;
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
}


.elemento .titulo {
	margin-bottom: 10px;
	font-size: 25px;
}

.elemento .titulo a {
	font-weight: 400;
	color: var(--font);
}

.elemento .fecha {
	font-size: 16px;
	margin-bottom: 10px;
}

.elemento .extracto {
	font-size: 20px; 
	line-height: 25px; 
	font-weight: 300;
	margin-bottom: 20px; 
}


/* ---------- Articulo Destacado ----------*/
.destacado {
	grid-area: destacado;
	color: var(--font);
	background-color:var(--paneles);
	border-radius: 20px;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	height: 25rem;
}

.destacado .contenedor-texto {
	overflow: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	width: 100%;
}



.destacado .extracto {
	font-size: 20px; 
	line-height: 25px; 
	font-weight: 300;
	margin-bottom: 20px; 
}

.destacado img {
	width: 100%;
	height: 25rem;
	object-fit: cover;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.destacado .contenedor-thumbnail {
	object-position: center center;
	object-fit:cover;
}

.destacado .contenedor-thumbnail a img{

}


.destacado .contenedor-thumbnail a {
	display: inline-block;
	width: 100%;
	height: 100%;
}

.destacado .titulo a {
	color: var(--font);
}

.destacado .titulo::after {
	content: '';
	margin: 0.625em 0; 
	display: block;
	background-color: var(--hover);
	width: 6em; 
	height: 1px;
}

.btn-link {
	color: var(--font);
	cursor: pointer;
	display: inline-block;
	padding: 0.625em; 
	
	font-size: 1em; 
	text-transform: uppercase;
	letter-spacing: 1px;
	align-self: flex-end;
}

.btn-link:hover {
	background: var(--hover);
	text-decoration: none;
}



/*---------- SIDEBAR ----------*/
.sidebar {
	padding: 5em 25px; 
	border-radius: 20px;
	text-align: center;
	min-height: 100px; 
	grid-area: aside;
	background: var(--paneles);
	color: var(--font);
	box-shadow: 0px 0px 70px rgba(102, 102, 102, 0.2);
}

.sidebar .acerca-de img {
	border-radius: 100%;
	height: 10em; 
	width: 10em; 
	margin-bottom: 25px; 
}

.sidebar .bio {
	margin-bottom: 25px; 
	font-size: 20px; 
	line-height: 25px; 
}

.sidebar .menu {
	width: 100%;
	display: inline-block;
}

.sidebar .menu a {
	padding: 25px; 
	color: var(--font);
	background-color: rgba(0, 0, 0, 0);
	display: block;
	font-size: 1em;
	text-transform: uppercase;
}

.sidebar .menu a:hover {
	background: var(--hover);
}
/*---------- Galeria ----------*/

.galeria{
    font-family:sans-serif;
    grid-area: galeria;
	background: rgb(255, 255, 255);
	box-shadow: 0px 0px 70px rgba(0, 0, 0, 0.552);
	padding: 5%;
	border-radius: 20px;
	
}

.galeria h1{
    text-align: center;
    margin: 20px 0 15px 0;
    font-weight: 300;
    font-size: 50px;
    font-family: 'calibri';
    color: white;
}


.contenedor-imagenes-galeria{
	border-radius: 50px;
    display: flex;
    width: 85%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 3px;
}

.contenedor-imagenes-galeria .imagen{
	
    width: 32%;
    position: relative;
    height: 250px;
    margin-bottom: 25px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, .75);
}

.imagen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background: #11929285;
    width: 100%;
    height: 0%;
    transition: .5s ease;
    overflow: hidden;

}

.overlay h3{
    color: white;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform:translate(-50%,-50%);
}

.overlay button{
    background: transparent;
    border: none;
    color: white;
    padding-top: 7%;
    margin-left: 10px;
    display: block;
}

.imagen:hover .overlay{
    height: 100%;
    cursor: pointer;
}


/*---------- FOOTER ----------*/

.contenedor .footer {
	margin-top: 30px;
	border-radius: 20px;
	background-color: var(--paneles);
	color: var(--font);
	font-size: 20px; 
	font-weight: bold;
	grid-area: footer;
	padding: 25px; 
	text-align: center;
	box-shadow: 0px 0px 70px rgba(0, 0, 0, 0.952);
}

.contenedor .footer i{
	padding: 15px;
	color: var(--font);
}


/*---------- RESPONSIVE ----------*/


@media screen and (max-width: 1400px){

	.articulo.destacado .contenedor-thumbnail a img{
		border-bottom-right-radius: 20px;
		border-top-right-radius: 20px;
	}

	.destacado{
		height: 100%;
	}

	.destacado img{
		height: 100%;
	}
}



@media screen and (max-width: 1200px){
	body{
		font-size: 14px;
	}

}
@media screen and (max-width: 992px){
	body{
		font-size: 16px;
	}

	.header{
		font-size: 12px;
	}

	.contenedor {
		grid-template-areas:
		'header			header   	header'
		'destacado		destacado 	destacado'
		'articulos		articulos 	articulos'
		'aside          aside       aside'
		'lista	        lista       lista'
        'galeria        galeria     galeria'
		'footer	 		footer 		footer';
	}

	.destacado {

		grid-template-columns: 1fr;
	}

	.destacado .contenedor-thumbnail a img{
		border-bottom-right-radius: 20px;
		border-bottom-left-radius: 20px;
		border-top-right-radius: 0;
	}
	.destacado img {
		width: 0%;
		height: 0%;
	}
}
@media screen and (max-width: 768px){
	 
}
@media screen and (max-width: 576px){
	body{
		font-size: 10px;
	}

	/* HEADER */
	.menu {
		display: initial;
	}

	.destacado .contenedor-texto{
		height: 25rem;
	}
	
	.articulo .extracto{
		height: 15rem;
		overflow: auto;
	}
	.articulo .contenedor-thumbnail {
		width: 0%;
	}
}