* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-rendering: optimizelegibility;
    font-optical-sizing: auto;
    font-family: 'InstrumentSerif';
  }

  @font-face {
    font-family: 'InstrumentSerif';
    src: url('fonts/InstrumentSerif-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll due to abs positioning */
  }

body { 
  image-rendering: auto;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.left-image, .right-image {
  position: absolute;
  top: 0;
  height: 100vh; /* Full height of the viewport */
  width: auto;
  z-index: -1; /* Behind all content */
}

.left-image {
  left: 0;
}

.right-image {
  right: 0;
}

.clickable-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.clickable-container {
  width: 200px;
  height: 120px;
  background-image: url('Visual%20elements/paint-cloud.png');
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  color: #000; /* Change as needed for contrast */
  filter: drop-shadow(0px 1px 10px #00000025);
}

.clickable-container:hover {
  transform: scale(1.05);
}

.pack-img {
  width: 200px;
}

.item-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 30px 10px rgba(255, 255, 0, 0.7);
  /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  padding: 20px;
  text-align: center;
  z-index: 9999;
  animation: glow 1s infinite alternate;
}

.item-popup.hidden {
  display: none;
}

.option-text {
  font-size: 1.6rem;
}

#popup-name {
  font-size: 45px;
  color: white;
}

#popup-description {
  font-size: 30px;
}

.popup-content {
  margin: 30px;
}

.popup-content img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px 5px rgba(255, 255, 0, 0.5);
  }
  to {
    box-shadow: 0 0 40px 15px rgba(255, 255, 0, 0.9);
  }
}


main {
    font-family: 'Georgia', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
  }
  
  .container {
    text-align: center;
    max-width: 800px;
    padding: 20px;
  }
  
  .text {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.6;
    transition: transform 0.3s ease;
  }

  .text:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
  }

  .main-image {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
    --radius: 12px;
    filter: drop-shadow(0px 7px 14px #00000080);
  
    background-image: 
      radial-gradient(
        var(--radius),
        transparent 100%,
        white
      ),
      linear-gradient(white 0 0);
    background-repeat: round, no-repeat;
    background-position:
      calc(var(--radius) * -1.5) calc(var(--radius) * -1.5),
      50%;
    background-size:
      calc(var(--radius) * 3) calc(var(--radius) * 3),
      calc(100% - var(--radius) * 3) calc(100% - var(--radius) * 3);
    padding: calc(var(--radius) * 1.5);
    box-sizing: border-box;
  }
  
  .main-image:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
  }
  
  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-style: italic;
    font-size: 1.6rem;
  }
  
  .page-number {
    margin-top: -4%;
    align-items: center;
    font-style: italic;
    font-size: 1.6rem;
    flex-grow: 1;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .page-number:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
  }
  
  a, .nav-button {
    text-decoration: none;
    color: black;
  }

  .nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    color: black;
    position: relative;
  }
  
  .nav-button:hover {
    transform: translateY(-2px);
  }
  
  .arrow-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .nav-button:hover .arrow-icon {
    opacity: 1;
  }
  
  .arrow-icon img {
    width: 40px;
    height: 40px;
    display: inline-block;
  }
  
/* Hidden by default */
.hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
  transition-delay: 2s;
}

/* Shown state */
.visible {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 10s;
}

  