 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
   cursor: pointer;
}
 body{
	 background:#000;
 }

.image-container {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  width: calc(100% - 0);
  margin-inline: auto;
  padding: 0 1rem;
  overflow: hidden;
}

.image-container .image {
  position: relative;
  width: 400px;
  height: 400px;
   overflow: hidden;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.image-container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

span {
  display: inline-block;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background-color: #000;
  padding: 0.7rem 1rem;
  border-radius: 100vw;
  color: #fff;
  font-size: 1.2rem;
  transform: scale(0);
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95) 0.3s;
}

.image-container .active {
  width: 100%;
}

.image-container .active span {
  transform: scale(1);
}
.allsl .toplo {
    position: absolute;
    width: 100%;
    background-color: #fff;
    padding: 0.5em;
}
.allsl .toplo img {
    width: 7em;
}

.bttxt {
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: #fff;
    /* transform: scale(1); */
}
.bttxt p {
    padding: 1em;
    width: 90%;
    font-size: 0.65em;
    line-height: 1.2;
}
.bttxt a {
    font-size: 10px;
    background-color: #b43a40;
    color: #fff;
    padding: 0.5em 1em 0.5em 1em;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 4.5em;
    line-height: 1.2;
    text-align: center;
}

.image-container .active .bttxt {
    transform: scale(1);
}

.image-container .active .bttxt p {
    transform: scale(1.5);
    padding-left: 9.5em;
    padding-right: 15em;
    padding-top: 1.7em;
}



@media (max-width: 576px) {
  .image-container {
    flex-direction: column;
    max-width: 2000px;
    width: 100%;
    height: 400px;
  }

  .image-container .image {
    width: 100%;
    height: 60px;
    transition: height 0.5s ease-in-out;
  }

  .image-container .image img {
    width: 100%;
    height: 100%;
  }

  .image-container .active {
    height: 400px;
  }
}