* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000000;
  --fg: #FFFFFF;
  --ac: #FFFFFF;
  --icon-filter: invert(1);
  --star-filter: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #FFFFFF;
    --ac: #FFFFFF;
    --icon-filter: none;
    --star-filter: invert(1);
  }
}

html {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

body {
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

section {
  min-height: 90vh;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section,
header,
footer {
  width: 100%;
  max-width: 1400px;
  margin: 0rem auto;
}

a {
  color: var(--ac);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.3rem;
}

header img {
  height: 3rem;
  width: auto;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
  text-transform: uppercase;
  font-weight: 700;
}

#hero {
  flex-direction: row;
}

#hero img {
  height: 25rem;
  width: auto;
  margin-right: -0%;
}

#hero #desc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#hero #hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.material-button {
  border-radius: .5rem;
  padding: 0.80rem 2.5rem;
  background: var(--ac);
  color: var(--bg);
  width: max-content;
}

.material-button:hover {
  text-decoration: none;
}

#screenshots img {
  height: 45rem;
  padding: 1rem;
  width: auto;
  margin-right: -1%;
  margin-bottom: 5%;
}

.card {
  padding: 2rem 3rem;
  border-radius: 3rem;
  background: var(--ac);
  color: var(--bg);
}

.card a {
  filter: brightness(0.5);
  font-style: italic;
}

#apps h2,
#team h2 {
  align-self: start;
  margin-left: 5%;
  margin-bottom: 2rem;
}

#apps div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(30rem, 100%), 1fr));
  gap: 1rem;
  width: 100%;
}

#apps .card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

#apps .card img {
  border-radius: 50%;
  width: clamp(5rem, 10vw, 10rem);
  height: auto;
}

#apps .card div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

#apps .stars {
  position: absolute;
  right: 2rem;
  top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

#apps .stars img {
  height: 0.9rem;
  width: auto;
  filter: var(--star-filter);
  margin-bottom: 0.1rem;
}

#apps a,
#team a {
  color: var(--bg);
  filter: none;
}

#apps a:hover,
#team a:hover {
  text-decoration: none;
}

#team div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#team .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#team img {
  border-radius: 50%;
  width: 30%;
  height: auto;
}

#contributing .card {
  display: flex;
  height: auto;
  width: 40rem;
  flex-direction: column;
  gap: 1rem;
  border-radius: 0.5rem;
  margin: 0.8rem;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

footer #social-links {
  display: flex;
  color: #FFFFFF;
}

footer img {
  height: 1.4rem;
  width: auto;
  filter: var(--icon-filter);
  margin: 0 0.5rem;
}

#disclaimer section {
  min-height: 50vh;
  padding: 1rem;
  display: flex;
  margin-bottom:-40%;
}

#addon .card {
  display: flex;
  height: auto;
  width: 50rem;
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  text-decoration: lowercase;
  border-radius: 2rem;
  margin: 1rem;
}

.install-button {
  width: max-content;
  height: auto;
  border-radius: 1.2rem;
  padding: 1.2rem;
  background: var(--bg);
  color: var(--fg);
}
