@import 'fonts.css';

body {
	font-family: 'Heebo', sans-serif;
	font-size: 1rem;
	font-weight: 300;
	margin: 0;
}

img {
	width: 100%;
	object-fit: contain;
}

 a {
	text-decoration: none;
	font-size: .75rem;
	color: rgba(0, 0, 0, 0.5);
	}

a:hover,
a:focus {
	color: rgba(0, 0, 0, 0.8);
}

/*----------------*/
/*---ASIDE-------*/
/*---------------*/

aside {
	position: relative;
}
/* -- Logo -- */
.logo {
	font-size: 4rem;
	font-weight: 500;
	font-style: italic;
	text-shadow: 2px 2px blue;
	color: #222;
	margin-right: .5em;
}

/* -- Navigation -- */

#archive {
	opacity: .3;
	width: 80px;
	height: 40px;
	line-height: 0;
	z-index: -5;
}

ul {
	list-style: none;
	padding: 0 0 0 .5em;
	margin-top: 0;
	margin-bottom: 0;
}

aside li {
  line-height: 1;
}

nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	position: absolute;
	top: 2rem;
	left: 1.25rem;

}

/*----------------*/
/*---MAIN LAYOUT--*/
/*---------------*/

.container {
	padding: 10px 30px;
	box-sizing: border-box;
	min-height: 100vh;
	display: grid;
}

.img-new {
	margin-bottom: 2em;
	max-width: 800px;
}

.aud-new {
	display: block;
	margin: 0 auto;
	border-radius: 30px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
	transform: scale(1);
}

.description {
	max-width: 500px;
	padding: 2em 0 1em;
	margin: 0 auto;
	opacity: 0.1;
}

.description-date {
	text-align: center;
}

.description:hover,
.description:focus {
	opacity: .8;
}

/*----------------*/
/*-----FOOTER-----*/
/*----------------*/

footer {
	display: flex;
	align-items: flex-end;
	}

/*----------------*/
/*-MEDIA QUERIES--*/
/*----------------*/

@media (min-width: 880px){
	.logo {
		font-size: 5rem;
	}

	ul {
		margin-top: 1rem;
	}

  aside li {
    line-height: normal;
  }

	nav {
		margin: -1em .5em 0 0;
		text-align: right;
		flex-direction: column;
    align-items: flex-end;
		top: 65px;
		left: 26px;
	}

	.container {
		grid-template-columns: 1fr 5fr 1fr;
		justify-items: center;
	}

	main {
		max-width: 800px;
	}

	.img-new {
		margin-top: 50px;
		max-height: 500px;
	}

	footer {
		grid-area: 2 / 1 / 3 / 3;
		align-self: end;
		justify-self: start;
	}

}

@media (min-width: 1080px){

  main {
    width: 100%;
  }

  .img-new {
    max-width: 1000px;
    max-height: 75vh;
  }

}
