@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@font-face {
  font-family: "Syne";
  src: url("/fonts/syne-regular.woff2"), url("/fonts/syne-regular.woff");
}

@font-face {
  font-family: "Syne Extra";
  src: url("/fonts/syne-extra.woff2"), url("/fonts/syne-extra.woff");
}

body {
  background-color: #f4e6d8;
  color: #15403d;
  font-family: "Syne";
  font-size: 32px;
  line-height: 1.25;
  max-width: 1120px;
  margin: 240px auto;

  overflow-x: hidden;

  transition: background-color 0.8s;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  text-align: center;
  z-index: 1;
}
header img {
  width: 136px;
  transition: width 1s;
}

header.scrolled img {
  width: 64px;
}

section {
  margin: 80px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

section:nth-child(odd) {
  flex-direction: row-reverse;
}

section div {
  padding: 40px;
  position: relative;
}

section img {
  position: relative;
}
p {
  font-family: "Syne Extra";
  color: #e5745d;
}

div.stamps {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
}

div.stamps img {
  position: absolute;
  animation: spin 30s linear infinite;
}
