@font-face {
    font-family: 'BankGothicLt';
    src: url('../fonts/bank-gothic-light-bt.eot');
    src: url('../fonts/bank-gothic-light-bt.woff') format('woff'),
    url('../fonts/bank-gothic-light-bt.ttf') format('truetype'),
    url('../fonts/bank-gothic-light-bt.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: BankGothicLt;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    transition: color 0.5s, background-color 0.5s;
}

body {
    color: black;
    background-color: white;
    min-width: 500px;
}

body.dark {
    color: #eee;
    background-color: black;
}

.content-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#header {
    text-align: center;
}

#countdown {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-width: 500px;
}

.column {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.value {
    font-size: 50px;
}

.value,
.description {
    text-align: center;
}

.display-mode {
    display: flex;
    justify-content: right;
    padding: 10px;

}

.switch {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch input {
    position: relative;
    margin: 0;
    height: 16px;
    width: 32px;
    border-radius: 8px;
    appearance: none;
    background-color: black;
    transition: background-color 0.5s;
}

.switch input::before {
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    content: '';
    background-color: #eee;
    height: 12px;
    width: 12px;
    border-radius: 6px;
    transition: left 0.5s, background-color 0.5s;
}

.switch input:checked {
    background-color: #eee;
}

.switch input:checked::before {
    left: 18px;
    background-color: black;
}

.switch label {
    margin-left: 5px;
}