* {
  user-select: none;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0 !important;
  background-color: white;
  color: #112A5C;
}

* {
  scrollbar-width: auto;
  scrollbar-color: #002244 silver;
}

*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: silver;
}

*::-webkit-scrollbar-thumb {
  background-color: #112A5C;
}

.p {
  font-size: 22px;
  color: #112A5C;
  font-family: "Montserrat", sans-serif;
}

.a {
  text-align: center;
  max-width: 800px;
}

.t {
  font-size: 70px;
  color: #112A5C;
  text-align: center;

  font-family: "Montserrat", sans-serif;
  margin-top: 146px;
}

.s {
  display: block;
  text-align: left;
  margin: 15px auto;
}


h1 {
  display: block;
  font-size: 4rem;
  list-style-type: none;
  padding: .2em;
  margin: 0;
  font-family: mon;
  text-align: center;
  font-weight: 900;
  border-bottom: #002244 solid 5px;
}

.team-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
}

.team-grid.top-row {
 align-items: flex-end;
  gap: 240px !important;
  margin-bottom: 80px;
}

.team-grid.bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 180px;

}

.team-member {
  width: 240px;
  max-width: 100%;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;


  box-sizing: border-box;
}

.team-photo-wrapper {
  width: 220px;
  height: 220px;
  overflow: hidden;
  margin: 0 auto 10px;
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.team-member h3,
.team-member p {
  text-align: center;
  margin: 0;
  font-family: mon;
  color: #06294E;
}

.team-member h3 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: #112A5C solid 1px;
  padding-bottom: 10px;
}

.team-member p {
  font-size: 22px;
  color: #112A5C;
  font-weight: 900;
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 5px;
}

.team-member h3,
.team-member p {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


@media screen and (max-width: 768px) {
  body {
    align-items: flex-start;
    padding: 20px;
  }


  .dropdown_menu ul {
    list-style: none;
    padding: 0;
  }

  .team-grid {
    flex-direction: column;
    gap: 10px;
  }

  .team-member {
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
  height: auto;
  margin: 0 auto 20px;

  }

  .team-photo-wrapper {
    width: 150px;
    height: 150px;
  }

  .team-category h2 {
    font-size: 1.8rem;
  }

  .team-member h3 {
    font-size: 21px;
  }

  .team-member p {
    font-size: 18px;
  }
  .t{
    font-size: 24px;

  }

  .dropdown_menu ul {
    display: block;
  }

  .team-photo-wrapper img{
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
    -o-transform: scale(1.4);
}
}