.ekipa-section {
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  color: black;
}

.teamParagraphs {
  margin: 4rem;
  color: black;
  width: 50%;
}

.teamParagraphsHalf {
  width: 50ch;
}
.ekipa-section h1 {
  font-family: "EDO";
  margin-top: 50px;
  font-size: 3rem;
  margin-bottom: 0;
}

.ekipa__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: black;
  width: 100%;
  text-align: center;
}

.ekipa-section h2,
h3 {
  margin: 0;
}

.ekipa-section h3 {
  font-weight: 100;
}

.ekipa__title p {
  font-size: 1.15rem;
  margin: 20px;
  text-align: center;
  margin: 2rem;
}

.profile-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  width: 40%;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.profile-card div {
  width: 30rem;
}

.profile-card__image {
  background-image: url(../materijali/bukpozadina.webp);
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
}

.profile-card__content {
  background-color: rgb(255, 255, 255);
  box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.299);
  border-bottom-right-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  text-align: center;
  padding-bottom: 1.5rem;
  width: 100%;
}

.profile-card__circle {
  border-radius: 50%;
  height: 8rem;
  width: 8rem;
  position: absolute;
  top: -80px;
  background-color: #fff500;
  border: 3px solid #ffffff;
}

.card2 div {
  width: 11rem;
  margin: 0.5rem;
}

.circle2 {
  height: 100px;
  width: 100px;
  left: 20%;
  top: -50px;
}

.content2 h2 {
  margin-top: 1rem;
}

.content2 {
  height: auto;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .teamParagraphs {
    margin: 2.5rem;
    color: black;
    width: 75%;
  }
  .profile-cards {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
