body {
    counter-reset: ref-counter;
}

header { 
    margin: 0% 20% 0% 20%;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.text {
    margin: 0% 20% 0% 20%;
    counter-reset: ref-counter-bottom;
}

.title {
    flex: 10;
}

.switch {
    flex : 1;
}
.theme-box {
    flex-direction: row-reverse;
}

@media screen and (max-width: 480px) {
    header {margin: 0%}
    .text {margin: 0%;}
    .theme-box { flex-direction: column;
    }
}

#ref::before {
    vertical-align: super;
    font-size: small;
    counter-increment: ref-counter;
    content: "["counter(ref-counter)"]";
    color: #b58900
}
#ref-bottom::before {
    counter-increment: ref-counter-bottom;
    content: counter(ref-counter-bottom)". ";
}
