html {
  /*scroll-behavior: smooth;*/
  /*overflow-y: hidden;*/
}
body {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto Slab', serif;
}
section {
  height : 100vh;
}
nav {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding: 0;
  z-index: 5;
}
ul {
  position: -webkit-fixed;
  position: fixed;
  top: 50%;
  transform: translateY(-70%);
  width:180px;
  padding-left: 0px;
  text-align: right;
  z-index: 2;
}
li {
  display: block;
  list-style: none;
  margin-top:8px;
  background-color: rgba(255,255,255,0.2);
  padding: 10px 8px 5px 8px;
  border-radius: 0px 13px 13px 0px;
  vertical-align: middle;
  font-weight: bold;
  transform: translateX(-125px);
  transition: all .6s ease;
}
ul> li:nth-child(1) > a {
  color : #AE2D31;
}
ul> li:nth-child(2) > a {
  color : #66B35A;
}
ul> li:nth-child(3) > a {
  color : #7B5548;
}
ul> li:nth-child(4) > a {
  color : #56413B;
}
ul> li:nth-child(5) > a {
  color : #333;
}
a {
  display: block;
  text-decoration: none;
}
li > a > img {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  padding-left: 10px;
}
li:hover {
  transform: translateX(0px);
  background-color: rgba(255,255,255,0.7);
}
.titles {
  font-size: 3em;
  padding-top: 10vh;
  font-weight: bold;
}
.articles {
  padding-top: 60px;
  display :grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 15vh 15vh 20vh;
  transition: all 1s ease;
  grid-gap: 20px;
}
p {
    font-size: 1em;
    line-height: 1.6em;
    text-align: left;
    transition: all 1s ease;
    padding-top: 40px;
    font-weight: normal;
}

