.services {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.services a {
  display: block;
  width: 15%;
  min-width: 100px;
  text-decoration: none;
  color: white;
  text-align: center;
  font-size: 1.5rem;
  margin-left: 5%;
  margin-right: 5%;
}

.services svg{
  width: 100%;
  height: 100%;
  fill: white;
  border: 3px solid white;
  border-radius: 10px;
  padding: 5px;
}

.services a:nth-of-type(1) svg {
  background-color: #7d3c98;
}

.services a:nth-of-type(2) svg {
  background-color: #cb4335;
}

.services a:nth-of-type(3) svg {
  background-color: #2e86c1;
}

.services a:nth-of-type(4) svg {
  background-color: #138d75;
}

.services a:nth-of-type(5) svg {
  background-color: #28B463;
}

.services a:nth-of-type(6) svg {
  background-color: #d68910;
}

.services a:nth-of-type(7) svg {
  background-color: #ba4a00;
}

.services_intro {
  width: 50%;
  margin: 0 25% 20px;
  background-color: white;
  border-radius: 10px;

}

.services_intro > h1 {
  width: 100%;
  text-align: center;
  font-size: 2.2rem;
  margin: 0;
}

.services_intro > p {
  font-size: 1.2rem;
  padding: 0 15px;
}

@media screen and (max-width: 1440px)
{
    .services a {
    color: black;
    font-size: 1rem;
    font-weight: bold;
  }

  .services svg{
    border: 3px solid black;
  }

  .services_intro {
    width: 80%;
    margin: 0 10% 20px;
    background-color: white;
    border: 3px solid black;
    border-radius: 10px;

  }

}


@media screen and (max-width: 1024px)
{

  .services_intro > h1 {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    margin: 0;
  }

  .services_intro > p {
    font-size: 1rem;
    padding: 0rem 1rem;
  }

}

@media screen and (max-width: 982px)
{
  .services_intro {
    width: 100%;
    margin: 0 1.5% 20px;
    background-color: white;
    border: 3px solid black;
    border-radius: 10px;

  }
  .services a {
  width: 28%;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  margin-bottom: 10px;
  }


}

@media screen and (max-width: 400px)
{
  .services_intro {
    margin-top: 10px;
  }
  .services a {
  width: 45%;
  }


}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */
.services {
  flex:0 1 1000%;
}


}