  .box-carosel {
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
  }

  .box-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
    max-width: 90%;
    height: 70vh;
    max-height: 900px;
    padding: 1rem;
    margin: 0 auto;
  }

  .box-container .box {
      width: 25%;
      height: 100%;
      border-radius: 25px;
      cursor: pointer;
      transition: width 0.5s ease-in-out;
      position: relative;
      overflow: hidden;
  }

  .box-container .box {
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;

        

  }

  .box-container .box .overlay {
      opacity: 0;
  }

  .box-container .box.closed {
      width: 5%;
  }

  .box-container .box.closed .overlay {
      opacity: 1;
  }

  .box-container .box.expanded {
      width: 85%;
  }

  .overlay {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      height: 100%;
      width: 100%;
      transition: 0.5s ease;
      background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  }
  .hideimage{
    opacity: 0;
    visibility: hidden;
  }