/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Poppins:wght@300;400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 6rem;

  /*========== Colors ==========*/
  /* Color mode HSL(hue, saturation, lightness) */
  --first-color: hsl(45, 75%, 52%);
  --title-color: hsl(0, 3%, 6%);
  --text-color: hsl(0, 0%, 23%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(207, 11%, 41%);
  --border-color: hsl(0, 0%, 100%, 0.2);

  /*========== Font and typography ==========*/
  /* .5rem = 8px | 1rem = 16px ... */
  --body-font: "Poppins", sans-serif;
  --second-font: "Montserrat", sans-serif;

  --big-font-size: clamp(1.75rem, 1.0294rem + 3.2941vw, 3.5rem);
  --h1-font-size: clamp(1.75rem, 0.9265rem + 3.7647vw, 3.75rem);
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1.125rem;
  --small-font-size: 1rem;
  --smaller-font-size: 0.875rem;

  /*========== Font weight ==========*/
  --weight-300: 300;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;
  --weight-900: 900;

  /*========== Transition ==========*/
  --transition: cubic-bezier(0.05, 0.2, 0.1, 1);

  /*========== Border Radius ==========*/
  --radius: .5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --header-height: 5rem;

    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.9375rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/

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

html {
  scroll-behavior: smooth;
}

input,
textarea,
body {
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  font-weight: var(--weight-300);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

body {
  background-color: var(--body-color);
}

input.search_btn {
  width: 180px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  border-right: none;
  display: block;
  padding: 0px 10px 3px 40px;
  margin: 15px 10px;
  background: transparent url('../img/icons/search.svg') no-repeat;
  background-size: 25px;
  outline: none;
}

input::placeholder {
  color: var(--body-color);
  font-size: var(--normal-font-size);
  letter-spacing: 2px;
  font-weight: var(--weight-400);
}



/*=============== REUSABLE CSS CLASSES ===============*/

.btn {
  padding: 10px 35px;
  margin: 10px 10px;
  background-color: var(--body-color);
  border-color: var(--border-color);
  font-family: var(--second-font);
  font-size: var(--normal-font-size);
  letter-spacing: 2px;
  border-radius: var(--radius);
  transition: all 0.5s var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.07);
  background-color: #ffc003;
  border-color: #ffc003;
  box-shadow: 0px 0px 0px 0px;
}


/*=============== HEADER & NAV ===============*/

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
}

.nav_container {
  display: flex;
  height: calc(var(--header-height) + 1.5rem);
  background-color: rgba(93, 105, 115, 255);
  column-gap: 2.5rem;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 6px 13px 5px;
}

.nav_header_logo {
  padding: 10px 45px;
}

.nav_header_logo img {
  width: 125px;
  height: 110px;
  border-radius: 50px;
}

.nav_header_list {
  align-content: center;
  padding: 10px 10px;
  margin: 10px 10px;

}

.nav_list {
  display: flex;
  column-gap: 2.5rem;
  font-size: var(--h3-font-size);
  font-weight: var(--weight-500);
  transition: all 0.8s var(--transition);
  align-content: space-between;
}


.nav_link {
  color: #ffffff;
}


.nav_header_search {
  display: flex;
  padding: 10px 60px;
}

.search_btn {
  cursor: pointer;
  transition: all 0.8s var(--transition);
}

.search_btn:active {
  transform: scale(1.1);
}

.cart_btn {
  border: none;
  cursor: pointer;
  background-color: transparent;
  width: 60px;
  transition: all 0.5s var(--transition);
}

.cart_btn:hover {
  transform: scale(1.06);
}

.nav__toggle,
.nav__close {
  display: none;
}



/* Active link */
.active-link,
.nav_link:hover {
  color: #ffc003;
}

/* Change background header */

.scroll-header {
  position: fixed;
  background-color: var(--container-color);
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.25);
  animation: slide-down 0.7s;
}

@keyframes slide-down {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0)
  }
}

.scroll-header .nav {
  height: var(--header-height);
}


/*=============== HOME ===============*/

.home {
  background-color: #717171;
}

.home_slideshow_container {
  width: 80rem;
  position: relative;
  margin: 0px auto;

}

.home_slides {
  display: none;
  margin: 120px 0px 0px 0px;
}

.home_slides img {
  vertical-align: middle;
  margin: 30px 0px 0px 0px;
}

.dot {
  height: 15px;
  width: 15px;
  background-color: #ffc003;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.6s ease;
  margin: 10px 0px 20px 0px;
}

