* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #252120;
  color: #faf7ed;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

a {
  color: #dfc992;
  text-decoration: none;
}

a:hover {
  color: #d1ad66;
  text-decoration: underline;
}

.timer-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #faf7ed;
}

.timer {
  height: 100%;
  width: 100%;
  background-color: #d1ad66;
  animation: progress 10s linear forwards;
}

@keyframes progress {
  0% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

main,
footer {
  width: 100%;
  max-width: 800px;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.row {
  margin: 20px 0;
}

.reverse {
  display: flex;
  flex-direction: column;
}

.logo {
  max-width: 250px;
  height: auto;
}

.h1 {
  font-size: 3.6rem;
  line-height: 1.1;
  font-weight: bolder;
}

.highlight {
  color: #d1ad66;
}

.offset {
  position: relative;
  display: block;
  text-align: right;
}

.last-word {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  background-color: #252120;
  z-index: 1;
}

.offset::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 10px 0;
  background: repeating-linear-gradient(#faf7ed, #faf7ed 10px, #252120 10px, #252120 16px);
  background-size: cover;
  z-index: 0;
}

.p {
  display: flex;
  align-self: flex-end;
  max-width: 640px;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-top: 20px;
  padding-left: 20px;
}

footer {
  width: 100%;
  font-size: 0.8rem;
  background-color: #252120;
  color: #faf7ed;
}

@media (min-width: 768px) {
  .h1 {
    font-size: 5rem;
  }

  .offset::after {
    background: repeating-linear-gradient(#faf7ed, #faf7ed 12px, #252120 12px, #252120 18px);
  }
}

@media (min-width: 1024px) {
  .h1 {
    font-size: 5.25rem;
    line-height: 1.05;
  }

  .offset {
    margin-top: 10px;
  }

  .offset::after {
    background: repeating-linear-gradient(#faf7ed, #faf7ed 14px, #252120 14px, #252120 18px);
  }
}