@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700&family=Roboto:wght@300;400;500&display=swap");

:root {
  --primary: #27ae60;
  --secondary: #192a56;
  --grey: #666;
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}
.modified-container {
  margin: auto;
  padding: 0 2rem;
  max-width: 1250px;
}
* {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  outline: none;
  border: none;
  background: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 5.5rem;
  scroll-behavior: smooth;
}
header {
  position: fixed;
  width: 100%;
  background: #fff;
  padding: 1rem 7%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  box-shadow: var(--box-shadow);
}
.navbar ul {
  display: flex;
}

/* Dropdown Button */
.dropbtn {
  font-size: 1.7rem;
  border-radius: 0.5rem;
}
.dropdown {
  position: relative;
  display: block;
}
.dropdown-content {
  display: none;
  position: absolute;
  /* top: 4.7rem;
  left: 59rem; */
  background-color: #f1f1f1;
  min-width: 170px;
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown:hover .dropdown-content {
  display: block;
}
/* .dropdown:hover .dropbtn {
  background-color: #27ae60;
  color: #fff;
  padding: 0.5rem 1.5rem;
} */
.logo {
  color: #192f01;
  font-size: 2.5rem;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo i {
  color: var(--primary);
}
header .navbar a {
  font-size: 1.7rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  margin: 0 0.2rem;
}

/* hover effect for header icons */
.icons i:hover,
header .icons a:hover {
  color: #fff;
  background-color: #27ae60;
  transform: rotate(360deg);
  transition: all 0.4s ease-in;
}

.icons i,
header .icons a {
  cursor: pointer;
  margin-left: 0.5rem;
  height: 4.5rem;
  width: 4.5rem;
  text-align: center;
  line-height: 4.5rem;
  font-size: 1.7rem;
  color: #192f01;
  border-radius: 50%;
  background: #eee;
}
header .icons #fa-bars {
  display: none;
}

/* search */
#search-form {
  position: fixed;
  top: -100%;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1004;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0 1rem;
  transition: 1s ease-in;
}
#search-form.active2 {
  top: 0;
}
#search-form #search-term::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#search-form #search-term {
  width: 60%;
  border-bottom: 0.1rem solid #fff;
  padding: 1rem 0;
  color: #fff;
  font-size: 3rem;
  text-transform: none;
  background: none;
  outline: none;
}
#search-form #close {
  position: absolute;
  color: #fff;
  cursor: pointer;
  top: 2rem;
  right: 3rem;
  font-size: 3rem;
}
#search-form #search-term::placeholder {
  color: #eee;
}

.ingredients img {
  max-width: 100px;
  max-height: 69px;
  margin: auto;
}

@keyframes rotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes rotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@media (max-width: 991px) and (min-width: 767px) {
  header {
    padding: 1rem 2rem;
  }
}

/* playground */
.parent-sidebar {
  gap: 20px;
}
@media (max-width: 820px) {
  .parent-sidebar {
    grid-column: 1/6;
  }
}
/* .playground {
  grid-column: 1/2;
}
.playgrounds{
  grid-column: 2/3;
} */
#default-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.active {
  color: #fff;
  background-color: #27ae60;
}
.actives {
  color: #fff;
  background-color: #27ae60;
  padding: 5px 0;
}
.category:hover {
  color: #fff;
  background-color: #27ae60;
  cursor: pointer;
}

#about-section {
  background-image: url("../image/about-img/about_banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.about-section {
  position: absolute;
  top: 35rem;
  left: 83rem;
}

.popular-recipes:hover img {
  transform: scale(1.1);
}
.popular-recipes img {
  transform: scale(1);
  transition: 2s ease-out;
}
.popular-recipes {
  overflow: hidden;
}

/* blogs section */

.blog-section {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 2fr 1fr;
}

/* testimonials */
#testimonial-section {
  padding: 3rem 0 5rem 0;
}
.testimonial {
  width: 320px;
  border-radius: 25px;
  background: var(--grey);
  padding: 0;
}
.testimonial-caption h2 {
  padding-bottom: 1rem;
  font-weight: 900;
  font-size: 3rem;
}
.emoji {
  padding-bottom: 1.5rem;
}
.image-content,
.card-content1,
.card-content2,
.card-content3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.media-icons {
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 10px;
  top: 18px;
  gap: 10px;
  /* z-index: 999; */
}

.fa-facebook:hover,
.fa-twitter:hover,
.fa-github:hover {
  color: var(--clr-white);
  cursor: pointer;
}

.index {
  position: relative;
  top: 40rem;
}

