/* Custom styles to augment Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Ensures serif headlines pop and sans text is readable */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animation for fade-in elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0f172a;
}

::-webkit-scrollbar-thumb:hover {
    background: #c5a028;
}

/* Mobile menu transition */
#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
}
