html, body {
    margin: 0;
    padding: 0;
}

#topbar {
    width: 100%;
    box-sizing: border-box;
    background: #1c1c1c; /* deep, classic dark tone */
    color: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 10vh;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 2px solid #444; /* subtle line for definition */
    box-shadow: 0 3px 8px rgba(0,0,0,0.5); /* gentle floating effect */
    font-family: 'Georgia', serif; /* classic typography */
}

.nav-side {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}

.nav-side li a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: color 0.3s, text-shadow 0.3s, transform 0.2s;
}

.nav-side li a:hover {
    color: #d4af37; /* muted, classic gold */
    text-shadow: 0 1px 2px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px); /* subtle lift effect */
}

.center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    border-radius: 15%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #444;
}

.center-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-logo:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

#topbar .btn {
    color: #f5f5f5;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.4rem;
    border-radius: 0.4rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.2s;
}

#topbar .btn:hover {
    background: rgba(212, 175, 55, 0.15); /* soft gold glow */
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
}


#spacer {
    text-align: center;
    background: lightgrey;
    overflow: hidden;
    text-shadow: #444 1px 1px 2px;
}

#spacer h1 {
    margin: 0.2rem;
    font-size: 2rem;
}

#spacer p {
    margin: 0.2rem;
    font-size: 1.2rem;
}

#content {
    overflow: hidden;
    text-align: center;
    background: darkgrey;
}

#footer {
    overflow: hidden;
    background: #000;
    color: #fff;
    text-align: center;
}

@media (max-width: 600px) {
    .nav-side:first-of-type { justify-content: flex-start; }
    .nav-side:last-of-type { justify-content: flex-end; }
    .nav-side { gap: 0.5rem; }
}

.social-media {
    display: flex;
    gap: 15px; /* space between links */
    justify-content: center; /* centres the icons horizontally */
    margin: 20px 0;
}

.social-icon {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    color: #fff;
}

.social-icon.youtube {
    background-color: #FF0000;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #f58529 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.tumblr {
    background-color: #35465C;
}

.social-icon.ausa { /* this has to be 2, 151, 212 */
    background-color: #0297D4;
}

.social-icon:hover {
    /* draw a glow effect all around it on hover */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #topbar {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 1rem;
    }

    #topbar {
        display: flex;
        flex-wrap: wrap; /* allow nav divs to sit side by side */
        justify-content: center;
    }

    .nav-side {
        display: flex;
        width: 100%;
        margin: 0.1rem;
    }

    .nav-side .btn {
        width: 150px; /* same fixed width for both buttons */
        font-size: 1rem;
        padding: 0.4rem 0; /* horizontal padding handled by width */
        text-align: center;
    }

    .nav-side .btn:first-child {
        margin-right: auto; /* push the second button to the right */
    }

    .nav-side .btn:last-child {
        margin-left: auto; /* push the first button to the left */
    }
}
