body, html {
  background-color: rgb(230, 236, 228) !important;
  overflow-x: hidden; 
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  position: relative;
  display: flex;
  align-items: flex-start;  
}

.overlay-box {
  position: absolute;
  left: 40px;
  top: 150px;
}

.overlay-title {
  display: flex;
  text-align: left;
  color:#27504a;
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight:500;
  font-size: 1.7rem;
  margin: 0;
}

.overlay-caption {
  display: flex;
  text-align: center;
  justify-content: center;
  color:#27504a;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight:900;
  font-size: 4rem; 
}

#logo {
  margin-left: 1vw;
  cursor: pointer;
}

#crowdscope {
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  letter-spacing: -2px;
  font-optical-sizing: auto;
  font-weight: 300;
  color:#27504a;
  margin-top: 10px;

}

.attract-box {
  z-index: 0;
  display: flex;
  overflow-x: auto; /* Enables horizontal scroll */
  height: 400px;
  box-sizing: border-box;
  border-radius: 20px; /* Keeps image corners rounded-off on scroll */
  width: 100%;
  padding: 0;
  gap: 12px; /* Keep gap between images, but no gap with body etc */
  margin: 0 auto;
  margin-top: 300px;
  scroll-behavior: smooth; 
}


.attract-box::-webkit-scrollbar { /* To hide horizontal scroll wheel as I'm using buttons */
  display: none;
}

/* Image fills container */
.attract-image{
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-container {
  position: relative;
  width: 500px;   
  height: 400px; 
  overflow: hidden;
  border-radius: 8px;
}

/* Hover effects for images */

.image-container::after {
  content: ''; /* Necessary for ::after to work, basically empty content to make it render */
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  border-radius: 20px;
}

.image-container:hover::after {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

/* Text on image overlay */
.overlay-text {
  font-family: "Urbanist", sans-serif;  
  position: absolute;
  bottom: 0;
  right: 30px;
  width: 100%;
  text-align: right;
  color: white;
  padding: 6px;
  font-size: 3rem;
  font-style: italic;
  font-weight: bold;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.scroll-btn {
  top: 200px;
  position: absolute;
  width: 100px;
  height: 400px;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 100;
  border-radius: 20px;
}

/* Container matches button margin so image should overlap exactly with button for cleaner appearance */
/* i.e. images scroll with no spill over and within container with gaps between images, but line up with button */
.scroll-btn.left {
 
  left: 0;
}

.scroll-btn.right {

  right: 0;
}

/* Menu button */
#menuButton {
  margin-right: 1vw;
  margin-top: 1vw;
  background-color: #27504a;
  border: 1px solid #1e3633;
  color: white;
  border-radius: 10px;
  font-weight: 400;
}

#menuButton:hover {
  cursor: pointer;
  background-color:#49837a;
  transition: all 0.2s ease;
}
.dropdown-menu {
  position: absolute;
  z-index: 1000 !important;
} 