@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;
  margin-bottom: .5rem;
}

.logo-100 {
  font-size: 3.5rem;
  font-weight: 500;
  font-style: italic;
  color: #222;
  margin: 0 .5em 0 0;
}

/* -- Navigation -- */

#archive {
  opacity: .3;
  width: 100px;
  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.8rem;

}

/*----------------*/
/*---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-100 {
    font-size: 4rem;
    line-height: 175%;
  }

  ul {
    margin-top: 1rem;
  }

  aside {
    margin-bottom: 0;
  }

  aside li {
    line-height: normal;
  }

  nav {
    margin: -1em .5em 0 0;
    text-align: right;
    flex-direction: column;
    align-items: flex-end;
    top: 4.1rem;
    left: 1.7rem;
  }

  .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;
  }

}
