.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  backdrop-filter: blur(10px);
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
#close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 0;
  z-index: 100000;
  top: 0;
}

#close:hover,
#close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  z-index: 99999;
}

#modalData {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.modalMember {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-60px);
}

.modalPhoto {
  width: 230px;
  height: 200px;
}

.modalPhoto img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: 0 30%;
}

.modalTitle {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 8px;
  padding-top: 20px;
}

.modalTitle h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0;
}
.modalTitle span {
  font-size: 14px;
}
.modalDescription {
  padding-top: 20px;
  width: 80%;
}
.modalDescription span {
  font-size: 14px;
}

.modalSocial {
  padding-top: 20px;
  width: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.modalSocial a img {
  height: 15px;
  opacity: 40%;
}
.openModal {
  width: 15px;
  height: 15px;
  background-image: url("../images/icons/arrow-white.svg");
  display: block;
  background-position-y: center;
  background-repeat: no-repeat;
}
.onHover:hover .collapsedArrow .openModal {
  transform: translateY(-10px);
}
.portfolio_company_logo_modal {
  filter: invert(1);
  margin: 10px auto;
  margin-top: 20px;
  max-height: 55px;
  filter: invert(0.5);
  max-height: 50px;
}

#modalData {
  justify-content: space-around !important;
}
