:root {
    --icon-color: #000000; /* Pas dit aan naar wens */
}

.fm-icon {
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.fm-icon img {
    width: 40px;
    height: 40px;
    fill: var(--icon-color);
}

.fm-menu {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.fm-menu .fm-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.fm-menu a {
    padding: 8px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.fm-menu a:hover {
    color: #f1f1f1;
}

.fm-close {
    position: fixed; /* Gewijzigd van absolute naar fixed */
    top: 20px; /* Afstand van de bovenkant */
    right: 20px; /* Afstand van de rechterkant */
    font-size: 60px;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Zorg ervoor dat de close knop bovenop andere elementen staat */
}