/* Active tab */

.home_dot_active {
  background-color: #ffffff;
}

/* Fading animation */
.myanimate {
  animation-name: myanimate;
  animation-duration: 3s;
}

@keyframes myanimate {
  from {
    opacity: .1
  }

  to {
    opacity: 1
  }
}


/*=============== Shop ===============*/
.shop {
  background-color: var(--body-color);
  margin: 0 auto;
}

.shop_container {
  margin: 50px 40px 50px 65px;
  padding: 50px 0px;
}

.shop_heading {
  display: flex;
  gap: 45rem;
}

.shop_heading h1 {
  font-family: var(--body-color);
  font-size: var(--h1-font-size);
  margin: 10px 25px;

}

.shop_heading a {
  align-self: end;
}

.shop_list {
  overflow: scroll hidden;
  text-align: center;
  padding: 35px 35px;
}

.shop_list_img {
  padding: 10px 25px;
  border-radius: var(--radius);
  transition: all 1s var(--transition);
}

.shop_list_img:hover {
  box-shadow: 4px 5px 34px 5px;
}

.shop_list_img img {
  border-radius: var(--radius);

}

.row {
  display: flex;
  column-gap: 20px;
  padding-top: 20px;
}

/* Active tab */

/*=============== FAQ ===============*/
.fqa {
  background-color: #717171;
  margin: 0px auto;
}

.fqa_container {
  padding: 100px;
}

.fqa_heading {
  font-size: var(--h2-font-size);
  font-weight: var(--weight-700);
  color: #ffffff;
}

.fqa_body {
  margin: 50px 0;
}

.fqa_body_rect {
  margin: 20px;
}

.fqa_question {
  padding: 20px;
  background-color: #ffc003;
  justify-content: space-between;
  text-align: center;
  border-radius: var(--radius);
  display: flex;
  transition: all 0.6s var(--transition);
}

.fqa_question:hover {
  background-color: #f5df9c;
  box-shadow: 0px 0px 25px 20px;
}

.fqa_answer {
  max-height: 0;
  background-color: #ffc003;
  overflow: hidden;
  opacity: 0;
  border-radius: var(--radius);
  transform: translateY(10px);

  margin: 10px 0;
  transition: max-height 0.2s ease, opacity 0.1s ease, transform 0.1s ease;
}

.show {
  max-height: 1000px;
  /* high enough for long content */
  opacity: 1;
  margin: 30px 0px;
  padding: 20px 30px;
  transform: translateY(0);
  transition: all 0.5s var(--transition);
}

.show:hover {
  background-color: #f5df9c;
  box-shadow: 0px 0px 25px 20px;
}

.fqa_question svg.rotate {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}




/*=============== WORK ===============*/

/* Work hover */

/*=============== CONTACT ===============*/
.contact {
  margin: 50px auto;
}

.contact_heading {
  text-align: center;
  font-size: var(--h1-font-size);
}

.contact_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact_us {
  margin: 50px;
}

.contact_form {
  margin: 10px;
}

.contact_form_input {
  margin: 30px auto;
}

.contact_input {
  padding: 0.6rem 2.5rem;
  width: 100%;
  border-radius: var(--radius);
  outline: none;
  font-weight: var(--weight-700);
}

.contact_input::placeholder {
  color: #717171;
}

textarea {
  height: 120px;
  resize: none;
}

textarea::placeholder {
  font-weight: var(--weight-500);
}

.contact_form .btn {
  background-color: #ffc003;
}

.contact_form .btn:hover {
  background-color: #f5df9c;
  border: 2px solid #f5df9c;
}

.contact_loction {
  margin: 35px 20px;
  width: 45rem;
  height: 30rem;
  border: 15px solid #717171;
  border-radius: var(--radius);
}

.contact_loction iframe {
  width: 100%;
  height: 100%;
}

.error__message {
  position: absolute;
  bottom: -12%;
  left: 0;
  font-size: var(--small-font-size);
  font-weight: var(--weight-400);
}

/*=============== FOOTER ===============*/

.footer {
  background-color: #717171;
}

.footer_container {
  display: flex;
  background-color: rgba(93, 105, 115, 255);
  justify-content: space-evenly;
  color: #ffffff;
}

.footer_copyright {
  align-self: center;
}

.footer_logo img {
  width: 125px;
  height: 110px;
}

/*=============== SCROLL UP ===============*/

