@font-face {
  font-family: 'VCR_OSD_Mono';
  src: url('fonts/vcr_osd_mono/VCR_OSD_MONO_1.001.ttf') format('truetype');
}

/* --- BASE --- */
body {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

/* --- VISIBILITY STATES --- */
.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* --- TREE --- */
.tree {
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 3vw;
  filter: drop-shadow(0.1rem 0.1rem 0.5rem #ffffff);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.3s ease;
}

.tree:hover {
  filter: drop-shadow(0.2rem 0.2rem 0.9rem #8d0000);
}

/* --- POMS CONTAINER --- */
#pomContainer, #pond {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

#pomContainer.visible, #pond.visible {
  opacity: 1;
  pointer-events: auto;
}

/* --- POMS --- */
.pom {
  justify-content:last baseline;
  align-items: last baseline;
  cursor: pointer;
  width: 5vw;
  filter: drop-shadow(0.1rem 0.1rem 0.5rem #ffffff);
  position: absolute;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInPoms 0.8s ease forwards;
}

.pom:hover {
  filter: drop-shadow(0.2rem 0.2rem 0.9rem #000561);
}

/* --- RIPPLE EFFECT --- */
#pomContainer.visible .pom:nth-child(1) { animation-delay: 0.1s; }
#pomContainer.visible .pom:nth-child(2) { animation-delay: 0.2s; }
#pomContainer.visible .pom:nth-child(3) { animation-delay: 0.3s; }
#pomContainer.visible .pom:nth-child(4) { animation-delay: 0.4s; }
#pomContainer.visible .pom:nth-child(5) { animation-delay: 0.5s; }
#pomContainer.visible .pom:nth-child(6) { animation-delay: 0.6s; }
#pomContainer.visible .pom:nth-child(7) { animation-delay: 0.7s; }
#pomContainer.visible .pom:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInPoms {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- POSITIONING --- */
#pomA { top: 55%; left: 15%; rotate: 270deg; z-index: 2; }
#pomB { top: 65%; left: 20%; rotate: 90deg; z-index: 2; }
#pomC { top: 55%; left: 35%; rotate: 270deg; z-index: 2; }
#pomD { top: 65%; left: 40%; rotate: 90deg; z-index: 2; }
#pomE { top: 55%; left: 55%; rotate: 270deg; z-index: 2; }
#pomF { top: 65%; left: 60%; rotate: 90deg; z-index: 2; }
#pomG { top: 55%; left: 75%; rotate: 270deg; z-index: 2; }
#pomH { top: 65%; left: 80%; rotate: 90deg; z-index: 2; }

#contacts { position: absolute; top: 10%; right: 10%; z-index: 3; }
#experiments { position: absolute; top: 10%; right: 30%; z-index: 3; }
#works { position: absolute; top: 5%; right: 70%; z-index: 3; }
#resume { position: absolute; top: 10%; left: 15%; z-index: 3; }
#Aboutme { position: absolute; top: 10%; left: 0%; z-index: 3; }

.title {
  position: absolute;
  top: 25%;
  left: 45%;
  font-family: 'VCR_OSD_Mono', monospace;
  font-size: 0.9rem;
  font-weight: lighter;
  color: #290101d4;
  z-index: 3;
}

#description1 {
  font-size: 0.8rem;
}

.descriprtionT {
  font-family: 'VCR_OSD_Mono', monospace;
  font-size: 0.7rem;
  color: #290101d4;
  position: absolute;
  top: 90%;
  left: 180%;
}

.descriprtionP {
  font-family: 'VCR_OSD_Mono', monospace;
  font-size: 0.7rem;
  rotate: 90deg;
  color: #06003ed4;
  position: absolute;
  top: 0%;
  left: 100%;
}
.descriprtionPP {
  font-family: 'VCR_OSD_Mono', monospace;
  font-size: 0.7rem;
  rotate: 270deg;
  color: #06003ed4;
  position: absolute;
  top: 50%;
  left: 110%;
}
.descriprtionPPP {
  font-family: 'VCR_OSD_Mono', monospace;
  font-size: 0.7rem;
  rotate: 270deg;
  color: #06003ed4;
  position: absolute;
  top: 50%;
  left: 90%;
}

