/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
}

/* Ensure all tables take full width */
table {
    width: 100%;
    border-collapse: collapse;
}

img {
    width: 100%; /* Make images responsive */
    height: auto;
}

/* Header and Footer styles */
.header, .footer {
    width: 100%;
    text-align: center;
}

.nav-links, .navbar-links {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;  /* Allow buttons to wrap on small screens */
}

.nav-links img {
    height: 20px;
    width: auto;
}

/* Content area */
.content {
    text-align: center;
    padding: 20px;
}

.content img {
    max-width: 400px;  /* Set max width for images */
    margin: 20px 0;
}

/* Footer section */
.footer {
    background-color: rgb(81, 125, 174);
    padding: 10px 0;
}

.footer p {
    font-size: x-small;
    color: white;
}

/* Mobile-Friendly Styles (Media Query) */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;  /* Stack navigation items vertically on small screens */
        align-items: center;
    }

    .content img {
        max-width: 80%;  /* Adjust image size on mobile */
    }

    .footer p {
        font-size: smaller;  /* Reduce footer text size on mobile */
    }

    .content {
        padding: 10px;
    }
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #517DAE;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2000;
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
    }
    .nav-links, .navbar-links {
        display: none !important;
    }
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        z-index: 9999;
        padding-top: 80px;
        align-items: center;
        transform: translateY(-100vh);
        transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    }
    .mobile-menu.active {
        transform: translateY(0);
    }
}
