:root {
  --yellow: #FFED00;
  --blue: #0000FF;
}

@font-face {
  font-display: swap;
  font-family: "Altmann Grotesk";
  src: url("../fonts/AltmannGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 1.4rem;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
@media screen and (min-width: 20rem) {
  html {
    font-size: calc(1.4rem + 0.9 * (100vw - 20rem) / 80);
  }
}
@media screen and (min-width: 100rem) {
  html {
    font-size: 3rem;
  }
}

body {
  font-family: "Altmann Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  line-height: 1.2rem;
  letter-spacing: -0.05em;
  color: var(--blue);
}

a {
  color: var(--blue);
}

.lowercase {
  text-transform: lowercase;
}

.header {
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 0.5em;
  display: grid;
  grid-template-columns: 1fr auto auto;
}
.header div {
  padding: 0.3em 1em 0.2em 1em;
  border: 0.15em solid transparent;
  border-radius: 10000px;
}
.header div.instagram {
  border-color: var(--blue);
}
.header div.instagram a {
  text-decoration: none;
}
@media screen and (max-width: 50rem) {
  .header .date-time {
    display: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .header div.instagram:hover {
    background-color: var(--blue);
  }
  .header div.instagram:hover a {
    color: var(--yellow);
  }
}

.splash {
  position: relative;
  min-height: 100dvh;
}

.scribbles {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.scribbles .scribble {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.marquee {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--yellow);
  background-color: var(--blue);
  line-height: 100%;
  padding: 0.5em 0 0.3em 0;
}
@media screen and (max-width: 50rem) {
  .marquee {
    font-size: 125%;
    padding: 0.6em 0 0.4em 0;
  }
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.logo svg {
  width: 100%;
  height: auto;
  animation: rotate 5s linear infinite;
}

@media screen and (orientation: landscape) {
  .logo {
    width: 30%;
  }
}
@media screen and (orientation: portrait) {
  .logo {
    width: 75%;
  }
}
.section.bg-yellow {
  background-color: var(--yellow);
}

.section.bg-blue {
  background-color: var(--blue);
}

.test {
  height: 1000px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
