html {
  height: 100%;
}

body {
  margin: 0;
  font-size: 62.5%;
  min-height: 100%;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
}

.buttons_sidebar {
  background-color: #0BB410;
  width: 10vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.5vh;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  position: fixed;
  left: 0;
  top: 0;
  padding: 10px;
}

.title{
  font-size: 250%;
  margin-bottom: 2.5vh;
  font-family: "grenadine-mvb", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.buttons_sidebar a {
  display: block;
  background-color: #5a5252;
  color: white;
  text-decoration: none;
  padding: 1vh;
  margin: 1vh 0;
  border-radius: 20px;
  width: 80%;
  text-align: center;
  font-size: 1.5rem;
}

.buttons_sidebar a:hover {
  background-color: #453d3d;
}

.buttons_sidebar img {
  width: 7.5vw;
  height: auto;
  max-height: 15vh;
  border-radius: 50%;
  padding: 15px;
}

#refresh-timer{
  font-size: 350%;
  font-weight: bold;
  color: white;
  margin-top: -10%;
  margin-bottom: 10%;
}

.Lamp {
  margin-bottom: auto;
}

.Contact {
  max-width: 14vh;
  bottom: 1vh;
  position: absolute;
  margin: auto;
}

main {
  margin-left: 15vw;
  padding-right: 5vw;
  flex: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.backgroundbutton {
  padding: 1.5rem;
  height: 25%;
  background-color: #959191;
  border-radius: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 1rem;
}

.insidebutton1 {
  padding: 1rem;
  width: 100%;
  height: 80%;
  background-color: #574e4e;
  border-radius: 1.5rem;
  margin: 0.3rem;
  text-align: center;
  color: white;
}

#title--lamp {
  font-size: clamp(2rem, 5vw, 7.5rem);
}

.backgroundbutton2 {
  padding: 2rem;

  background-color: #959191;
  border-radius: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 4rem;
}


.insidebutton2 {
  padding: 1rem;
  width: 50%;
  background-color: #574e4e;
  border-radius: 1.5rem;
  margin-left: 0.3rem;
  min-height: 80%;
}

.insidebutton3 {
  padding: 1rem;
  width: 50%;
  background-color: #574e4e;
  border-radius: 1.5rem;
  margin-left: 0.3rem;
  min-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#title--lampknoppen {
  font-size: 5rem;
  justify-items: center;
  text-align: center;
  margin-top: 1rem;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

#title--lampstatus{
  font-size: 5rem;
  justify-items: center;
  text-align: center;
  color: white;
  margin-top: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.status-lampje-text{
  color: green;
  font-size: 7rem;
  justify-items: center;
  text-align: center;
  color: white;
  margin-top: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.button1{
  background-color: #0BB410;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: none;
}

.button2{
  background-color: firebrick;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: none;
}

#aan-uit{
  display: flex;
  justify-content: center;
  gap: 10%;
}

@media (max-width: 768px) {
  .buttons_sidebar {
      width: 15vw;
  }

  .buttons_sidebar a {
      font-size: 0.8rem;
  }

  .buttons_sidebar img {
      width: 10vw;
  }

  .insidebutton {
      width: 40%;
  }

  main {
      margin-left: 15vw;
      padding-right: 15vw;
  }
}

@media (max-width: 480px) {
  .buttons_sidebar {
      width: 20vw;
  }

  .buttons_sidebar a {
      font-size: 0.7rem;
  }

  .buttons_sidebar img {
      width: 12vw;
  }

  .insidebutton {
      width: 80%;
  }

  main {
      margin-left: 20vw;
      padding-right: 20vw;
  }
}