/* RESET */

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

/* ========================================
   BASE
======================================== */

:root {
  --hover: #BEF527;
}

body {
  font-family: "Akt", sans-serif;

  background: #fff;
  color: #111;

  line-height: 1.5;

  overflow-x: hidden;
}

/* LINKS */

a {
  text-decoration: none;
  color: inherit;
}

/* FORM ELEMENTS */

button,
input,
textarea {
  font: inherit;
}

/* ========================================
   DESKTOP NAV
======================================== */

.nav {
  position: fixed;

  top: 40px;
  left: 40px;

  width: 140px;
  font-weight: 300;
}

.nav h1 {
  font-weight: 300;

  margin-bottom: 70px;
}

.nav a {
  display: block;

  margin-bottom: 10px;

  font-size: 16px;

  color: #999;

  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--hover);
}

/* ========================================
   CONTENT
======================================== */

.content {
  position: relative;

  margin-left: 140px;

  padding: 10px 40px 10px 40px;

  max-width: 1800px;
}

/* ========================================
   MOBILE HEADER
======================================== */

.mobile-header {
  display: none;
}

.menu-toggle {
  display: none;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

  /* HEADER */

  .mobile-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 20px;

    background: #fff;

    z-index: 1002;
  }

  /* H1 */

  .mobile-header h1 {
    margin: 0;
    font-size: 20px;
    color: #999;
  font-weight: 300;
  }

  /* BOTÃO */

  .menu-toggle {
    display: block;

    border: 0;
    background: none;

    font-size: 20px;

    color: #999;

    cursor: pointer;
  }

  /* NAV OVERLAY */

  .nav {
  position: fixed;

  inset: 0;

  width: 100%;
  height: 100vh;

  margin: 0;

  padding: 90px 20px 40px;

  background: #fff;

  z-index: 1000;

  transform: translateX(100%);

  transition: transform 0.3s ease;
}

  /* NAV ABERTA */

  .nav.active {
    transform: translateX(0);
  }

  /* ESCONDE H1 DA NAV */

  .nav h1 {
    display: none;
  }

  /* LINKS */

  .nav nav {
   display: flex;
   flex-direction: column;

   align-items: flex-end;

   text-align: right;

   gap: 40px;
}

  .nav a {
    margin-bottom: 0;

    font-size: 20px;
  }

  /* CONTENT */

  .content {
    margin-left: 0;

    width: 100%;

    padding: 80px 20px 40px;
  }

}