/* body */
body {
  font-family: "Poppins", Sans-Serif;
  font-size: var(--big-font);
  line-height: 1.6;
  letter-spacing: -0.5px;
  background: var(--color-body);
  overflow-x: hidden;
  color: var(--font-black);
  height: 100%;
  max-width: 100vw;
}
/* end body */

/* header */
.header {
  background: linear-gradient(
    to right,
    var(--color-header),
    var(--second-color-header)
  );
  position: sticky;
  top: 0;
  backdrop-filter: blur(45px);
  z-index: 10;
}

.header a,
.header h2 {
  color: var(--font-white);
}

.headerContent {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

header .nav ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

header .nav ul li a {
  transition: 0.3s ease-in-out;
}

header .nav ul li a:hover {
  margin-right: 10px;
  color: var(--second-color-hover);
}

/* end header */

/* main */
.main {
  flex-direction: column;
}
/* end main */

/* sections */
section {
  margin: 8px 0;
}

section div {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.005);
  backdrop-filter: blur(30px);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section div h2 {
  margin-bottom: 10px;
}

section .social {
  gap: 10px;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 10px 0;
}

section .social a {
  color: var(--font-grey);
}

section .social a svg {
  stroke: currentColor;
  width: 28px;
  height: 28px;
}
/* end sections */

/* footer */
.footer {
  background: var(--color-footer);
  transition: all 0.3 ease-in-out;
  color: var(--font-white);
}

.footerContent {
  padding: 20px 0;
  flex-direction: column;
  flex: 1;
}

.copy {
  margin: 10px 0;
}

footer .social {
  gap: 10px;
}

footer .social a svg {
  stroke: currentColor;
  width: 28px;
  height: 28px;
}

.footer div.social a {
  color: var(--font-white);
}
/* end footer */

/* responsivo */
@media (prefers-reduced-motion) {
  .hidden {
    transition: 0;
  }
}

@media (max-width: 820px) {
  body {
    font-size: var(--medium-font);
  }

  .headerContent {
    gap: 10px;
    position: relative;
  }

  .btn {
    display: none;
    position: absolute;
    right: 1rem;
    top: 1.8rem;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 20;
  }

  .btn .bar {
    background: var(--font-white);
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 5px;
  }

  .sideMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: clamp(200px, 70vw, 350px);
    height: 100vh;
    box-shadow: -2px 0 5px 5px rgba(0, 0, 0, 0.2);
    padding: 2rem 1rem;
    z-index: 30;
    background: linear-gradient(
      to right,
      var(--color-header),
      var(--second-color-header)
    );
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
  }

  .sideMenu.open {
    transform: translateX(0);
  }

  .sideMenu .nav {
    z-index: 40;
  }

  header .nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  header .nav ul li a {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 1rem 0;
    border-top: solid 1px rgba(255, 255, 255, 0.15);
    border-bottom: solid 1px rgba(255, 255, 255, 0.15);
  }

  header .nav ul li a:hover {
    margin-left: 5px;
    margin-right: 0;
  }
  .btn {
    display: block;
  }
}

@media (max-width: 480px) {
  body {
    font-size: var(--small-font);
  }
}
/* end responsivo */
