@font-face {
    font-family: 'GeosansLight';
    src: url('../ttf/geosans-light-normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GeosansLight';
    src: url('../ttf/geosans-light-oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

body {
    height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevents scrollbars */

    /* Center content using Flexbox */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-family: 'GeosansLight', sans-serif;
    color: white;

    position: relative;
    z-index: 0;
    background-color: rgba(0, 0, 0, 1); /* Keep the dark overlay on top */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image: url('../png/logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    animation: background-glow 10s ease-in-out infinite;
}

@keyframes background-glow {
    0%, 100% {
        filter: brightness(0.7);
    }
    50% {
        filter: brightness(1.2);
    }
}

.content {
    max-width: 800px;
    padding: 2rem;
    animation: text-fade 10s ease-in-out infinite;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes text-fade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}