/* Smooth fade-in animation */
.fade-in {
    animation: fadeIn 0.5s ease-out;
    will-change: opacity; /* Performance optimization for animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bg-img {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

body::before {
    position: fixed;
    content: '';
    opacity: 0.75;
    background-image: url('img_bg2.jpg');
    height: 100vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(.25);
    will-change: transform; /* Optimization for fixed backgrounds */
}

#app {
    max-height: 97%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

/* Custom scrollbar styling for webkit browsers */
#app::-webkit-scrollbar {
    width: 6px;
}

#app::-webkit-scrollbar-track {
    background: transparent;
}

#app::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}
