h2 { 
  text-align: center;
  margin-top: 0;
}

.coronaInfo {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 1em;
  align-items: center;
  margin: 2em 0;
}

.coronaInfo__body {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.coronaInfo__body--gem {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}

.coronaInfo__body a {
  text-decoration: none;
}

.coronaInfo__trafficLight {
  margin: 0em 1em 0em 0em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-basis: 20%;
  flex-grow: 1;
  flex-shrink: 1;
  max-width: 6em;
}

/*------- Body of the traffic light --------*/

.trafficLight__main {
  background-color: #fffffe;
  height: 8em;
  width: 3em;
  border: solid 3px #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  padding-bottom: 1em;
}

.trafficLight__main--gem {
  background-color: #fffffe;
  height: 3em;
  width: 3em;
  border: solid 3px #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  padding-bottom: 1em;
}

/*------- Lights --------*/

.trafficLight__lamp {
  height: 1.5em;
  width: 1.5em;
  border-radius: 100%;
  border: solid 2px #000000;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

/*------- Light colors --------*/

.trafficLight__color--redBg {
  background-color: #cf0000;
  box-shadow: 0.1em 0.1em 1em #cf0000;
}

.trafficLight__color--orangeBg {
  background-color: #f7a916;
  box-shadow: 0.1em 0.1em 1em #f7a916;
}

.trafficLight__color--yellowBg {
  background-color: #ebdc10;
  box-shadow: 0.1em 0.1em 1em #ebdc10;
}

.trafficLight__color--yellowgreenBg {
  background-color: #b7c53c;
  box-shadow: 0.1em 0.1em 1em #b7c53c;
}

.trafficLight__color--greenBg {
  background-color: #22ba29;
  box-shadow: 0.1em 0.1em 1em #22ba29;
}

.trafficLight__color--error {
  background-color: #3d403d;
  box-shadow: 0.1em 0.1em 1em #3d403d;
}

/*------- Light shadow --------*/

.trafficLight__shadow {
  height: 0.5em;
  width: 0.5em;
  border: solid 2px #fffffe;
  border-top-left-radius: 50px 50px;
  border-bottom: none;
  border-right: none;
  margin: 0.2em;
}

/*------ Left/Right decoration -------*/

.trafficLight__container {
  height: 8em;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.trafficLight__container--gem {
  height: 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

.trafficLight__decoration {
  background-color: #fffffe;
  height: 1em;
  width: 1em;
  border: solid 3px #000000;
}

.trafficLight__decoration--left {
  border-bottom-left-radius: 50px;
  border-right: none;
}

.trafficLight__decoration--right {
  border-bottom-right-radius: 50px;
  border-left: none;
}

/*------ Front light decoration -------*/

.trafficLight__lampContainer {
  height: 0.6em;
  padding: 0.25em 0.15em;
  border: solid 3px #000000;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom: none;
}

/*--------- Info text ----------*/

.coronaInfo__text {
  line-height: 1.8em;
  margin: 0em 0em 0em 1em;
}

.coronaInfo__text--gem {
  margin-top: 1vh;
}

.coronaInfo__text--bold {
  font-weight: bold;
}

/*--------- Footer ---------*/

.coronaInfo__footer {
	margin: 1em 0;
}

.coronaInfo__footerQuelle {
  text-align: center;
  font-size: 0.6em;
}

.coronaInfo__footerInfo {
  font-size: 0.8em;
  text-align: center;
}

/*------ Tooltip -------*/

a.trafficLight__tooltip {
  font-size: 0.8em;
  position: relative;
  text-decoration: none;
  height: 1.5em;
  width: 1em;
  display: block;
}
a.trafficLight__tooltip:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 20%;
  background: #ffed94;
  padding: 5px 15px;
  color: black;
  -webkit-border-radius: 10px;
  -moz-border-radius : 10px;
  border-radius : 10px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}
a.trafficLight__tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid #ffed94;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
  opacity: 0;
  left: -2%;
  bottom: 90%;
  transform: rotate(29deg);
}
a.trafficLight__tooltip:hover:after {
  bottom: 100%;
}
a.trafficLight__tooltip:hover:before {
  bottom: 70%;
}
a.trafficLight__tooltip:hover:after, a:hover:before {
  opacity: 1;
}

a.trafficLight__tooltip:focus:after {
  bottom: 100%;
}
a.trafficLight__tooltip:focus:before {
  bottom: 70%;
}
a.trafficLight__tooltip:focus:after, a:focus:before {
  opacity: 1;
}

