/*4.) Once you're here, scroll where there is a box called members*/

/*fonts*/
@font-face {
  font-family: 'Findel';
  src: url('fonts/FindelDisplay.ttf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Lekton';
  src: url('fonts/Lekton/Lekton-Regular.ttf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Lekton_Bold';
  src: url('fonts/Lekton/Lekton-Bold.ttf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Crayon';
  src: url('fonts/crayon.ttf') format('opentype');
  font-display: swap;
}

/*html body and content*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background-image: url('assets/img/background/bg.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
  background-attachment: scroll;
  font-family: Arial, sans-serif;
}

h1 {
	font-family: 'Lekton_Bold', sans-serif;
	font-size: 20px;
	text-align: center;
	margin: 10px;
	color: white;
	margin-top: 0px;
	padding-top: 15px;
}

.content {
  position: relative;
  min-height: 100vh;
  padding: 40px;
  color: white;
  padding-bottom: 200px;
}

.fact-text strong {
  font-family: 'Lekton_Bold', sans-serif;
}


/*nav bar*/
.navbardesign {
		width: 100%;
		display: flex;
		justify-content: center;
		background: transparent;
		padding: 10px 0;
	}
	
	.navbar-inner {
		background-color: rgba(0, 0, 0, 0.8);
		display: flex;
		justify-content: center;
		padding: 0px 30px;
		border-radius: 50px;
		align-items: center;
	}
	
	.navbardesign-item {
		display: inline-block;
		font-family: 'Findel', sans serif;
		font-weight: bold;
		color: #ddb3ff;
		text-align: center;
		padding: 10px;
		padding-left: 15px;
		padding-right: 15px; 
		text-decoration: none;
		font-size: 30px;
	}
	
	.navbardesign-item:hover {
		background-color: rgba(86, 0, 128, 0.6);
	}
	
	.circle-logo {
		margin: 5px 10px;
		width: 100px;
	}
	
	.simple-dropdown { 
		position: relative;
    z-index: 9999;
	}
	
	.simple-dropdown-content {
		display: none;
		position: absolute;
		text-align: left;
	}
	
	.simple-dropdown:hover .simple-dropdown-content{ 
		display: block; 
		background-color: rgba(0, 0, 0, 0.8);
	}
	
	.dropdown-item {
		display: block;
		font-family: 'Findel', sans serif;
		font-weight: bold;
		color: #ddb3ff;
		text-align: left;
		padding: 10px;
		padding-left: 15px;
		padding-right: 15px; 
		text-decoration: none;
		font-size: 20px;
	}
	
	.dropdown-item:hover {
		background-color: rgba(86, 0, 128, 0.6);
	}

/* Footer */
	.footer {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
      background-color: black;
      margin-top: 60px;
      padding-left: 20px;
    }

    .footer-icons {
      display: flex;
      gap: 20px;
    }

    .footer-icons a {
      color: white;
      font-size: 24px;
      text-decoration: none;
    }

    .footer-icons a:hover {
      color: #ddb3ff; /* hover purple */
    }

/*meet the members header*/
.section-title {
  font-family: 'Findel', sans-serif;
  font-size: 120px;
  color: white;
  text-align: center;
  margin-top: 2px;
  margin-bottom: 50px;
  letter-spacing: 2px;
  text-shadow:
    2px 2px 0 #ac00ff,
    4px 4px 0 #8900cc,
    6px 6px 0 #660099;
  opacity: 0;
  transform: translateY(40px);
  animation: popUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.section-subtitle {
  font-family: 'Findel', sans-serif;
  font-size: 60px;
  color: white;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-shadow:
    1px 1px #ac00ff,
    2px 2px #8900cc;
  opacity: 0;
  transform: translateY(30px);
  animation: popUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

.members-subtitle {
  font-family: 'Findel', sans-serif;
  font-size: 60px;
  color: white;
  text-align:center;
  margin-left: 10px;
  margin-top: 800px;
  letter-spacing: 1.5px;
  text-shadow:
    1px 1px #ac00ff,
    2px 2px #8900cc;
  opacity: 0;
  transform: translateY(30px);
  animation: popUp 0.8s ease-out forwards;
  animation-delay: 0.6s; 
}






/* fun-fact line and arrows */
.fun-fact-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: 'Lekton', sans-serif;
  font-size: 60px; 
  color: #eba8f7;
  margin-top: -20px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(40px);
  animation: popUp 0.8s ease-in-out 0.3s forwards;
}

.arrow-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


.wiggle-arrow {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: center;
  animation: wing-open-close 4s steps(2) infinite;
}


.wiggle-arrow.right {
  animation: wing-open-close-right 4s steps(2) infinite;
}


@keyframes wing-open-close {
  0%, 100% { transform: rotate(-30deg) scale(1.1); }
  50%      { transform: rotate(0deg) scale(1); }  
}


@keyframes wing-open-close-right {
  0%, 100% { transform: rotate(30deg) scale(1.1); }
  50%      { transform: rotate(0deg) scale(1); }
}

/* Member section */
.member-section {
  position: relative;
}

#executive-cards {
  position: relative;
  height: 600px; /* adjust depending on your tallest exec card */
}

#member-cards {
  position: relative;
  height: 1650px; /* tall enough for Lily (last card at 1320px + card height) */
}


.member-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


.member-card.visible {
  opacity: 1;
  transform: translateY(0);
}


.member-card.initial-load {
  animation: popUp 0.8s ease-out forwards;
}

.member-card a {
  color: #9f55b9; 
  text-decoration: none;
  text-shadow: 0 0 5px #9f55b9, 0 0 10px #9f55b9;
}

.member-card a:hover {
  color: #ddb3ff;
  text-shadow: 0 0 5px #ddb3ff, 0 0 10px #ddb3ff, 0 0 20px #ddb3ff;
}



.card-wrapper {
  position: absolute;
  text-align: center;
}





/* -------------------------
   |                       |
   |        members        |
   |                       |
   _________________________ */

   /*5.) Insert the card name and play around with the position. Done, yay!!!*/
   
.kat-card {
  position: absolute;
  top: 40px;
  left: 60px;
}

.bella-card{
  position: absolute;
  top: 40px;
  left: 545px;
}

.ramyaka-card{
  position: absolute;
  top: 40px;
  left: 1010px;
}

.nicole-card{
  position: absolute;
  top: 680px;
  left: 60px;
}

.lillian-card{
  position: absolute;
  top: 680px;
  left: 545px;
}

.jasmin-card{
  position: absolute;
  top: 680px;
  left: 1010px;
}

.marina-card{
  position: absolute;
  top: 40px;
  left: 60px;
}

.evan-card{
  position: absolute;
  top: 40px;
  left: 545px;
}

.paul_c-card{
  position: absolute;
  top: 40px;
  left: 1010px;
}

.paul_s-card{
  position: absolute;
  top: 680px;
  left: 60px;
}

.rita-card{
  position: absolute;
  top: 680px;
  left: 545px;
}

.ramji-card{
  position: absolute;
  top: 680px;
  left: 1010px;
}

.sean-card{
  position: absolute;
  top: 1320px;
  left: 60px;
}

.trisha-card{
  position: absolute;
  top: 1320px;
  left: 545px;
}

.lily-card{
  position: absolute;
  top: 1320px;
  left: 1010px;
}











.card {
  width: 300px;
  height: 360px;
  perspective: 1000px;
  margin: 0 auto;
  position: relative;
}

.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  position: relative;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  white-space: pre-line;
  box-sizing: border-box;  
}

.card-back {
  position: absolute; 
  transform: rotateY(180deg);
  background-color: #1e0033;
  color: white;
  text-shadow: 0 0 3px #ddb3ff, 0 0 4px #ddb3ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Lekton', sans-serif;
  font-size: 1.11rem;
  padding: 10px;
  text-align: left;
  overflow: hidden; 
}

.fact-text {
  opacity: 0;
  width: 90%;         
  max-width: 250px;   
  text-align: left;   
  margin: 0 auto;     
  transform: translateY(30px);
  white-space: pre-line;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fact-text.show {
  animation: popUp 0.8s ease-out forwards;
  animation-delay: 0.5s; 
}

.music-note {
  position: absolute;
  font-size: 3rem;
  color: #9f55b9;  
  text-shadow:
    0 0 5px #c98eff,
    0 0 10px #c98eff,
    0 0 20px #a05dd9,
    0 0 30px #a05dd9,
    0 0 40px #9f55b9;
  animation: floatUp 3s ease-in forwards;
  opacity: 0;
  user-select: none;
  pointer-events: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(20px) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-60px) scale(1);
    opacity: 0;
  }
}



