html {
    scroll-behavior: smooth;
}

.animate-header1 {
    transform: translateX(-150px);
    opacity: 0;
    animation: slideIn 0.8s ease-out 0.2s 1 forwards;
}

.animate-header2 {
    transform: translateX(-150px);
    opacity: 0;
    animation: slideIn 1s ease-out 0.5s 1 forwards;
}

@keyframes slideIn {
    from {}

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.no-pointer {
    pointer-events: none;
}

.pointer {
    pointer-events: auto;
}

.speakers {
    position: relative;
}

.overlay {
    z-index: 50;
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    box-shadow: 10px 10px 15px inset rgba(5, 0, 34, 0.68), 10px -10px 15px inset rgba(5, 0, 34, 0.509);
}

.caraousal-horizontal {
    padding: 10px;
    overflow: hidden;
    display: flex;
    position: relative;
    /*Prevents Caraousal to scroll */
}

.caraousal::-webkit-scrollbar {
    display: none;
}

.caraousal-horizontal .group {
    display: flex;
    gap: 3rem;
    width: fit-content;
    animation: slideOut 15s linear infinite;
    padding-right: 3rem;
    justify-content: center;
    align-items: center;
}

.speaker-card {
    width: 30%;
    min-width: 300px;
    min-height: 200px;
    font-size: 20px;
    border-radius: 10px;
}

.caraousal:has(.speaker-card:hover) .group {
    animation-play-state: paused;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* #gate1,
#gate2 {
    position: absolute;
    width: 50%;
    height: 100%;
    backdrop-filter: blur(10px);
    top: 0;
}

#gate2 {
    right: 0;
}

#gate1 {
    left: 0;
}

.gate1 {
    animation: openGate1 1.5s ease-in-out 0.5s 1 forwards;
}

.gate2 {
    animation: openGate2 1.5s ease-in-out 0.5s 1 forwards;
}

@keyframes openGate1 {
    0% {
        transform: translate(0);
        opacity: 1;
    }

    100% {
        transform: translate(-100%);
        opacity: 0;
        display: none;
    }
}

@keyframes openGate2 {
    0% {
        transform: translate(0);
        opacity: 1;
    }

    100% {
        transform: translate(100%);
        opacity: 0;
        display: none;
    }
}

#reveal {
    pointer-events: auto;
    margin: auto;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.167);
    padding: 5px 20px;
    font-size: 30px;
    border-radius: 1000px;
    position: absolute;
    top: 47%;
    left: 0;
    right: 0;
    cursor: pointer;
    z-index: 51;
    box-shadow: 2px 2px 15px blue, -2px -2px 15px red;
} */


.past-speakers {
    position: relative;
}

.speaker-card {
    width: 100%;
    min-width: 300px;
    min-height: 200px;
    font-size: 20px;
    border-radius: 10px;
}

.caraousal:has(.speaker-card:hover) .group {
    animation-play-state: paused;
}

.autoReveal {
    opacity: 0;
    transform: translateY(100%);
}

.autoReveal.revealed {
    animation: fadeUp 1s ease-out forwards;
}


@keyframes fadeUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.revealOnShow1{
    animation:showIn ease-in-out forwards;
    animation-timeline:view();
    animation-range: entry 10% cover 50%;
}

@keyframes showIn{
    from{
        transform: translateX(150px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}

.past-section-caraousal{
    padding: 10px;
    overflow-x: auto;
    display: flex;
    position: relative;
}
.past-section-group{
    display: flex;
    gap: 3rem;
    width: fit-content;
    justify-content: center;
    align-items: center;
}