body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.container_Titel {
    width: 380px;
    font-size: 2.2em;
    line-height: 1.3;
    color: #eb1f27;
    background-color: #fff;
    margin: 10px;
}

.container {
    text-align: center;
    background-color: #F2F2F2;

    height: 500px;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
}

form {
    margin-top: 20px;
}

.switch-container {
    display: flex;
    align-items: center;
    justify-content: left;
    padding-top: 50px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 10px;
    
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;    
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    width: 100px;
    border: 1px solid #000000;
}

.slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 1px;
   /*  bottom: 4px; */
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    border: 1px solid #000000;
}

input:checked+.slider {
    background-color: #eb1f27;
}

input:focus+.slider {
    box-shadow: 0 0 1px #eb1f27;
}

input:checked+.slider:before {
    -webkit-transform: translateX(65px);
    -ms-transform: translateX(65px);
    transform: translateX(65px);
}

p {
    margin: 0;
}

#lightStatus {
    margin-right: 30px;
    margin-left: 10px;
    font-size: 25px;
}
.submit-button {
    background-color: #D8D8D8;
    color: #000000;

    font-size: 18px;
    height: 50px;
    width: 314px;
    border: solid 1px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 200px;
    transition: background-color 0.3s;
}

.submit-button:hover,
.submit-button:focus {
    background-color: #eb1f27;
    color: #ffffff;
    font: bold;
}
.dimmer-container {
    /* margin-top: 30px; */
    display: flex;
    align-items: center;
    justify-content: left;
    padding-top: 50px;
}
.dimmer-container label {
    margin-right: 30px;
    margin-left: 10px;
    font-size: 25px;
}
.dimmer-container input[type=range]:focus {
  outline: none;
}

.dimmer-container input[type=range] {
	appearance: none;
	width: 90%;
	border-radius: 15px;
	height: 30px;
	border: 1px solid #000000;
	background-color: #D8D8D8; 
  margin-right: 15px;
}
.dimmer-container.dimmer-containerinput[type='range']::-webkit-slider-thumb {
	appearance: none;
	background-color: #fff;
	border: 2px solid #000000;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	cursor: pointer;
}
.dimmer-container input[type='range']::-webkit-slider-thumb {
	appearance: none;
	background-color: #fff;
	border: 2px solid #000000;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	cursor: pointer;
}
.dimmer-container input[type=range]::-moz-range-thumb {
  background: #fff;
  border: 2px solid #000000;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  cursor: pointer;
}
.dimmer-container input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #eb1f27;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type="range"]::-moz-range-track::before {
    content: attr(value) '%';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
input[type="range"]::-ms-track::before {
    content: attr(value) '%';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
input[type="range"]::-webkit-slider-runnable-track::before {
    content: attr(value) '%';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
