* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
}
#content {
    flex: 1;
    padding: 20px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.nav-links {
    display: flex;
    gap: 10px;
}
.nav-links a {
    text-decoration: none;
    font-size: 18px;
    color: inherit;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.nav-links a:hover {
    color: var(--linkcolor);
    background-color: var(--linkhovercolor);
    border-radius: 5px;
}
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
.category {
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
}
.category-logo {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.category:hover {transform: scale(1.05);}
footer {
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}
html, body {height: 100%;}
.logo-container .logo {height: 50px;}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .categories {
        flex-direction: column;
        align-items: center;
    }
    .category {
        width: 90%;
        max-width: none;
    }
    .category-logo {
        width: 90%;
    }
}
@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .category {
        width: 100%;
    }
    .category-logo {
        width: 100%;
    }
}
