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;
}

.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;
}

.status-lampje-text{
  padding-top: 5%;
}

.title{
  font-size: 250%;
  margin-bottom: 2.5vh;
  font-family: "grenadine-mvb", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.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;
  width: 150rem;
}

.backgroundbutton {
  padding: 2rem;
  background-color: #959191;
  border-radius: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 2rem;
}

.insidebutton {
  width: 22%;
  background-color: #574e4e;
  border-radius: 1.5rem;
  margin: 1rem;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insidebutton h1 {
  font-size: 3rem;
  margin: 0;
}

.insidebutton h2 {
  font-size: 1.5rem;
  margin: 0;
}

.backgroundbutton2 {
  padding: 2rem;
  background-color: #959191;
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  margin: 2rem;
  height: 77.5vh;
}

.sigma {
  width: 100%;
  height: 75vh;
  border: 0.5rem solid #574e4e;
  background-color: white;
  margin-top: 1rem;
}

#title--lampknoppen{
  font-size: 3rem;
}

.button-red-green {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 5% ;
}

.button1{
  background-color: #0BB410;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: none;
}

.button2{
  background-color: firebrick;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: none;
}

@media (max-width: 1900px) {
  .backgroundbutton2 {
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  main {
    margin-left: 20vw;
  }

  .insidebutton {
    width: 90%; 
  }
}