.container {
  position: relative;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transition: .5s ease;
  background-color: rgba(0,0,0,0.6);
}
.container:hover .overlay {
  background-color: rgba(63,30,7,0);
}
.container:hover .text {
  opacity: 0;
}
.text {
  color: white;
  font-size: 0.7em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
.overlay_text {
  position: absolute;
  top: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  width: 100%;
  transition: .5s ease;
  background-color: rgba(255,255,255,0);
}
.container:hover .overlay_text {
  top: 60%;
  height: 40%;
  background-color: rgba(255,255,255,0.6);
}
.container:hover .text_info {
  opacity: 1;
}
.text_info {
  color: black;
  font-size: 0.8em;
  line-height: 1.5em;
  position: absolute;
  padding: 10px;
  opacity: 0;
  text-align: left;
}


#zero {
  background-color: #111;
  text-align: center;
  color: white;
  z-index: 10;
}
#zero> div {
  padding-top: 35vh;
  font-size: 5em;
}
#zero > article > a {
  color: white;
  padding-top: 2vh;
}
#first {
  background-color: #AE2D31;
  text-align: center;
  background-image: url('http://api.thumbr.it/whitenoise-361x370.png?background=972f3100&noise=7d2b2d&density=25&opacity=26');
  color:white;
}
#first> article > div {
  height: 32vh;
  width: auto;
}
#first> article > div:nth-of-type(1) {
  background-image:url('https://cdn.shopify.com/s/files/1/0731/1669/products/nicaragua_los_congos_caturra_cascara_coffee_cherry_tea-bodhi_leaf_coffee_traders_c6001074-c9b2-4455-a9d2-10e2a67c24a5_2000x.jpg?v=1502922088');
  background-size: cover;
  background-position: center;
  grid-column: 2/span 1;
  grid-row: 1/span 2;
}
#first> article > div:nth-of-type(2) {
  background-image:url('https://epicureandculture.com/wp-content/uploads/2014/07/Coffee-cherries-via-KonaRed.jpg');
  background-size: cover;
  background-position: center;
  grid-column: 3/span 1;
  grid-row: 1/span 2;
}
#first > article > img {
  display: block;
  width : 60px;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  margin: 0px auto 0px;
}
#first > article > p {
  grid-column: 2/span 2;
  grid-row: 3/span 1;
}
#redskin_l {
  transform: translateX(0px);
  transition: transform 1.6s ease;
  z-index: 15;
}
#redskin_r {
  transform: translateX(0px);
  transition: transform 1.6s ease;
  z-index: 15;
}
#redskin_l:hover {
  transform: translateX(-50px);
}
#redskin_r:hover {
  transform: translateX(50px);
}
#_bean {
  display: block;
  background-color: rgb(105, 163, 65);
  height: 200px;
  width: 280px;
  border-radius: 50%;
  grid-column: 2/span 2;
  grid-row: 3/span 1;
  transform: scale(.08, 0.12);
}
#_bean_top {
  background-color: rgb(64, 109, 33);
  height: 15px;
  width: 200px;
  border-radius: 50%;
  grid-column: 2/span 2;
  grid-row: 3/span 1;
  transform: scale(.05, .012);
}
#second {
  background-color: #69B75C;
  text-align: center;
  background-image: url('http://api.thumbr.it/whitenoise-361x370.png?background=83b75e00&noise=74a055&density=33&opacity=37');
  color:white;
}
#second > article > div:nth-of-type(1) {
  background-image:url('https://www.fratellocoffee.com/wp-content/uploads/2013/02/photo-1-2.jpg');
  background-size: cover;
  background-position: center;
  grid-column: 2/span 2;
  grid-row: 1/span 2;
}
#second > article > p {
  grid-column: 2/span 2;
  grid-row: 3/span 1;
}
#dry_bean {
  display: block;
  background-color: rgb(105, 163, 65);
  height: 40px;
  width: 55px;
  border-radius: 50%;
  margin: 0px auto 0 auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 4;
}
#dry_bean_top {
  background-color: rgb(64, 109, 33);
  height: 4px;
  width: 40px;
  border-radius: 50%;
  margin: 18px auto 0 auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 5;
}
#dry_bean:hover{
  background-color: rgb(178, 196, 129);
}
#dry_bean:hover ~ #dry_bean_top {
  background-color: rgb(106, 109, 33);
}
#third {
  background-color: #7B5548;
  text-align: center;
  background-image: url('http://api.thumbr.it/whitenoise-361x370.png?background=996b57ff&noise=755140&density=33&opacity=37');
  color: black;
}
#third > article > div:nth-of-type(1) {
  background-image:url('https://thumbs.gfycat.com/GorgeousImmediateBrant-small.gif');
  background-size: cover;
  background-position: center;
  grid-column: 2/span 2;
  grid-row: 1/span 2;
}
#third > article > p {
  grid-column: 2/span 2;
  grid-row: 3/span 1;
}
#roast_bean {
  display: block;
  background-color: rgb(178, 196, 129);
  height: 40px;
  width: 55px;
  border-radius: 50%;
  margin: 0 auto 0 auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 6;
}
#roast_bean_top {
  background-color: rgb(106, 109, 33);
  height: 4px;
  width: 40px;
  border-radius: 50%;
  margin: 19px auto 0px auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 7;
}
#roast_bean:hover{
  background-color: rgb(91, 55, 31);
  transform: rotate(720deg);
}
#roast_bean:hover ~ #roast_bean_top {
  background-color: rgb(58, 35, 17);
  transform: rotate(720deg);
}
#forth {
  background-color: #63463e;
  text-align: center;
  background-image: url('http://api.thumbr.it/whitenoise-361x370.png?background=8e533bff&noise=6e584f&density=33&opacity=37');
  color: black;
}
#forth > article > div:nth-of-type(1) {
  background-image:url('https://i1.wp.com/economicalchef.com/wp-content/uploads/2017/03/File_000.gif');
  background-size: cover;
  background-position: center;
  grid-column: 2/span 2;
  grid-row: 1/span 2;
}
#forth > article > p {
  grid-column: 2/span 2;
  grid-row: 3/span 1;
}
#roasted_bean {
  display: block;
  background-color: rgb(91, 55, 31);
  height: 40px;
  width: 55px;
  border-radius: 50%;
  margin: 0 auto 0 auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 2;
}
#roasted_bean_top {
  background-color: rgb(58, 35, 17);
  height: 4px;
  width: 40px;
  border-radius: 50%;
  margin: 19px auto 0 auto;
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  transition: all 2s ease;
  z-index: 3;
}
#grind_bean {
  grid-column: 2/span 2;
  grid-row: 3/span 2;
  margin: -80px auto 0px auto;
  transform: rotateX(90deg) scale(0.5);
  transition: all 2s ease;
}
#roasted_bean:hover{
  background-color: rgb(91, 55, 31);
  transform: scale(0);
}
#roasted_bean:hover ~ #roasted_bean_top {
  background-color: rgb(58, 35, 17);
  transform: scale(0);
}
#roasted_bean:hover ~ #grind_bean {
  transform: rotateX(0deg) scale(0.5);
}
#fifth {
  background-color: #ccc;
  text-align: center;
  background-image: url('http://api.thumbr.it/whitenoise-361x370.png?background=cbcbcbff&noise=b8b8b8&density=33&opacity=37');
}
#fifth> article {
  padding: 60px 20vw 0vw 20vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 20vh 20vh 30vh;
  margin: 0 auto 0 auto;
  grid-gap: 1vh;
}
#fifth> article > img {
  margin: 0 auto 0 auto;
}
#fifth> article > p {
  grid-column: 1 / span 4;
  margin: 0px 0vw 0 0vw;
}
#fifth> article > div {
  height: 20vh;
  width: auto;
  /*transition: all 1s ease;*/
  z-index: 15;
}
#fifth> article > div:nth-of-type(1) {
  background-image:url('https://img.thedailybeast.com/image/upload/c_crop,d_placeholder_euli9k,h_1440,w_2560,x_0,y_0/dpr_1.5/c_limit,w_1044/fl_lossy,q_auto/v1504817894/170906-espresso-tease_x8drzw');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(2) {
  background-image:url('https://static1.squarespace.com/static/5be4ea9b55b02cf09b6748bd/t/5c09fcaa6d2a736869d89271/1544158418187/zfifjkslws4z3qhvq6bp.jpg');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(3) {
  background-image:url('http://4.bp.blogspot.com/-npDXrGkpPFI/VaOd4NSu2kI/AAAAAAAAAi0/CBruG5o7WoU/s1600/chemex4.gif');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(4) {
  background-image:url('https://www.flyingsquirrel.in/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/a/e/aerobie-aeropress.jpg');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(5) {
  background-image:url('http://www.thailelephant.com/wp-content/uploads/2015/09/bigstock-french-press-coffee-pour-on-a-85318499-1.jpg');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(6) {
  background-image:url('https://images1.dallasobserver.com/imager/u/745xauto/11461301/starbucks_siphon_coffee_goes_for_12.99_jacob_vaughn.jpg');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(7) {
  background-image:url('https://images.ctfassets.net/3h0qt25be5vd/5CWFoZDZN6qK2SMEwYS4eE/9123f06cb999c1b1cc2fa7a66f9a2bed/Blog-Best-PourOver-Hero2.jpg?w=1600&fm=jpg&q=70');
  background-size: cover;
  background-position: center;
}
#fifth> article > div:nth-of-type(8) {
  background-image:url('https://static1.squarespace.com/static/5be4ea9b55b02cf09b6748bd/t/5c2d6f284d7a9cb177e84e09/1546481456257/v2o2ayxayqloam4tpdhj.jpg');
  background-size: cover;
  background-position: center;
}


#fifth> article > div:hover {
  grid-column: auto / span 2;
  grid-row: auto / span 2;
  height: 41vh;
  width: auto;
}
#fifth> article > div:nth-of-type(4):hover  {
  grid-column: 3 / span 2;
  grid-row: 1 / span 2;
}
#fifth> article > div:nth-of-type(8):hover  {
  grid-column: 3 / span 2;
  grid-row: 2 / span 2;
}

/*MOBILE*/
@media screen and (max-width: 599px) {
  li {
    transform: translateX(-200px);
  }
  .titles {
    font-size: 2em;
    padding-top: 5vh;
  }
  .articles {
    grid-template-columns: auto 35% 35% auto;
    padding: 30px 0vw 0vw 0vw;
    padding-top: 40px;
  }
  p {
    padding-top: 30px;
    margin: 30px 0vw 0vw 0vw;
    font-size: 0.8em;
    text-align: left;
  }
  #fifth> article {
    padding: 30px 10vw 0vw 10vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(8, 10vh);
    margin: 0px auto 0px auto;
    grid-gap: 10px;
  }
  #fifth> article > div {
    height: 10vh;
    grid-column: auto / span 2;
    grid-row: auto / span 1;
    width: auto;
  }
  #fifth> article> p {
    padding-top: 20px;
  }
  .text {
    font-size: 0.6em;
  }
  .overlay_text {
    top: 0%;
  }
  .text_info {
    font-size: 0.7em;
  }
  .container:hover .overlay_text {
    top: 0%;
    height: 100%;
    background-color: rgba(255,255,255,0.6);
  }
  .container:hover .text_info {
    opacity: 1;
  }
  #fifth> article > div:hover {
    grid-column: auto / span 4;
    grid-row: auto / span 2;
    height: 20vh;
    width: auto;
  }
  #fifth> article > div:nth-of-type(2):hover  {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
  }
  #fifth> article > div:nth-of-type(4):hover  {
    grid-column: 1 / span 4;
    grid-row: 2 / span 2;
  }
  #fifth> article > div:nth-of-type(6):hover  {
    grid-column: 1 / span 4;
    grid-row: 3 / span 2;
  }
  #fifth> article > div:nth-of-type(8):hover  {
    grid-column: 1 / span 4;
    grid-row: 4 / span 2;
  }

  .scrolldown {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
  }
  #first > article > a > span {
    top : 187vh;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
  #second > article > a > span {
    top : 287vh;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }
  #third > article > a > span {
    top : 387vh;
  }
  #forth > article > a > span {
    top : 487vh;
  }
  #fifth > article > a > span {
    top : 595vh;
    border-left: 3px double #000;
    border-bottom: 3px double #000;
    -webkit-animation: sdb06 1.5s infinite;
    animation: sdb06 1.5s infinite;
  }
  @-webkit-keyframes sdb05 {
    0% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      -webkit-transform: rotate(-45deg) translate(-20px, 20px);
      opacity: 0;
    }
  }
  @keyframes sdb05 {
    0% {
      transform: rotate(-45deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: rotate(-45deg) translate(-20px, 20px);
      opacity: 0;
    }
  }

  @-webkit-keyframes sdb06 {
    0% {
      -webkit-transform: rotate(135deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      -webkit-transform: rotate(135deg) translate(-20px, 20px);
      opacity: 0;
    }
  }
  @keyframes sdb06 {
    0% {
      transform: rotate(135deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: rotate(135deg) translate(-20px, 20px);
      opacity: 0;
    }
  }
}
