@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

.eisis-tag-font {
    font-family: 'Montserrat', sans-serif !important;
}

site-header, site-footer {
    display: block;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
}

:root {
    --company-blue: #1494dc;
    --company-blue-hover: #117ebc;
}

.text-company-blue {
    color: var(--company-blue);
}

.bg-company-blue {
    background-color: var(--company-blue);
}

.bg-company-blue:hover {
    background-color: var(--company-blue-hover);
}

.border-company-blue {
    border-color: var(--company-blue);
}

/* Page Navigation & Transitions */
/* Page Transitions */
.page-content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.hero-bg {
    background-size: cover;
    background-position: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 12.5s linear infinite;
}

/* New Ping-Pong Animation */
@keyframes scroll-pingpong {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move content left until the right edge hits the screen edge */
        transform: translateX(calc(-100% + 100vw)); 
    }
}

.animate-pingpong {
    animation: scroll-pingpong 10s linear infinite alternate;
}

@media (min-width: 768px) {
    .animate-scroll {
        animation: scroll 25s linear infinite;
    }
    
    .animate-pingpong {
        animation: scroll-pingpong 20s linear infinite alternate;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}
/* Color Scheme */
html.dark {
    color-scheme: dark;
}
html.light {
    color-scheme: light;
}

/* Language Visibility Toggles */
html[lang^="de"] .lang-en { display: none !important; }
html[lang^="en"] .lang-de { display: none !important; }
html:not([lang^="en"]):not([lang^="de"]) .lang-en { display: none !important; } /* default to DE if unknown */

