#home {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: calc(100vh - 50px);
  scrollbar-width: none; // hide scrollbar in Firefox

  // hide scrollbar
  &::-webkit-scrollbar {
    display: none;
  }

  *:not(.chip) {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
  }

  .download-buttons {
    gap: 10px;
    display: none;
    margin-top: 10px;
    align-items: center;
    justify-content: center;

    a {
      height: 60px;
      width: 160px;
      text-decoration: none;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;

      .hidden {
        display: none;
      }

      &.play-store {
        background-image: url(https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png);
      }

      &.f-droid {
        background-image: url(https://camo.githubusercontent.com/79a6958a9201a72b59408c0b9a8109c2cc560b7a0e83e608f9d4cf8a4455ba80/68747470733a2f2f6664726f69642e6769746c61622e696f2f617274776f726b2f62616467652f6765742d69742d6f6e2e706e67);
      }
    }
  }

  .intro {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    width: 100%;
    height: 400px;
    max-width: unset;
    align-items: center;
    margin-bottom: 60px;

    .preview-image {
      position: relative;
      display: flex;
      width: 60%;
      max-width: 500px;

      picture {
        z-index: 0;

        &:hover {
          img {
            box-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
          }
        }

        img {
          width: 100%;
          border-radius: 4px;
          object-fit: contain;
          transition: all 0.3s ease-in-out;
          border: 1px solid rgba(255, 255, 255, 0.1);
          box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
        }

        &.phone {
          top: 0%;
          left: 50%;
          z-index: 1;
          position: absolute;
          transform: translate(-30%, 10%);

          img {
            width: 60%;
          }
        }
      }
    }

    .heading {
      width: 40%;
      padding: 0 16px;
      white-space: pre-wrap;

      .gh-buttons {
        margin: 0 auto;
        width: 170px;
        display: flex;
        justify-content: space-between;
        gap: 10px;
      }

      .download-buttons {
        display: flex;
      }
    }

    @media screen and (max-width: 700px) {
      height: auto;

      .preview-image {
        width: 100%;
        max-width: 400px;
      }

      .heading {
        width: 100%;
        padding: 0 16px;

        .download-buttons {
          display: none;
        }
      }
    }
  }

  @media screen and (max-width: 700px) {
    .download-buttons {
      display: flex;
    }
  }

  .featured-plugins__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style-type: none;

    li {
      display: flex;
      padding: 10px;
      border: 1px solid #333;
      border-radius: 5px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background-color: rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(10px);

      &:hover {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.7);
      }
    }
  }

  .featured-plugins {
    margin-top: 32px;

    &__list li {
      width: 160px;
      min-height: 160px;
      margin: 10px 10px 0;
      padding: 10px;
      text-align: center;
      cursor: pointer;

      img {
        width: 90px;
      }

      h4 {
        margin-top: 10px;
      }

      small {
        color: #b9b9b9;
      }
    }
  }

  .article {
    font-size: 1.5rem;
    text-align: left;
  }

  footer {
    margin-top: 16px;
    padding: 16px;
  }
}