@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Share+Tech+Mono&display=swap');

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

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Share Tech Mono', monospace;
  margin: 0;
  padding: 0;
  color: #00ff9d;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000 url('../static/Background.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.content-wrapper {
  position: relative;
  min-height: 100vh;
  padding: 5vh 5vw;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.image-container {
  margin: 10px auto;
  position: relative;
  max-width: 800px;
  z-index: 1;
}

.top-section {
  width: 100%;
}

.hero-background-image {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(0, 255, 157, 0.3), 0 0 20px rgba(0, 255, 157, 0.3);
  border: 2px solid #00ff9d;
}

.hero-content {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  max-width: 800px;
  width: 90%;
  text-align: center;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3em;
  margin: 0;
  color: #00ff9d;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
  z-index: 2;
  position: relative;
}

.description {
  font-size: 1.2em;
  margin: 20px 0;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 800px;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
  text-align: center;
  margin: 10px auto;
  margin-top: 10vh;
  margin-bottom: 10vh;
  box-sizing: border-box;
}

.event {
  border-bottom: 1px solid #00ff9d;
  padding: 20px 0;
  transition: transform 0.3s ease;
  text-align: left;
}

.event:hover {
  transform: translateX(10px);
}

.event:last-child {
  border: none;
}

.event h2 {
  margin: 0;
  font-size: 1.4em;
  font-family: 'Orbitron', sans-serif;
  color: #00ff9d;
}

.event p {
  margin: 10px 0;
  color: #b3ffdb;
}

a {
  color: #00ff9d;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px #00ff9d;
}

.social-section {
  margin-top: 40px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.social-links a {
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  width: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 20px 0 40px;
  justify-items: center;
}

.team-member {
  text-align: center;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 2px solid #00ff9d;
  background-size: cover;
  background-position: center;
}

.profile-img.mystery {
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-img.mystery::after {
  content: "?";
  font-size: 40px;
  color: #00ff9d;
}

.team-member small {
  display: block;
  font-size: 0.8em;
  color: #b3ffdb;
  margin-top: 5px;
}

.partner-orgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
  justify-items: center;
}

.org {
  text-align: center;
}

.org-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-img {
    width: 100px;
    height: 100px;
  }
}

@media (orientation: portrait) {
  
  .image-container.portrait-mode .hero-content {
    position: static;
    bottom: auto;
    margin: 15px auto;
    width: 95%;
    left: auto; /* overrides the 50% */
    transform: none; /* removes the translateX */
  }
  
  h1 {
    font-size: 1.8em;
  }
  
  .description {
    font-size: 0.9em;
    margin: 10px 0;
  }
}
