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

/* THEME VARIABLES (LIGHT MODE DEFAULT) */
:root {
  --bg: #ffffff;
  --text: #222222;
  --text2: #555555;

  --button-bg: #111111;
  --button-text: #ffffff;

  --nav-bg: #111111;
  --nav-text: #ffffff;
  --nav-hover: #333333;
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --text: #f5f5f5;
    --text2: #dddddd;

    --button-bg: #ffffff;
    --button-text: #111111;

    --nav-bg: #ffffff;
    --nav-text: #111111;
    --nav-hover: #e6e6e6;
  }
}

/* BASE STYLES */
body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
}

.wrapper {
  max-width: 1555px;
  margin: auto;
  padding: 70px 25px 50px; /* space for fixed navbar */
}

/* BUTTON */
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: var(--nav-bg);
  color: var(--nav-text);

  display: flex;
  align-items: center;

  padding: 8px 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* LOGO */
.logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--nav-text);
}

/* PUSH LINKS RIGHT */
.nav-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

/* LINKS */
.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  padding: 4px 6px;
  font-size: 14px;
  transition: 0.3s;
}

.nav-links a:hover {
  background: var(--nav-hover);
  border-radius: 4px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 3px;
  margin-left: auto;
}

.hamburger div {
  width: 18px;
  height: 2px;
  background: var(--nav-text);
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--nav-bg);
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* HEADINGS RESPONSIVE TO WIDTH */
@media (max-width: 1555px) {
  .heading {
    display: none;
  }
}

@media (min-width: 1556px) {
  .headingsm {
    display: none;
  }
}

/* CENTER LAYOUT ON TALL SCREENS */
@media (min-height: 700px) {
  body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .wrapper {
    padding: 60px;
  }
}

/* TYPOGRAPHY */
h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  margin-bottom: 1.6rem;
  color: var(--text2);
}

strong {
  color: var(--text);
}