:root {
  --background: hsl(158, 100%, 8%);
  --dark-background: hsl(159, 100%, 6%);
  --cta-color: hsl(139, 45%, 24%);
  --border: hsl(140, 45%, 22%);
  --primary-text: hsl(0, 0%, 96%);
  --secondary-text: hsl(150, 13%, 75%);
  --hover-background-color: hsl(140, 45%, 18%);
  --hover-border: hsl(140, 45%, 35%);
  --warning-color: hsl(0, 84%, 60%);
  --heading-font-family: "League Spartan", sans-serif;
  --normal-font-family: "Inter", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}
body {
  text-decoration: none;
  background: var(--background);
  color: var(--primary-text);
  box-sizing: border-box;
  font-family: var(--normal-font-family);
  margin: 0px;
  font-size: medium;
}
h1,
h2,
h3 {
  font-family: var(--heading-font-family);
}

a {
  text-decoration: none;
  color: var(--primary-text);
}

ul,
li {
  list-style-type: none;
  color: var(--primary-text);
}

/*HEADER SECTION STYLES*/
header {
  position: fixed;
  top: 0px;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 5.5rem;
  background-color: var(--dark-background);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 18%);
}
header img {
  width: 20vw;
  height: 8vh;
  margin: 0.5rem;
  border-radius: 8px;
}

header button {
  background-color: var(--dark-background);
  border: none;
  color: var(--primary-text);
  margin-right: 0.5rem;
}

@media (min-width: 64rem) {
  header img {
    width: 12vw;
    height: auto;
  }
}

@media (max-width: 48rem) {
  header {
    min-height: 4.5rem;
    padding: 0.35rem;
  }

  header img {
    width: 7rem;
    height: auto;
  }

  header h2 {
    margin: 0;
    font-size: 1.25rem;
  }

  nav {
    z-index: 20;
    max-width: calc(100vw - 1rem);
  }
}

/*NAVBAR SECTION STYLES*/
nav {
  background-color: var(--dark-background);
  width: 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  transform: translateX(205px);
  transition: all 0.3s ease;
  position: fixed;
  top: 0px;
  right: 0px;
}
.visible {
  transform: translateX(0px);
}

nav ul li {
  margin-bottom: 15px;
}

nav ul li a:hover {
  background-color: var(--hover-background-color);
  border: 1px solid var(--hover-border);
}
