/* === General Page Styles === */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 20px;
  background-image: url('starry-bg-lofi.JPG');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  min-height: 100vh;
}

/* === Knewave Font Styles === */
.knewave-regular {
  font-family: "Knewave", system-ui;
  font-weight: 400;
  font-style: normal;
  color: white;
}

/* === Title/Header === */
.site-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
}

/* === Navigation Dropdown === */

/* Hide the checkbox */
input[type="checkbox"] {
  display: none;
}

.main-tab {
  display: inline-block;
  padding: 12px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

/* Sub-tabs hidden by default */
.sub-tabs {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin-left: 20px;
  margin-top: 10px;
}

/* Click-based dropdown (for mobile) */
input[type="checkbox"]:checked + .main-tab + .sub-tabs {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

/* Hover-based dropdown (for desktop) */
@media (hover: hover) and (pointer: fine) {
  .nav-main:hover .sub-tabs {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
  }
}

.sub-tab {
  display: block;
  padding: 8px 16px;
  background-color: #555;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.sub-tab:hover {
  background-color: #777;
}

/* === About Section Styles === */
.about-section {
  margin-top: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  padding: 10px;
  border-radius: 15px;  /* rounded corners */
  color: white;  /* text color */
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* === Fade-In Animation === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
