/* CSS Document */
/* Desktop-Groesse ab 1.024 Pixel --> damit werden auch einige Tablets abgebildet */
body {
  background-color:#ffffff;
  }
  
h1 {
  color: rgb(0,0,0);
  }

Datensatz {
  font-size: 14px;
  }
  
.description {
  border: thick rgb(0,14,0) dotted
}

#description {
  cursor: hand;
}


.gauge {
  width: 100%;
  max-width: 90%;
  font-family: 'Roboto', sans-sarif;
  font-size: 80px;
  color: #004033;
  margin: auto auto auto auto
}

.gauge--text--small { 
  font-size: 16px;
}

.gauge__body {
  width: 100%;
  height: 0;
  padding-bottom: 50%;
  background: rgb(0,14,0); 
  position: relative;
  border-top-left-radius: 100% 200%;
  border-top-right-radius: 100% 200%;
  overflow: hidden; 
}

.gauge__fill {
  position: absolute;
  top: 100%;
  left: 0;
  width: inherit;
  height: 100%;
  background: #009578;
  transform-origin: center top;
  transform: rotate(0.25turn);
  transition: transform 0.2s ease-out;
}

.gauge__cover {
  width: 75%;
  height: 150%;
  background: white;
  position: absolute;
  border-radius: 50%;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  
  /* Text */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 25%;
  box-sizing: border-box;
}

.trafficlight {
    max-width: 500px;
    margin: auto;
}

.css-ampel {
    display: inline-block;
    width: 150px;
    height: 420px;
    border-radius: 6px;
    background-color: black;
    position: relative;
}

    .css-ampel:before,
    .css-ampel:after,
    .css-ampel span {
        content: "";
        position: absolute;
        left: 15px;
        top: 10px;
        width: 120px;
        height: 120px;
        background-color: dimgray;
        border-radius: 140px;
    }

    .css-ampel:before {
        top: 15px;
    }

    .css-ampel:after {
        top: 150px;
    }

    .css-ampel span {
        top: 285px;
    }

.ampelrot:before {
    background-color: red;
    box-shadow: 0 0 20px red;
}

.ampelgelb:after {
    background-color: yellow;
    box-shadow: 0 0 20px yellow;
}

.ampelgruen span {
    background-color: limegreen;
    box-shadow: 0 0 20px limegreen;
}

.ampelfehler:before {
    background-color: red;
    box-shadow: 0 0 20px red;
}

.ampelfehler:after {
    background-color: yellow;
    box-shadow: 0 0 20px yellow;
}

.ampelfehler span {
    background-color: limegreen;
    box-shadow: 0 0 20px limegreen;
}