@import url("https://use.typekit.net/ann8pcg.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "omnes-pro", sans-serif;
}

a {
  position: relative;
}

.faq-question:visited {
  color: black !important;
}

.faq-question {
  color: black !important;
  border-radius: 10px 10px 0 0;
}

.icon {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

.navbar-logo img {
  width: 4.5rem;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #fff8e8;
}

main {
  max-width: 1400px;
  margin: 0 auto;
}

a {
  position: relative;
}

a:hover {
  text-decoration: underline !important;
  text-decoration-color: blue;
  text-underline-offset: 10px;
}

.italic {
  font-style: italic;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.navbar {
  z-index: 3;
  position: fixed;
  width: 100vw;
  background: #eb5b4c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 55px;
  height: 5rem;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none !important;
}

.navbar-links {
  display: flex;
  gap: 20px;
  list-style-type: none;
}

.navbar-links a {
  color: white;
  text-decoration: none;
}

.hero {
  padding-top: 4rem;
  background: #fff8e8;
  color: black;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 50% 50%;
}

.hero-text-container {
  max-width: 90%;
}

.hero-image {
  margin-top: 5rem;
  height: 44vw;
  width: 44vw;
}

.hero-image img {
  width: 40vw;
  object-fit: cover;
  height: 90%;
  border-radius: 1rem;
  z-index: 1;
}
.hero {
  animation: float 6s ease-in-out infinite;
}

.chevron {
  transform: rotate(-90deg);
}
.active {
  border-color: #eb5b4c !important;
  background-color: #fdf3dd !important;
}

.faq-section {
  width: 100%;
  margin-bottom: 4rem;
}
.faq-item {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 1em;
}
.faq-question {
  cursor: pointer;
  font-weight: bold;
  border: 2px solid #273248;
  background-color: transparent;
  padding: 20px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background-color: #fdf3dd;
  border-color: #eb5b4c;
}
.faq-answer {
  padding: 20px;
  border: 2px solid #273248;
  border-top: none;
  border-radius: 0 0 10px 10px;
}
.fa-chevron-down {
  transition: transform 0.3s ease;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5x);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-text {
  margin-left: 4rem;
  font-size: 2em;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.hero-description {
  font-size: 1.2em;
  margin-bottom: 20px;
  margin-left: 4rem;
  max-width: 40vw;
}

.highlight {
  color: #eb5b4c;
}

.cta-button {
  background-color: #eb5b4c;
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #fbc02d;
}

section.about,
section.form-section {
  padding: 20px;
  padding-top: 0;
}

.about h2,
.form-section h2 {
  font-size: 2em;
  margin-bottom: 10px;
  margin-left: 3rem;
}

.form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 5px;
}

.submit-button {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #2e7d32;
}

#test-yourself-section {
  margin-left: 64px;
  width: 600px;
}

#test-yourself-section h2 {
  margin-bottom: 10px;
}

#checkbox-list {
  font-size: 20px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

#checkbox-list input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

#checkbox-list label {
  cursor: pointer;
}

#checkbox-list input:checked {
  accent-color: #eb5b4c;
}

#checkbox-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag {
  background: #273248;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  /* margin: 5px; */
  font-size: 12px;
  align-items: center;
  display: flex;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding: 0 15px 15px 15px;
}

#recipe-section {
  margin-bottom: 6rem;
}

#form-container {
  background-color: #fff8e8;
  border: 3px solid #eb5b4c;
  border-radius: 10px;
  height: 32rem;
  width: 30vw;
  max-width: 400px;
}

.recipe-card {
  display: flex;
  flex-direction: column;
  height: 30rem;
}

.recipe-title {
  margin-bottom: 1rem;
}

#form-container > div {
  text-align: center;
}

#form-container #form {
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

#form-container > div:last-of-type {
  margin-top: 50px;
  margin-bottom: 10px;
}

