@font-face {
    font-family: 'Area InkTrap';
    src: url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff2") format('woff2'),
         url("../fonts/AreaInktrapSemibold/AreaInktrap-Semibold.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

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

body, html {
  height: 100%;
  font-family: 'Area InkTrap';
  background-color: #000;
  overflow: hidden; /* Ensure no scrolling */
  color: #00f256;
}

#slideshow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

#image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/live_gradient_background01.png" );
  background-position: bottom left;
  background-repeat: no-repeat;
  pointer-events: none; /* Allow clicks to pass through to other elements */
  /* opacity: 0; */
  transition: opacity 1s ease-in-out; /* Smooth fade-in and fade-out */
}

#slideshow-image {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 0;  /* Start hidden for fade-in */
  transition: opacity 1s ease-in-out, transform 20s ease-in-out;  /* Add transform for zoom effect */
  animation: zoom-in 20s ease-in-out forwards;  /* Apply zoom-in animation */
}

@keyframes zoom-in {
  from {
      transform: scale(1);  /* Start at normal size */
  }
  to {
      transform: scale(1.1);  /* End with slight zoom-in (5% larger) */
  }
}

h1, h2 {
  font-weight: normal;
}

#scene-container {
    /* position: relative; */
    /* width: 100vw;
    height: 100vh; */
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0; /* Start fully transparent */
    z-index: 5; /* Sits above the 3D model but below text */
    pointer-events: none; /* Allows clicks to pass through */
}

#info {
  position: absolute;
  bottom: 5vh; /* Scales with viewport height */
  left: 4vw;  /* Scales with viewport width */
  width: clamp(150px, 12vw, 350px);
  z-index: 10;
  /* border: 1px solid red; */
}

#scenario_name {
  font-size: clamp(12px, 1.0vw, 20px);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top: clamp(20px, 1.7vw, 70px);
  width: 10vw;
}

#plant_name {
  /* font-size: 1.5vw;   */
  font-size: clamp(22px, 1.5vw, 70px);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top:clamp(20px, 1.7vw, 70px);
}

#plant_description {
  font-size: clamp(12px, 1.0vw, 15px);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top: clamp(20px, 1.7vw, 70px);
  width: clamp(200px, 12vw, 350px);
}

#player_name {
  font-size: 0.8vw;  /* Scales with viewport width */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  margin-top: 1.8vw;
  display: none;
}

#controls {
  position: absolute;
  bottom: 0px;  /* Scales with viewport height */
  right: 10px;   /* Scales with viewport width */
}

button {
  padding: 1vw; /* Scales with viewport width */
  font-size: 1vw; /* Scales with viewport width */
  background-color: rgba(0, 0, 0, 0.0);
  color: #111;
  border: none;
  cursor: pointer;
  display: inline-block;
}

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