@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus:not(:focus-visible) {
  outline: none;
}

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

a,
label,
button,
select,
[type="radio"],
[type="submit"],
[type="checkbox"] {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
}

ul {
  list-style: none;
  padding-left: 0;
}

a {
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  background-color: white;
}

.navbar {
  display: flex;
  z-index: 99;
  position: relative;
  padding: 1.5rem 4.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.navbar__logo {
  width: 225px;
  margin-right: 0.75rem;
  cursor: pointer;
}

.navbar__menu {
  display: none;
  position: absolute;
  z-index: 99;
  top: 15px;
  right: 32px;
  text-align: left;
  cursor: pointer;
}

.navbar__menu svg {
  overflow: visible;
  margin: 1rem 0;
}

.navbar__menu svg rect {
  fill: #000000;
  transition: 0.4s;
  rx: 1px;
}

.navbar__menu--active {
  position: fixed;
}

.navbar__menu--active svg rect:nth-child(1) {
  y: 12px;
  transform-origin: 16px 13px;
  transform: rotate(-45deg);
}

.navbar__menu--active svg rect:nth-child(2) {
  transform-origin: 16px 13px;
  transform: rotate(45deg);
}

.navbar__menu--active svg rect:nth-child(3) {
  y: 12px;
  transform-origin: 16px 13px;
  transform: rotate(45deg);
}

.navbar__links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar__links li a {
  display: block;
  color: black;
  font-size: 0.975rem;
}

.navbar__links li:not(:last-child) a {
  margin: 0 2rem 0 0;
}

.navbar__links li:last-child a {
  color: white;
  font-weight: 600;
  background-color: #438921;
  padding: 1rem 1.5rem;
  margin-left: 1rem;
  border-radius: 0.25rem;
}

@media only screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1.25rem 2.5rem;
  }
  .navbar__menu {
    display: block;
  }
  .navbar__links {
    width: 0;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    padding: 5rem 0;
    flex-direction: column;
    background: white;
    overflow: hidden;
    transition: 0.5s;
  }
  .navbar__links--active {
    width: 100%;
  }
  .navbar__links li:not(:last-child) a {
    margin: 0 0 1rem 0;
  }

  .navbar__links li:last-child a {
    margin-left: 0;
  }
}

footer.footer {
  background-color: #0b1e05;
  padding: 4rem 2rem 3rem;
}

.footer__logo {
  width: 150px;
  margin: auto;
  margin-bottom: 3rem;
}

.footer__links {
  display: flex;
  width: fit-content;
  margin: auto;
}

.footer__links li a {
  display: block;
  color: white;
  font-size: 1.075rem;
  font-weight: 600;
}

.footer__links li:not(:last-child) a {
  margin: 0 2rem 0 0;
}

@media only screen and (max-width: 786px) {
  .footer__links {
    flex-direction: column;
  }
  .footer__links li:not(:last-child) a {
    margin: 0 0 1rem 0;
  }
}
