@charset "UTF-8";


body {
  background-color: #ffffff;
}

@font-face {
  font-family: Cinzel;
  src: url(https://static.igem.wiki/teams/4836/wiki/fonts/cinzel-variablefont-wght.ttf);
}

@font-face {
  font-family: Lilitaone;
  src: url(https://static.igem.wiki/teams/4836/wiki/fonts/lilitaone-regular.ttf);
}

@font-face {
  font-family: Samarkan;
  src: url(https://static.igem.wiki/teams/4836/wiki/fonts/samarn.ttf);
}

/*Adapted from iGEM Peshawar 2016 iGEM Wiki Overrides, used with their Codekit build system*/
/*Variable for the height of the required iGEM Navbar. Use for sizing your own navbar.
/* Override iGEM wiki settings, removing everything but the top navbar. */
#sideMenu,
#top_title {
  display: none;
}

#content {
  /*Make content behave like one would expect a body to */
  width: 100vw;
  padding: 0px;
  border: none;
  color: black;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  position: relative;
}

#globalWrapper {
  font-size: inherit;
  padding-bottom: 0;
}

#top_menu_under {
  /*Remove spacer between iGEM navbar and content */
  height: 0px;
}

ul {
  list-style-image: none;
  /* removes the iGEM wiki bullets */
  padding: 0;
  margin: 0;
}

#mw-content-text > p {
  /*make <p> containing <head> tags invisible */
  width: 0px;
  height: 0px;
}



/*MathJax CSS hack to remove annoyning right-side spans (from 2016 Team Peshwar)*/
.MathJax nobr > span.math > span {
  border-left-width: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  border: 0px !important;
  overflow: visible;
}


/* Card CSS */

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

.card {
  position: relative;
  width: 300px;
  height: 200px;
  background: linear-gradient(90deg, #4200ff 0%, #ff914d 100% );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card img {
  fill: #333;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover .card__content {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
}

.card__title {
  margin: 0;
  font-size: 24px !important;
  color: #333 !important;
  font-weight: 700;
}

.card__description {
  margin: 10px 0 0;
  font-size: 14px !important;
  color: #777 !important;
  line-height: 1.4;
}

.card:hover img {
  scale: 0;
  transform: rotate(-45deg);
}
