section.team {
  background-size: 110%;
  background-repeat: no-repeat;
  background-position: center top;
}

section.team .container {
  max-width: 100%;
  width: 1240px;
}

.team-title {
  margin: 150px auto 80px;
  color: #020014;
}

.team-title>* {
  font-family: Inter;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.team-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 150px 0;
}

.team-item {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 15px;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0px 3px 12px 0px rgba(2, 0, 20, 0.15);
  background-color: #fff;
  height: 451px;
}

.team-name {
  margin: 0;
  color: #020014;
  font-size: 20px;
}

.team-photo {
  margin: -15px -30px;
}

.team-photo img {
  height: 280px;
  object-fit: contain;
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 15px;
}

.team-position {
  line-height: 1.2;
}

@media only screen and (max-width: 1200px) {
  .team-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .team-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 480px) {
  .team-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}