.top-section {
  height: 100vh;
  background-color: red;
}

.bottom-section {
  height: 100vh;
  background-color: blue;
}

.image-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.2%; /* Maintains 1200x800 aspect ratio */
  background-color: #ddd;
  overflow: hidden;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

div#altania-btn {
  width: 8vw;         /* 8% of viewport width */
  height: 8vw;
  border-radius: 50%; /* Make it circular */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9vw;
  padding: 0;
}

div#verania-btn {
  width: 8vw;         /* 8% of viewport width */
  height: 8vw;
  border-radius: 50%; /* Make it circular */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9vw;
  padding: 0;
}

.overlay-button {
  position: absolute;
  transform: translate(-50%, -50%);
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  white-space: nowrap;
  visibility: hidden;
}

.image-container.image-loaded .overlay-button {
  visibility: visible;
}

.overlay-button a {
  color: white;
  text-decoration: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.overlay-button {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container.visible #altania-btn {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

.image-container.visible #verania-btn {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.9s;
}

/* Mask */

.masked-image {

  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(85% - 80px),
    calc(85% - 80px) 100%,
    0 100%
  );
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.masked-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  position: relative;
}

.masked-image:after {
  content: 'hola';
  position: absolute;
  bottom: 0;
  left: 60%;
  z-index: 999;
}