.side-buttons-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5vw;
  padding: 0.25vw;
  margin-top: 1vh;
}

/* Stack to single column on smaller screens */
@media (max-width: 800px) {
  .side-buttons-container {
    grid-template-columns: 1fr;
  }
}

.side-button {
  position: relative;
  width: 100%;
  height: 45vh;
  margin-left: 0.25vw;
  margin-right: 0.25vw; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-family: "Spectral", serif;
  font-weight: bold;
  font-size: 3rem;
  overflow: hidden;
  text-decoration: none;
  user-select: none;
}

/* Adjust height on smaller screens */
@media (max-width: 800px) {
  .side-button {
    height: 35vh;
    scale: 10vh;
    margin-bottom: 0.5vh; 
  }
}

.side-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #D2C6BD;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: filter 0.6s ease;
}

.side-button:hover::before {
  filter: blur(3px);
}


.left-button-1::before {
  background-image: url('Assets/Homepage_Images/find-events-picture.jpg');
}

.left-button-2::before {
  background-image: url('Assets/Homepage_Images/about-us-picture.jpg');
}

.right-button-1::before {
  background-image: url('Assets/Homepage_Images/cprpic1-2.jpg');
}

.right-button-2::before {
  background-image: url('Assets/Homepage_Images/join-us-picture.png');
}
