body {
  margin: 0;
}

.container-split {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.split {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.5s ease-in-out;
}

.left,
.right {
  width: 40%;
}

.center {
  width: 20%;
  background: #ffeb00;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
  z-index: 2;
}

.center img {
  max-width: 80%;
  height: auto;
}

.left {
  background: url('../img/bali-option.webp') center/cover no-repeat;
}

.right {
  background: url('../img/jawatimur-option.webp') center/cover no-repeat;
}

.left:hover,
.right:hover {
  transform: scale(1.25);
  cursor: pointer;
}

.overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  transition: opacity 0.5s ease-in-out;
}

@media screen and (max-width: 992px) {
  .container-split {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
    height: 42.5%;
  }

  .center img {
    max-width: 60%;
  }

  .center {
    width: 100%;
    height: 15%;
  }
}