/* === IMPORTS === */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  color: #eee;
  background: #111;
}

a {
  color: #aa88ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  min-height: 100vh;
  display: -webkit-flex; /* Safari */
}

.sidebar {
  width: 200px;
  background-color: rgba(20, 20, 30, 0.85);
  padding: 1rem;
  display: flex;
  display: -webkit-flex; /* Safari */
  flex-direction: column;
  gap: 0.5rem;
}

.content {
  flex: 1;
  position: relative;
  padding: 2rem;
}

.footer {
  display: flex;
  display: -webkit-flex; /* Safari */
  justify-content: space-between;
  padding: 1rem;
  background: rgba(20, 20, 30, 0.85);
  color: #999;
  font-size: 0.9rem;
}

.tab {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  text-align: left;
  color: #ccc;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.tab:hover {
  background-color: rgba(170, 136, 255, 0.1); /* subtle purple hover */
}
.tab .tab.active-tab {
  background-color: rgba(170, 136, 255, 0.2); /* subtle purple active */
  border-left: 4px solid #aa88ff;
  color: #aa88ff;
  font-weight: bold;
}
.tab .content-section {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: absolute;
  width: calc(100% - 200px);
  padding: 2rem;
}
.tab .content-section:active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure the body and html take up the full height */
html, body {
  height: 100%; /* Ensure full height of viewport */
  margin: 0; /* Remove default margin */
  padding: 0;
}

.container {
  flex: 1; /* Take up all remaining space */
  display: flex;
  flex-direction: column;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* === BODY === */
body {
  font-family: "Segoe UI", Tahoma, Geneva, sans-serif;
  background: url("https://raw.githubusercontent.com/Aquarion-D/github.io/15e2b8981d6ac16dee9de2fc5cdea1743e5d1799/assets/Aquarion%20Preview.png") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh; /* Ensure body takes up at least full height */
  padding: 1rem; /* Padding around the body */
  position: relative;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
  filter: blur(4px);
}

/* === NAVIGATION BUTTONS === */
nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center; /* Center the buttons */
}

/* Button Styling */
button.nav-button {
  background: transparent;
  border: 1px solid rgba(170, 136, 255, 0.3);
  color: #aa88ff;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s ease all;
  min-width: 120px; /* Ensure buttons have a consistent width */
  text-align: center;
}
button.nav-button:hover, button.nav-button:focus {
  background-color: rgba(170, 136, 255, 0.1);
  border-color: rgba(170, 136, 255, 0.6);
  color: #ffffff;
  outline: none;
}

/* === TABS === */
.tab-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center; /* Center the tabs */
  padding-bottom: 1rem; /* Adjust spacing between tabs and content */
}

button.tab {
  background: transparent;
  border: 1px solid rgba(170, 136, 255, 0.3);
  color: #aa88ff;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s ease all;
  min-width: 120px;
  text-align: center;
  flex-shrink: 0; /* Prevent shrinking */
}
button.tab:hover, button.tab:focus {
  background-color: rgba(170, 136, 255, 0.1);
  border-color: rgba(170, 136, 255, 0.6);
  color: #ffffff;
  outline: none;
}

button.tab.active {
  background-color: rgba(170, 136, 255, 0.3);
  border-color: rgb(170, 136, 255);
  color: #fff;
}

/* === TABS CONTENT === */
.content-section {
  display: none;
  animation: fadeIn 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 12px;
}
.content-section .contrib-links,
.content-section .icon-links,
.content-section .image-links,
.content-section .website-link,
.content-section .main-css-link,
.content-section .radial-status-link,
.content-section .commits-link {
  color: #aa88ff;
}

.content-section.active {
  display: block;
}

/* === ANIMATION === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Styling for collapsible changelog */
details {
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(170, 136, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

details summary {
  cursor: pointer;
  font-weight: bold;
  color: #aa88ff;
  outline: none;
}

details[open] summary {
  color: #ffffff;
}

details ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

details li {
  list-style: disc;
  color: #ddd;
}

ul.changelog {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li.changelog-item {
  margin-bottom: 0.5rem;
  color: #ccc;
}

/* === FOOTER === */
.footer {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  position: sticky;
  bottom: 0;
}

.footer .github-link {
  color: #aa88ff;
  text-decoration: none;
}

/* === MOBILE SPECIFIC STYLES === */
@media (max-width: 768px) {
  body {
    background-size: cover;
    padding: 1rem;
    position: relative;
  }
  /* Adjust nav and tab layout for mobile */
  nav {
    flex-direction: column;
    align-items: center; /* Center buttons on small screens */
  }
  .tab-container {
    flex-direction: column;
    gap: 1rem;
  }
  button.nav-button,
  button.tab {
    padding: 8px 16px;
    font-size: 0.9rem;
    width: 100%; /* Full-width buttons on small screens */
  }
}

/*# sourceMappingURL=style.css.map */
