/* Importing a thematic font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Orbitron', monospace, 'Courier New', monospace;

}

/* Layout container */
.container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

/* Sidebar */
.sidebar {
  color: #eee;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 220px;
  padding: 20px;
  z-index: 5;
  text-align: left;
  box-shadow: 10px 0 16px -4px #440000cc; /* Dark red shadow */
  background-color: #220000; /* Deep dark red, slightly lighter for less eye strain */
  font-size: 92.5%;
  font-weight: 400;
  letter-spacing: 0.04em;
  user-select: none;
}

.sidebar h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
  color: #ff3b3b; /* Bright red */
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Nav links */
.nav-link {
  text-decoration: none;
  background: none;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #f0f0f0;
  font-weight: 500;
  display: block;
}

.nav-link:hover,
.nav-link:focus-visible {
  background-color: #660000; /* Dark red highlight */
  color: #ffb600; /* Yellow accent on hover */
  outline: none;
  box-shadow: 0 0 8px #ffb600aa;
}

/* Main content area */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}

.main p, .main ul {
  font-size: 20px;
}

/* Header */
.header {
  position: relative;
  width: 100%;
  padding: 8px;
  text-align: center;
  box-shadow: 0 4px 16px -4px #ff3b3b99; /* red shadow */
  background-color: #b80000; /* Bright blood red */
  color: #fff;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* Content */
.content {
  max-width: 1000px;
  margin: auto;
  flex: 1;
  padding: 30px;
  word-wrap: break-word;
}

/* Footer */
.footer {
  position: relative;
  left: 0;
  box-shadow: 0 4px 16px -4px #662200cc;
  background-color: #330000;
  color: #ffa600;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 50px;
  z-index: 1;
  font-family: 'Orbitron', monospace;
}

.footer .social-links {
  margin-top: 10px;
}

.footer .social-links a {
  color: #ffa600;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.footer .social-links a:hover,
.footer .social-links a:focus-visible {
  color: #ff3b3b;
  outline: none;
  text-decoration: underline;
}

/* Dropdowns */
.dropdown, .dropdown-h {
  position: inherit;
  display: inline-block;
  font-family: 'Orbitron', monospace;
}

.dropdown-content {
  display: none;
  min-width: 160px;
  z-index: 1;
  background-color: #330000; /* dark red */
  font-size: 95%;
  padding-left: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 10px rgba(255, 59, 59, 0.7);
  font-weight: 400;
}
/* Items */
.items {
  box-shadow: 10px 0 20px rgba(255, 0, 0, 0.1);
  background-color: #381e1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0;
  border-radius: 30px;
  border-right: 3px solid rgb(255, 0, 0);
  width: 240px;
}

.dropdown-content a {
  padding-left: inherit;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  transition: background 0.25s ease, color 0.25s ease;
  font-weight: 500;
  cursor: pointer;
}

.dropdown-content a:hover,
.dropdown-content a:focus-visible {
  background-color: #660000;
  color: #ffb600;
  outline: none;
}

/* Dropdown buttons */
.dropdown-btn, .dropdown-btn-h {
  all: unset;
  display: block;
  width: 92.5%;
  text-decoration: none;
  background: none;
  padding: 16px 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  font-size: 14px;
  color: #eee;
  user-select: none;
}

.dropdown-btn:hover,
.dropdown-btn:focus-visible {
  background-color: #660000;
  color: #ffb600;
  outline: none;
  box-shadow: 0 0 8px #ffb600aa;
}

.dropdown-h:hover .dropdown-content,
.dropdown-h:focus-within .dropdown-content {
  display: block;
}

/* Sidebar nested dropdown colors */
.sidebar .dropdown-content {
  background-color: #330000;
}

.sidebar .dropdown-content .dropdown-content {
  background-color: #550000;
}

.sidebar .dropdown-content .dropdown-content .dropdown-content {
  background-color: #770000;
}

.sidebar .dropdown-content .dropdown-content .dropdown-content .dropdown-content {
  background-color: #990000;
}
/* Scroll to top button */
#myBtn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 100;
  background-color: #5f5f5f;
  box-shadow: 10px 0 16px -4px #5f5f5f;
  color: white;
  border: 1px solid black;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#myBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#myBtn:hover {
  background-color: #7f7f7f;
}
.background {
  animation: zoomRotate 40s infinite;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/Enigmatic-Website/MEDIA/sega5.png');
  background-color: transparent;
  background-blend-mode: multiply; /* or overlay, darken, etc */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(10px);
  z-index: -1;
}
.background.dark-mode {
  background-color: darkslategray;
}

/* Utility */
.show {
  display: block;
}
