* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
}

.heading-primaryy {
  color: #e62026;
  font-size: 4rem;
}

.heading-secondaryy {
  font-size: 3.6rem;
}

.heading-tertiaryy {
}

.padding--right-left {
  padding-left: 12rem;
  padding-right: 12rem;
}

.container-m {
  padding-bottom: 2.4rem;
  background-color: #1c1c1c;
}

.heading-teams-container {
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url(../images/background-meeting.jpg);
  background-repeat: no-repeat;
  background-position: 100% 65%;
  background-size: cover;
  background-blend-mode: darken;
  height: 37rem;
}

.heading-teams-text .heading-primaryy {
  text-align: center;
  padding-top: 10rem;
  color: white;
}

.sub-heading {
  color: white;
  font-size: 1.6rem;
  margin-top: 1.5rem;
  padding-bottom: 10rem;
  text-align: center;
  text-align: align;
  font-weight: 500;
}

.home-link:link,
.home-link:visited {
  color: white;
  text-decoration: none;
  font-style: inherit;
  transition: all 0.3s ease;
}

.home-link:hover,
.home-link:hover {
  color: #e62026;
  transform: scale(1.1);
}

/* ************************* */
/* *****Cards-Section******* */
/* ************************* */

.teams-images-container {
  /* box-shadow: 0 -10px 1rem 2.5rem rgb(28, 28, 28); */
}

.teams-heading {
  padding-bottom: 0.5rem;
  margin-top: 4rem;
  color: #fff;
  border-bottom: #333333;
  display: inline-block;
  position: relative;
}

.teams-heading::before {
  content: "";
  position: absolute;
  margin-left: 12rem;
  border-radius: 20px;
  bottom: -0.5rem;
  left: 0;
  width: 14rem;
  height: 2.5px;
  background: linear-gradient(to right, #1c1c1c, #e62026 90%);
}

/* *********************** */
/* ******Teams-Cards****** */
/* *********************** */

.teams-images-grid {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 1rem;
  row-gap: 4rem;
}

.team-card {
  justify-self: center;
  box-shadow: 0 0.7rem 0.7rem 0.3rem rgba(0, 0, 0, 0.2);
  border-radius: 11px;
  overflow: hidden;
  transition: all 0.3s;
}

.card-image {
  width: 22.5rem;
}

.team-card .card-link,
.person-name,
.card-content p {
  text-decoration: none;
  color: inherit;
}

.team-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1.28rem 0.9rem 0.3rem rgba(150, 150, 150, 0.2);
}

.team-image {
  height: 25rem;
  padding-bottom: 2.5rem;
}

.person-name {
  padding-bottom: 1.8rem;
  padding-left: 1.5rem;
  color: white;
  font-weight: 700;
  text-decoration: none;
  word-wrap: break-word;
  white-space: normal;
}

.person-name:hover {
  color: #e62026;
}

.card-content p {
  padding-left: 1.5rem;
  font-size: 1.2rem;
  color: #777;
  font-weight: 600;
  padding-bottom: 2.4rem;
}

.card-container {
  background-color: #ddd;
}
