* {
  margin: 0;
  padding: 0;
  color: white;
}

body {
  background: #1a1a1a;
  background: linear-gradient(
    120deg,
    rgba(26, 26, 26, 1) 0%,
    rgba(20, 20, 20, 1) 47%,
    rgba(5, 5, 5, 1) 87%,
    rgba(0, 0, 0, 1) 100%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Helvetica Neue";
  text-autospace: normal;
  -ms-text-autospace: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

p {
  margin-bottom: 15px;
  line-height: 1.6;
}

h2, h3, h4, h5, h6 {
  margin-top: 64px;
  margin-bottom: 16px;
  font-weight: bold;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

a:not([role="button"]) {
  text-decoration: none;
  background: linear-gradient(currentColor 0 0) 0 100% / var(--d, 0) 2px
    no-repeat !important;
  transition: 0.3s !important;
}

a:not([role="button"]):hover {
  --d: 100%;
}

a:not([role="button"]):not(.nav-menu a) {
  font-weight: bold;
}

ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

header {
  height: 55px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

header .title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 55px;
  margin-left: 20px;
}

header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
}

header nav a.active {
  font-weight: bold;
}

blockquote {
  border-left: 4px solid #ccc;
  padding-left: 16px;
  color: #666;
  font-style: italic;
  margin: 24px 0;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1002;
  margin-left: auto;
  margin-right: 20px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

.menu-toggle:checked ~ header .menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle:checked ~ header .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked ~ header .menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

footer {
  height: 40px;
  background-color: rgba(0, 0, 0, 0.8);
  padding-top: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  position: relative;
  width: 80%;
  left: 10%;
  bottom: 16px;
}

.container {
  max-width: 1200px;
  margin: 75px auto 40px auto;
  padding: 0 15px;
}

@media (max-width: 1300px) {
  .container {
    max-width: 1000px;
  }
}

@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header nav {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(100%);
    width: 80%;
    max-width: 400px;
    background-color: transparent;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    gap: 30px;
    margin-right: 0;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1001;
  }

  header nav a {
    font-size: 1.5rem;
    width: 100%;
    padding: 15px 0;
    text-align: center;
  }

  .menu-toggle:checked ~ header nav {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
  }
}
