@import url("https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap");

:root {
  --primary: #4e2919;
  --bs-body-color: #000000;
  --bs-body-bg: #ffffff;
  --bs-primary: #ff6f61;
  --bs-secondary: #6c757d;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #343a40;
  --animate-duration: 6s;
}

body {
  /* font-weight: 400; */
  font-style: normal;
  /* font-family: "Indie Flower", cursive; */
  font-family: "Gloria Hallelujah", cursive;
}

main {
  margin-top: 5rem;
}

.mt-7 {
  margin-top: 7rem;
}

.text-brown {
  color: var(--primary);
}

.bg-light {
  background-color: #ffffff !important;
}

.carousel-item {
  height: 32rem;
}



/* Loading section */
.cloud-loader {
    position: absolute;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f7f5ef;
    color: #3b3935;
    z-index: 9999;
    top: 0;
    bottom: 0;
}

/* Cloud */
.cloud-loader .cloud {
    position: relative;
    width: 90px;
    height: 32px;
    margin-bottom: 18px;

    background: #fff;
    border-radius: 40px;

    animation: float 2.5s ease-in-out infinite;
}

.cloud-loader .cloud-part {
    position: absolute;
    display: block;
    background: #fff;
    border-radius: 50%;
}

.cloud-loader .cloud-1 {
    width: 38px;
    height: 38px;
    left: 12px;
    top: -18px;
}

.cloud-loader .cloud-2 {
    width: 50px;
    height: 50px;
    left: 35px;
    top: -28px;
}

.cloud-loader .cloud-3 {
    width: 32px;
    height: 32px;
    right: 5px;
    top: -12px;
}

/* Text */
.loader-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.loader-content h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 4px;
}

.loader-content p {
    margin: 6px 0 14px;
    font-size: 12px;
    color: #8a857d;
}

/* Loading bar */
.loading-bar {
    width: 100px;
    height: 3px;
    overflow: hidden;
    margin: auto;

    background: #ddd8cf;
    border-radius: 10px;
}

.loading-bar span {
    display: block;
    width: 40%;
    height: 100%;

    background: #3b3935;
    border-radius: 10px;

    animation: loading 1.5s ease-in-out infinite;
}

/* Bottom wave */
.cloud-loader .wave {
    position: absolute;
    bottom: -35px;
    left: -5%;
    width: 110%;
    height: 70px;

    background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes loading {
    0% {
        transform: translateX(-120px);
    }

    100% {
        transform: translateX(250px);
    }
  }

  .cart-link {
  position: relative;
  }

  .cart-link .cart-text {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  }

  .cart-link .cart-count {
  position: absolute;
  top: -10px;
  right: 0px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  }

  .order-button {
  bottom: 0;
  left: 50%;
  position: absolute;
  background-color: var(--primary);
  color: #ffffff;
  transform: translate(-50%, 0);
}

.cart {
  color: #ffffff;
  font-size: 12px;
  background-color: var(--primary);
}

.logo {
  width: 40px;
}

.arrow {
  opacity: 0.1;
  width: 10rem;
}

.matcha {
  left: 3rem;
  bottom: 0rem;
  opacity: 0.2;
  width: 10rem;
  position: absolute;
}

.story-section
{
  --animate-duration: 8s;
}

.story-image {
  width: 20%;
  opacity: 0.2;
  display: block;
  margin: 0 auto;
}

.latte {
  right: 0rem;
  opacity: 0.2;
  width: 10rem;
  bottom: 5rem;
  position: absolute;
}

.categories .nav-link {
  width: 33%;
  margin-bottom: 0.5rem;
}

.categories .card {
  text-align: center;
  background-color: aliceblue;
}

.categories .card p {
  font-size: 10px;
}

.product-icon {
  height: 185px;
  object-fit: contain;
}

/* Footer */
.footer {
    margin-top: 7rem;
    position: relative;
    background: aliceblue;
    color: var(--primary);
    padding: 0 20px 18px;
    text-align: center;
    /* bottom: 0;
    left: 0;
    right: 0; */
}

.footer-icon, .loader-icon {
  width: 150px;
}

/* Wave */
.footer::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 60px;
  background: aliceblue;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-content {
  position: relative;
  z-index: 2;
}

/* Cloud */
.footer .cloud {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 30px;
  background: var(--primary);
  border-radius: 30px;
  z-index: 3;
}

.footer .cloud::before,
.footer .cloud::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
}

.footer .cloud::before {
  width: 45px;
  height: 45px;
  left: 15px;
  bottom: 5px;
}

.footer .cloud::after {
  width: 55px;
  height: 55px;
  right: 10px;
  bottom: 3px;
}

.footer .footer h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.footer .footer p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 12px;
}

.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin-bottom: 12px;
}

.footer .footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 12px;
  opacity: 0.9;
}

.footer .footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copyright {
  font-size: 11px;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .carousel-item {
    height: 15rem;
  }

  .product-icon {
    height: 85px;
  }

  .story-image {
    width: 100%;
  }
}
