:root {
  --pec-red: #8b1a10;
  --spine-margin: 2rem;
}

html {
  padding: 1rem;
}

body {
  max-width: none;
}

#banner {
  -webkit-animation: ken-burns-banner 20s ease-in-out infinite alternate;
          animation: ken-burns-banner 20s ease-in-out infinite alternate;
  display: block;
  height: auto;
  max-width: 100%;
  -webkit-transform-origin: 45% 40%;
          transform-origin: 45% 40%;
  width: 100%;
}

.banner-frame {
  overflow: hidden;
}

@-webkit-keyframes ken-burns-banner {
  from {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    -webkit-transform: scale(1.12) translate3d(8%, -4%, 0);
            transform: scale(1.12) translate3d(8%, -4%, 0);
  }
}

@keyframes ken-burns-banner {
  from {
    -webkit-transform: scale(1) translate3d(0, 0, 0);
            transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    -webkit-transform: scale(1.12) translate3d(8%, -4%, 0);
            transform: scale(1.12) translate3d(8%, -4%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #banner {
    -webkit-animation: none;
            animation: none;
  }
}

.pec-layout {
  max-width: 60rem;
}

.pec-spine {
  margin-top: var(--spine-margin);
  text-align: center;
}

.pec-spine img {
  height: auto;
  max-height: 18rem;
  max-width: min(100%, 20rem);
  width: auto;
}

h1,
h2 {
  color: var(--pec-red);
  font-family: "Staatliches", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size: 5.5rem;
  line-height: 1;
  margin-bottom: 2rem;
  margin-top: 1rem;
  text-align: center;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

ul,
ol {
  padding-left: 1.5rem;
}

p,
li {
  font-family: "Gabarito", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: <weight>; */
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.4;
}

li {
  margin-bottom: 1rem;

  strong {
    font-size: 1.7rem;
  }
}

a {
  text-decoration: none;
}

.center {
  text-align: center;
}

.event {
  margin-bottom: 3rem;
}

.newsletter {
  background-color: var(--pec-red);
  border-radius: 0.75rem;
  color: white;
  display: inline-block;
  padding: 0.5rem 1.25rem;
}

@media (min-width: 64rem) {
  .pec-layout {
    align-items: start;
    display: -ms-grid;
    display: grid;
    gap: 2.5rem;
    -ms-grid-columns: minmax(0, 52rem) minmax(0, 1fr);
    grid-template-columns: minmax(0, 52rem) minmax(0, 1fr);
    max-width: none;
  }

  /* keep the spine graphic fixed when scrolling */
  .pec-spine {
    -ms-grid-row-align: start;
        align-self: start;
    margin-top: 0;
    position: fixed;
    right: 1rem;
    text-align: right;
    top: 1rem;
    width: min(20rem, calc(100vw - var(--spine-margin)));
  }

  .pec-spine img {
    max-height: calc(100vh - var(--spine-margin));
    max-width: 100%;
  }
}
