@charset "UTF-8";
/* CSS Document */



.biotitle {color:#0095C7}

.teams {
  display: flex;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: auto;
  gap: 1rem;
  padding: 1rem 0;
}
.team-member {
  position: relative;
  width: 250px;
}
.img-clip {
  width: 200px;
  position: relative;
  margin: auto;
}
.pic {
  width: 100%;
  height: auto;
  border-radius: 10px 50px;
  border: 2px solid red;
  transition: all 0.2s ease-in-out;
}
.input-hack:focus + .member .pic {
  border-color: lightskyblue;
}
.spotlight:hover ~ .pic {
  border-color: lightskyblue;
  transform: scale(1.08);
  cursor: pointer;
}
.caption {
  background: lightgoldenrodyellow;
  border-radius: 10px;
  border: 2px solid #000;
  padding: 4px;
  margin: 5px;
  text-align: center;
}
.spotlight {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  opacity: 1;
}
.input-hack {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.close {
  position: absolute;
  right: 0;
  top: 0;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s ease;
}
.close:hover {
  background: #000;
  color: #fff;
}
.bio {
  position: absolute;
  left: -2000vw;
  top: -200vh;
}
.input-hack:checked + .member {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  overflow: auto;
  background: rgba(0, 0, 0, 1);
  opacity: 0;
  animation: fadein 1s ease forwards;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.input-hack:checked + .member .bio {
  position: relative;
  left: 0;
  top: 0;
}
.input-hack:checked + .member .img-clip {
  margin: 0 auto;
}
.input-hack:checked + .member .member-modal {
  max-width: 70%;
  margin: auto;
  padding: 1rem;
  background: #fff;
  display: flex;
  gap: 1rem;
}
.input-hack:checked + .member .img-clip {
  min-width: 200px;
}
.close {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}
.input-hack:checked + .member .close:before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: -1;
  pointer-events: initial;
}
.input-hack:checked + .member .close {
  pointer-events: initial;
  opacity: 1;
}
.input-hack:checked + .member .bio {
  display: flex;
  flex-direction: column;
}
.input-hack:checked + .member .modal-content {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
}
.footer-link {
  margin-top: auto;
}

@media screen and (max-width: 678px) {
  .input-hack:checked + .member .member-modal {
    flex-direction: column;
  }
}
