/* html{
    scroll-behavior: smooth !important;
} */
.cherry-bomb-one-regular {
    font-family: "Cherry Bomb One", system-ui;
}

.type-bg {
    display: inline-block;
    padding: 0.2em 0.1em;
    border-radius: 0.4em;
    margin: 0 0.1em;
    transition: background 0.2s, filter 0.2s;
}

.dark .type-bg.active {
    text-shadow: #fc0 1px 0 10px;
    transition: text-shadow 0.4s;
    transform: scale(1.2);
}

.type-bg.active {
    text-shadow: rgb(184, 13, 13) 1px 0 10px;
    transition: text-shadow 0.4s;
    transform: scale(1.2);
}

@keyframes spin-slow {
    to {
        transform: skew(180deg);
    }
}


/* cursor css START */
.cursor-dot {
    cursor: none;
    width: 5px;
    height: 5px;
    background-color: var(--cursor-color);
    box-shadow: 0 0 0 2px;
}

.cursor-outline {
    cursor: none;
    width: 30px;
    height: 30px;
    border: 2px solid var(--cursor-color);
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
}

.dark .cursor-outline {
    border: 2px solid var(--dark-cursor-color);
}

.dark .cursor-dot {
    background-color: var(--dark-cursor-color);
}

/* cursor css END */


/* NAVBAR CSS START */
.multi-border {
    text-align: center;
    position: relative;
    text-decoration: none;
    border-radius: 30px;
    box-sizing: border-box;
    display: block;
    z-index: 20;
    overflow: hidden;
    padding: .1rem !important;

}

.multi-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, #6CEA55, #FCC45A, #D642C5, rgb(16, 89, 253), rgb(108, 234, 85));
    background-size: 50% 100%;
    z-index: 0;
    border-radius: inherit;
    animation: rotateBorder 9.5s linear infinite;
}

.multi-border span {
    position: relative;
    z-index: 2;
    text-decoration: none;
    align-items: center;
    color: #ffffff;
    border-radius: 30px;
    display: block;
    padding: .4em;
    justify-content: center;
    box-sizing: border-box;
    font-size: 16px;
    font-family: Matter-Medium;
}

@keyframes bounceInDown {

    0%,
    100% {
        transform: translateY(0rem);
    }

    25% {
        transform: translateY(-0.05rem);
    }

    50% {
        transform: translateY(0rem);
    }

    75% {
        transform: translateY(0.05rem);
    }
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar-animation {
    animation: bounceInDown 1s linear infinite;
}

/* NAVBAR CSS END */

.animate-spin-slow {
    animation: spin-slow 28s linear infinite;
}

.event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* padding: 2rem; */
    border-radius: 3.5rem 3.5rem 0 0 !important;
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Add staggered animation delay for each card if needed */
.animate-fade-in-up:nth-child(1) {
    animation-delay: 0s;
}

.animate-fade-in-up:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-fade-in-up:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-fade-in-up:nth-child(4) {
    animation-delay: 0.3s;
}



.event-card div {
    /* box-shadow: inset 0 8.014px 48.082px -14.024px #E02424; */
    background-image: url('../img/grid.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.1);
    /* padding: 2.5rem; */
    border-radius: 3.5rem 3.5rem 0 0 !important;
    color: #fff;
    font-size: 1.2em;
}

.card-red {
    border: 1px solid #E02424;
    box-shadow: inset 0 26.014px 46.082px -23px #E02424;
}

.card-blue {
    border: 1px solid #247fe0;
    box-shadow: inset 0 26.014px 46.082px -23px #247fe0;
}

.card-green {
    box-shadow: inset 0 26.014px 46.082px -23px #22c55e;
    border: 1px solid #22c55e;
}

.register-btn:hover {
    background-color: #247fe0;
    /* blue on hover */
    color: #fff;
}

.event-card .mask-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(0deg, #000 0, #000 10%, transparent);
    pointer-events: none;
}


.group {
    position: relative;
    perspective: 1200px;
}

.event-3d-img-real {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    z-index: 10;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.5s ease;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
}

.group:hover .event-3d-img-real {
    opacity: 0;
    transform: scale(0.95);
    box-shadow: none;
}

.event-3d-img-popout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transform: scale(0.9);
    opacity: 0;
    transition:
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(.23, 1.12, .32, 1);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
    z-index: 20;
    pointer-events: none;
}

:root {
    --dark-cursor-color: hsla(0, 0%, 100%, 0.5);
    --cursor-color: hsla(0, 80%, 54%, 0.5);
    ;
}

/* Ensure the parent .group has a height for absolute positioning */
.group {
    min-height: 16rem;
    /* 256px, matches h-64 */
}

.group:hover .event-3d-img-popout {
    opacity: 1;
    transform: scale(1.05) translateZ(40px) rotateX(-6deg);
}


/* BRANDS/SPONSERS START */
@media (min-width: 768px) {
    .brand-slides {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        will-change: transform;
        pointer-events: none;
        user-select: none;
    }

    .brand-slides-ltr {
        animation: marquee-ltr 16s linear infinite;
    }

    .brand-slides-rtl {
        top: 15rem;
        animation: marquee-rtl 16s linear infinite;
    }

    @keyframes marquee-ltr {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    @keyframes marquee-rtl {
        0% {
            transform: translateX(100%);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}

/* BRANDS/SPONSERS END */


/* media queries */

@media (max-width: 1024px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

@media (max-width: 328px) {
    .left {
        left: 2.4rem !important;
    }
}

@media (min-width: 328px) and (max-width: 378px) {
    .left {
        left: 4.4rem !important;
    }
}