/* =========================================================================== */
/* 
================
Variables
================
*/
:root {
  --clr-primary-1: hsl(34, 80%, 20%);
  --clr-primary-2: hsl(34, 74%, 24%);
  --clr-primary-3: hsl(34, 70%, 28%);
  --clr-primary-4: hsl(34, 66%, 32%);
  --clr-primary-5: hsl(34, 62%, 36%);
  --clr-primary-6: hsl(34, 58%, 40%);
  --clr-primary-7: hsl(34, 50%, 44%);
  --clr-primary-8: hsl(34, 44%, 50%);
  --clr-primary-9: hsl(34, 40%, 66%);
  --clr-primary-10: hsl(34, 36%, 76%);
  --clr-primary-shade-1: hsla(34, 80%, 20%, 0.25);
  --clr-primary-shade-2: hsla(34, 44%, 50%, 0.35);
  --clr-primary-shade-3: hsla(34, 80%, 20%, 0.85);
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --ff-heading: "Merriweather", serif;
  --ff-body: "Poppins", sans-serif;
  --transition: all 0.3s linear;
  --radius: 0.5rem;
  --spacing: 0.25rem;
}
/* =========================================================================== */
/* 
================
Global Styles
================
*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-body);
  background-color: var(--clr-white);
  color: var(--clr-grey-1);
  font-size: 0.875rem;
  line-height: 1.25;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img:not(.nav-logo) {
  width: 100%;
  display: block;
}
h1,
h2,
h3,
h4 {
  text-transform: capitalize;
  letter-spacing: var(--spacing);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: var(--ff-heading);
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-weight: 500;
  font-size: 1rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  color: var(--clr-grey-4);
  margin-bottom: 1.25rem;
}
/* =========================================================================== */
/* 
================
Media Queries
================
*/
@media screen and (min-width: 320px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-weight: 500;
    font-size: 1.5rem;
  }
  h4 {
    font-size: 0.875rem;
  }
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.15rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1.25;
  }
}
p {
  font-size: 16px;
  line-height: 20px;
  color: var(--clr-grey-1);
}
@media (min-width: 768px) {
  p {
    line-height: 28px;
    font-size: 20px;
  }
}
/* =========================================================================== */
/* 
================
Global Classes
================
*/
.section-center {
  width: 90vw;
  max-width: 1170px;
  padding: 3rem 1rem;
  margin: 0 auto;
}
.anim {
  opacity: 0;
}
.italic {
  font-size: 40px;
  font-family: "Estonia", cursive;
  color: var(--clr-primary-3);
}
@media (min-width: 992px) {
  .italic {
    font-size: 60px;
  }
}
.section-title {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  color: var(--clr-grey-1);
}
.section-title h2 {
  text-transform: uppercase;
  font-weight: 600;
}
.section-title span {
  color: var(--clr-primary-5);
}
.btn {
  background-color: transparent;
  color: var(--clr-primary-9);
  border: 2px solid var(--clr-primary-9);
  padding: 15px 20px;
  transition: var(--transition);
}
.btn:hover {
  background-color: var(--clr-primary-10);
}
/* =========================================================================== */
/* 
================
Navbar
================
*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  background-color: transparent;
  width: 100%;
  z-index: 4;
}
.scroll-background {
  background-color: var(--clr-primary-1);
}
.nav-center {
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  position: relative;
}
.nav-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.875rem;
  padding-right: 20px;
}
.nav-logo {
  max-width: 55%;
  border-radius: 50%;
}
.scroll-max-width {
  max-width: 40%;
}
.nav-toggle {
  height: 30px;
  width: 30px;
  position: relative;
  cursor: pointer;
  z-index: 10;
}
.nav-toggle .line {
  position: absolute;
  height: 2px;
  width: 30px;
  background-color: var(--clr-primary-9);
  transition: all cubic-bezier(0.26, 0.1, 0.27, 1.55) 0.35s;
}
.nav-toggle .top {
  top: 38%;
}
.nav-toggle .bottom {
  top: 68%;
}
.close-nav .top {
  transform: rotate(45deg);
  top: 48%;
}
.close-nav .bottom {
  transform: rotate(-45deg);
  top: 48%;
}
.nav-link {
  display: block;
  color: var(--clr-grey-1);
  font-weight: 500;
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  transition: var(--transition);
  text-align: right;
  color: var(--clr-primary-10);
}
.links-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 0;
  z-index: -10;
}
.nav-link-background-gradient {
  background-image: linear-gradient(hsla(34, 80%, 20%, 0.5), hsla(34, 44%, 50%, 0.5));
  z-index: 5;
  height: 100vh;
}
.nav-icons {
  display: none;
}
.nav-links {
  width: 50vw;
  margin-left: auto;
  padding-top: 110px;
  background-color: var(--clr-primary-shade-3);
  height: 100%;
  transform: translateX(100%);
  transition: var(--transition);
}
.show-nav-links {
  transform: translateX(0);
}
.inner-nav-icons {
  text-align: right;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
}
.inner-nav-icons button {
  background-color: transparent;
  border: none;
  outline: none;
}
.inner-nav-icons i {
  margin-left: 10px;
  color: var(--clr-primary-10);
}
.scroll-padding {
  padding-top: 5px;
  padding-bottom: 0;
}
@media screen and (min-width: 480px) {
  .nav-toggle {
    font-size: 1.5rem;
  }
  .nav-logo {
    max-width: 50%;
  }
}
@media screen and (min-width: 1200px) {
  .navbar {
    padding-right: 20px;
  }
  .nav-toggle {
    display: none;
  }
  .nav-logo {
    max-width: 80%;
    transition: var(--transition);
  }
  .scroll-max-width {
    max-width: 60%;
  }
  .nav-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .nav-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .scroll-padding {
    padding-top: 5px;
    padding-bottom: 0;
  }
  .nav-links {
    height: auto;
    display: flex;
    width: auto;
    background-color: transparent;
    padding-top: 0;
    transform: translateX(0);
    z-index: 1;
  }
  .nav-link {
    margin: 0px 3px;
    font-size: 18px;
    font-weight: 500;
  }
  .nav-icons {
    display: flex;
  }
  .nav-icons button {
    background-color: transparent;
    border: none;
    outline: none;
    position: relative;
  }
  .nav-icons .cart-count {
    position: absolute;
    top: -10px;
    right: -5px;
    padding: 2px 4px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-grey-6);
    color: var(--clr-primary-2);
    font-weight: 700;
  }
  .nav-icon {
    margin-left: 0.75rem;
    font-size: 1rem;
    color: var(--clr-primary-9);
    cursor: pointer;
  }
  .nav-icon:hover {
    color: var(--clr-primary-7);
  }
  .inner-nav-icons {
    display: none;
  }
  .links-container {
    position: relative;
    transform: translateX(0);
    background-image: none;
    background-color: transparent;
    width: auto;
    z-index: 1;
    height: auto;
  }
}
@media (min-width: 1200px) {
  .nav-link {
    margin: 0px 5px;
  }
}
/* =========================================================================== */
/* 
================
CART
================
*/
.cart-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -999;
  opacity: 0;
  transition: all 0.3s linear;
}
.cart-wrapper .cart-container {
  background-color: rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}
