:root {
  --color-accent: #FF0000;
  --color-bg: #262A30;
}

* {
  scroll-behavior: smooth;
}


h1, h2, p {
  cursor: default;
}

body {
  background: var(--color-bg);
  color: #fff;
  font-family: Futura, Jost, sans-serif;
  overflow-x: hidden;
}

.scrollable {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

.scrollable section {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TITLE Section */

.fancy-title {
  font-size: 10rem;
  animation: pulsate 1.5s infinite alternate;
}

.greeting {
  font-size: 2rem;
}

@keyframes pulsate {
  100% {
    text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px var(--color-accent),
      0 0 80px var(--color-accent),
      0 0 90px var(--color-accent),
      0 0 100px var(--color-accent),
      0 0 150px var(--color-accent);
  }
  0% {
    text-shadow:
      0 0 2px #fff,
      0 0 4px #fff,
      0 0 6px #fff,
      0 0 10px var(--color-accent),
      0 0 45px var(--color-accent),
      0 0 55px var(--color-accent),
      0 0 70px var(--color-accent),
      0 0 80px var(--color-accent);
  }
}

/* LINKS Section */
p {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

p::after, p::before {
  background-color: var(--color-accent);
  height: 2px;
  content: "";
}

.divider {
  border: 4px solid var(--color-accent);
  width: 1rem
}

.cool-link {
  font-size: 2rem;
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--color-accent), var(--color-accent));
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0% 50%;
  transition: background-size 300ms ease-in-out;
}

*[badge]::after {
  content: attr(badge);
  display: inline-block;
  padding-inline: 4px;
  margin-inline: 4px;
  border: solid var(--color-accent) 1px;
  border-radius: 4px;
}

div[col] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

div[gap] {
  gap: 2em;
}

/* MEDIA QUERIES */

@media screen and (max-width: 600px) {
  .fancy-title {
    font-size: 4rem;
  }

  .greeting {
    font-size: 1.6rem;
  }

  .arrow {
    display: none;
  }

  .cool-link {
    font-size: 1.6rem;
  }

  .cool-link::first-letter,
  .letter-accent::first-letter {
    background-image: linear-gradient(red, red);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 100% 50%;
  }

  .divider {
    border: 4px solid #fff;
  }

}

@media all and (min-width: 900px) {
  .cool-link:hover {
    background-size: 100% 50%;
  }
}