html{height: 100%;}
body{
    min-height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
}
h1{margin: 0;}
header, footer{padding: 20px;}
#headerTop{
    display: flex;
    justify-content: center;
    align-items: center;
}
a{color: black; font-weight: bold;}
a:hover{color: gray;}

/* Hentet fra https://www.w3schools.com/howto/howto_css_switch.asp, med litt justeringer fra min side*/
/* The switch - the box around the slider */
.switch {
    font-size: 0.75rem;
    margin: 0 20px;
    position: relative;
    display: inline-block;
    width: 4em;
    height: 2em;
}

/* Hide default HTML checkbox */
.switch input {opacity: 0; width: 0; height: 0;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "O";
    height: 1.5em;
    width: 1.5em;
    inset: 0.25em;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {background-color: #2196F3;}
input:checked + .slider:before {
    -webkit-transform: translateX(2em);
    -ms-transform: translateX(2em);
    transform: translateX(2em);
    content: "I";
}