@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

:root {
  --primary-color: #3ce434;
  --secondary-color: #2a3a63;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  /* padding: 0 100px; */
  padding: 50px 100px;
  /* padding: 0 80px; */
  /* background: #262626; */
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
}

header .main-logo {
  float: left;
  height: 50px;
  width: 255px;
  margin-left: -80px;
  margin-bottom: 50px;
  line-height: 50px;
}

header menu {
  float: right;
}

header menu ul {
  margin: 0;
  padding: 0;
  display: flex;
}

header menu ul li {
  list-style: none;
}

header menu ul li a {
  text-decoration: none;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  /* text-transform: uppercase; */
  display: block;
}

header menu ul li a:hover {
  color: #3ce434;
  /* background: #2196f3; */
}

header menu ul li .active {
  color: #3ce434;
  border-bottom: 2px solid #3ce434;
}

.toggle {
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 20px;
  left: 20px;
  display: none;
}

nav {
  display: none;
}

/* Media Queries */
@media (max-width: 1100px) {
  header menu ul li a {
    font-size: 16px;
  }
  header .main-logo img {
    height: 86px;
    width: 285px;
  }
}

@media (max-width: 985px) {
  header menu ul li a {
    font-size: 14px;
  }
  header .main-logo img {
    height: 76px;
    width: 275px;
  }
}

@media (max-width: 942px) {
  header menu ul li a {
    font-size: 12px;
  }
}

/* @media (max-width: 890px) {
  header menu ul li a {
    font-size: 10px;
  }
} */

@media (max-width: 845px) {
  * {
    box-sizing: border-box;
  }

  header .main-logo,
  header .menu,
  header menu ul {
    display: none;
  }

  nav {
    background-color: var(--secondary-color);
    border-right: 2px solid rgba(200, 200, 200, 0.1);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    z-index: 100;
    transform: translateX(-100%);
    display: block;
  }

  nav .logo {
    padding: 30px 0;
    text-align: center;
  }

  nav .logo img {
    padding-bottom: 20px;
    width: 200px;
    /* height: 100px; */
    z-index: 0;
  }

  nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  nav ul li {
    border-bottom: 2px solid rgba(200, 200, 200, 0.1);
    padding: 20px;
  }

  nav ul li:first-of-type {
    border-top: 2px solid rgba(200, 200, 200, 0.1);
  }

  nav ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    transition: 1s;
  }
  nav ul li a:hover {
    text-decoration: none;
    color: var(--primary-color);
    text-transform: uppercase;
    border-bottom: 2px solid #3ce434;
  }

  button {
    background-color: var(--primary-color);
    border: 0;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
  }

  button:focus {
    outline: none;
  }

  .toggle {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
  }
}
