/* Team */
.team-container {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: auto;
  list-style: none;
  padding: 0;
  margin: 5px auto;
}

@media only screen and (max-width: 1500px) {
  .team-container {
      grid-template-columns: calc(100% / 3) calc(100% / 3) calc(100% / 3);
  }
}

@media only screen and (max-width: 1200px) {
  .team-container {
      grid-template-columns: calc(100% / 2) calc(100% / 2);
  }
}

@media only screen and (max-width: 700px) {
  .team-container {
      grid-template-columns: 100%;
  }
}

.team-member {
  margin: 15px auto;
  text-shadow: 0 2px 2px var(--secondary-color);
  text-rendering: optimizeLegibility;
}

.team-member h1 {
  font-size: 2rem;
  margin: 15px auto 5px auto;
  font-family: 'Lobster', cursive;
}

.team-member h2 {
  font-size: 1.5rem;
  margin: 5px auto;
  font-family: 'Roboto', sans-serif;
}

.team-member-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--primary-text-color);
  text-align: center;
}

.team {
  font-size: 1.75rem;
  font-family: 'Roboto', sans-serif;
  text-shadow: 2px 2px 1px var(--secondary-color);;
  margin: 10px auto;
}

.team-container {
display: flex;
}

@media only screen and (max-width: 1200px) {
  .about-text {
      padding: 0 10%;
  }
}

@media only screen and (max-width: 700px) {
  .about-text {
      padding: 0 5%;
  }

.team-container {
  flex-direction: column;
}
}