@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: ubuntu;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(hsl(from hsl(0, 0%, 0%) h s l/0.2)), url(/assets/img/background/bg.jpg) center/cover no-repeat;
  background-attachment: fixed;
  color: hsl(0, 0%, 100%);
  height: 100dvh;
}

.header {
  width: min(86rem, 100%);
  margin: 0 auto;
  z-index: 9998;
}

.sidebar-overlay {
  display: none;
  position: relative;
}
.sidebar-overlay.open {
  display: block;
  position: fixed;
  inset: 0;
  background: hsl(from hsl(0, 0%, 0%) h s l/0.3);
  z-index: 3;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}
.nav .nav__open-sidebar,
.nav .nav__close-sidebar {
  display: none;
}
.nav__ul {
  display: flex;
  list-style: none;
}
.nav__ul .nav__li:not(:first-child) {
  display: flex;
}
.nav__ul .nav__li:not(:first-child) .nav__a {
  padding: 1rem 2rem;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: 0.15s ease;
}
.nav__ul .nav__li:not(:first-child) .nav__a:hover {
  backdrop-filter: blur(1rem);
  border: 2px solid hsl(from hsl(0, 0%, 100%) h s l/0.35);
}

.main {
  display: flex;
  flex-direction: column;
  width: min(54rem, 100%);
  margin: 0 auto;
  padding: 1.5rem;
  flex: 1;
  z-index: 2;
}
.main .hero {
  margin: 2rem 0 4rem;
}
.main .content .content__card-grid {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 2rem;
}
.main .content .content__card-grid .content__card {
  backdrop-filter: blur(1rem);
  padding: 1rem;
  border: 2px solid hsl(from hsl(0, 0%, 100%) h s l/0.1);
  border-radius: 5px;
  transition: scale 0.1s ease;
}
.main .content .content__card-grid .content__card:hover {
  scale: 1.02;
}
.main .content .content__card-grid .content__card:active {
  scale: 0.9664;
}
.main .content .content__card-grid .content__card a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(0, 0%, 100%);
}

.footer {
  text-align: center;
  padding: 1rem;
  backdrop-filter: blur(1rem);
  z-index: 2;
}

@media (max-width: 48rem) {
  .nav .nav__close-sidebar,
  .nav .nav__open-sidebar {
    display: block;
    background: none;
    border: none;
  }
  .nav .nav__open-sidebar {
    width: 1.5rem;
    height: 1.5rem;
  }
  .nav .nav__open-sidebar .bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 3px;
    margin-top: 4px;
    background: hsl(0, 0%, 100%);
  }
  .nav__ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100dvh;
    padding: 1rem;
    flex-direction: column;
    background: hsl(from hsl(0, 0%, 0%) h s l/0.2);
    backdrop-filter: blur(1rem);
    z-index: 10000;
    transition: right 0.45s ease-in-out;
  }
  .nav__ul .nav__li .nav__a {
    width: 100%;
  }
  .nav__ul .nav__li .nav__close-sidebar {
    width: 2rem;
    height: 2rem;
    margin-top: 1rem;
    position: relative;
  }
  .nav__ul .nav__li .nav__close-sidebar .x-icon::before,
  .nav__ul .nav__li .nav__close-sidebar .x-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: hsl(0, 0%, 100%);
  }
  .nav__ul .nav__li .nav__close-sidebar .x-icon::before {
    rotate: 45deg;
  }
  .nav__ul .nav__li .nav__close-sidebar .x-icon::after {
    rotate: -45deg;
  }
  .nav__ul.open {
    right: 0;
  }
}

/*# sourceMappingURL=style.css.map */
