@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@600&family=Dela+Gothic+One&family=Josefin+Sans:wght@500&family=Jost:wght@500&family=Orbitron:wght@600&display=swap");

:root {
  --primary-bg: #202528; /* Background color */
  --btn-bg: #106efc;
  --btn-hover: #28a745;
  --primary-text: #ffffff; /* Main text color */
  --secondary-text: #ff1e00;
  --secondary-bg: #202528; /* Secondary background */
  --form-bg: #111111;
  --highlight: #00b7ff;
  --atkGreen: #15ff00;
  --hover-bg: #3b3b52;
  --plain: #ffffff;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.wrapper {
  display: flex;
  position: relative;
}

body {
  font-family: "Orbitron";
  background-color: var(--primary-bg);
  color: var(--primary-text);
}

/* HEADER CSS */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--primary-bg);
  box-shadow: 0 4px 8px var(--shadow);
}

header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* MOBILE DROPDOWN */

.dropdown {
  position: relative;
  width: 100%;
}

.dropbtn {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  padding: 16px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.dropbtn:hover {
  background-color: var(--secondary-bg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  width: 100%;
  background-color: var(--primary-bg);
  border-radius: 8px;
  box-shadow: 0px 8px 16px var(--shadow);
  z-index: 1000;
  text-align: left;
  overflow: hidden;
}

.dropdown-content ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-content ul li {
  border-bottom: 1px solid #3c3c50;
}

.dropdown-content ul li:last-child {
  border-bottom: none;
}

.dropdown-content ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--primary-text);
  text-decoration: none;
  font-size: 16px;
}

.dropdown-content ul li a:hover {
  background-color: var(--secondary-bg);
  transition: background-color 0.2s ease-in-out;
  letter-spacing: 1px;
}

.dropdown-content ul li a.active {
  background-color: var(--active-bg);
}

.dropdown-content .section-title {
  padding: 8px 12px;
  font-size: 14px;
  color: #8888aa;
  background-color: var(--primary-bg);
  text-transform: uppercase;
}

/* Show dropdown */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 600px) {
  header {
    display: none;
  }
}

/* SIDEBAR CSS */
.sidebar {
  width: 250px;
  height: 100vh;
  background-color: var(--primary-bg);
  padding-top: 20px;
  position: fixed;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 #29293e;
}

.navWrapper {
  min-width: 250px;
}
@media (max-width: 600px) {
  .navWrapper {
    display: none;
  }
}

/* For WebKit-based browsers (Chrome, Edge, etc.) */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background-color: #29293e;
}

.logo {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ccc;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: var(--hover-bg);
  color: var(--primary-text);
}

.sidebar ul li a i {
  margin-right: 10px;
  font-size: 18px;
}

.sidebar .section-title {
  padding: 10px 15px;
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 20px;
}

.sidebar ul li a.active {
  background-color: var(--secondary-bg);
  font-weight: bold;
}

@media (max-height: 600px) {
  .sidebar {
    height: 100vh;
    overflow-y: scroll; /* Enable scrolling for smaller heights */
  }
}

.contentWrapper {
  display: flex;
  position: relative;
}
