@font-face {
  font-family: "rotor";
  src: url("rotor.ttf");
}

:root {
  background: rgb(232, 235, 237);
  color: rgb(21, 26, 53);
  font-family: rotor, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.25;
  scroll-behavior: smooth;
}

* {
  font-weight: 400;
  --tt-max: 800;
}

a {
  color: magenta;
  text-decoration: none;
}

.ball1,
.ball2 {
  position: fixed;
  bottom: -40vh;
  right: -30vw;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: yellow;
  z-index: 2;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.ball2 {
  top: -40vh;
  left: -30vw;
  width: 80vw;
  height: 80vw;
}

svg {
  width: 100%;
  display: block;
}

.content {
  display: block;
  margin: 0 auto 20vh;
  padding: 4vw;
  max-width: 40rem;
  --tt-key: content;
  --tt-ease: ease-out;
  --tt-max: 800;
  box-sizing: content-box;
}
.content > * {
  position: relative;
  z-index: 3;
}
@keyframes content {
  0% {
    font-size: 50%;
  }
  100% {
    font-size: 100%;
  }
}

.monogram {
  display: table;
  position: relative;
  border-radius: 50%;
  z-index: 1;
  width: 80%;
  max-width: 300px;
  margin: 0 auto 4rem auto;
  z-index: 3;
}
.monogram:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0.5rem;
  left: 0.2rem;
  background: yellow;
  border-radius: 50%;
  z-index: -1;
}
.line {
  display: flex;
}

.filmstrip {
  display: flex;
  position: relative;
  flex-direction: row;
  overflow: auto;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 4rem calc(-4vw - 0.5rem);
  border: 0.5rem solid #fff;
  z-index: 1;
}
@media (min-width: 800px) {
  .filmstrip {
    transform: rotate(-2deg);
  }
}
img {
  display: block;
  height: 300px;
  border-left: 0.5rem solid #fff;
  box-sizing: border-box;
}
img:first-child {
  border-left-width: 0;
}

h1,
h2 {
  font-size: 2rem;
  margin: 0.5rem 0;
  line-height: 1;
  --tt-key: h1h2;
  --tt-ease: linear;
  --tt-max: 800;
}
@keyframes h1h2 {
  0% {
    font-size: 0;
  }
  100% {
    font-size: 2.4rem;
  }
}

.agenda h2 {
  margin: 2em 0 0;
  font-size: 3rem;
  --tt-key: agendah2;
  --tt-max: 800;
}

@keyframes agendah2 {
  0% {
    font-size: 1rem;
  }
  100% {
    font-size: 2.2rem;
  }
}

h3 {
  font-size: 2rem;
  margin: 1em 0 0;
  --tt-key: h3;
  --tt-max: 800;
}
@keyframes h3 {
  0% {
    font-size: 1rem;
  }
  100% {
    font-size: 1.4rem;
  }
}

h4 {
  font-size: 1.2rem;
  margin: 1em 0 0;
  --tt-key: h4;
  --tt-max: 800;
}

h5 {
  font-size: 1rem;
}

.agenda p,
.agenda li {
  font-size: 1.4em;
  line-height: 1.4;
  font-family: Dapifer, serif;
  font-weight: 300;
}

.agenda p.details {
  font-family: Dapifer, serif;
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
}

.agenda li {
  margin-bottom: 0.75em;
}

.rotor > span {
  font-variation-settings: "rttx" 0;
  transition: font-variation-settings 1s ease;
  animation: rotate 2s ease-out 3s 1 alternate backwards;
  transition-delay: 0s;
}
@keyframes rotate {
  0% {
    font-variation-settings: "rttx" 90;
  }
}

label {
  display: block;
}
input {
  width: calc(100% - 0.5rem);
  display: block;
  box-sizing: border-box;
  border-radius: 0 2rem 2rem 2rem;
  font: inherit;
  padding: 0.5rem;
  border: 2px solid currentColor;
  margin: 0.5rem 1rem 1rem 0;
}
input:focus {
  border-color: magenta;
}

button {
  font-family: inherit;
  background: none;
  border: 0.2em solid currentColor;
  font-size: 3em;
  border-radius: 0 3em 3em 3em;
  padding: 0.4em 0.8em;
  margin: 1rem 0 3rem;
}
button:hover,
button:focus {
  color: magenta;
  cursor: pointer;
}
button:hover span,
button:focus span {
  animation: button 1s ease-in-out infinite alternate;
}
button span:nth-child(2) {
  animation-delay: 0.1s;
}
button span:nth-child(3) {
  animation-delay: 0.2s;
}
button span:nth-child(4) {
  animation-delay: 0.3s;
}
@keyframes button {
  0% {
    font-variation-settings: "rttx" 0;
  }
  100% {
    font-variation-settings: "rttx" 180;
  }
}
