html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Slab", serif;
}

header {
  display: flex;
  background: linear-gradient(#cf041f, #b2081c);
  color: #eee;
  padding: 64px 32px 16px;
  border-bottom: 4px solid #eecc7f;
  font-family: "Playfair Display";
  box-sizing: border-box;
}
@media(max-width: 660px) {
  header {
    height: 100vh;
  }
}
.fixed-header {
  padding: 16px 32px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  transition: 0.1s ease background-color;
}
.fixed-header:focus-within,
.fixed-header:hover {
  transition: none;
}
.fixed-header.active {
  background-color: #cf041f;
}
.fixed-header-inner {
  max-width: 1080px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 2px;
  line-height: 1;
  color: #eee;
}

header nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media(max-width: 660px) {
  header nav {
    position: fixed;
    z-index: 2;
    opacity: 0;
    transform: translateX(70%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    background: #b2081c;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
  }
  header nav ul {
    flex-direction: column;
    align-items: flex-end;
    padding-top: 64px;
    padding-right: 32px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  header nav[data-open] {
    pointer-events: all;
    opacity: 1;
    transform: scaleX(1);
    transition: transform 0.3s ease, opacity 0.15s ease;
  }
}
header nav li {
  margin-left: 8px;
  padding: 8px;
}
header nav a {
  font-family: "Roboto Slab", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #eee;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
@media(max-width: 660px) {
  header nav li {
    padding: 8px 0;
    margin: 16px 0;
  }
  header nav a {
    font-size: 32px;
  }
}
header nav a:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
header nav a.active:after,
header nav a:hover:after {
  opacity: 1;
  transform: scaleX(1);
}

.hamburger {
  display: none;
  width: 28px;
  height: 2px;
  padding: 0;
  margin-bottom: 20px;
  color: inherit;
  background: currentColor;
  border: 0;
  position: relative;
  transform-origin: 0 0;
  transform: translateZ(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  z-index: 3;
  outline: none;
  justify-self: end;
}
.hamburger:before,
.hamburger:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: inherit;
  position: absolute;
  left: 0;
  transition: inherit;
}
.hamburger:before {
  top: 10px;
}
.hamburger:after {
  top: 20px;
}
[data-open] + .hamburger {
    transform: translateX(8px) translateZ(0) rotate(45deg);
}
[data-open] + .hamburger:before {
    transform: rotate(-90deg) translateX(10px);
}
[data-open] + .hamburger:after {
    opacity: 0;
    transform: rotate(-90deg) translateX(20px);
}
@media(max-width: 660px) {
  .hamburger {
    display: block;
  }
}

.header-content {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media(max-width: 660px) {
  .header-content {
    justify-content: space-around;
  }
}
.header-content span {
  display: block;
  font-size: 24px;
}
.header-content span:first-child {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #eecc7f;
}
@media(max-width: 660px) {
  .header-content span {
    font-size: 4vh;
  }
  .header-content span:first-child {
    font-size: 8vh;
  }
}

section {
  max-width: 1080px;
  margin: -76px auto 32px;
  padding: 32px;
  padding-top: 108px;
}
section:last-of-type {
  margin-bottom: 0;
}
@media(max-width: 660px) {
  section {
    padding: 24px 16px;
    padding-top: 88px;
    margin-top: -64px;
  }
}
section h2 {
  margin-top: 0;
  font-weight: 600;
  font-size: 24px;
  font-family: "Playfair Display", sans-serif;
  color: #cf041f;
  padding: 8px 0 8px 16px;
  border-left: 6px solid currentColor;
}
section p,
section li {
  font-size: 18px;
  color: #222;
  line-height: 1.4;
}
@media(max-width: 660px) {
  section p,
  section li {
    font-size: 20px;
  }
}
section li {
  margin-bottom: 8px;
  list-style: none;
  position: relative;
}
section li:before {
  position: absolute;
  display: block;
  content: '';
  top: 10px;
  left: -20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cf041f;
}
section p + ul {
  margin-top: -10px;
}
section a {
  color: #cf041f;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  padding: 2px;
  margin: -2px;
}
section a:hover,
section a:focus {
  background: #eecc7f;
  color: #222;
  border-radius: 4px;
}
section em {
  color: #cf041f;
  font-style: normal;
}

.big-button {
  display: block;
  margin: 32px auto;
  width: fit-content;
  background: linear-gradient(#cf041f, #b2081c);
  padding: 16px 32px;
  font-size: 20px;
  font-weight: 800;
  font-family: "Roboto Slab", sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #eee;
  border-radius: 4px;
}
.big-button:hover,
.big-button:focus {
  background: #eecc7f;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
  color: #222;
}
.big-button:active {
  position: relative;
  top: 1px;
  left: 1px;
  box-shadow: inset 1px 1px 4px 2px rgba(0,0,0,.1);
}
