/* Basis instellingen voor de pagina */
body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Century Gothic', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* De container voor de tegels */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    max-width: 2000px;
    gap: 40px;
    justify-content: center;
    align-content: center;
    width: 90%;
}

/* De individuele tegel (Tile) */
.tile {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    outline: none;
    transition: transform 0.2s ease, background 0.2s ease;
    backface-visibility: hidden; /* Voorkomt trillen bij transformatie */
}

/* Iconen binnen de tegel */
.tile i {
    font-size: 75px;
    margin-bottom: 25px;
    pointer-events: none;
}

/* Tekst onder de iconen */
.tile span {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 0 10px;
    pointer-events: none;
}

/* Hover effect */
.tile:hover {
    transform: translateY(-4px); /* Subtiele lift */
    background: rgba(255, 255, 255, 0.18);
}

/* Klik effect */
.tile:active {
    transform: translateY(0);
}