@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700,900&subset=latin-ext");


a,
a:hover {
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.wrapper {
  display: flex;
  align-items: center;
  min-height: 100vh;
  

}

.scroll-list {
  width: 100%;
  max-width: 700px;
  /* padding: 25px; */
  /* margin-top: 100px; */
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;

  @media screen and (max-width: 768px) {
    margin-top: 20px;
  }

  &__wrp {
    width: 100%;
    height: 700px;
    overflow: auto;
    padding: 50px;
    box-shadow: 0px 7px 46px 0px rgba(41, 53, 108, 0.45);
    background: #4b1079;
    background: #4b1079;
    margin-bottom: 15px;
    border-radius: 8px;
   
    .scrollbar-track {
      display: none !important;
    }

    @media screen and (max-width: 768px) {
      padding: 25px;
    }
  }

  &__item {
    width: 100%;
    height: 155px;
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
    background-image: linear-gradient(147deg, #ff7c34 0%, #c31269 74%);
    transition: all 0.35s ease-in-out;
    opacity: 0;
    transform: scale(0.7);
    box-shadow: 0px 7px 16px 0px rgba(41, 53, 108, 0.25);

    &.item-hide {
      opacity: 0;
      transform: scale(0.7);
    }

    &.item-focus {
      opacity: 1;
      transform: scale(1);
    }

    &.item-next {
      opacity: 1;
      transform: scale(1);

      & + .scroll-list__item {
        opacity: 1;
        transform: scale(1);
      }
    }

    &:last-child {
      margin-bottom: 155px;
    }

  
  }
}
.scroll-list__item {
    background: #ffffff4f;
    color:#ffffff;
    width: 100%;
    /* height: 50px; */
    display: block;
    margin-bottom: 15px;
    border-radius: 8px;
    padding : 10px;
   
    transition: all 0.35s ease-in-out;
    opacity: 0;
    transform: scale(0.7);
    box-shadow: 0px 7px 16px 0px rgba(41, 53, 108, 0.25);
}
.scroll-list__item.item-hide:has(+.item-focus) {
    opacity: 0.6 !important;
    transform: scale(0.8);
}
.scroll-list__item.item-focus {
    opacity: 0.8;
    transform: scale(1);
}

.scroll-list__item.item-next {
    opacity: 1;
    transform: scale(1);
}
.scroll-list__item.item-next + .scroll-list__item {
    opacity: 0.8;
    transform: scale(1);
}
.scroll-list__item.item-next + .scroll-list__item + .scroll-list__item  {
    opacity: 0.6;
    transform: scale(1);
}
.scroll-list__item.item-next + .scroll-list__item + .scroll-list__item + .scroll-list__item  {
    opacity: 0.4;
    transform: scale(1);
}
.scroll-content{
    height: 300px;
}
.gridarea__wraper {
  direction: rtl;
  height: 475px;
}