/* Searh */
.prev,
.next {
  color: #fff;
  background-color: #27ae60;
  transform: rotate(360deg);
  transition: all 0.4s ease-in;
  cursor: pointer;
}
.unclickable {
  color: #fff;
  background-color: #707070;
  transform: rotate(360deg);
  cursor: default;
}

/* media query */
@media (max-width: 1280px) and (min-width: 1025px) {
  .features-text {
    font-size: 50px;
  }
}

@media (max-width: 800px) and (min-width: 450px) {
  header {
    padding: 1rem 0rem;
  }
  .footer {
    position: absolute;
    top: 50rem;
  }
  header .icons #fa-bars {
    display: inline-block;
  }
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #192f01;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
    padding: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 1s ease-in-out;
  }
  .dropdown-content {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    background-color: #f1f1f1;
    width: 100%;
    z-index: 1;
  }
  header .navbar.active1 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  header .navbar ul {
    display: block;
  }
  header .navbar a {
    display: block;
    text-align: center;
    padding: 1.5rem;
    margin: 1rem 0;
    font-size: 2rem;
    z-index: 999;
  }

  header .navbar .dropbtn {
    display: block;
    padding: 1.5rem;
    font-size: 2rem;
    text-align: center;
  }
  .know-more {
    position: relative;
    top: 50rem;
  }

  .features {
    position: relative;
    top: 50rem;
  }
}
@media (max-width: 768px) and (max-width: 641px) {
}
@media (max-width: 639px) {
  .caro-1 {
    font-size: 4rem;
  }
  .caro-i-1 {
    font-size: 3rem;
  }
}
@media (max-width: 449px) {
  header {
    padding: 1rem 0rem;
  }
  header .logo {
    font-size: 17px;
  }
  .icons i {
    font-size: 1.5rem;
    height: 4.2rem;
    width: 4.2rem;
    text-align: center;
    line-height: 4.5rem;
  }
  #search-form #search-term {
    font-size: 2rem;
  }
  header .icons #fa-bars {
    display: inline-block;
  }
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.2);
    padding: 1rem;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 1s ease-in-out;
  }
  header .navbar.active1 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  header .navbar ul {
    display: block;
  }
  header .navbar a {
    display: block;
    padding: 1.5rem;
    margin: 1rem;
    font-size: 2rem;
    background: #eee;
  }
}

.popular-recipes {
  height: 400px;
}

/*FAQ*/

#toggleButton:hover {
  text-decoration: underline;
}

#toggleButton1:hover {
  text-decoration: underline;
}

#toggleButton2:hover {
  text-decoration: underline;
}

#toggleButton3:hover {
  text-decoration: underline;
}

#toggleButton4:hover {
  text-decoration: underline;
}
#toggleButton5:hover {
  text-decoration: underline;
}

#toggleButton6:hover {
  text-decoration: underline;
}

#toggleButton7:hover {
  text-decoration: underline;
}
#toggleButton8 {
  text-decoration: underline;
}
#toggleButton9:hover {
  text-decoration: underline;
}
#toggleButton10:hover {
  text-decoration: underline;
}

#toggleButton11:hover {
  text-decoration: underline;
}

#toggleButton12:hover {
  text-decoration: underline;
}

#toggleButton13:hover {
  text-decoration: underline;
}

#toggleButton14:hover {
  text-decoration: underline;
}

#toggleButtonA:hover {
  text-decoration: underline;
  text-align: center;
}
#toggleButtonB:hover {
  text-decoration: underline;
  text-align: center;
}
#toggleButtonC:hover {
  text-decoration: underline;
  text-align: center;
}
#toggleButtonA {
  text-align: center;
}
#toggleButtonB {
  text-align: center;
}
#toggleButtonC {
  text-align: center;
}

/* Contact Form */
#contact-form .container {
  border: solid 1px;
  border-radius: 10px;
  width: 700px;
  margin-top: 100px;
  padding-bottom: 10px;
  padding-top: 10px;
}
#contact-form .form-group {
  margin-bottom: 20px;
}

#contact-form label {
  display: block;
  margin-bottom: 5px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px rgb(50, 21, 21, 0.347) solid;
  border-radius: 5px;
}

#contact-form textarea {
  height: 250px;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #27ae60;
}

#contact-form .btn {
  margin-top: 0px;
}

footer li {
  border-bottom: 1px, solid, gray;
}

.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

:is(.dark .dark\:bg-dmode-olive) {
  --tw-bg-opacity: 1;
  background-color: rgb(222 211 105 / var(--tw-bg-opacity));
}
