/*
Theme Name: FirstMolecule Custom Theme With Tailwind Css
Theme URI: 
Author: Rohit C P
Author URI: 
Description: A minimal WordPress theme scaffold using Tailwind CSS by Rohit.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firstmolecule-tailwind
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Nunito', 'ABeeZee', sans-serif;
    background: #fff;
    overflow-x: hidden;
    /* overflow-y: hidden; */
    /* disable scroll at start */
}

@keyframes bounceX {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px); /* adjust distance */
  }
}

.animate-icon:hover img{
  animation: bounceX 1s infinite;
}

body.home {
  overflow-y: hidden;
}

.do-hyeon {
    font-family: 'Do Hyeon', sans-serif;
}

.nunito {
    font-family: 'Nunito', sans-serif;
}

.inter {
    font-family: 'Inter', sans-serif;
}

.abeezee {
    font-family: 'ABeeZee', sans-serif;
}

.bannerTextContainer {
    position: relative;
    z-index: 10;
}

.dg.ac {
    display: none !important;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
}

/* Show it only when hovering over the body */
body:hover .dg.ac {
    display: block !important;
}

/* Fluid canvas */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* behind content */
    display: block;
}

/* Hero Section */
.hero {
    pointer-events: none;
    /* let clicks pass through */
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: transparent;
    /* make background see-through so canvas shows */
    z-index: 2;
}

/* Dark tint over the canvas for readability */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 25%);
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 650px;
    font-size: 1rem;
    line-height: 1.6;
    margin: auto auto 2rem;
}

.play-btn {
    padding: 12px 28px;
    border: 1px solid #fff;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 11;
    pointer-events: all;
}

/* Section */
.section {
    background: #fff;
    color: #000;
    padding: 80px 10%;
    position: relative;
    z-index: 3;
}

.section-subtitle {
    color: #C02026;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    color: #1E1E1E;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 32px;
}

.section-desc {
    color: #1E1E1E;
    font-size: 18px;
    margin-bottom: 32px;
    white-space: pre-wrap;
}

.link-btn {
    color: #C02026;
    font-size: 14px;
    text-transform: capitalize;
    text-decoration: none;
}

/* Features */
.features {
    background: #F7F7F7;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.feature p {
    color: #1C1C1C;
    font-size: 20px;
    line-height: 1.3;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }

    .section-subtitle,
    .section-desc {
        font-size: 14px;
    }

    .feature p {
        font-size: 18px;
    }
}

.bottom-5 {
    bottom: 5%;
}

.h-100{
    min-height: 100px
}

.fixed {
    position: fixed;
}

.z-50 {
    z-index: 50;
}

.emblaProduct__viewport {
  overflow: hidden;
  width: 100%;
}

.emblaProduct__container {
  display: flex;
}

.emblaProduct__slide {
  flex: 0 0 auto;
  margin-right: 10px; 
}
