body {
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevent scrolling */
}

.navbar {
    padding: 10px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-container {
    flex: 1;
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: calc(75% - 40px); /* Subtract the height of the navbar */
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.timers {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
}

.buttons {
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
    position: relative;   
    margin-bottom: 60px; /*apple does the same bloody thing, let hope this doesn't f up other devices RAGE*/
}

.android .buttons {
    margin-bottom: 50px; /* cos android doesn't include the nav bar when reporting size */
}

.button-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

button {
    position: relative;
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 5px;
    flex: 1;
}

button .tick {
    display: none;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    color: #fff;
}

button.ticked .tick {
    display: inline;
}

button:hover {
    background-color: #0056b3;
}

.red {
    background-color: #FF0000 !important;
}
