
body {
  margin: 0;
  background-image: url("https://blueohsoblue.neocities.org/b316421e4d4d14becaa7c280ed25af58.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Trebuchet MS", sans-serif;
  overflow: hidden;
}


.layout {
  display: flex;
  width: 900px;
  height: 85vh;
  gap: 20px;
  z-index: 10;
}


input[type="radio"] { display: none; }


.sidebar, .container {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 4px solid #fff; 
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sidebar { width: 260px; text-align: center; display: flex; flex-direction: column; }
.container { flex: 1; overflow-y: auto; text-align: justify; }


.tab-pane { display: none; animation: fadeIn 0.4s ease; }

#tab-home:checked ~ .container #home-content { display: block; }
#tab-about:checked ~ .container #about-content { display: block; }
#tab-gallery:checked ~ .container #gallery-content { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}


.stat-bar {
  background: rgba(0,0,0,0.05);
  width: 100%;
  height: 18px;
  margin: 8px 0;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.5);
}

.fill { background: #5d9cec; height: 100%; position: absolute; left: 0; top: 0; }

.stat-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 8px; 
  font-weight: bold;
  color: white;
  line-height: 18px;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}


.loading-header::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  background-image: url("https://bluebeneaththemoon.neocities.org/what%20is%20this%20mess_files/loading_circle.png");
  background-size: contain;
  vertical-align: middle;
}


.stamp-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: auto;
  padding: 10px;
}

.stamp-box img { width: 45px; height: auto; transition: 0.2s; }
.stamp-box img:hover { transform: scale(1.2); }


.nav-item {
  display: block;
  cursor: pointer;
  padding: 10px;
  margin: 5px 0;
  background: rgba(255,255,255,0.4);
  color: #4a6fa5;
  font-weight: bold;
  font-size: 10px;
  text-transform: uppercase;
  border-left: 5px solid #5d9cec;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  transition: 0.2s;
}

#tab-home:checked ~ .sidebar [for="tab-home"],
#tab-about:checked ~ .sidebar [for="tab-about"],
#tab-gallery:checked ~ .sidebar [for="tab-gallery"] {
  background: #5d9cec;
  color: white;
  border-left: 10px solid white;
}


.bubble {
  position: fixed;
  bottom: -70px; 
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none; 
  z-index: 1;
  
  animation: floatUp 12s infinite linear, sway 3s infinite ease-in-out;
}


@keyframes floatUp {
  0% { 
    transform: translateY(0); 
    opacity: 0; 
  }
  10% { 
    opacity: 0.5; 
  }
  90% { 
    opacity: 0.5; 
  }
  100% { 
    transform: translateY(-120vh); 
    opacity: 0; 
  }
}


@keyframes sway {
  0%, 100% { margin-left: 0px; }
  50% { margin-left: 15px; }

}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

.side-img { width: 100%; border-radius: 15px; margin-top: 15px; border: 2px solid white; }