#navbar {
    padding-left: 1.2rem; display: flex; height: 10px; width: 100%; flex-wrap: nowrap;
}
#navbar img {
    margin-right: 10px; margin-top: 5px;
}
a {
    margin-left: 20px; color: #7fff00; text-decoration: none; font-family: Courier; font-size: 1.2rem; padding: 10px;
}
#mode {
    background-color: transparent; color: black; border: none; padding: 10px; cursor: pointer; font-size: 1.2rem; color: #7fff00;
}
.dark-mode {
    background-color: #333;
}
h1 {
    font-family: Helvetica;
}
h2, h3 {
    font-family: Courier;
}
p {
    font-family: 'Courier New';
}
#side-menu {
    position: fixed;
    top: 0;
    left: -290px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    padding: 20px;
    z-index: 1000;
}
#side-menu.visible {
    left: 0;
}
#side-menu a {
    display: block;
    color: #7fff00;
    text-decoration: none;
    margin: 10px 0;
    font-size: 1.2rem;
}
#close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 20px;
}

#menu-toggle {
    display: none;
}

ul {
    list-style-type: none;
    padding: 8;
    font-family: 'MS PGothic';
}

@media screen and (max-width: 768px) {
    #menu-toggle {
        display: block;
        background: url('images/menu.svg') no-repeat center;
        background-size: contain;
        width: 35px;
        height: 35px;
        cursor: pointer;
        border: none;
    }

    #navbar a {
        display: none;
    }

    #navbar.active a {
        display: block;
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }
}