.margin-0{
	margin-left:-10px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {display:none;}

.logout-btn{
  color: white;
  text-decoration: none;
}

.container .buttons {
  display: flex;
  flex-direction: column;
}
.container a {
  padding: 15px 20px;
  font: 13px 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  margin: 1em;
}
.container a:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.20), 0 6px 20px 0 rgba(0, 0, 0, 0.20);
}
@media (min-width: 417px) and (max-width: 567px) {
  .container a {
    padding: 15px 30px;
    font: 16px 'Montserrat', sans-serif;
 }
}
@media (min-width: 568px) {
  .container a {
    padding: 15px 50px;
    font: 20px 'Montserrat', sans-serif;
 }
}

.logo{
  width:150px;
}

.box1 {
  padding: 0 10px 0 10px;
  position: relative;
  margin-top: 50%;
}

.testet {
  position:absolute;
  top:0;
  color:white;
  font-size: .7em;
  text-transform: uppercase;
}

.text-under {
  color:white !important;
  z-index: 100 !important;
  margin: 0 !important;
  font-size: .7em;
}

.links {
  background-color: #212227;
  padding: 20px 3px 0 2px;
  width: 24.5%;
  height: 130px;
}

.midden {
  background-color: #212227;
  padding: 20px 3px 0 3px;
  width: 49.5%;
  height: 130px;
}

.rechts {
  background-color: #212227;
  padding: 20px 2px 0 3px;
  width: 24.5%;
  height: 130px;
}

.logout2{
  height:25px !important;
  padding-left:130px;
}

.button-82-pushable {
  position: relative;
  border: none;
  padding-bottom: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border-radius: 2px;
  font-size: 1.6rem;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  color: #212326;
  background: #23C48E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translateY(-4px);
  transition:
    transform
    600ms
    cubic-bezier(.3, .7, .4, 1);
}

.nav_kleur{
  background-color: #23C48E;
  height: 50px; 
}

.margin1 {
  margin-top:5px;
}

.button-82-pushable:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}

.button-82-pushable:hover {
  transform: translateY(-6px);
  /* background-color: #c42323; */

  transition:
    transform
    250ms
    cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active {
  transform: translateY(-2px);
  transition: transform 34ms;
  background-color: #D3425A;
}

.button-82-pushable label:before {
  content: "OFF";
}
.button-82-pushable:active label:before {
  content: "ON";
  color:white;
}


.button-82-pushable:focus:not(:focus-visible) {
  outline: none;
}

.button1 {
  color: white;
  background-color: #2d7eff;
  border: 5px solid transparent;
  transition: 0.2s ease;
  border-radius: 50px;
}
.button1:hover {
  color: #2d7eff;
  background-color: white;
  transform: scale(1.1);
  border: 5px solid #2d7eff;
}
.button2 {
  color: black;
  background-color: #10ffb4;
  transition: 0.2s ease-in-out;
  border-left: 3px transparent solid;
  border-right: 3px transparent solid;
}
.button2:hover {
  color: #10ffb4;
  background-color: black;
  border-left: #10ffb4 3px solid;
  border-right: #10ffb4 3px solid;
}
.button3 {
  color: white;
  background: linear-gradient(to right, #8041f2, #3095ed);
  border-radius: 8px;
  transition: 0.2s ease-in-out;
  width:200px;
}
.button3:hover {
  border-radius: 30px;
}

.button4 {
  background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
  background-size: 200% 100%;
  background-position: left bottom;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  transition: all 0.5s ease;
  animation: background-animation 2s linear infinite;
}

.button4:hover {
  background-position: right bottom;
  transform: scale(1.1);
  transition: all 0.5s ease;
}

@keyframes background-animation {
  0% { background-position: left bottom; }
  100% { background-position: right bottom; }
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Active state for lights button */
.lights_switch.active {
  background-color: #23C48E;  /* Matches your existing green color theme */
}

.lights_switch:not(.active) {
  background-color: #D3425A;  /* Matches your existing red color */
}

/* Label text for lights button */
.lights_switch.active label:before {
  content: "AAN";
  color: white;
}

.lights_switch:not(.active) label:before {
  content: "UIT";
  color: white;
}

/* Make sure the lights button container matches other device containers */
.box1 .col-4 {
  background-color: #212227;
  padding: 20px 2px 0 3px;
  height: 130px;
}

.settings-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.settings-btn:hover {
  opacity: 0.8;
}

.settings-item {
  border-bottom: 1px solid #333;
}

/* You already have switch styling, but make sure these are included */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.settings2 {
  height: 25px;
}