@media (max-width: 1024px) {
  .navbar {
    padding-top: 20px;
    height: 180px;
  }

  .navbar .flex {
    flex-direction: column;
    justify-content: space-evenly;
  }

  .navbar ul {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .home {
    height: auto;
  }

  .home p {
    margin: 50px 0;
  }

  .popup h3 {
    font-size: 1em;
  }
}

@media (max-width: 698px) {
  .explore .mid,
  .showcase .items {
    grid-template-columns: repeat(1, 1fr);
  }

  .explore .mid {
    justify-self: center;
  }

  .explore .right {
    margin-top: 16px;
  }

  .showcase .top {
    flex-direction: column;
  }

  .showcase video,
  .showcase .top img {
    width: 100%;
  }

  .showcase .items img {
    width: 100%;
  }

  .showcase .items img {
    width: 100%;
    height: auto;
  }

  .popup {
    width: 90%;
    overflow-y: scroll;
  }
}

@media (max-width: 524px) {
  .home p {
    font-size: 1em;
  }

  .navbar ul {
    font-size: 0.6rem;
  }

  .home span img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .home p {
    margin: 40px 0 25px 0;
  }

  .home .join a {
    font-size: 0.8rem;
  }

  .explore h1,
  .guide .header {
    font-size: 1.5rem;
  }

  .guide h3 {
    font-size: 1rem;
  }

  .guide p {
    font-size: 0.8rem;
  }

  .footer .copyright {
    font-size: 0.8em;
  }

  .content p,
  .content div,
  .content ul {
    font-size: 0.8rem;
  }

  .content h1 {
    font-size: 1rem;
  }
}
