/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

@font-face {
  font-family: "Geomanist";
  src: url("/assets/fonts/Geomanist-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geomanist";
  src: url("/assets/fonts/Geomanist-Ultra.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #e50053;
  background-color: #fece00;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1,
h2 {
  font-family: "Geomanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  line-height: 1;
  padding-left: 1rem;
  padding-right: 1rem;
}

h1 {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  margin: 1rem 0 0 0;
}

h2 {
  font-weight: 500;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin: 0 0 2rem 0;
  color: #b80043;
  text-transform: uppercase;
}

.cta-button {
  display: inline-block;
  background-color: #e50053;
  color: #fece00;
  font-family: "Geomanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  padding: 0.75rem;
  padding-bottom: 0.5rem;
  margin-left: 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.cta-button:hover {
  animation: wobble 0.5s ease;
  background-color: #b80043;
}

@keyframes wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}
@media (min-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  h1,
  h2 {
    padding-left: 6.25rem;
    padding-right: 0;
  }
  .cta-button {
    margin-left: 6.25rem;
    padding-left: 0.75rem;
  }
  h1 {
    margin-top: 0;
  }
}