h1 {
  color: #fa824c;
  font-weight: bold;
  font-size: 5vh;
  margin-bottom: 0vh;
  text-shadow: 0.1vh 0.1vh 1vh rgba(74, 44, 1, 0.7);
}
.members-grid{
  max-width: 90vw;
  align-self: center;
}
.member-card h3{
  color: #fa824c;
  margin: 0vh;
}
.member-card p{
  color: #0a6696;
  margin: 0vh;
}
.members-grid img{
  border-radius: 18%;
  display: inline;
  width: 12vw;
  box-shadow: 0 0 35px rgba(0,0,0,0.5);
}
.lowerLine{
  margin-top: 2vh;
  display: flex;
  padding-left: 12%;
}
.upperLine{
  display: flex;
}
.member-card{
  float: left;
  width: 14vw;
  margin: 3vh 3vw 0vh 3vw;
  text-align: center;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  padding-top: var(--navbar-height);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-repeat: repeat;
  background-image: url('/Images/Web Generic/Textures/paperTexture.png');
  border-radius: 20px;
  padding: 4em 2em 4em 2em;
  width: 80%;
  height: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  mask-image: url("/Images/Web Generic/Mask/Carousel_Mask.png");
  mask-size: 100% 100%;
  mask-position: center;
  
}

#top-modal {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.modal-column{
  padding: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: space-evenly;
}

.modal-column.big{
  flex: 0 0 32%;
}

.modal-column.small{
  flex: 0 0 30%;
}

#member-details {
  flex: 0 0 auto;
  margin: 0;
}

#member-name {
  font-size: 3em;
  margin: 0;
  color: #fa824c;
  text-shadow: 0em 0em 0.3em rgba(74, 44, 1, 0.5);
}

#member-bio {
  padding: 1em 0em 1em 1em;
  font-size: 1em;
  font-weight: bolder;
}

#member-img {
  mask-image: url("/Images/Web Generic/Mask/Team_Photo_Mask.png");
  mask-size: 100% 100%;
  mask-position: center;
}

#member-experience-container {
  flex: 0 0 auto;
}

#member-skills-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

#member-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(3vw, 1fr));
  gap: 0.2vw;
  padding-top: 1vh;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

#member-skills-grid img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0.5vw;
  box-shadow: 0 0 0.5vh rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

#member-skills-grid img:hover {
  transform: scale(1.1);
}

#member-languages-container {
  flex: 0 0 auto;
}

#bottom-modal {
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#member-contactos{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#member-contactos a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#member-contactos img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-content h4{
  margin: 0;
  font-size: 2em;
  color: #0298e6;
  text-shadow: 0 0 0.3em rgba(1, 44, 74, 0.5);
}
.modal-content p{
  margin: 0;
  padding: 1em 0em 1em 0em;
  font-size: 1em;
}