/* HERO */
.hero{
  padding-top: 24px;
  padding-bottom: 48px;
}
.hero__header{
  margin-bottom: 32px;
}
.hero__img{
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 100%;
  height: 250px;
  margin-bottom: 24px;
}
.hero__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__btn{
  display: none;
}
.info__list{
  border-top: var(--border);
  display: flex;
}
.info__item{
  flex-basis: 50%;
  flex-grow: 0;
  padding-top: 20px;
}
.info__item:first-child{
  border-right: var(--border);
}
.info__item:nth-child(2){
  padding-left: 16px;
}
.info__item span{
  color: var(--black);
}

@media screen and (min-width: 768px){
  .hero{
    padding-top: 132px;
  }
  .hero__header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .hero__wrapper{
    display: flex;
    flex-direction: row-reverse;
  }
  .hero__img{
    height: 400px;
    margin-bottom: 0;
  }
  .info__item:nth-child(2){
    padding-left: 28px;
  }
  .hero__btn{
    display: block;
    max-width: 85px;
    text-align: right;
    font-size: 14px;
    color: var(--black);
    padding-right: 56px;
    position: relative;
    margin-top: auto;
  }
  .hero__btn::after{
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url(../images/icons/arrow-down.svg);
    background-size: contain;
  }
  .hero__info{
    display: flex;
    flex-direction: column;
    margin-right: 32px;
  }
}
@media screen and (min-width: 1200px){
  .hero__info{
    margin-right: 72px;
  }
  .hero__img{
    height: 535px;
  }
}

/* DESC */

.desc{
  padding: 40px 0 60px;
}
.desc__content .highlighted{
  display: block;
}
.desc__intro{
  margin-bottom: 16px;
}

@media screen and (min-width: 768px){
  .desc{
    padding: 80px 0 160px;
  }
  .desc__wrapper{
    display: flex;
    justify-content: space-between;
  }
  .desc__intro{
    flex-basis: 300px;
    flex-shrink: 0;
  }
}
@media screen and (min-width: 1200px){
  .desc__intro{
    flex-basis: 350px;
  }
  .desc__text{
    column-count: 2;
    column-gap: 112px;
  }
  .desc__text>p{
    break-inside: avoid-column;
  }
}

/* TECHNOLOGIES */

.technologies__container{
  margin: 0 20px;
  border-radius: var(--border-radius);
  background-color: var(--light-gray-2);
  padding-top: 52px;
  background-image: url(../images/pills.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto 60px;
  padding-bottom: 120px;
}
.technologies__desc{
  max-width: 445px;
  margin: 0 auto;
  text-align: center;
}
.technologies__item{
  display: inline-block;
  font-size: 16px;
  color: var(--dark-gray-2);
}
@media screen and (min-width: 768px){
  .technologies__container{
    padding-top: 92px;
    background-size: auto 85px;
    padding-bottom: 200px;
  }
  .technologies__item{
    font-size: 20px;
  }
}

/* PAGINATION */

.pagination{
  padding: 50px 0;
}
.pagination__wrapper{
  display: flex;
  justify-content: center;
}
.pagination__item{
  color: var(--black);
  position: relative;
}
.pagination__item.inactive{
  color: var(--medium-gray);
}
.pagination__item-prev{
  padding-right: 24px;
  border-right: var(--border);
  padding-left: 60px;
}
.pagination__item-next{
  padding-left: 24px;
  padding-right: 60px;
}
.pagination__item::before{
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--black);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../images/icons/arrow-pag.svg);
  background-size: 28px;
  background-position: center;
  background-repeat: no-repeat;
}
.pagination__item.inactive::before{
  background-color: var(--medium-gray);
}
.pagination__item-prev::before{
  left: 0;
  transform: translateY(-50%) rotate(-180deg);
}
.pagination__item-next::before{
  right: 0;
}

@media screen and (min-width: 768px){
  .pagination{
    padding: 100px 0;
  }
  .pagination__item-prev{
    padding-right: 40px;
  }
  .pagination__item-next{
    padding-left: 40px;
  }
}