@tailwind base;
@tailwind components;
@tailwind utilities;


* ::-webkit-scrollbar {
  display: none;
}

@layer base {
  body {
    font-family: 'Public Sans', sans-serif;
  }

  h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
  }
}

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

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

@keyframes zoomIn {
  0% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1.6);
  }
}

/* @keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(20deg);
  }
} */

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

@keyframes rotateCircle { 
  to {
    transform: rotate(1turn)
  }
}
/* #planningCard {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.fade-out {
  opacity: 0;
} */

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

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

.zoom-in {
  animation: zoomIn 2s ease forwards;
  animation-delay: 1s;
}

.spin-slow {
  animation: rotateCircle 30s infinite linear;
}

#toast.success {
  background-color: #16a34a;
}
#toast.error {
  background-color: #dc2626;
}

@media (max-width: 767px) { 
  #bg_image { 
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180%;
    max-width: none;
    z-index: 0;
    pointer-events: none;
    object-fit: contain;
    transform: translate(25%, 0%) scale(1.3);
    transition: transform 2s ease;
  }
  #topSection {
    padding-top: 2rem !important;
    align-items: center !important;
    text-align: center;
    background-color: transparent !important;
    height: 100vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
  }

  #topSection .-bottom-28 {
    position: static !important;
    margin-top: 1.5rem;
  }
  #contentWrapper:not(.hidden) ~ #bg_image {
    transform: translate(25%, -20%) scale(1.3);
  }

  #contentWrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: slideFadeIn 0.7s ease-in-out forwards;
    animation-delay: 0.4s;
    padding-top: 2rem !important;
    align-items: center !important;
    text-align: center;
    background-color: transparent !important;
    height: 90vh;
    position: relative;
    z-index: 10;
  }

  #planningCard {
    width: 100%;
    max-width: 95%;
  }

  @media (max-width: 767px) {
    #vendorDropdown {
     background-image: url(./assets/mobileViewBg.svg);
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;
    }
  }
  
  .fixed.bottom-4.left-6 {
    position: static !important;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center !important;
    transform: none !important;
  }

  .fixed.bottom-4.left-6 a img {
    height: 20px;
  }

  #planningCard input,
  #planningCard button {
    font-size: 14px !important;
  }

  .zoom-in {
    animation: none
  }

  .absolute.-bottom-\[250px\].z-10 {
    right: -100px !important;
  }

  #topSection img,
  #contentWrapper img {
    margin: 0 auto;
  }

  

  #mobileSplash {
    transition: opacity 0.5s ease-in-out;
  }
  
}




/*  */

@keyframes scaleup{
 to{
  width: 165%;
 }
}
.scaleup {
  animation: scaleup 1.6s linear forwards;
}

.hero-banner-image {
  /* animation: scaleup 1.6s linear forwards; */
  max-width: 175%;
  width: 150%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .hero-banner-image {
    animation: none;
    width: 150%;
    max-width: 150%;
    height: auto;
    transform: translate(20px, -40px);
    object-fit: contain;
    scale: 1.5;
    
  }
}



/* HTML: <div class="loader"></div> */
.loader {
  width: 20px;
  padding: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffffff;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}