.cart-wrapper .cart-container .cart-slider {
  min-height: 100vh;
  height: 100%;
  background-color: #fff;
  padding: 40px;
  min-width: 350px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: scroll;
  transform: translateX(100%);
  transition: all 0.3s linear;
}
.cart-wrapper .cart-container .cart-slider .actions div {
  padding: 12px;
  border-radius: 5px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s linear;
  cursor: pointer;
  text-align: center;
}
.cart-wrapper .cart-container .cart-slider .actions .clear {
  background-color: var(--clr-grey-5);
  color: white;
  margin-bottom: 12px;
}
.cart-wrapper .cart-container .cart-slider .actions .clear:hover {
  background-color: var(--clr-grey-6);
}
.cart-wrapper .cart-container .cart-slider .actions .checkout {
  background-color: var(--clr-primary-5);
  color: white;
}
.cart-wrapper .cart-container .cart-slider .actions .checkout:hover {
  background-color: var(--clr-primary-6);
}
.cart-wrapper.show-slider {
  opacity: 1;
  z-index: 999;
}
.cart-wrapper.show-slider .cart-container .cart-slider {
  transform: translateX(0%);
}
/* =========================================================================== */
/* 
================
Hero
================
*/
.hero .hero-wrapper {
  height: auto;
  overflow: hidden;
  position: relative;
}
.hero .hero-wrapper .hero-carousel .single-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35));
  height: 350px;
}
.hero .hero-wrapper .hero-carousel .single-banner img {
  opacity: 0.75;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero .hero-wrapper .hero-carousel .single-banner {
    height: 450px;
  }
}
@media (min-width: 992px) {
  .hero .hero-wrapper .hero-carousel .single-banner {
    height: 100vh;
  }
}
.hero .hero-wrapper .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  color: var(--clr-primary-9);
  border: 2px solid var(--clr-primary-9);
  padding: 15px 20px;
  z-index: 2;
}
.hero .hero-wrapper .btn:hover {
  color: var(--clr-primary-10);
}
/* =========================================================================== */
/* 
================
Footer
================
*/
.footer {
  background-color: hsla(34, 36%, 76%, 0.2);
}
.footer .footer-grid-container {
  display: grid;
  justify-content: center;
  padding: 40px 30px;
}
.footer .footer-grid-container .title {
  text-transform: uppercase;
  font-weight: 600;
}
.footer .footer-grid-container p {
  color: var(--clr-grey-3);
  text-align: center;
  font-size: 16px;
}
.footer .footer-grid-container ul li {
  text-align: center;
  padding: 5px;
}
.footer .footer-grid-container ul li a {
  color: var(--clr-grey-3);
  text-transform: capitalize;
  font-size: 16px;
}
.footer .footer-grid-container .company-container {
  margin-bottom: 40px;
}
.footer .footer-grid-container .company-container img {
  border-radius: 50%;
  max-width: 150px;
  margin: 10px auto;
}
.footer .footer-grid-container .company-container .info {
  font-size: 20px;
  max-width: 400px;
  text-align: center;
  margin: 0 auto;
}
.footer .footer-grid-container .company-container .socials {
  margin-top: 20px;
  text-align: center;
}
.footer .footer-grid-container .company-container .socials a {
  margin: 5px;
  text-align: center;
  color: var(--clr-grey-3);
  text-transform: uppercase;
  font-size: 16px;
}
.footer .footer-grid-container .links,
.footer .footer-grid-container .help {
  margin-bottom: 40px;
}
.footer .footer-grid-container .footer-subscribe input {
  display: block;
  background-color: transparent;
  border: none;
  outline: none;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--clr-grey-3);
  width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}
