body {
    background-color: #EEE;
    font-family: 'Lucida Console';
}

.wrapper {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 50em;
    margin: 1em auto auto auto;
    border-radius: 1em;
    height: 57em;
    align-items: center;
}

.main-title {
    text-align: center;
    font-size: 40px;
    padding: 20px 10px;
}

.description {
    padding: 0 10% 10px;
    text-align: center;
}

.hint {
    text-align: center;
    color: #BBB;
    padding-bottom: 5px;
}

.inputs {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.range-input {
    margin: 5px 30px;
    padding: 5px 10px;
    outline: none;
    border: 1px solid gray;
    border-radius: 4px;
}

.option-row {
    flex-direction: row;
}

.range-submit {
    font-family: 'Lucida Console';
    padding: 5px 10px;
    width: 20em;
    margin: 10px;
    border-radius: 3px;
    border-color: #AAA;
}

.resistors {
    margin-top: 10px;
}

.resistor-row {
    margin: 10px;
}

.hidden {
    display: none;
}

.footer {
    text-align: center;
    color: #BBB;
    margin-top: auto;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: left;
    /* for some reason margin shorthand doesnt work */
    line-height: 1.5;
}

.copyright {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

a:link {
  color: #BBB;
}

a:visited {
  color: #999;
}

a:hover {
  color: #666;
}

a:active {
  color: #DDD;
}

/* dark mode toggle
.actual-footer {
    display: flex;
    flex-direction: row;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    -webkit-transition: background-color .4s;
    transition: background-color .4s;
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: whitesmoke;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
    background-color: #777;
}*/

@media (prefers-color-scheme: dark) {
    body {
        background-color: #2A2B2D;
        color: #DDD;
    }

    .wrapper {
        background-color: #1D1F20;
    }

    .range-input {
        background-color: #1D1F20;
        color: #DDD;
    }

    .range-submit {
        background-color: #1D1F20;
        color: #DDD;
        border-color: #BBB;
    }

    .footer, .hint {
        color: #777;
    }
}