@font-face {
    font-family: 'Leafy';
    src: url('/fonts/leafy.woff') format('woff'),
         url('/fonts/leafy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Global styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Leafy', sans-serif;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFA500; /* Orange goldfish */
    padding: 10px 30px;
}

.navbar-left, .navbar-center, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left .logo {
    height: 50px;
    margin-right: 15px;
}

.navbar-center a {
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-right .social-icon {
    height: 30px;
    margin-left: 10px;
}

/* Footer */
footer {
    background-color: #FFA500;
    text-align: center;
    padding: 6px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.main-bg {
    background: url('/images/bg.jpg') no-repeat center center/cover;
    filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* Hamburger button - hidden by default */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-center {
        display: none; /* hide nav links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px; /* below navbar */
        left: 0;
        width: 100%;
        background-color: #FFA500;
        z-index: 1;
        
    }

    .navbar-center.active {
        display: flex; /* show menu when hamburger clicked */
    }

    .navbar-center a {
        margin: 10px 0;
        text-align: center;
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }
    
}

/* Wide-screen adjustments */
@media (min-width: 1440px) {
    .navbar-center a {
        margin: 0 20px;
        font-size: 2rem; /* bigger links */
    }

    .navbar-left .logo {
        height: 70px; /* bigger logo */
    }

    .navbar-right .social-icon {
        height: 40px; /* bigger icons */
        margin-left: 15px;
    }
}
