@font-face {
    font-family: goodtimes;
    src: url('../fonts/good times rg.ttf');
}

html, body {
    margin: 0;
    padding: 0;
    font-family: goodtimes;
}

#header {
    width: 100%;
    position: relative;
    text-align: center;
}

#header img {
    width: 100%;
    height: auto;
    display: block;
}

#header h1 {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: clamp(26px, 5vw, 52px);

    color: white;

    text-shadow:
        -1px -1px 0 #333,
         1px -1px 0 #333,
         1px  1px 0 #333,
        -1px  1px 0 #333;

    margin: 0;
}

#footer {
    width: 100%;
    padding: 12px 0;
    background-color: #1e1e1e;
    color: white;
    text-align: center;
}

#favoriete {
    padding: 60px 20px;
    text-align: center;
}

#favoriete h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #f4f4f4;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-card span {
    display: block;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hover effect */
.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}