
body {
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; 
}

header {
  width: 100%;      
  text-align: center;
  padding: 1rem 0;                
  position: absolute;  
  top: 0;
  left: 0;
}

header h1 {
  color: white;
  font-family: 'Sour gummy', sans-serif;
  font-size: 2rem;
  margin: 0; 
}

/* CSS for the zoom-in animation class */
h1.zoom-in-animation {
  animation: zoomIn 1s ease-in-out;
}

/* Define the animation */
@keyframes zoomIn {
  0% {
    transform: scale(0.5); /* Start at half size */
    opacity: 0;            /* Start as invisible */
  }
  100% {
    transform: scale(1);   /* End at normal size */
    opacity: 1;            /* End as fully visible */
  }
}

.icon-flip {
  transform: rotate(180deg);
  display: inline-block; 
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  padding: 2rem;
}

.sceneContainer {
  width: 100%;
  max-width: 1000px;             
  min-height: 500px;      
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-sizing: border-box;
}

#sceneText {
  color: rgb(13, 77, 17);
  font-family: 'Quicksand', sans-serif;
  text-shadow: 1px 1px #fcffe6;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  width: 100%;        
  text-align: center;
}

#imageContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;            
}

#sceneImage {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.fade-in-image { 
  animation: fadeIn 1.5s; 
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

#buttonContainer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
  flex-wrap: wrap;
}

#buttonContainer button {
  padding: 10px 20px;
  background-color: rgb(13, 77, 17);
  color: aliceblue;
  cursor: pointer;
  font-family: 'Sour gummy', sans-serif;
  text-shadow: 1px 1px #000000;
  font-size: 22px;
  box-shadow: 2px 2px #000000;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

#buttonContainer button:hover {
  background-color: rgb(14, 48, 15);
}

#buttonContainer button:active {
  background-color: rgb(14, 48, 15);
  box-shadow: 0 5px #000000;
  transform: translateY(4px);
}

@media (max-width: 768px) {
  #buttonContainer {
    gap: 1rem; 
  }
  #buttonContainer button {
    font-size: 20px;
    padding: 8px 16px; 
  }
}

@media (max-width: 480px) {
  #buttonContainer {
    flex-direction: column; 
    align-items: center;
  }
  #buttonContainer button {
    font-size: 16px;
    padding: 6px 12px; 
    width: 80%; 
  }
}


#inventory {
  margin-top: 10px;
  text-align: center;
  color: rgb(13, 77, 17);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}


footer {
  width: 100%;
  text-align: center;
  padding: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
}

  