.card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
}



.member-name {
  font-family: 'Findel', sans-serif !important;
  color: #eba8f7;
  font-size: 1.35rem;
  margin-top: 50px;
  text-shadow: 1px 1px 0 #ac00ff;
  text-transform: uppercase;
}

.member-meta {
  font-family: 'Lekton', sans-serif !important;
  color: #ddb3ff;
  font-size: 1rem;
  margin-top: 7px;
  text-shadow: 0 0 3px #ddb3ff, 0 0 4px #ddb3ff;
}

.member-line {
  width: 275px;
  display: block;
  margin: 10px auto 0 auto;
  margin-top: -1px;
  transform-origin: center center;
  transform: none;
  opacity: 1;
}


/*play navigation*/
.player-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}


.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}


.play-toggle,
.nav-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.play-toggle {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -20px auto 0 auto;
  position: relative;
  transition: transform 0.3s ease;
  outline: none;
  top: -20px;
}

.play-toggle:hover {
  transform: scale(2) rotate(-10deg);
}

.play-toggle:focus-visible {
  outline: 2px solid #cd98f9;
  outline-offset: 4px;
}

.play-toggle.playing {
  filter: drop-shadow(0 0 15px #ddaaff);
}

.play-toggle img,
.play-button {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.play-toggle img.pause-icon {
  width: 40px;  
  height: 40px;
}


.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.nav-arrow:hover {
  transform: scale(1.5) rotate(-5deg);
}
.nav-arrow:active {
  transform: scale(1.6) rotate(-5deg);
}

.nav-arrow img {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.nav-arrow.back-arrow {
  margin-right: 4px; 
  position: relative;
  top: -30px; 
}
.nav-arrow.forward-arrow {
  margin-left: 4px;
  position: relative;
  top: -30px;
}
