html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background-color: rgb(24, 24, 24);
    color: white;
    font-size: 17px;
}
iframe {
    border-radius: 5px;
    width: 480px;
    height: 270px;
}
h1 {
    margin: 0;
}
button {
    background-color: rgb(65, 65, 65);
    color: white;
    border-radius: 5px;
    border: 1px solid rgb(165, 165, 165);
    font-size: 17px;
}
button:hover {
    cursor: pointer;
    background-color: rgb(102, 102, 102);
}

#logindiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
#logoutbutton {
    position: absolute;
    top: 3px;
    right: 3px;
}
#shadowbox {
    position: absolute;
    height: 100%;
    width: 100%;

    background-color: gray;
    opacity: 0.5;
    visibility: hidden;
}
#lightbox {
    position: absolute;
    height: auto;
    left: 250px;
    right: 250px;
    top: 100px;
    bottom: 100px;
    width: auto;

    overflow-y: scroll;

    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    opacity: 1;
    background-color: rgb(36, 36, 36);
    visibility: hidden;
}
#content {
    width: 95%;
    height: 100%;
    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
#configurebuttondiv {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 10px;
}
#configurebuttondiv button {
    margin-left: 3px;
    margin-right: 3px;
}
#lbtimerlist {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
#lbtimerlist li{
    display: flex;
    justify-content: space-around;
    padding: 2px;

    border-bottom: 1px solid white;

}
#lbtimerlist li span{
    width: 25%;
    padding: 1px;
    text-align: center;
}
#lbtimerlist li input{
    padding: 1px;
    width: 25%;
}

#nav {
    display: block;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    border-bottom: 2px solid rgb(65, 65, 65);
}


#container {
    background-color: rgb(36, 36, 36);
    height: 90%;
    width: 70%;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
#presetdiv {
    width: 30%;

}
#presetdiv span {
    display: block;
    width: 100%;
    text-align: center;
}


#timerlistcontainer {
    width: 36%;
    border: 3px solid rgb(65, 65, 65);
    border-radius: 15px;
    background-color: rgb(65, 65, 65);

    display: flex;
    flex-direction: column;
    align-items: center;

    max-height: 40%;
    overflow-y: scroll;
    overflow-x: hidden;
}
#timerlist {
    margin: 0;
    padding: 3px;
    list-style-type: square;

    width: 95%;
}
#timerlist li {
    width: 100%;
    padding: 5px;

    border-radius: 5px;
    background-color: rgb(65, 65, 65);
    
    margin-bottom: 1px;

    display: flex;
    justify-content: space-between;
}
#timerlist li:hover {
    background-color: rgb(36, 36, 36);
}
#controlbuttons {
    background-color: rgb(65, 65, 65);
    border-radius: 10px;
    padding: 10px;
}

#presetlist {
    margin: 0;
    padding: 10px;
    list-style-type: none;
    background-color: rgb(65, 65, 65);
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
}
#presetlist li {
    display: inline-block;
}


#footer {
    display: block;
    border-top: 2px solid rgb(65, 65, 65);
}

.checkbox {
    width: 20px !important;
}
.headline {
    border-bottom: 2px solid white !important;
}
.smallbutton {
    width: 25px;
}

@media only screen and (max-width: 600px) {
    iframe{
        width: 240px;
        height: 135px;
    }
    #container {
        width: 100%;
        margin: 0;
    }
    #timerlistcontainer {
        width: 100%;
    }
    #presetdiv {
        width: 100%;
    }
    #lightbox {
        left: 25px;
        right: 25px;
        top: 30px;
        bottom: 10px;
    }
}