@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  width: 100%;
  padding: 0;
}

.roboto-font {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.bahnschrift-font {
  font-family: "Bahnschrift", sans-serif;
}

nav {
  z-index: 3;
}

.mainnav {
  padding: 40px 0;
}

.navlogo {
  max-width: 150px;
  max-height: 90px;
  width: auto;
  height: auto;
  display: inline-block;
}

.media-icon {
  width: 20px;
  height: 20px;
  margin-left: 6px;
}

.fa-instagram {
  font-size: 19px;
}

.fa-tiktok {
  font-size: 18px;
}

.design-beige {
  background-color: #f1e9d2;
  color: black;
  border: none;
}

.design-black {
  background-color: #000;
  color: black;
  border: none;
}

.btn-white {
  text-align: center;
  padding: 8px 14px;
  text-decoration: none;
  border: none;
  background-color: white;
  color: black;
  font-size: 18px;
  border-radius: 4px;
}

.btn-white:hover {
  background-color: rgb(210, 210, 210);
}

.btn-black {
  text-align: center;
  padding: 9px 15px;
  text-decoration: none;
  border: none;
  background-color: black;
  color: white;
  font-size: 18px;
  border-radius: 4px;
}

.btn-black:hover {
  background-color: rgb(50, 50, 50);
}

.btn-beige {
  text-align: center;
  padding: 9px 15px;
  text-decoration: none;
  border: none;
  background-color: #f1e9d2;
  color: black;
  font-size: 18px;
  border-radius: 4px;
}

.btn-beige:hover {
  background-color: #fff8de;
}

.btn-beige:disabled {
  background-color: #d6bd71;
}

.border-beige {
  border: 0px solid #f1e9d2;
}

.btn-greentea {
  text-align: center;
  padding: 8px 14px;
  text-decoration: none;
  border: none;
  background-color: #d0f0c0;
  color: black;
  font-size: 16px;
}

.btn-greentea:hover {
  background-color: #dff5d3;
}

.btn-changeqty {
  background-color: white;
  width: 30px;
  height: 30px;
  text-align: center;
  align-items: center;
  align-self: center;
  align-content: center;
}

.btn-changeqty:hover {
  background-color: rgb(210, 210, 210);
}

.d-none {
  display: none !important;
}

/* Style for the flying icon */
.fly-icon {
  pointer-events: none; /* Allow clicks to pass through */
  position: fixed;
  font-size: 24px;
  z-index: 1000;
  transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
}

.numberCircle {
  border-radius: 50%;
  width: 21px;
  height: 21px;
  background: #fff;
  border: 1px solid #000000;
  color: #000000;
  text-align: center;
  font: 18px Arial, sans-serif;
}

.measurement-img {
  max-width: 650px;
}

.cart-item-count {
  border: 1px solid black;
  border-radius: 4px;
}

.btn-cart {
  background-color: transparent;
  color: black;
  padding: 9px 15px 9px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cart:hover {
  transform: scale(1.03);
}

.btn-cart:active {
  transform: scale(0.95);
}

.btn-cart .fa-cart-shopping {
  transition: transform 0.3s ease;
}

.btn-cart:hover .fa-cart-shopping {
  transform: rotate(-10deg);
}

.dropdown-menu-end.fade {
  transform: translateY(-5px);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.dropdown-menu-end.fade.show {
  opacity: 1;
  transform: translateY(0);
}

.main-section {
  width: 100%; /* Full viewport height */
  height: 100vh; /* Full viewport height */
  text-align: center;
  z-index: 1;
  align-content: center;
}

.belev-logo {
  width: 400px;
  height: 240px;
  /* -webkit-animation: moveToCenter 2s forwards;
  animation: moveToCenter 2s forwards; */
  z-index: 2;
  opacity: 0;
  height: auto;
  animation: appearAndMoveUp 1s forwards;
  animation-delay: 2s;
  z-index: 2;
}

@keyframes appearAndMoveUp {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
  }
  50% {
    opacity: 1;
    transform: scale(1) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
}

.btn-shop {
  position: relative; /* ← make this a positioning context */
  display: inline-block; /* so width/height are respected */
  width: 410px;
  height: 60px;
  padding: 15px 5px;
  font-size: 18px;
  text-align: center;

  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;

  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 2s, 3s;
}

.btn-shop .default-text,
.btn-shop .hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.btn-shop .hover-text {
  opacity: 0;
}

.btn-shop:hover .default-text {
  opacity: 0;
}

.btn-shop:hover .hover-text {
  opacity: 1;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  50% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(-30px);
  }
}

.btn-shop:hover {
  background-color: rgb(50, 50, 50); /* slightly brighter black on hover */
}

.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.e-container {
  position: absolute;
  width: 100px;
  height: 100px;
  top: -100px;
  right: 100px;
  -webkit-animation: moveToCenter 2s forwards;
  animation: moveToCenter 2s forwards;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

@-webkit-keyframes moveToCenter {
  0% {
    top: -100px;
    right: 100px;
    -webkit-transform: none;
    transform: none;
  }
  70% {
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
  }
  100% {
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
  }
}

@keyframes moveToCenter {
  0% {
    top: -100px;
    right: 100px;
    -webkit-transform: none;
    transform: none;
  }
  70% {
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
  }
  100% {
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
  }
}

.e-logo {
  width: 100%;
  height: auto;
  -webkit-animation: spinAndScale 2s forwards;
  animation: spinAndScale 2s forwards;
}

@keyframes spinAndScale {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  70% {
    -webkit-transform: rotate(720deg) scale(1.5);
    transform: rotate(720deg) scale(1.5);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(720deg) scale(0);
    transform: rotate(720deg) scale(0);
    opacity: 0;
  }
}

@-webkit-keyframes spinAndScale {
  0% {
    -webkit-transform: rotate(0deg) scale(1);
    transform: rotate(0deg) scale(1);
  }
  70% {
    -webkit-transform: rotate(720deg) scale(1.5);
    transform: rotate(720deg) scale(1.5);
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(720deg) scale(0);
    transform: rotate(720deg) scale(0);
    opacity: 0;
  }
}

.w50 {
  width: 60%;
}

.top-marquee {
  width: 100%;
  background-color: black;
  overflow: hidden;
  white-space: nowrap;

  top: 0;
  left: 0;
  position: absolute;
  z-index: 1000;
  height: 45px;
  display: flex;
  align-items: center;
  cursor: default;
}

.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marquee 200s linear infinite;
}

.marquee-content {
  font-size: 18px;
  font-weight: 500;
  color: white;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.top-marquee:hover .marquee-wrapper {
  animation-play-state: paused;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;

  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading-icon {
  width: 100px;
  height: 100px;
  animation: spin 10s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rain-container {
  position: fixed; /* cover the viewport, not just its parent */
  top: 0;
  left: 0;
  width: 100vw; /* full screen width */
  height: 100vh; /* full screen height */
  pointer-events: none; /* allow clicks through */
  overflow: hidden;
  z-index: 0;
}

.rain-drop {
  position: absolute;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.1);
  animation: fall linear infinite;
  user-select: none;
  white-space: nowrap;
  /* unprefixed + prefixed for mobile */
  -webkit-animation: fall linear infinite;
  animation: fall linear infinite;
  will-change: transform, opacity;
}

/* rain-drop fall animation */
@-webkit-keyframes fall {
  from {
    transform: translateY(-10vh);
  }
  to {
    transform: translateY(110vh);
  }
}
@keyframes fall {
  from {
    transform: translateY(-10vh);
  }
  to {
    transform: translateY(110vh);
  }
}

.shirt-half {
  position: fixed;
  top: 52%;
  transform: translateY(-50%);
  height: auto;
  object-fit: contain;
  opacity: 1;
  z-index: 1;
}

.left-half {
  left: 0;
}

.right-half {
  right: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.fade-in {
  animation: fadeIn 1s forwards;
}
.fade-out {
  animation: fadeOut 1s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .e-container,
  .e-logo,
  .belev-logo,
  .btn-shop,
  .marquee-wrapper,
  .rain-drop,
  .fly-icon {
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}

.fa-credit-card {
  font-size: 19px;
}

#card-number,
#card-expiry,
#card-cvc {
  display: flex;
  align-items: center; /* vertical centering */
  padding: 10px 12px 8px 12px; /* Bootstrap default: 0.375rem 0.75rem */
  height: 38px; /* Matches .form-control height */
}

.input-group .form-control > div {
  width: 100%; /* let Stripe element fill the container */
}

.payment-input-group .input-group-text {
  width: 150px;
  justify-content: center;
}

.footer {
  width: 100%;
  background: rgba(
    255,
    255,
    255,
    0.15
  ); /* transparent but readable on any bg */
  border-top: 1.5px solid #ece8df;
  margin-top: 64px;
  padding: 18px 12px;
  font-family: "Barlow", "Roboto", Arial, sans-serif;
  color: #333;
  font-size: 1rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(3px);
  text-align: center;
}

@media (max-width: 1076px) {
  .w50 {
    width: 95%;
  }
}

@media (max-width: 576px) {
  .e-logo {
    width: 70%;
  }
  .belev-logo,
  .btn-shop {
    width: 60%;
  }
  .w50 {
    width: 95%;
  }

  .mainnav {
    padding: 20px 0;
  }

  .navlogo {
    width: 120px;
    height: 72px;
  }

  .btn-cart,
  .btn-home {
    font-size: 16px;
  }
  .hideInMobile {
    display: none;
  }
  .payment-input-group .input-group-text {
    width: auto;
  }
}
