html, body {
  margin: 0;
  padding: 0;
  font-family: Nunito, sans-serif;
}

body{
  /* background-image: url('/images/mainBg.jpg'); */
  background-size: cover;
}

h1{
  font-size: 3em;
  text-align: center;
  font-weight: 700;
  margin: 20px;
}

h2 {
  text-align: center;
}

#container{
  width: 90%;
  margin: 5%;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

.taskBox{
  padding: 30px 20px;
  width: 30%;
  border: 1px solid #bdcc00;
  border-radius: 10px;
  
  font-size: 2em;
  text-align: center;
  font-weight: 700;
  background-size: cover;
  margin: auto;
  color: #41b1f1;
}

.taskBox:hover{
  background-color: #00459431;
}

.taskBox:nth-of-type(1) .taskBox-picture{
  background-image: url(/images/04_crop.jpeg);
  padding-top: 33%;
}
.taskBox:nth-of-type(2) .taskBox-picture{
  background-image: url(/images/10.jpeg);
  padding-top: 75%;
}
.taskBox:nth-of-type(3) .taskBox-picture{
  background-image: url(/images/13_crop.jpeg);
  padding-top: 33%;
}

.taskBox-picture{
  width: 100%;
  height: 0;
  background-size: contain  ;
}

.taskBox-text{
  font-weight: normal;
  color: #004594;
  margin-top: 10px;
  font-size: 24px;
}

@media(max-width: 1500px){
  #container{
    flex-direction: column;
    align-items: center;
  }
  .taskBox{
    width: 50%;
    margin: 10px;
  }
}

@media(max-width: 900px){
  h1{
    font-size: 32px;
  }
  h2{
    font-size: 24px;
  }
  .taskBox-text{
    font-size: 18px;
  }
  .taskBox{
    width: 80%;
  }
}