  .team-center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

@font-face {
    font-family: 'Inter'; 
    src: url('https://static.igem.wiki/teams/4359/wiki/index/inter-variablefont-slnt-wght.ttf'); 
}


  /* --------------------------- */

  body{
	  background-color: #fdfff0;
  }
  .team-background-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 0;
  }

  .team-background-image {
    width: 100vw;
    height: 100vh;
  }


  .team-team {
    position: relative;
    padding: 5rem 0 10rem 0;
    z-index: 2;
  }

  .team-heading {
    font-size: 8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    z-index: 2;
    animation-name: Team_Heading;
    animation-duration: 4s;
    animation-iteration-count: 1;
    /* ----------ANIMATION------------- */
}
  .team-heading:hover {
    animation-name: Team_Heading;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
  }


  .team-cards-wrapper-wrapper {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100vw;

  }
  .team-cards-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    margin-top: 5rem;
    width: 100vw;
  }


  .team-card {
    font-family: 'Inter' !important;
    position: relative;
    perspective: 150rem;

  }

  .team-card-image {
    width: 100%;
    max-width:360px;
    border-radius: 1rem 1rem 0 0;
  }

  ul {
    list-style: none !important;
    list-style-type: none !important;
  }
  .team-front-side {
    list-style-type: none !important;
    list-style: none !important;
    text-align: center;
    border: 1rem #777;
    border-radius: 1rem 1rem 0rem 0rem;
    position: relative;
    z-index: 10;
    opacity: 0.9;
    transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s;
  }

  .team-change > .team-front-side {
    transform: translateZ(-1rem) translateX(1rem);
    box-shadow: 0 2rem 4rem #777;
    opacity: 0.5;
    z-index: 0;
  }

  .team-tour-name {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: 30%;
    right: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 1rem #000;
  }

  .team-card-list {
    width: 80%;
    margin: auto;
    padding: 2rem 0 3rem 0;
  }

  .team-card-list-item {
    font-size: 1.5rem;
    font-weight: 500;
    color: #777;
    margin: 0.5rem 0;
  }

  .team-card-list-item:hover {
    animation-name: Hover_Over_Text;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }


  .team-card-list-item-desc {
    font-size: 1.05rem;
    font-weight: 350;
    font-style: italic;
    color: #777;
    margin: 0.5rem 0;
  }

  .team-card-list-item-desc:hover {
    animation-name: Hover_Over_Text;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }
  .team-back-side {
    position: absolute;
    top: 0;
    background-color: #212529;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 2rem 4rem #777;
    flex-direction: column;
    transform: translateZ(-1rem) translateX(1rem);
    opacity: 0.5;
    transition: opacity 0.4s, transform 0.4s, box-shadow 0.4s;
  }

  .team-change > .team-back-side {
    transform: translateZ(0) translateX(0);
    box-shadow: 0 0.5rem 2rem #aaa;
    opacity: 0.9;
  }

  .team-description {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white-color);
  }

  .team-card-button {
    color: #eee;
    background-color: #eee;
    border: none;
    font-size: 2.5rem;
    padding: 1rem 2rem;
    letter-spacing: 0.2rem;
    border-radius: 5rem;
    cursor: pointer;
  }

  .team-navigation-button {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--light-grey-color);
    border-radius: 0.3rem;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    cursor: pointer;
  }

  .team-navigation-button:hover {
    animation-name: Hover_Over_Nav_Button;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }

  .team-front-side {
  max-width: 20vw;
  list-style-type: none;
  }

  .team-back-side {
  max-width: 20vw;
  list-style-type: none;
  }
  /* End of Team page */

  /* ----------------------KEYFRAMES------------------ */

  /* @keyframes Team_Heading {
    0%   {text-shadow: 0.1rem 0.1rem 0.5rem var(--white-color);}
    50%  {text-shadow: 0.3rem 0.3rem 1rem var(--white-color);}
    100% {text-shadow: 0.1rem 0.1rem 0.5rem var(--white-color);}
  } */

  @keyframes Team_Heading {
    0%   {text-shadow: 0rem 0rem 0rem var(--white-color);}
    50%  {text-shadow: 0rem 0rem 1rem var(--white-color);}
    100% {text-shadow: 0rem 0rem 0rem var(--white-color);}
  }

  @keyframes Hover_Over_Text {
    0%   {color: var(--light-grey-color);}
    100% {color: var(--black-colour);}
  }

  @keyframes Hover_Over_Nav_Button {
    0%   {color: var(--light-grey-color);
        background-color: rgba(255, 255, 255, 0.8);}
    100% {color: var(--black-colour);
        background-color: rgba(184, 170, 170, 0.8);}
  }

  @keyframes Hover_Over_Image {
    0%   {opacity: 1;}
    100% {opacity: 0.9;}
  } 

