:root {
  color: #576238;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: 0.2s linear;
}

.heading,
.home .content h3,
.about .row .content h3,
.products .box-container .box .content h3,
.icons-container .icons h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  text-transform: none;
}

.logo,
.home .content p,
.about .row .content p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.row .photo-container p {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: large;
  font-weight: 700;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
  background-color: #f0eadc;
}

section {
  padding: 2rem 9%;
}

header {
  background-color: #e8e0cf;
}

@media (min-width: 992px) {
  html {
    cursor: none;
  }

  @media (min-width: 992px) {
    html {
      cursor: none;
    }
  }

  .cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #a8b388;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 99999;
    background-color: rgba(87, 98, 56, 0.08);
    transition:
      transform 0.1s ease-out,
      width 0.2s ease,
      height 0.2s ease,
      background-color 0.3s ease;
    will-change: transform;
  }

  .cursor-grow {
    width: 25px;
    height: 25px;
    background-color: rgba(87, 98, 56, 0.669);
    border: 1px solid #a8b388;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media (max-width: 991px) {
  .cursor {
    display: none;
  }
  html {
    cursor: auto;
  }
}

.heading {
  text-align: center;
  font-size: 6rem;
  color: #576238;
  padding: 1rem;
  margin: 2rem;
  background: #00000000;
}

.heading span {
  color: #576238;
}

.btn {
  appearance: none;
  background-color: #576238;
  border: 2px solid #576238;
  border-radius: 18px;
  box-sizing: border-box;
  color: #f0eadc;
  cursor: pointer;
  display: inline-block;
  font-size: 19px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
  will-change: transform;
}

.btn:disabled {
  pointer-events: none;
}

.btn:hover {
  color: #f0eadc;
  background-color: #3f4a28;
  border-color: #576238;
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 15px;
  transform: translateY(-2px);
}

.btn:active {
  box-shadow: none;
  transform: translateY(0);
}

header {
  position: relative;
  top: 0;
  left: 0;
  resize: 0;
  background: #e8e0cf;
  padding: 2rem 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 0.5rem 1rem rgba(87, 98, 56, 0.1);
}

header .logo {
  font-size: 3rem;
  color: #576238;
  font-weight: bolder;
  font-family: "Times New Roman", Times, serif;
}

header .logo span {
  color: #576238;
}

header .navbar a {
  font-size: 2rem;
  padding: 0 1.5rem;
  color: #576238;
}

.navbar a:hover {
  letter-spacing: 6px;
}

.logo {
  display: block;
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: #576238;
  border-top: 2px solid #576238;
  border-bottom: 2px solid #576238;
  padding: 10px;
  letter-spacing: 2px;
  transition: all 0.25s;
}

.logo:hover {
  letter-spacing: 10px;
}

header .icons a {
  font-size: 2.5rem;
  color: #576238;
  margin-left: 1.5rem;
}

header .icons a:hover {
  color: #3f4a28;
}

header #toggler {
  display: none;
}

header .fa-bars {
  font-size: 2rem;
  color: #576238;
  border-radius: 0.5rem;
  padding: 0.5rem 3rem;
  cursor: pointer;
  border: 0.1rem solid rgba(87, 98, 56, 0.3);
  display: none;
}

.home {
  display: flex;
  align-items: center;
  min-height: 85vh;
  background: url(bghome.png) no-repeat;
  background-size: cover;
  background-position: center;
}

.home .content {
  max-width: 50rem;
  padding-left: 80px;
}

.home .content h3 {
  font-size: 6rem;
  color: #576238;
}

.home .content span {
  font-size: 2.5rem;
  color: #576238;
  padding: 1rem 0;
  line-height: 1.5;
}

.home .content p {
  font-size: 1.5rem;
  color: #576238;
  padding: 1rem 0;
  line-height: 1.5;
}