#form-container input {
  padding: 10px;
  border: 2px solid #eb5b4c;
  width: 100%;
}

#form-container input:focus {
  outline: none;
  border-width: 3px;
}

#form-container .form-title {
  font-size: 30px;
  text-align: center;
  padding: 15px;
  color: #eb5b4c;
}

#form-container button {
  width: fit-content;
  padding: 10px;
  background-color: #eb5b4c;
  color: white;
  border: none;
  border-radius: 8px;
  margin: 0 auto;
  font-size: 13pt;
}

#form-container button:hover {
  background-color: #eb5b4c;
  cursor: pointer;
}

#recipe-container {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 auto;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 50px;
}

#recipe-container .recipe-card {
  background: #eb5b4c;
  width: fit-content;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  transition: transform 0.3s ease;
  max-width: 400px;
  width: 30vw;
  min-height: 32rem;
}

#recipe-container .recipe-card:hover {
  transform: scale(1.02);
  cursor: pointer;
}

#recipe-container .recipe-card h3 {
  font-size: 20px;
  padding: 10px 0;
  text-align: center;
}

.recipe-card a {
  color: white;
  text-decoration: none;
}

#recipe-container .recipe-img-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#recipe-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background: #273248;
  color: white;
  text-align: center;
  padding: 50px 70px;
}

.footer-contact {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.socials img {
  width: 30px;
  height: 30px;
}

.stores {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.legal {
  color: white;
  text-decoration: none;
}

/* .legal:hover {
  text-decoration: underline;
  text-decoration-color: white;
} */

.text-footer {
  font-size: 4.5rem;
}

.download {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.form-group-email {
  width: 100%;
}

#email {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  width: 90%;
}

#email_submit {
  width: 90%;
}

#email_submit:hover {
  background-color: transparent !important;
  border: 1px solid #eb5b4c;
  color: #eb5b4c;
}

.cook {
  margin-top: auto;
  margin-bottom: 1rem;
  text-align: center;
}

.cook button {
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cook button:hover {
  background-color: white;
  color: #333;
}

#faq-section h2 {
  padding: 1em;
  padding-top: 0;
  font-size: 20pt !important;
  margin-bottom: 10px;
  margin-left: 3rem;
}

@media (max-width: 900px) {
  * {
    font-size: 16px !important;
  }
  
.form-section h2 {
    margin-top: 2.5rem !important;
}
  
  .navbar {
      padding: 10px;
  }
  
  .hero {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 0;
  }

  .hero-image {
    margin-top: 5rem;
    height: 35vw;
    width: 100vw;
  }

  .hero-image img {
    width: 100vw;
    height: 100%;
    border-radius: 0;
  }

  .hero-text {
    margin-left: 0;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .hero-description {
    margin-left: 0;
    max-width: 100vw;
  }

  #test-yourself-section {
    margin-left: 0;
    width: 100vw;
  }

  .form-section h2 {
    margin-left: 0;
    margin-top: 0;
  }

  #recipe-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .recipe-card {
    min-width: 90vw !important;
    height: 27rem !important;
    min-height: auto !important;
  }

  .recipe-img-container {
    width: 100% !important;
    height: 200px !important;
  }

  .tag-list {
    width: 100%;
    padding: 0 15px;
  }

  .tag {
    font-size: 12px !important;
  }

  #recipe-container .recipe-card h3 {
    font-size: 20px !important;
  }
  
  #recipe-continer .recipe-card {
    min-height: 34rem;
  }

  #form-container {
    width: 90vw;
    height: 25rem !important;
  }

  #form-container > div:last-of-type {
    margin-top: 20px;
  }

  #email {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .form-section h2,
  #test-yourself-section h2,
  .hero-text {
    font-size: 1.5em !important;
  }

  .hero-text * {
    font-size: 1em !important;
  }

  .text-footer {
    font-size: 4.5rem !important;
  }

  #recipe-section {
    margin-bottom: 3rem;
  }
}
