/* ===============================
   GLOBAL RESETS & UTILITIES
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #111111, #4a3f35 60%, #c3b299);
  color: #ffffff;
  font-family: 'Caudex', serif;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 128, 64, 0.15) 70%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

h1, h2, h3, p {
  text-shadow:
    0 0 4px rgba(0, 255, 128, 0.2),
    0 0 10px rgba(0, 255, 128, 0.1),
    0 0 20px rgba(0, 255, 128, 0.05);
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* ===============================
   FOOTER
=============================== */
footer {
  margin-top: auto;
  background-color: black;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem;
  text-align: center;
}

.copyright {
  font-weight: bold;
  color: white;
  width: 100%;
  height: 100%;
  text-align: center;
}

.copyright a {
  color: white;
}

footer::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(
    to top,
    rgba(0, 255, 128, 0.2),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
  z-index: 1;
  filter: blur(4px);
}

/* ===============================
   NAVBAR
=============================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: black;
  color: #fff;
  z-index: 50;
}

.nav-links a {
  color: #fff;
}

.navigation::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 128, 0.2),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
  z-index: 1;
  filter: blur(4px);
}

.navhead {
  font-size: 36px;
}

.navigation {
  position: sticky;
  top: 0px;
  z-index: 100;
}

/* NAVBAR MENU */
.menu {
  display: flex;
  gap: 1em;
  font-size: 16px;
}

.menu li:hover {
  background-color: black;
  border-radius: 5px;
  transition: 0.3s ease;
}

.menu li {
  padding: 5px 14px;
}

/* DROPDOWN MENU */
.about {
  position: relative;
}

.dropdown {
  background-color: black;
  padding: 1em 0;
  position: absolute;
  display: none;
  border-radius: 8px;
  top: 100%;
  z-index: 200;
}

.dropdown li + li {
  margin-top: 10px;
}

.dropdown li {
  padding: 0.5em 1em;
  width: 8em;
  text-align: center;
}

.dropdown li:hover {
  background-color: black;
}

.about:hover .dropdown {
  display: block;
}

/* ===============================
   RESPONSIVE NAVBAR
=============================== */
input[type=checkbox] {
  display: none;
}

.hamburger {
  display: none;
  font-size: 24px;
  user-select: none;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    background-color: black;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
  }

  .menu li:hover {
    display: inline-block;
    background-color: black;
    transition: 0.3s ease;
  }

  .menu li + li {
    margin-top: 12px;
  }

  input[type=checkbox]:checked ~ .menu {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
  }

  .dropdown li:hover {
    background-color: black;
  }
}

/* ===============================
   COMMON LAYOUT
=============================== */
.wrap,
.intro,
.image,
h1,
footer {
  position: relative;
  z-index: 1;
}

.image {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.headline {
  font-style: italic;
  text-align: center;
}
