   

#logo {
  user-select: none;
  position: fixed;
  top: 30px;
  left: 30px;
  width: 30px;
  height: 30px; /* albo inna stała wartość */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  #logo {
    width: 30px;
  }
}

@media (max-width: 768px) {
  #logo {
    width: 20px;
  }
}

#contact {
  position: fixed;
  z-index: 100;
  bottom: 30px; 
  right: 30px;
  border: 1px solid #222;
  border-radius: 2px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Montserrat';
  font-weight: 500;
  background: transparent;
  color: #222;
  pointer-events: auto;
  user-select: none;
  transition: background-color 1s, color 1s;
}

#contact:hover {
  background-color: #222;
  color: white;
}

#ui {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10000;
}



#menu {
  position: fixed;
  top: 30px; 
  right: 30px;
  display: flex;
  gap: 20px;
  pointer-events: auto;
}

#menu button {
  color: #455559;
  font-size: 16px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  letter-spacing: 6px;
  font-weight: 400;
  background: none;
  border: none;
  transition: font-weight 0.3s;
}

#menu button:hover {
  font-weight: 600;
}

#menu button:active {
  font-weight: 300;
}

@media (max-width: 1024px) {
  #menu {
    gap: 15px;
    top: 20px;
  }
  #menu button {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #menu {
    gap: 3px;
    top: 10px;
  }
  #menu button {
    font-size: 12px;
    letter-spacing: 2px;
  }
}

#sectionNumber {
  position: fixed;
  bottom: 30px; 
  left: 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 24px;
  user-select: none;
  pointer-events: none;
  color: #222;
  transition: opacity 0.3s, transform 0.3s;
}

#arrowUp, #arrowDown {
  position: fixed;
  right: -40px;
  transform: translateX(-50%);
  color: #222;
  width: 60px;
  height: 60px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: background-color 0.3s, color 0.3s;
}

#arrowUp { 
  top: 30%; 
}

#arrowDown { 
  bottom: 30%; 
}

#arrowUp span,
#arrowDown span {
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
}

/* Nawigacja kropkami */
#dotNav {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: auto;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 10%;
  background-color: black;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
  border-radius: 50%;
  background: transparent;
  border: 0.1px solid #222;
  transform: scale(2);
}

#verticalLabel {
  position: fixed;
  right: 30px; /* Stała odległość od prawej krawędzi */
  top: 50%;
  transform: 
    translateY(-50%) /* Centrowanie wertykalne */
    rotate(-90deg)   /* Obrót */
    translateX(50%)  /* Kompensacja szerokości */
    translateY(100%); /* Dodatkowe centrowanie */
  transform-origin: bottom right; /* Punkt obrotu w prawym dolnym rogu */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #222;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap; /* Zapobiega zawijaniu tekstu */
  text-align: right; /* Wyrównanie do prawej */
}





/*CIEMNA STRONA MENU*/



body:not(.dark-theme) #logo {
  background-image: url('../assets/logo_black_icon.png');
  transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme #logo {
  background-image: url('../assets/logo_white_icon.png');
  transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}







body.dark-theme .scene h1{
   color: white;
    transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme .scene h2{
   color: white;
    transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme p{
   color: white;
    transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}


body.dark-theme #verticalLabel{
   color: white;
    transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme #arrowUp {
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}



body.dark-theme #sectionNumber{
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}


body.dark-theme #dotNav {
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme .dot {
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme .dot.active {
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme #menu button {
  color: white !important;
  transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}


body.dark-theme .dot {
 background-color: white;
  transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

body.dark-theme #sectionNumber{
  color: white;
   transition: color 1s ease, background-color 1s ease, border-color 1s ease;
}

