@keyframes reveal {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: 0% 0;
    }
}

.reveal-text {
    background: linear-gradient(to right, white 50%, rgba(255, 255, 255, 0.2) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 20% cover 50%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}
header {
    transition: padding 0.3s ease, background-color 0.3s ease;
}
#header {
    transition:
        padding 0.3s ease,
        transform 0.3s ease,
        opacity 0.2s ease;
}
.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
#header:not(.nav-hidden) {
    pointer-events: auto;
}
.nav-compact {
    padding-top: 0.5rem;
}
.nav-normal {
    padding-top: 2.5rem;
}
#logo-image {
    transition: height 0.3s ease;
}
.logo-compact {
    height: 2rem;
}
.logo-normal {
    height: 4rem;
}

@keyframes flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    22%,
    24%,
    55% {
        opacity: 0;
    }
}

.animate-flicker {
    animation: flicker 1.5s linear 1;
}

html {
    scroll-behavior: smooth;
}


.fixed-bg-ios {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-5.png');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .fixed-bg-ios {
        background-position: 65% 50%;
    }
}


a.hover-effect span {
    font-weight: 400;
    transition: font-weight .5s;
}

a.hover-effect.active-link span {
    font-weight: 700;
    /* Match the hover effect font weight */
    transition: font-weight 0.5s;
}

.hover-effect span:nth-child(2) {
    transition-delay: .1s;
}

.hover-effect span:nth-child(3) {
    transition-delay: .2s;
}

.hover-effect span:nth-child(4) {
    transition-delay: .3s;
}

.hover-effect span:nth-child(5) {
    transition-delay: .4s;
}

.hover-effect span:nth-child(6) {
    transition-delay: .5s;
}

.hover-effect span:nth-child(7) {
    transition-delay: .6s;
}

.hover-effect span:nth-child(8) {
    transition-delay: .7s;
}

.hover-effect span:nth-child(9) {
    transition-delay: .8s;
}

.hover-effect span:nth-child(10) {
    transition-delay: .9s;
}

.hover-effect span:nth-child(11) {
    transition-delay: 1.0s;
}

.hover-effect span:nth-child(12) {
    transition-delay: 1.1s;
}

.hover-effect span:nth-child(13) {
    transition-delay: 1.2s;
}

.hover-effect span:nth-child(14) {
    transition-delay: 1.3s;
}

.hover-effect span:nth-child(15) {
    transition-delay: 1.4s;
}

.hover-effect span:nth-child(16) {
    transition-delay: 1.5s;
}

.hover-effect span:nth-child(17) {
    transition-delay: 1.6s;
}

.hover-effect span:nth-child(18) {
    transition-delay: 1.7s;
}

.hover-effect span:nth-child(19) {
    transition-delay: 1.8s;
}

.hover-effect span:nth-child(20) {
    transition-delay: 1.9s;
}

.hover-effect span:nth-child(21) {
    transition-delay: 2.0s;
}

.hover-effect span:nth-child(22) {
    transition-delay: 2.1s;
}

.hover-effect span:nth-child(23) {
    transition-delay: 2.2s;
}

.hover-effect span:nth-child(24) {
    transition-delay: 2.3s;
}

.hover-effect span:nth-child(25) {
    transition-delay: 2.4s;
}


.hover-effect:hover span {
    font-weight: 700;
}

.hover-effect:hover span:nth-child(25) {
    transition-delay: 2.4s;
}

.hover-effect:hover span:nth-child(24) {
    transition-delay: 2.3s;
}

.hover-effect:hover span:nth-child(23) {
    transition-delay: 2.2s;
}

.hover-effect:hover span:nth-child(22) {
    transition-delay: 2.1s;
}

.hover-effect:hover span:nth-child(21) {
    transition-delay: 2.0s;
}

.hover-effect:hover span:nth-child(20) {
    transition-delay: 1.9s;
}

.hover-effect:hover span:nth-child(19) {
    transition-delay: 1.8s;
}

.hover-effect:hover span:nth-child(18) {
    transition-delay: 1.7s;
}

.hover-effect:hover span:nth-child(17) {
    transition-delay: 1.6s;
}

.hover-effect:hover span:nth-child(16) {
    transition-delay: 1.5s;
}

.hover-effect:hover span:nth-child(15) {
    transition-delay: 1.4s;
}

.hover-effect:hover span:nth-child(14) {
    transition-delay: 1.3s;
}

.hover-effect:hover span:nth-child(13) {
    transition-delay: 1.2s;
}

.hover-effect:hover span:nth-child(12) {
    transition-delay: 1.1s;
}

.hover-effect:hover span:nth-child(11) {
    transition-delay: 1.0s;
}

.hover-effect:hover span:nth-child(10) {
    transition-delay: .9s;
}

.hover-effect:hover span:nth-child(9) {
    transition-delay: .8s;
}

.hover-effect:hover span:nth-child(8) {
    transition-delay: .7s;
}

.hover-effect:hover span:nth-child(7) {
    transition-delay: .6s;
}

.hover-effect:hover span:nth-child(6) {
    transition-delay: .5s;
}

.hover-effect:hover span:nth-child(5) {
    transition-delay: .4s;
}

.hover-effect:hover span:nth-child(4) {
    transition-delay: .3s;
}

.hover-effect:hover span:nth-child(3) {
    transition-delay: .2s;
}

.hover-effect:hover span:nth-child(2) {
    transition-delay: .1s;
}

.hover-effect:hover span:nth-child(1) {
    transition-delay: 0s;
}

.accordion-panel {
    height: 0;
    opacity: 0;
}

.accordion-panel.is-open {
    height: auto;
    opacity: 1;
}


.accordion-content {
    overflow-anchor: none;
    /* keeps browser from snapping */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    /* fade effect, optional */
    transform: translateY(8px);
    /* subtle slide, optional */
    transition:
        max-height 0.5s ease,
        opacity 0.5s ease,
        transform 0.5s ease;
    /* animate height, opacity, position */
}

.accordion-content.open {
    max-height: 1000px;
    /* or panel.scrollHeight in JS */
    opacity: 1;
    transform: none;
}

body {
    background-color: #ffffff;
    color: #FFFFFFE6;
    transition: background-color 0.6s ease, color 0.6s ease;
}


.btn-dark {
    color: #ec4899;
    border: 1px solid #ec4899;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-dark:hover {
    color: #ec4899;
    /* Tailwind pink-500 */
    border-color: #ec4899;
}


.btn-dark-3 {
    color: #ec4899;

    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-dark-3:hover {
    color: #4a5565;
    /* Tailwind pink-500 */

}

.text-heading {
    transition: color 0.3s ease;
}