/* Show scrollup */

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 1280px) {
  .nav_container {
    column-gap: 2rem;
  }

  .nav_header_list {
    padding: 10px 0px;
    margin: 10px auto;
  }

  .nav_header_search {
    padding: 10px;
  }

  .home_slides {
    width: 1080px;
    margin: 120px auto 0px;
  }

  .shop_heading h1 {
    font-size: var(--h2-font-size);
  }

  .home_slideshow_container {
    width: 70rem;
  }

}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .nav {
    height: var(--header-height);
    column-gap: 1.25rem;
  }


  .nav_header_logo img {
    width: 90px;
    height: 80px;
    border-radius: 50px;
  }

  .nav_list {
    column-gap: 1.5rem;
    font-size: var(--normal-font-size);

  }

  .nav_header_search,
  .nav__toggle,
  .nav__close {
    display: flex;
  }

  .nav_header_list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60vw;
    height: 100vh;
    background-color: var(--container-color);
    padding: 3.5rem;
    transition: all 0.8s var(--transition);
  }

  .show-menu {
    right: 0%;
  }

  .nav_list {
    flex-direction: column;
    row-gap: 1.125rem;
  }

  .nav__close {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
  }

  .nav_header_search {
    column-gap: 1rem;
    align-items: anchor-center;

  }

  .nav__toggle {
    font-size: var(--h2-font-size);
  }

  .nav__close,
  .nav__toggle {
    cursor: pointer;
  }

  .nav__close,
  .nav__toggle svg {
    width: 30px;
  }

  .home_slideshow_container {
    width: 20rem;
  }

  .home_slides {
    width: 460px;
    margin: 100px auto 0px;
  }

  .shop_heading {
    justify-content: space-between;
    gap: 0;
  }

  .shop_list_img img {
    width: 140px;
  }

  .fqa_question h2 {
    font-size: var(--h3-font-size);
  }

  .contact_heading {
    font-size: var(--h2-font-size);
  }

  .contact_loction {
    margin: 70px 0px;
    width: 28rem;
    height: 24rem;
  }



}

/* For medium devices */
@media screen and (max-width: 768px) {

  input.search_btn {
    width: 130px;

  }

  .login_btn {
    padding: 10px;
    margin: 0;
  }

  .home_slideshow_container {
    width: 28rem;
  }

  .home_slides {
    width: 450px;
    margin: 100px auto 0px;
  }

  .shop_list {
    padding: 10px;
  }

  .fqa_heading {
    font-size: var(--h3-font-size);
  }

  .fqa_question h2 {
    font-size: var(--normal-font-size);
  }

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

  .contact_loction {
    margin: 70px;
  }

  .footer_container {
    padding: 50px 10px;
    ;
  }

}

@media screen and (max-width: 576px) {

  .home_slideshow_container {
    width: 24rem;
  }

  .btn {
    letter-spacing: 0px;
    font-weight: var(--weight-200);
    font-size: var(--small-font-size);

  }

  .cart_btn {
    width: 45px;

  }

  .nav_container {
    column-gap: 0px;
  }

  input.search_btn {
    width: 0px;
    border-bottom: none;
    padding: 0px 12px;

  }

  .login_btn {
    padding: 5px;
  }

  .nav_header_logo img {
    width: 80px;
    height: auto;
    border-radius: 50px;
  }

  .nav_header_logo {
    padding: 10px;
  }


  .nav_header_search {
    column-gap: 5px;
    align-items: anchor-center;
  }

  .home_slides {
    width: 370px;
  }

  .shop_container {
    margin: 50px 10px;
  }

  .shop_heading {
    margin: 0px 10px;
  }

  .shop_heading h1 {
    margin: 0;
    font-size: var(--h3-font-size);
  }

  .shop_heading a {
    align-self: center;
  }

  .fqa_container {
    padding: 50px 20px;
  }

    .contact_us {
    margin: 20px;
}

  .contact_loction {
    margin: 10px 0 0 50px;
    width: 20rem;
    height: 18rem;
  }

  .contact_loction iframe {
    width: 100%;
    height: 100%;
  }



}

/* For small devices */
@media screen and (max-width: 360px) {

  .home_slideshow_container {
    width: 22rem;
  }

  .home_slides {
    width: 320px;
  }

  .shop_heading {
    margin: 0;
  }
.shop_list_img{
  padding: 10px;
}

  .contact_loction {
    margin: 0 20px;
    width: 20rem;
    height: 18rem;
  }

  .contact_loction iframe {
        width: 100%;
        height: 100%;
    }

}