.custom-checkbox {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 20px;
  }
  
  .custom-checkbox span {
    display: block;
    margin-left: 20px;
    padding-left: 7px;
    line-height: 20px;
    text-align: left;
  }
  
  .custom-checkbox span::before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    background: #fdfdfd;
    border: 1px solid #e4e5e7;
  }
  
  .custom-checkbox span::after {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    font-size: 18px;
    color: #0087b7;
    line-height: 20px;
    text-align: center;
  }
  
  .custom-checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: -1;
    position: absolute;
  }
  
  .custom-checkbox input[type="checkbox"]:checked + span::after {
    font-family: "FontAwesome";
    content: "X";
    background:#d44803;
    color:#fff;
  }



.timer label, .timer input[type="checkbox"] {
    display: inline-block; /* oder 'flex' falls Flexbox verwendet wird */
    vertical-align: middle; /* Zentrieren des Texts relativ zur Checkbox */
    margin-right: 10px; /* Abstand zwischen Checkbox und Text */
}

label {
    display: inline-block; /* Stellt sicher, dass Labels nicht als Blockelemente gerendert werden */
    margin-bottom: 5px; /* Bestehenden Abstand beibehalten */
    width: auto; /* Ermöglicht es dem Label, so viel Platz wie nötig einzunehmen */
    overflow: visible; /* Stellt sicher, dass lange Texte nicht abgeschnitten werden */
}


#wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    text-align: center;
    width: 100%;
    border: 1px solid black;
    overflow: hidden;
}

.dropdown-container {
    display: flex;
    justify-content: start;
    gap: 10px; /* Abstand zwischen den Dropdowns */
}

.timer input[type="checkbox"] {
    width: auto; /* Setzt die Breite auf den Standardwert zurück */
    height: auto; /* Setzt die Höhe auf den Standardwert zurück */
    margin: 0.5em 0; /* Angepasster Abstand */
    font-size: 1em; /* Standard-Schriftgröße */
    transform: scale(1); /* Standard-Skalierung */
    font-family: 'Jost', sans-serif;
}





@media (min-width: 1px) {
    .timer {
        width: 100%;
        float: left;
        border: 1px solid red;
    }
}
@media (min-width: 1000px) {
    .timer {
        width: 22em;
        float: left;
        border: 1px solid red;
    }
}

.jobtable input
{
    height: 90%;
}

.jobtable textarea
{
    height: 90%;
    width: 90%;
}

.timer h4 {
    font-size: 44px;
    margin: 0px;
    text-align: center;
    font-family: 'Jost', sans-serif;
}

.timer p {
    font-size: 10px;
    font-family: 'Jost', sans-serif;
}

.startstopbutton {
    display: flex;
    justify-content: center;

}

.startstopbutton button{
    background-color: #008800;
    width: 90%;
    height: 3em;
    margin: 2% 5% 4% 5%;
    color: white;
    font-size: 4em;
    font-family: 'Jost', sans-serif;
    font-weight: 700;

}

body {
    background-color: black;
    color: white;
}

section {
    padding: 60px 0;
    overflow: hidden;
}

.timer textarea {
    width: 90%;
    height: 3em;
    margin: 2% 5% 4% 5%;
    box-sizing: border-box;
    font-size: 36px;
    font-family: 'Jost', sans-serif;
}

.key input {
    width: 90%;
    height: 2em;
    margin: 2% 5% 4% 5%;
    box-sizing: border-box;
    font-size: 36px;
    font-family: 'Jost', sans-serif;
}

.timer input {
    width: 90%;
    height: 2em;
    margin: 2% 5% 4% 5%;
    box-sizing: border-box;
    font-size: 36px;
    font-family: 'Jost', sans-serif;
}

.timer select {
    width: 90%;
    height: 5em;
    margin: 2% 5% 4% 5%;

}

table {
    width: 100%;
    border-spacing: 0.1rem;
}


table th {
  text-align: center;
  font-size: 18px;
  font-family: 'Jost', sans-serif;
  background: lightgrey;
}

table tr {
  text-align: left;
  font-size: 16px;
  font-family: 'Jost', sans-serif;
}

table td,tr {
  border: 1px solid #999;
  padding: 0.5rem;
}



tr:nth-child(even) {background: darkgrey}
tr:nth-child(odd) {background: grey}