@font-face {
    font-family: FilsonPro;
    src: url(fonts/FilsonProRegular.ttf);
}
@font-face {
    font-family: FilsonProMed;
    src: url(fonts/FilsonProMedium.ttf);
}
@font-face {
    font-family: FilsonProBold;
    src: url(fonts/FilsonProBold.ttf);
}

/* General styling */
body {
    font-family: FilsonPro;
    color: black;
    margin: 0;
    padding: 0;
    background-color: #0099ff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: FilsonProBold;
    color: black;
    margin: 0.5em 0;
}

/* Header + Sticky Navbar */
header {
    width: 100%;
    padding: 1rem 3%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    animation: fadeDown 0.8s ease-in-out;
}

.anbanner {
    width: 100%;
    padding: 1rem 3%;
    background-color: rgb(0, 183, 255);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    animation: fadeDown 0.8s ease-in-out;
}


/* Header + Sticky Navbar */
header {
    width: 100%;
    padding: 1rem 2rem;   /* add side padding for balance */
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* keep everything left-aligned */
    gap: 2rem;                     /* space between logo and nav */
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header .logo {
    max-width: 100px;
}

.topnav {
    display: flex;
    gap: 1rem;  /* spacing between nav items */
}

.topnav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.topnav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}



/* Sections */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    gap: 2rem;
}

.warn {
    max-width: 700px;
    padding: 1.5rem;
    background-color: #ff4d4d;
    color: white;
    border-radius: 10px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.contact {
    max-width: 700px;
    padding: 1.5rem;
    background-color: #db4dff;
    color: white;
    border-radius: 10px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.update {
    max-width: 700px;
    padding: 1.5rem;
    background-color: #4ddbff;
    color: rgb(0, 0, 0);
    border-radius: 10px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
}

.intro {
    max-width: 700px;
    padding: 1.5rem;
    background-color: lightseagreen;
    color: white;
    border-radius: 10px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out 0.3s;
    animation-fill-mode: both;
}

.whatido {
    max-width: 700px;
    padding: 1.5rem;
    background-color: rgb(62, 8, 189);
    color: white;
    border-radius: 10px;
    text-align: center;
    animation: fadeInUp 1s ease-in-out 0.3s;
    animation-fill-mode: both;
}


/* Footer */
footer {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: black;
    color: white;
    margin-top: 2rem;
    padding-left: 500px;
    animation: fadeUp 1s ease-in-out 0.6s;
    animation-fill-mode: both;
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    color: #fff;
}
