@import url('https://fonts.googleapis.com/css2?family=Climate+Crisis&display=swap');
:root {
  --speed: 1.2s;
  --stagger: 0.2s;
  --line-height: 1;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
html, body {
  transition: background-color 0.5s ease;

}
.section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section[data-color] {
  background-color: transparent;
}
h2{
  color: #ffc0cb;
  text-transform: uppercase;
  font-family: "Climate Crisis", sans-serif;
  font-weight: 400;
  font-size: 12dvw;
}
 ul {
  line-height: 1;
}
 ul li{
  list-style: none;
  margin-bottom: 10px;
}
 ul li a{
  color: pink;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Climate Crisis", sans-serif;
  font-weight: 400;
  font-size: 10dvw;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.section ul li{
  transition: opacity 0.3s ease;
}

.section ul:hover li{
  opacity: 0.3;
}

.section ul li:hover {
  opacity: 1;
}

.o-text-reveal {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.o-text-reveal__wrapper {
  overflow: hidden;
  line-height: var(--line-height);
}

.o-text-reveal__item {
  transform: translateY(110%);
  transition: transform var(--speed) cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
  display: inline-block;
}

.is-ready .o-text-reveal__item {
  transform: translateY(0);
}
