body {
    background-color: #333;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    width: 100%;
}

p {
    margin: 0;
    padding: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
}

.clock-container {
    display: none;
}

@media (min-width: 640px) {
    .grid-container {
        grid-template-columns: 1fr 1fr;
    }
    .clock-container {
        display: flex;
        align-items: flex-start;
    }
}

/* Information container for turns */

.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border: 2px solid #ccc;
    background-color: #eee;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
}

.container::after {
    content: "";
    clear: both;
    display: table;
}

.container span {
    font-size: 20px;
    margin-right: 15px;
}

/* Container with countdown for upcoming turn */

.next {
    grid-template-rows: 1fr 3fr;
    grid-template-areas: 'titel riders' 'countdown riders';
}

.next-titel {
    grid-area: titel;
}

.next-riders {
    grid-area: riders;
}

.countdown {
    grid-area: countdown;
    align-self: flex-start;
    height: 100%;
}

.countdown p {
    font-size: 60px;
}

.riders {
    display: flex;
    flex-direction: column;
}

/* Button used to open the chat form - fixed at the bottom of the page */

.open-button {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

/* The popup chat - hidden by default */

.options-popup {
    display: none;
    border: 3px solid #f1f1f1;
    z-index: 9;
}

/* Add styles to the form container */

.options-container {
    padding: 10px;
    background-color: white;
}

/* When the textarea gets focus, do something */

.options-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/send button */

.options-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 50%;
    margin: 10px 0px;
    opacity: 0.8;
}

/* Add a red background color to the cancel button */

.options-container .cancel {
    background-color: lightcoral;
    margin-top: 0px;
    margin-right: 24%;
    width: 24%;
}

/* Add some hover effects to buttons */

.options-container .btn:hover, .open-button:hover {
    opacity: 1;
}

/* List of Riders in Options */

/* Remove margins and padding from the list */

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Style the list items */

ul li {
    cursor: pointer;
    position: relative;
    padding: 8px 8px 8px 0px;
    transition: 0.2s;
    background: #eee;
    /* make the list items unselectable */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Set all odd list items to a different color (zebra-stripes) */

ul li:nth-child(odd) {
    background: #fff;
}

/* Darker background-color on hover */

ul li:hover {
    background: #ddd;
}

/* Style the close button */

.close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 16px 12px 16px;
}

.close:hover {
    background-color: #f44336;
    color: white;
}

/* Clear floats after the header */

.header:after {
    content: "";
    display: table;
    clear: both;
}

/* Style the input */

input[type=text] {
    margin: 0;
    padding: 10px;
    float: left;
}

select {
    width: 50px;
    padding: 5px;
    margin: 0;
    margin-right: 5px;
}

input[type=time] {
    width: 75px;
}

.group-options {
    display: flex;
    flex-direction: column;
}

/* Style the "Add" button */

.addBtn {
    padding: 10px;
    background: #d9d9d9;
    color: #555;
    float: left;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
}

.addBtn:hover {
    background-color: #bbb;
}

.rider-name {
    font-weight: bold;
}