.case-block__info {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  p {
    width: 580px;
    margin-left: 40px;
  }
}

.case-block__card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 128px;
  background-color: #191A23;
  border-radius: 32px;
  padding: 70px 60px;
  margin-bottom: 140px;
  p {
    color: white;
    margin-bottom: 20px;
  }
  a {
    display: flex;
    align-items: center;
    color: #B9FF66;
    text-decoration: none;
  }
}

.case-block__card a:hover {
  text-decoration: underline;
}

.case-card a span {
  display:inline-block;
  width: 41px;
  height: 41px;
  background-image: url('../img/Arrow\ 1.svg');
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center;
  margin-left: 4px;
}

.case-card {
  position: relative;
}

.case-card:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -64px;
  transform: translate(50%, -50%);
  height: 186px;
  width: 2px;
  background-color: white;
}

@media (max-width: 1023px) {

  .case-block__info {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
    justify-content: center;
    p {
      width: 100%;
      margin-left: 0;
      text-align: center;
      line-height: 1.5;
    }
  }

  .case-block__card {
    align-items: stretch;
    overflow-x: scroll;
    margin: 0 -20px;
    padding: 0 20px;
    gap: 20px;
    background-color: unset;
    margin-bottom: 60px;
    justify-content: unset;
    border-radius: unset;
    &::-webkit-scrollbar { 
      display: none;  
    }
  }

  .case-card {
    flex-direction: column;
    display: flex;
    flex-shrink: 0;
    width: 88%;
    background-color: #191A23;
    border-radius: 32px;
    padding: 42px 50px 42px 50px;
    p {
      line-height: 1.5;
    }
    a {
      margin-top: auto;
    }
  }





}