.footer .footer-grid-container .footer-subscribe .btn {
  border-color: var(--clr-grey-3);
  color: var(--clr-grey-1);
  margin: 0 auto;
  display: block;
  width: 130px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.footer .footer-grid-container .footer-subscribe .btn:hover {
  background-color: transparent;
  color: var(--clr-grey-3);
  cursor: pointer;
}
@media (min-width: 768px) {
  .footer .footer-grid-container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    row-gap: 40px;
  }
  .footer .footer-grid-container .links,
  .footer .footer-grid-container .footer-subscribe,
  .footer .footer-grid-container .company-container,
  .footer .footer-grid-container .help {
    justify-self: center;
  }
  .footer .footer-grid-container .footer-subscribe input {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .footer .footer-grid-container {
    grid-template-columns: auto repeat(3, 1fr);
    align-items: flex-end;
    row-gap: 40px;
    padding: 40px 120px;
    column-gap: 40px;
  }
  .footer .footer-grid-container .links,
  .footer .footer-grid-container .footer-subscribe,
  .footer .footer-grid-container .company-container,
  .footer .footer-grid-container .help {
    justify-self: flex-start;
    margin-bottom: 0;
  }
  .footer .footer-grid-container p {
    font-size: 24px;
    text-align: left;
  }
  .footer .footer-grid-container ul li {
    text-align: left;
  }
  .footer .footer-grid-container ul li a {
    font-size: 24px;
    font-weight: 300;
  }
  .footer .footer-grid-container .company-container img {
    margin: 0 auto 0 0;
  }
  .footer .footer-grid-container .company-container .info {
    max-width: 400px;
    margin: 0;
    margin-top: 20px;
    text-align: left;
  }
  .footer .footer-grid-container .company-container .socials {
    text-align: left;
  }
  .footer .footer-grid-container .company-container .socials a {
    font-size: 20px;
    font-weight: 300;
  }
  .footer .footer-grid-container .footer-subscribe p {
    font-size: 16px;
  }
  .footer .footer-grid-container .footer-subscribe .title {
    font-size: 24px;
  }
  .footer .footer-grid-container .footer-subscribe input {
    width: 100%;
  }
  .footer .footer-grid-container .footer-subscribe .btn {
    margin: 0;
    width: 180px;
    margin-bottom: 20px;
  }
}
.footer .copyright .line {
  width: 90vw;
  margin: 20px auto;
  height: 1px;
  background-color: var(--clr-primary-5);
}
.footer .copyright p {
  margin-bottom: 0;
  padding-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}
/* =========================================================================== */