.about .row {
  min-height: 500px;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about .row .photo-container {
  flex: 1 1 40rem;
  position: relative;
}

.about .row .photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-filter: drop-shadow(7px 7px 7px rgba(87, 98, 56, 0.4));
  filter: drop-shadow(7px 7px 7px rgba(87, 98, 56, 0.4));
}

.about .row .photo-container h3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: #eeeeee22;
  width: 100%;
  padding: 4rem 6rem;
  text-align: center;
  mix-blend-mode: screen;
}

.about .row .content {
  flex: 1 1 40rem;
}

.about .row .content h3 {
  font-size: 5rem;
  color: #576238;
}

.about .row .content p {
  font-size: 2rem;
  color: #576238;
  padding-top: 3rem;
  padding-bottom: 3rem;
  line-height: 3rem;
  text-align: justify;
}

.products {
  background-color: #f0eadc;
}

.icons-container {
  background: #576238;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.icons-container .icons {
  background: #f0eadc;
  border: 1rem solid rgba(87, 98, 56, 0.15);
  padding: 2rem;
  display: flex;
  align-items: center;
  flex: 1 1 25rem;
}

.icons-container .icons h3 {
  color: #576238;
  padding-bottom: 2rem;
  font-size: 17px;
}

.icons-container .icons span {
  color: #576238;
  font-size: 15px;
}

.products .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.products .box-container .box {
  flex: 1 1 30rem;
  width: 100%;
  box-shadow: 0 0.5rem 1.5rem rgba(87, 98, 56, 0.12);

  border: 0.1rem solid rgba(87, 98, 56, 0.15);
  position: relative;
  overflow: hidden;
  background: #fff8f0;
}

.products .box-container .box .image {
  position: relative;
  text-align: center;
  padding-top: 2rem;
  overflow: hidden;
}

.products .box-container .box .image img {
  height: 23rem;
  transition: transform 0.5s ease;
}

.products .box-container .box:hover .image img {
  transform: scale(1.1);
}

.products .box-container .box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 1rem 3rem rgba(87, 98, 56, 0.25);
  border-color: #576238;
}

.products .box-container .box .content {
  padding: 2rem;
  text-align: center;
}

.products .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #576238;
  user-select: none;
}

.products .box-container .box .content .price {
  font-size: 2rem;
  color: #576238;
  user-select: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  header {
    padding: 2rem;
  }
  section {
    padding: 10rem;
  }
  .home {
    background-position: left;
  }
}

@media (max-width: 768px) {
  header .fa-bars {
    display: block;
  }
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e8e0cf;
    border-top: 0.1rem solid rgba(87, 98, 56, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  header #toggler:checked ~ .navbar {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  header .navbar a {
    margin: 1.5rem;
    padding: 1.5rem;
    background: #f0eadc;
    border: 0.1rem solid rgba(87, 98, 56, 0.15);
    display: block;
  }
  .home .content h3 {
    font-size: 5rem;
  }
  .home .content span {
    font-size: 2.5rem;
  }
  .icons-container .icons h3 {
    font-size: 2rem;
  }
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0eadc;
  z-index: 10000;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  opacity: 1;
}

.page-transition.hidden {
  opacity: 0;
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .heading {
    font-size: 3rem;
  }
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.home .content img,
.about .row .photo-container img {
  animation: floating 4s ease-in-out infinite;
}

.home .content h3,
.home .content span,
.home .content p,
.about .row .content h3,
.about .row .content p {
  animation: fadeInUp 1s ease-out both;
}

.home .content h3,
.about .row .content h3 {
  animation-delay: 0.2s;
}
.home .content span {
  animation-delay: 0.4s;
}
.home .content p,
.about .row .content p {
  animation-delay: 0.6s;
}
.home .content .btn,
.about .row .content .btn {
  animation: fadeInUp 1s ease-out both;
  animation-delay: 0.8s;
}

@media (min-width: 992px) {
  html {
    cursor: none;
  }
}
