.hero{
  padding: 40px 0;
  min-height: calc(100vh - 85px);
  box-sizing: border-box;
}
.hero h1{
  margin-bottom: 70px;
}
.hero__wrapper{
  height: 100%;
  background-image: url(../images/hero-portfolio.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: auto 150px;
  padding-bottom: 200px;
}

@media screen and (min-width: 768px){
  .hero{
    padding: 60px 0;
  }
  .hero h1{
    margin-bottom: 140px;
  }
  .hero__wrapper{
    background-position: right bottom;
    background-size: auto 250px;
    position: relative;
  }
  .hero__desc{
    width: 300px;
    position: absolute;
    bottom: 0;
  }
}
@media screen and (min-width: 1200px){
  .hero__wrapper{
    background-size: auto 300px;
    padding-bottom: 280px;
  }
  .hero__desc{
    width: 360px;
  }
}

/* CASES */
.cases{
  padding: 40px 0 50px;
}
.cases__header{
  text-align: center;
  margin-bottom: 40px;
}
.cases__header>p{
  margin-bottom: 20px;
}
.cases__item{
  margin-bottom: 22px;
  padding: 24px 16px;
  position: relative;
}
.cases__item::before{
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0; 
  top: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}
.cases__item-marketing::before{
  background-image: url(../images/portfolio/cases-marketing.png);
}
.cases__item-marketing-2::before{
  background-image: url(../images/portfolio/cases-marketing-2.png);
}
.cases__item-healthcare::before{
  background-image: url(../images/portfolio/cases-healthcare.png);
}
.cases__item-telecom::before{
  background-image: url(../images/portfolio/cases-telecom.png);
}
.cases__info>p{
  color: var(--white);
}
.cases__item::after{
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--green);
  background-image: url(../images/arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
  position: absolute;
  bottom: 24px;
  right: 16px;
  transition: all .3s ease-in-out;
}
.cases__item>h3{
  font-weight: 400;
}
.cases__link{
  position: absolute;
  left: 0;
  right: 0;
  top: 0; 
  bottom: 0;
  z-index: 10;
}
@media screen and (min-width: 768px){
  .cases{
    padding: 60px 0 100px;
  }
  .cases__header{
    margin-bottom: 80px;
  }
  .cases__header>p{
    margin-bottom: 40px;
  }
  .cases__item{
    margin-bottom: 44px;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 0 42px;
  }
  .cases__item>h3{
    width: 35%;
    margin-right: 52px;
  }
  .cases__item::after{
    top: 80px;
    right: 42px;
  }
}
@media screen and (min-width: 1200px){
  .cases__item::before{
    opacity: 0;
    transition: all .3s ease-in-out;
  }
  .cases__item:hover::before{
    opacity: 1;
  }
  .cases__item>h3{
    width: 30%;
    margin-right: 200px;
  }

  .cases__item:hover::after{
    background-color: var(--white);
    transform: rotateZ(45deg);
  }
  .cases__item:hover .cases__info span{
    color: var(--green);
  }
}

