.go_back {
  align-self: flex-start;
  padding: 2rem;
}

.go_back a {
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.go_back a:hover {
  opacity: 0.8;
}

.go_back a i {
  font-size: 2rem;
}

/* header {
  height: 10rem;
  padding: 2rem 2rem 0 2rem;

  color: var(--primary);

  display: flex;
  justify-content: center;
  align-items: center;
} */

main > * {
  color: var(--primary-text);
}

h1 {
  text-align: center;
}

section.team {
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  width: 100%;
}

section.team span {
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

section.team .buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

section.team .buttons > * {
  margin: 1rem;
}

section.team .buttons button {
  padding: 0.6rem 2rem;
  border: 1px solid var(--dark);
  background-color: var(--dark);
  border-radius: 30rem;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  color: var(--white);
  min-width: 9rem;
  opacity: 0.8;
}

section.team .buttons button:hover, section.team .buttons button.active {
  opacity: 1;
  transform: scale(1.05);
}

section.team > h1 {
  color: var(--primary);
}

section.team .people {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 60rem;
  margin: 2rem;
}

section.team .people .person {
  max-width: 15rem;
  width: 100%;
  margin: 1rem;
  padding: 2rem 1rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  cursor: pointer;

  border-radius: 0.8rem;
  min-height: 20rem;

  transition: 0.3s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  section.team .people .person:hover {
    transform: scale(1.05);
  }

  section.team .people .person:hover img {
    filter: grayscale(0);
  }
}

section.team .people .person > * {
  margin: 0.5rem  0;
}

section.team .people .person img {
  width: 9rem;
  filter: grayscale(1);
  transition: 0.3s ease-in-out;
}

section.team .people .person h1 {
  font-size: 1.25rem;
}

section.team .people .person span {
  font-size: 1rem;
  margin: 0;
  text-align: center;
}

section.team .people .person .social-media {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

section.team .people .person .social-media > a i {
  margin: 0 0.5rem;
  transition: color 0.2s ease-in-out;
}

section.team .people .person .social-media > a:hover i {
  color: var(--blue);
}

@media only screen and (max-width: 425px) {
  header {
    padding: 0 2rem;
  }

  section .buttons .button {
    max-width: initial;
    width: 100%;
  }

  section.team {
    padding: 0 2rem;
  }
}

#memberModal .modal {
  overflow: auto;
  max-height: 30rem;
}

#memberModal .modal .close {
  cursor: pointer;
  transition: 0.3s ease-in-out;
  align-self: flex-end;
  position: fixed;
}

#memberModal .modal .close:hover {
  opacity: 0.6;
}

#memberModal .modal-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

#memberModal .modal-container > * {
  margin: 1rem;
}

#memberModal .modal-container .profile {
  width: 100%;
  max-width: 15rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#memberModal .modal-container .profile > * {
  margin: 0.5rem 0;
}

#memberModal .modal-container .profile .picture {
  width: 100%;
}

#memberModal .modal-container .profile .picture img {
  width: 100%;
}

#memberModal .modal-container .profile .hobbies i {
  color: var(--primary);
}

#memberModal .modal-container .profile .feeling {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#memberModal .modal-container .profile .feeling > * {
  margin: 0.25rem 0;
  text-align: justify;
}

.modal-container .profile .feeling span:first-child {
  color: var(--primary);
}

#memberModal .modal-container .quote span {
  color: var(--primary);
  font-style: italic;
}

#memberModal .modal-container .details {
  width: 100%;
  max-width: 35rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#memberModal .modal-container .details > * {
  margin: 0.25rem 0;
}

#memberModal .modal-container .details .name {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}

#memberModal .modal-container .details .role {
  margin: 0;
}

#memberModal .modal-container .details .description {
  text-align: justify;
}

#memberModal .modal-container .details .description p {
  margin: 1rem 0;
}

@media only screen and (max-width: 425px) {
  .modal-container {
    align-items: center;
  }
}