* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --clr-1: #000000;
  --clr-2: #ffffff;

  --clr-bg: #fafafa;
  --clr-border: #0e0e0e;
  --clr-shadow: #cecece;
}

body {
  position: relative;
  overflow-x: hidden;

  font-size: 16px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  letter-spacing: normal;
  color: var(--clr-4);
  background-color: var(--clr-2);
  text-wrap: balance;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
}
h2 {
  font-size: 3rem;
  font-weight: 600;
}
h3 {
  font-size: 2rem;
  font-weight: 200;
}

p,
a,
li,
button {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 200;
}

.btn01 {
  background-color: var(--clr-1);
  color: var(--clr-2);
  border: solid 1px var(--clr-1);
  padding: 10px 20px;
}
.btn02 {
  background-color: var(--clr-2);
  color: var(--clr-1);
  border: solid 1px var(--clr-2);
  padding: 10px 20px;
}

.main {
  max-width: 1920px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section {
  width: 100%;
  padding: 5rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 1920px;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbar {
  width: 100%;
  padding: 2.5rem 5rem;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  z-index: 20;
}
.logo p {
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  text-decoration: none;
  color: var(--clr-1);
  text-transform: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: var(--clr-1);

  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-mobile {
  display: none;
}

.mobile-button {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--clr-1);
  padding: 0.5rem;
  z-index: 20;
  position: relative;
}

.mobile-button .close-icon {
  display: none;
}

.mobile-button.active .hamburger-icon {
  display: none;
}

.mobile-button.active .close-icon {
  display: inline;
}
footer {
  width: 100%;
  padding: 5rem;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  border-top: solid 1px var(--clr-border);
}

footer p {
  text-align: center;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    font-weight: 700;
  }
  h2 {
    font-size: 2rem;
    font-weight: 600;
  }
  h3 {
    font-size: 1.5rem;
    font-weight: 200;
  }

  .section {
    padding: 2rem 1rem;
  }

  .navbar {
    width: 100%;
    padding: 1rem;
  }
  .logo p {
    font-size: 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-button {
    display: block;
  }

  .nav-mobile {
    position: fixed;
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    padding: 2rem;

    display: none;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-color: var(--clr-2);
    transition:
      opacity 0.5s ease,
      visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
  }

  .nav-mobile.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile li {
    width: 100%;
  }
  .nav-mobile li a {
    width: 100%;
    display: block;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--clr-1);
  }

  footer {
    width: 100%;
    padding: 2rem;
  }
}
