:root {
  --motif-color: rgb(58, 193, 255);
  --line: rgb(34, 34, 34);
  --card-bg: rgb(239, 239, 240);
}

.how-to-order-wrapper {
  min-height: 100vh;
  width: 100%;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  margin-top: 90px;
  padding-bottom: 1rem;
}

.how-to-order-wrapper h1 {
  font-size: 3rem;
  margin: 2rem 0;
}

.how-to-order-container {
  display: flex;
  width: 80%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 1rem;
}

.instructions-container h1 {
  font-size: 2rem;
  text-align: center;
}

.instructions-container p {
  font-size: 1.4rem;
  color: #777;
}

.instructions-container {
  width: 40%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
  gap: 1rem;
  padding-bottom: 2rem;
}

.instructions-container img {
  border-radius: 0.2rem;
  border: 1px solid var(--line);
  width: 60%;
  display: block;
  margin: 0 auto;
}

.instructions-container img.hrz {
  width: 100%;
}

.how-to-order-container > .how-to-order-card {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 0.5rem;
  width: 22.9%;
  position: relative;
  border-radius: 0.4rem;
}

.how-to-order-card-img {
  border-radius: 0.4rem;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

.how-to-order-card-img:hover {
  transform: scale(1.05);
}

.how-to-order-card > .how-to-order-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Quicksand", sans-serif;
}

.how-to-order-info > .how-to-order-name {
  font-weight: bolder;
  font-size: 1.3rem;
  text-align: center;
  color: #000;
}

.how-to-order-info > .how-to-order-name:hover {
  text-decoration: underline;
}

.how-to-order-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.how-to-order-links > a {
  display: none;
}

.how-to-order-links > a,
.how-to-order-links > div,
.instructions-container a {
  width: 100%;
  padding: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  border-radius: 0.2rem;
  transition: all 0.3s ease-in-out;
}

.learn-more-text,
.instructions-container a {
  color: #fff;
  cursor: pointer;
  background-color: #444;
}

.how-to-order-links > a:hover,
.how-to-order-links > div:hover,
.instructions-container a {
  filter: brightness(85%);
}

.instructions-container a {
  width: 30%;
  display: block;
  margin: 0 auto;
}

.red-text {
  color: red;
  font-weight: bolder;
}

.orange-text {
  color: #ff7600;
  font-weight: bolder;
}

@media (max-width: 1033px) {
  .how-to-order-container {
    width: 100%;
  }

  .how-to-order-container > .how-to-order-card {
    width: 20%;
    padding: 0.5rem;
  }
}

@media (max-width: 768px) {
  .instructions-container {
    width: 95%;
  }
  .instructions-container a {
    width: 60%;
  }
  .how-to-order-container {
    width: 95%;
    justify-content: center;
    gap: 2rem;
  }

  .instructions-container img {
    width: 100%;
  }

  .how-to-order-container > .how-to-order-card {
    width: 100%;
    gap: 1rem;
  }

  .how-to-order-card-img {
    max-width: 100%;
  }

  .how-to-order-info > .how-to-order-name {
    display: none;
  }

  .how-to-order-links > a {
    display: block;
  }
}
