@font-face {
  font-family: 'ElephantOutline';
  src: url("./../images/fonts/Elephant-Outline.otf") format('opentype');
}

#team-photo-container{
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8em;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

#join-cusail-header {
  color: var(--accent);
}

.application-container{
  text-align: center;
  width: 60%;
  max-width: 700px;
  margin: 3em auto 0 auto;
}

.application-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  margin-top: 1.5em;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  animation: statusPulse 1.6s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(101, 200, 208, 0.55);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 7px rgba(101, 200, 208, 0);
  }
}

.questions-section{
  width: 80%;
  margin: auto;
  text-align: left;
  margin-bottom: 1.5em;
  max-width: 1000px;
}

.questions-section h4{
  font-weight: normal;
  margin-bottom: 1em;
}

.question-container{
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  padding: 1.1em 0.25em;
  transition: border-color 0.3s ease;
}

.question-container h4{
  text-align: center;
}

.arrow{
  color: var(--text);
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg); /* makes it point down */
  margin-right: 2%;
}

.question-container:hover{
  border-color: var(--accent);
}

.question-container:hover .arrow{
  border-color: var(--accent);
}

.question-container.active span{
  transform: rotate(225deg);
}

.question-container p{
  margin: auto;
  margin-left: 0;
  margin-right: 1em;
  color: var(--text);
  font-weight: 700;
}

.answer-container{
  margin-bottom: .3em;
  margin-top: .3em;
  margin-left: 0;
  display: flex;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.answer-container p{
  padding-left: 0.25em;
  padding-right: 1em;
  padding-top: 0.5em;
  padding-bottom: 1em;
}

@media (max-width: 600px){

  #team-photo-container{
    width: 100%;
    margin-bottom: 2em;
  }

  .application-container{
    width: 90%;
  }

}
