@font-face { 
	font-family: timeburner;
	src: url("timeburnerbold-pegr-webfont.woff");
}

body {
    font-family: timeburner;
    color: #FFFFFF;
    background-image: url("space.jpg");
    background-size: auto 812px;
}

h1 {
    grid-area: title;
    text-align: center;
}
.aantal-mensen {
    grid-area: mensen;
}
.bar-chart-water {
    grid-area: bar;
}
.bar-chart-gas {
    grid-area: gas;
}
.pie-chart {
    grid-area: pie;
}
.line-chart {
    grid-area: line;
}

.witte-achtergrond {
    background-color: rgba(255, 255, 255, 0.1); /* rgba om opacity in te stellen */
    padding: 20px;
    border-radius: 15px;
    margin: 0 20px 20px 20px;
}
h2 {
    margin: 0;
}

span {
    font-size: 0.75em;
}

button {
    font-family: timeburner;
    font-size: 20px;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5); /* rgba om opacity in te stellen */
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}
#opslaan {
    display: block;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
}

#waterbalk {
    position: relative;
    background-color: #000000;
    border: 2px solid #FFFFFF;
    margin: 0;
    overflow: hidden;
}
    
#balk {
    background-color: #88DFFF;
    width: 0px;
    height: 20px;
}

@media only screen and (min-width: 834px) and (max-width: 1365px) {
    body {
        display: grid;
        grid-template-columns: 1fr 1fr;
      
        grid-template-areas: 
              "title title"
              "mensen line"
              "bar line"
              "pie gas";    
    }
}

@media only screen and (min-width: 1366px) and (max-width: 1919px) {
    body {
        display: grid;
        grid-template-columns: 1fr 1fr;
      
        grid-template-areas: 
              "title title"
              "mensen bar"
              "pie line"
              "gas gas";    
    }
}

@media only screen and (min-width: 1920px) {
    body {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
      
        grid-template-areas: 
              "title title title"
              "mensen gas line"
              "bar gas line"
              "pie gas line";    
    }
}