body {
  margin: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1c2b3a;
  background-color: #faf4dc;
  text-transform: lowercase;
}

h1,
h2,
h3,
.logo {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  color: #1f3a5f;
}

h2 {
  font-size: 36px;
  margin: 0 0 20px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

a {
  color: #1f3a5f;
}

a:focus-visible {
  outline: 3px solid #e9b949;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 8px 16px;
  background-color: #ffffff;
}

.skip:focus {
  left: 12px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 75vh;
  margin: 12px;
  padding: 20px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(16, 33, 54, 0.7), rgba(16, 33, 54, 0.35) 40%, rgba(16, 33, 54, 0.85));
  z-index: -1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.logo {
  margin: 0;
  font-size: 22px;
  color: #ffffff;
}

nav a {
  margin-right: 18px;
  color: #ffffff;
  text-decoration: none;
}

nav a:last-child {
  margin-right: 0;
}

nav a:hover {
  text-decoration: underline;
}

.hero h1 {
  font-size: 48px;
  font-weight: 300;
  margin: 40px 0 12px 0;
  color: #ffffff;
}

.hero-text p {
  max-width: 480px;
  margin: 0;
  color: #ffffff;
}

.glance {
  list-style: none;
  margin: 0;
  padding: 8px 5% 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.glance li {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
  line-height: 1.4;
}

.glance span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #3e5a78;
}

section {
  padding: 56px 5%;
}

.ingredients ul,
.storage ul {
  padding-left: 20px;
}

.ingredients li {
  margin-bottom: 4px;
}

.ingredients img {
  margin-bottom: 28px;
}

.tools {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  background-color: #f3dc8f;
}

.steps {
  background-color: #dce8ef;
}

.steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  background-color: #ffffff;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.steps img {
  width: 100%;
  border-radius: 0;
}

.step-text {
  padding: 20px 24px;
}

.step-num {
  font-size: 14px;
  font-weight: 600;
  color: #3e5a78;
}

.steps h3 {
  font-size: 24px;
  margin: 4px 0 6px 0;
}

.steps p {
  margin: 0;
}

.storage li {
  margin-bottom: 6px;
}

footer {
  padding: 24px 5% 32px 5%;
  font-size: 14px;
}

@media (min-width: 800px) {
  .hero {
    margin: 16px;
    padding: 28px 32px 40px 32px;
  }

  .hero h1 {
    font-size: 84px;
  }

  h2 {
    font-size: 44px;
  }

  .glance {
    grid-template-columns: repeat(4, 1fr);
  }

  .ingredients {
    display: flex;
    gap: 48px;
    align-items: flex-start;
  }

  .ingredients img {
    width: 50%;
    margin-bottom: 0;
  }

  .steps li {
    display: flex;
    align-items: center;
  }

  .steps img {
    width: 38%;
  }

  .step-text {
    flex: 1;
    padding: 24px 32px;
  }
}

@media (min-width: 1200px) {
  .glance,
  section,
  footer {
    padding-left: 10%;
    padding-right: 10%;
  }
}
