@import url("https://fonts.googleapis.com/css2?family=Cal+Sans&family=Comic+Relief:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Special+Gothic+Condensed+One&family=Special+Gothic+Expanded+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cal+Sans&family=Cascadia+Mono:ital,wght@0,200..700;1,200..700&family=Comic+Relief:wght@400;700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Special+Gothic+Condensed+One&family=Special+Gothic+Expanded+One&display=swap");
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 70%);
  --text-color-light: hsl(0, 0%, 60%);
  --body-color: hsl(0, 0%, 0%);
  --container-color: hsl(0, 0%, 8%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Montserrat", sans-serif;
  --biggest-font-size: 2.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and(min-width: 1152px) {
  :root {
    --biggest-font-size: 5.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--text-color);
}
body {
  background-color: var(--body-color);
}
button,
input {
  outline: none;
  border: none;
}
h1,
h2,
h3,
h4 {
  color: var(--text-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}
ul {
  list-style: none;
}

a {
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}
.grid {
  display: grid;
  gap: 1.5rem;
}
.section {
  padding-block: 5rem 1rem;
}
.section__title {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
  color: #fff;
}
.main {
  overflow: hidden;
}
.header {
  position: fixed;
  background-color: transparent;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}
.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: grey;
    width: 100%;
    padding-block: 4rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: top 0.3s;
  }
}
.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}
.nav__link {
  position: relative;
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-medium);
}
.nav__link::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: var(--text-color-light);
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  transition: width 0.3s;
}
.active-link::after {
  width: 70%;
}
.nav__close {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.show-menu {
  top: 0;
}
.blur-header::after {
  position: absolute;
  width: 1000%;
  height: 100%;
  content: "";
  background-color: hsla(0, 0%, 0%, 0.3);
  backdrop-filter: blur(24px);
  top: 0;
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
  left: 0;
}
.home {
  position: relative;
}
.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  margin-bottom: 20px;
  width: 100%;
  height: 1000px;
  object-fit: cover;
  object-position: center;
}
.home___shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 58% hsl(0, 0%, 0%) 78%
  );
}
.home__container {
  position: relative;
  padding-top: 3rem;
  row-gap: 3rem;
}
.home__data {
  text-align: center;
}
.home__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}
.home__title {
  font-size: var(--biggest-font-size);
  margin-bottom: 1rem;
}
.home__description {
  margin-bottom: 2rem;
  color: #000000;
}
.home__cards {
  grid-template-columns: 240px;
  justify-content: center;
}
.home__card {
  position: relative;
  overflow: hidden;
}
.home__card-img {
  transition: transform 0.4s;
}
.home__card-shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 50% hsl(0, 0%, 0%) 125%
  );
}
.home__card-title {
  position: absolute;
  left: 2rem;
  bottom: 1rem;
  font-size: var(--h3-font-size);
  z-index: 1;
  color: hsl(0, 0%, 95%);
}
.home__card:hover .home__card-img {
  transform: scale(1.2);
}
.button {
  border-radius: 25px;
  background-color: hsla(0, 0%, 100%, 0.2);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  font-family: var(--second-font);
  font-size: 1.1rem;
  font-weight: var(--font-semi-bold);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.button i {
  font-size: 1.25rem;
  transition: transform 0.4s;
}
.button:hover i {
  transform: translate(0.25rem);
}
.about__container {
  row-gap: 3rem;
}
b {
  color: brown;
}
.about__data {
  text-align: center;
}
.about__description {
  margin-bottom: 2rem;
}

.about__image {
  position: relative;
  justify-self: center;
  overflow: hidden;
}
.about__img {
  width: 300px;
  transition: transform 0.4s;
}
.about__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    108deg,
    hsla(0, 0%, 0, 0) 50% hsl(0, 0%, 0%) 125%
  );
}
.about__image:hover .about__img {
  transform: scale(1.2rem);
}
.popular__container {
  padding-top: 1.5rem;
  grid-template-columns: 240px;
  justify-content: center;

  row-gap: 2.5rem;
}
.popular__image {
  position: relative;
  overflow: hidden;
  height: 400;
  width: 200;
  margin-bottom: 2rem;
  align-items: center;
}
.popular__image img {
  transition: transform 0.4s;
}
.explore {
  position: relative;
}

.explore__content {
  margin-top: 10rem;
  text-align: center;
  position: absolute;
  padding-top: 1rem;
}
.join__container {
  row-gap: 3rem;
  padding-bottom: 2.5rem;
}

.join__description {
  margin-bottom: 2rem;
}
.join__input {
  padding: 1.25rem;
  background: var(--container-color);
  border-radius: 30px;
}
.join__button {
  background-color: rgba(255, 0, 0, 0.37);
  color: #fff;
  cursor: pointer;
}
.join__button:hover {
  background-color: #fff;
  color: black;
}
.footer {
  padding-block: 2.5rem;
  background-color: var(--container-color);
}
.footer__content {
  row-gap: 3.5rem;
}
.footer__logo {
  display: inline-block;
  color: var(--title-color);
  font-size: var(--h2-font-size);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}
.footer__data {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem 3.5rem;
}
.footer__title {
  margin-bottom: 1rem;
  font-size: var(--h3-font-size);
  color: brown;
}
.footer__links {
  display: grid;
  row-gap: 0.76;
  color: var(--text-color);
  transition: color 0.4s;
}
.footer__links:hover {
  color: var(--title-color);
}
.footer__group,
.footer__social {
  display: flex;
}
.footer__group {
  margin-top: 5rem;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}
.footer__social {
  column-gap: 1rem;
}
.footer__social-link {
  color: var(--text-color);
  font-size: 1.25rem;
  transition: color 0.4s, transform 0.4s;
}
.footer__social-link:hover {
  color: var(--title-color);
  transform: translateY(-0.25rem);
}
.footer__copy {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: center;
}
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: 3rem;
  background-color: burlywood;
  padding: 6px;
  display: inline-flex;
  border-radius: 30%;
  font-size: 1rem;
  color: black;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  transition: bottom 0.4s, transform 0.4s;
  z-index: var(--z-tooltip);
}
.scrollup:hover {
  transform: translateY(-0.4rem);
}
.show-scroll {
  bottom: 3rem;
}
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }
  .footer__data {
    grid-template-columns: max-content;
  }
}

@media screen and (min-width: 576px) {
  .explore__content {
    grid-template-columns: repeat(2, 350px);
    margin-left: 46rem;
  }
  .footer__data {
    grid-template-columns: repeat(3, max-content);
  }
}
@media screen and (min-width: 1023px) {
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .popular__container {
    grid-template-columns: repeat(3, 240px);
  }
  .footer__data {
    grid-template-columns: repeat(4, max-content);
    column-gap: 4.5rem;
    margin-left: 40rem;
  }
  .footer {
    padding-block: 5rem 3rem;
  }
  .footer__social {
    column-gap: 2rem;
  }
  .footer__social-link {
    font-size: 1rem;
  }
}
