body {
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    text-align: center;
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ff0000;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: rgb(255, 255, 255);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #18a735;
}

input:checked+.slider:before {
    content: "";
    transform: translateX(26px);
}





.container {
    display: flex;
}

.sidebar {
    width: 200px;
    background-color: #f1f1f1;
    padding: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    cursor: pointer;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #dcdcdc;
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar ul li:hover {
    background-color: #c0c0c0;
}

.content {
    flex-grow: 1;
    padding: 20px;
    display: none;
}

.content h2 {
    margin-top: 0;
}







.ampel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100px;
    width: 300px;
    background-color: #ebebeb;
    border-radius: 5px;
}

.button {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
}

.red {
    background-color: red;
}

.orange {
    background-color: orange;
}

.green {
    background-color: green;
}