/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) {

/* Full-width section with 16:9 aspect ratio */
.parallax-section {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
  background-size: cover;
  background-position: center;
  display: block;
  text-decoration: none;
    
    
}

/* Overlay positioned higher (20% from top) and sized at 50% of section */
.overlay {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start; /* Align content to the top */
  justify-content: center;
  overflow: hidden;
  padding-top: 5%; /* Push the content slightly higher */
    border-radius: 8px;
/* box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px; */
}

/* Parallax image resized to 50% of its original size and positioned higher */
.parallax-image {
  width: 75%;
  height: auto; /* Maintain aspect ratio */
  transform: scale(0.5) translateY(-20%); /* Resized and shifted higher */
  transition: transform 0.1s ease-out;
}

  }

@media screen and (max-width: 768px) {
    /* Full-width section with 16:9 aspect ratio */
.parallax-section {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (9 / 16 * 100) */
  background-size: cover;
  background-position: center;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

/* Overlay positioned higher (20% from top) and sized at 50% of section */
.overlay {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 30%; /*top: 15%;*/
  left: 50%;
  transform: translateX(-5%);
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start; /* Align content to the top */
  justify-content: center;
  overflow: hidden;
  padding-top: 5%; /* Push the content slightly higher */
}

/* Parallax image resized to 50% of its original size and positioned higher */
.parallax-image {
    position: absolute;
  width: 75%;
    top: -5%;
  height: auto; /* Maintain aspect ratio */
  transform: scale(0.5) translateY(-10%); /* Resized and shifted higher */
  transition: transform 0.1s ease-out;
}
 }
