body {
    margin: 0;
    padding: 40px;
    background: white;
    text-align: center;
    font-family: serif;
}

/* titolo */
h1 {
    color: #170204;
    font-size: 64px;
    margin-bottom: 40px;
}

/* menu */
.menu {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.menu a {
    color: #170204;
    text-decoration: none;
    font-size: 18px;
}

.menu a:hover {
    text-decoration: underline;
}

.menu-left, .menu-center, .menu-right {
    width: 33%;
}

.menu-left { text-align: left; }
.menu-center { text-align: center; }
.menu-right { text-align: right; }

.submenu {
    margin-top: 8px;
}

/* pizzaman */
#pizzaman {
    position: fixed;
    width: 120px;
    cursor: pointer;
    user-select: none;
}

/* contatore */
#title {
    position: relative;
    display: inline-block;
}

#counter {
    position: absolute;
    top: -10px;
    right: -20px;
    font-size: 0.6em;
    opacity: 0;
    transition: opacity 0.8s;
}

/* toggle links */
#links-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    color: red;
    opacity: 0.8;
}

#links-toggle.off {
    color: #777;
}

/* links disattivati */
body.links-off a {
    pointer-events: none;
    color: #777;
}

/* DARK MODE */
body.dark {
    background: #0b0b0b;
    color: white;
}

body.dark h1 {
    color: white;
}

body.dark a {
    color: white;
}

body.dark.links-off a {
    color: #777;
}