body,
h1,
p {
  margin: 0;
  padding: 0;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
}

header {
  background-color: rgb(79, 104, 137); 
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 40px;
}

footer {
  background-color: rgb(79, 104, 137); 
  padding: 25px;
  color: white;
  font-size: 8pt;
}

.title {
  background-color: rgb(127, 170, 196) ;
  color: white; text-align: center; padding: 15px;
}

.wrapper {
  display: flex;
  flex-grow: 1;
  min-height: calc(100vh - 150px);
  padding: 30px;
  gap: 30px;
}

.svg-wrapper {
  gap: 50px;
  display: flex;
  flex-direction: column;
}

.article {
  display: flex;
  flex-flow: column;
  gap: 25px;
}

.article p{
  line-height: 1.4em;
}

.quote{
  margin-left: 20px;
}

.map-wrapper, .scatterplot-wrapper, .radar-wrapper, .bar-wrapper {
  padding: 20px 0;
}

#legend { 
  display: inline-flex; 
  flex-direction: row;
  gap: 48px;
  padding: 14px 32px 28px;
  background: rgb(181, 181, 181);
  border-radius: 12px;
  align-self: center;
}

#size-min, #color-min{
  display: flex;
  justify-content: space-between;
}

#legend-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.legend-title{
  font-weight: bold;
}


.legend-swatch { 
  width: 25px; 
  height: 20px; 
  border-radius: 2px; 
  flex-direction: row;
  display: inline-flex;
}

#size-legend-svg {
  background-color: rgb(216, 216, 216);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.space {
  color: white
}

.scatter-container, .radar-container, #map-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px;
}

#radar-svg, #scatter-svg, #map-svg {
  padding: 40px 40px;
  color: black;
  background-color: #dbdbdb;  
  border-radius: 10px;
}

#radar-svg{
  padding: 0;
}

@media screen and (max-width: 1200px) {
  #map-svg {
    height: 280px;
  }

  #scatter-svg, #radar-svg{
    scale: 70%;
  }

  .scatter-container{
    margin: 0;
  }

  .article {
    width: 500px;;
  }

  .title{
    width: auto;
  }
}