

/* ----- Header start ----- */

header {
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    justify-content: space-between;
}

header nav {
    display: flex;
    align-items: center;
    flex-flow: nowrap;
    gap: 7px;

    margin: 10px;
}

header nav a {
    font-weight: normal;
}

header nav .active {
    font-weight: bolder;
    color: var(--tan);
}

header img {
    height: auto; 
    width: auto; 
    max-width: 150px; 
    max-height: 150px;
}

/* ----- Footer start ----- */
footer {
    padding: 24px 5%;
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: auto;
}

footer img {
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 60px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

footer p {
    margin: 0;
    line-height: 1.5;
}

footer b {
    color: var(--light-tan);
}


@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        gap: 10px;
    }

    header img {
        max-width: 120px;
        max-height: 120px;
        margin: 0 auto;
    }

    header nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }

    header nav a,
    header nav button {
        flex: 1 1 auto;
        min-width: 140px;
    }

    header nav button {
        width: auto;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 5%;
    }

    footer img {
        max-width: 120px;
        margin-bottom: 16px;
    }
}

