body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

header,
nav {
    width: 100%;
    /*padding: 1rem;*/
    background: #4caf50;
    color: white;
    text-align: center;
}

.timer {
    font-size: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #4caf50;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.view-button {
    /*margin-top: 2rem;*/
    padding: 0.5rem 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.menu {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 100%;
    text-align: right;
}

table {
    width: 90%;
    border-collapse: collapse;
    margin: 2rem auto;
}

th,
td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: center;
}

th {
    background-color: #4caf50;
    color: white;
}

#overview {
    display: none;
}

@media(max-width: 600px) {
    .timer {
        font-size: 2rem;
    }
}

.actions {
    width: 100%;
    text-align: center;
}