/* Algemene stijlen */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #007BFF;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header a {
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

header a:hover {
  color: #ffdd57;
}

/* Main layout */
main {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 50px;
  padding: 0 20px;
}

/* Meter-container */
.meter-container {
  text-align: center;
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.controls {
  margin-top: 15px;
}

/* De cirkel wordt met transform -90° gedraaid 
   zodat hij “van bovenaf” begint */
.progress-ring {
  transform: rotate(-90deg);
}

/* De cirkel in de SVG */
.progress-ring__circle {
  transition: 0.35s stroke-dashoffset;
  transform-origin: 50% 50%;
}

/* dB-waarde in het midden van de cirkel */
.db-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  pointer-events: none;
  color: #007BFF;
}

/* Resultaat-container */
.result-container {
  text-align: center;
}

.result {
  background-color: #e9ecef;
  width: 270px;
  height: 200px;
  margin: 0 auto 10px;
  line-height: 200px;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Waarschuwing */
.warning {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  position: fixed;
  background: #fff3cd;
  padding: 10px;
  border: 1px solid #ffeeba;
  border-radius: 5px;
}

/* Final result */
.final-result {
  font-weight: bold;
  font-size: 16px;
  color: #007BFF;
}

/* Footer */
footer {
  background-color: #007BFF;
  text-align: center;
  padding: 20px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  color: #fff;
}

footer p {
  margin: 0;
  font-size: 14px;
}

.about-us {
  margin: 0;
  font-size: 24px;
  color: #333;
  max-width: 700px;
  text-align: center;
  background-color: #fff;
  margin: 50px auto 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}