@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: #111;
  overflow: hidden;
}

body,
button {
  font-family: 'Inter', sans-serif, ui-sans-serif, system-ui;
  font-size: 16px;
}

#sky {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

#scroll-indicators {
  position: fixed;
  width: 100%;
  bottom: 6%;
}

/* Typography */

.h1 {
  font-size: 3.5rem;
}

.h2 {
  font-size: 3rem;
}

.h3 {
  font-size: 2rem;
}

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.25rem;
}

.h6 {
  font-size: 1rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin: 0;
  letter-spacing: -0.025em;
}

.fw-sb {
  font-weight: 600;
}

.ta-c {
  text-align: center;
}

.ta-l {
  text-align: left;
}

.ta-r {
  text-align: right;
}

.tag {
  background-color: #1111;
  color: #444;
  padding: 0.1rem 0.25rem;
  border-radius: 0.25rem;
}

/* Layouts */

section {
  height: 100%;
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

section.no-scroll {
  overflow-x: hidden;
}

article {
  height: 100%;
  width: 100%;
  flex: 1 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
}

.filler {
  flex: 1 1 0px;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.stack-x {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.stack-x--center {
  justify-content: center;
}

.stack-x--space-1 > *:not(:first-child) {
  margin-left: 0.5rem;
}

.stack-x--from-right {
  justify-content: flex-end;
}

/* components */

button,
.btn {
  background-color: #1111;
  color: #111;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  font-size: 1rem;
}

button:hover,
button:focus,
.btn:hover,
.btn:focus {
  background-color: #1112;
}

button:active,
.btn:active {
  background-color: #1113;
}

.btn svg {
  fill: #111;
}

.btn--icon {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.btn--icon--flex {
  padding: 1rem 0;
  max-width: 3.5rem;
  flex: 1 1;
}

@media (min-width: 400px) {
  .btn--icon--flex {
    min-width: 3.5rem;
  }
}

.icon-l {
  height: 1.5rem;
  width: 1.5rem;
}

.scroll-indicators {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.si__indicator {
  background-color: #aaa4;
  border-radius: 50%;
  width: 0.625rem;
  height: 0.625rem;
  margin: 0 0.25rem;
}

.si__indicator--active {
  background-color: #111;
}

/* Responsive...ness */

/* Small */

article {
  padding: 15% 10% 20%;
}

@media (max-width: 766.98px) and (orientation: landscape) {
  article {
    padding: 5% 10% 5%;
  }

  #scroll-indicators {
    bottom: 4%;
  }
}

/* Medium */

@media (min-width: 767px) and (orientation: landscape) {
  article {
    padding: 5% 10%;
  }

  article.article-side {
    padding-top: 12%;
  }

  #scroll-indicators {
    bottom: 4%;
  }
}

@media (min-width: 640px) and (orientation: portrait) {
  article {
    padding: 12% 12%;
  }

  article.article-side {
    padding-top: 16%;
  }

  #scroll-indicators {
    bottom: 5%;
  }
}

.desktop article {
  width: 33.33%;
  flex-basis: 33.33%;
  padding: 5%;
}

.desktop article.article-main {
  padding-left: 0;
  padding-right: 0;
}

.desktop article.article-side {
  padding: 12.5% 5% 10%;
}

.desktop article.article-left {
  padding-right: 0;
}

.desktop article.article-right {
  padding-left: 0;
}

.desktop .desktop-hide {
  display: none;
}
