body {
  background-image: url('images/map_background.svg');
  background-size: auto 100vh;
  background-repeat: no-repeat;   
  background-position: center; /* 20px lower than center */
  background-color: #b8d17f;
  margin: 0;
  padding: 0;
  height: 100vh;     
  display: flex;                         /* Enable Flexbox */
  flex-direction: column;               /* Stack content vertically */
  color: black;
  font-family: 'Assistant', sans-serif;
}

h1 {
  font-family: 'Lexend', sans-serif;
  font-size: 2rem;
  text-align: left;
  align-items: left;
}

/* button {
  background-color: #ff69b4; 
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
  transition: background-color 0.3s ease;
  max-width: 150px;
}

button:hover {
  background-color: #ff85c1; 
} */

#mydiv {
  position: absolute;
  font-size: 2rem;
  z-index: 10;
}

#countdown {
  font-size: 2.5vw; /* Scales with screen width */
  color: white;
  background-color: rgba(68, 119, 95, 0.5);
  padding: 1vh 0.0001vw;
  display: inline-block;
  text-align: center;
  border-radius: 1vw;
  font-family: 'Jost', sans-serif;
  max-width: 20vw; /* Limits size on larger screens */
  min-width: 100px;
}

/* #carImg {
  transition: transform 0.3s ease;  
  transform: rotate(45deg);
} */


/* #bakery-link,
#clothing-link,
#pet-link {
  pointer-events: none;
}

#bakery,
#clothing,
#pet {
  pointer-events: auto;
  width: 80vh;
  height: auto;
  display: block;
  z-index: 5;
  transition: transform 0.2s ease-in-out;
}

#bakery:hover,
#clothing:hover,
#pet:hover {
  transform: scale(1.06);
} */

.building {
  position: absolute;
  display: inline-block;
  padding: 0;
  margin: 0;
  pointer-events: none; /* disable for the wrapper */
}

.building img {
  width: 80vh;
  height: auto;
  display: block;
  transition: transform 0.2s ease-in-out;
  pointer-events: auto; /* enable pointer interaction only for visible image part */
  cursor: pointer;
}

.building img:hover {
  transform: scale(1.06);
}

#castle {
  position: absolute;
  top: 4%;
  right: -13%;
  width: 50vw;
  height: auto;
  z-index: 15;
}

#forest1 {
  position: absolute;
  left: -20%;
  bottom: 40%;
  width: 50vw;
  height: auto;
  z-index: 15;
}

#forest2 {
  position: absolute;
  left: -22%;
  bottom: 27%;
  width: 50vw;
  height: auto;
  z-index: 16;
}