* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fa;
    color: #222;
    line-height: 1.6;
    padding: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #2a4d69;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2176ae;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #143d59;
    text-decoration: underline;
}

button, input[type="submit"] {
    background: #2176ae;
    color: #fff;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}
button:hover, input[type="submit"]:hover {
    background: #143d59;
}

input, textarea, select {
    padding: 0.5em;
    border: 1px solid #cfd8dc;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 400px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
}


.thingList{
    border:#2176ae solid 1px;
    padding: 1rem;
}

.thingList a {
    color:black;
    font-size: 1rem;
}

.clock, .stopwatch {
    display:block;
    margin:auto;
    width: 80vw;
    text-align:center;
}

.time {
    font-size: 5rem;
    font-weight: bold;
    color: #2a4d69;
}

.clock > .date {
    font-size: 2rem;
    color: #2176ae;
}

.navselected {
    background-color: #061722;
    color: white;
}


.modal {
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.4);
}
.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    position: relative;
}
.close {
    position: absolute;
    right: 16px;
    top: 8px;
    font-size: 28px;
}

.biggerbutton {
    padding: 1em 2em;
    font-size: 1.2em;
}

.stopwatch > .time {
    font-size: 6rem;
}

#stopwatchlaps {
    max-height:10rem;
    overflow-y:scroll;
}

.centertext {
    text-align: center;
}

.countdown-number {
    font-size: 4rem;
    font-weight: bold;
    color: #2a4d69;
}

#timer-setup > input[type="number"] {
    width: 100px;
}

.smallfield {
    width: 100px;
}