.image-container {
  display: flex;
  width: 100%;
  max-width: 1600px;
  margin: 10px auto 0 auto;
}

.image-left-link {
  flex: 1;
  position: relative;
  background-image: url('../images/v_r.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block; /* Make the link a block element */
  text-decoration: none; /* Remove link underline */
}

/* Create square aspect ratio for the link */
.image-left-link::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.image-left {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.image-right {
  flex: 1;
  position: relative;
  background-image: url('../images/peg.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Create square aspect ratio using padding-top trick */
.image-right::before {
  content: '';
  display: block;
  padding-top: 100%; /* 100% = square aspect ratio */
}

#gemmology_stuff {
  position: absolute;
  top: 70%; /* Slightly below center */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #000; /* Adjust color as needed */
  z-index: 2;
  padding: 10px; /* Add some padding for better readability */
}

#instagram_link {
  position: absolute;
  top: 20px;
  left: 0px;
  display: inline-block;
  padding: 1.1em 1em 1em 2em;
  background-color: #FFFFFF;
  font-size: 0.7em;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 2em;
  z-index: 2; /* Ensure it appears above the background image */
}

/* Mobile responsive - stack when screen is less than 600px */
@media only screen and (max-width: 600px) {
  .image-container {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }
  
  .image-left-link,
  .image-right {
    width: 100%;
    max-width: 500px; /* Optional: limit max width on mobile */
  }

  #gemmology_stuff {
    font-size: 1em;
  }

  #instagram_link {
    top: 20px;
    left: 0px;
    font-size: 0.7em;
    padding: 1.1em 1em 1em 2em;
  }
}