* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  overflow-x: hidden;
  font-weight: 300;
}

h1,
h2,
h3,
.latin {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
}

.latin {
  font-style: italic;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
}

.translation {
  font-size: 1.25rem;
  max-width: 600px;
  font-weight: 300;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin: 0 auto;
  text-align: center;
}

.nav-button {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  width: 160px;
  text-align: left;
  opacity: 0.8;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
}

.nav-button:hover {
  opacity: 1;
  transform: translateX(10px);
}

.modal-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.member-name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.member-title {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.bio-text {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.bio-text p {
  margin-bottom: 1rem;
}

.bio-text ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.bio-text li {
  margin-bottom: 0.4rem;
}

.bio-section {
  margin-bottom: 1rem;
}

.bio-section:last-child {
  margin-bottom: 0;
}

.linkedin-link {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.linkedin-link:hover {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.8);
  transform: translateX(5px);
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

#background-video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  cursor: pointer;
}

.content {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2rem;
  pointer-events: none;
}

.content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.logo {
  position: relative;
  width: 200px;
  height: auto;
  margin-bottom: 0;
  z-index: 3;
  pointer-events: auto;
}

.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.nav-buttons {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 3;
  pointer-events: auto;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: rgba(0, 0, 0, 0.9);
  margin: 5vh auto;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.team-member {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.team-member:last-child {
  margin-bottom: 0;
}

.profile-image-container {
  position: relative;
  width: 200px;
}

.profile-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.bio-content {
  flex: 1;
}

@media (max-width: 768px) {
  .logo {
    width: 150px;
    margin-bottom: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.1rem;
  }

  .nav-buttons {
    flex-direction: column;
  }

  .modal-content {
    margin: 2vh auto;
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.75rem;
  }

  .modal-text {
    font-size: 1rem;
  }

  .team-member {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-image-container {
    width: 150px;
    margin: 0 auto;
  }

  .bio-text {
    font-size: 0.95rem;
  }

  .latin {
    font-size: 2rem;
  }

  .translation {
    font-size: 1rem;
  }
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  padding-bottom: 0.2rem;
}

.contact-link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
} 