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

html,
body {
  height: 100vh;
  max-width: 100vw;
  /* overflow: hidden; */
}

.title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 2%;
  color: white;
}

.title h1 {
  padding-bottom: 5px;
}

.container-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  width: 1000px;
  margin: 0 auto 2em auto;
  padding: 1em 0.5em;
  display: flex;
  justify-content: center;
}

.fromA {
  display:flex;
  justify-content: space-between;
  max-width: 1000px;
  margin-left: auto; /* Horizontally center */
  margin-right: auto; /* Horizontally center */
  margin-top: 5%;
  padding-left: 15px;
  padding-right: 15px;
}

.indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 100%;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.gallery {
  display: flex;
  justify-content: space-around;
  width: 100%;
  overflow: hidden;
}

.gallery-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 20px;
  height: 400px;
  margin: 0 5px;
  background: #000;
  overflow: hidden;
  transition: flex 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.gallery-item img {
  width: 400px;
  height: 100%;
  object-fit: contain;
  transform: scale(2);
}


.image-text {
  position: absolute;
  bottom: 10px; /* Adjust distance from the bottom */
  left: 10px; /* Adjust distance from the left */
  color: white;
  z-index: 1;
}