@font-face {
    font-family: 'HeaderFont';
    src: url('/fonts/header.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ContentFont';
    src: url('/fonts/content.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    margin: 0;
    padding: 0;
    background-color: #0f0f1a;
    //height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    //overflow: hidden;
}

.header-block {
    color: white;
    font-family: 'HeaderFont', sans-serif;
    font-size: 48px;
    text-align: center;
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: moveToTop 1s ease-in-out forwards;
}

@keyframes moveToTop {
    from {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    to {
        top: 1%;
        left: 50%;
        transform: translate(-50%, 0);
    }
}

.old-content-block {
    color: white;
    font-family: 'ContentFont', sans-serif; /* Custom font with fallback */
    font-size: 20px;
    text-align: center;
    z-index: 1;
    margin-top: 15vh;
    margin: 0 auto; /* Center horizontally */
    max-width: 800px; /* Optional: constrain width */
    padding: 20px; /* Optional: add padding */
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s forwards;
}

.content-block {
    color: white;
    font-family: 'ContentFont', 'Anton', sans-serif;
    font-size: 20px;
    text-align: center;
    z-index: 1;
    margin-top: 7vh;          /* Space below header-block */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7vh;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Style for each individual member container */
.member-container {
    color: white;
    font-family: 'ContentFont', sans-serif;
    font-size: 20px;
    padding: 15px;
    margin: 10px auto;         /* Space between containers, centered */
    max-width: 500px;          /* Narrower for individual blocks */
    background: rgba(255, 255, 255, 0.05); /* Subtle translucent bg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Faint border */
    border-radius: 8px;        /* Rounded corners */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Soft glow */
    opacity: 0;                /* Start invisible */
    animation: fadeInGlow 1s ease-in-out forwards; /* Fade in */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effects */
}

/* Fade-in animation with slight movement */
@keyframes fadeInGlow {
    from {
        opacity: 0;
        transform: translateY(15px); /* Slide up slightly */
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.05);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }
}

/* Hover effect for interactivity */
.member-container:hover {
    transform: scale(1.03);    /* Slight zoom */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); /* Brighter glow */
}

.inline {
  display: inline-block;
}
