* {
    padding: 0;
    margin: 0;
    font-family: inherit;
}

/* text */

body {
  text-align: justify;
}

body .container-fluid {
  padding: 0 !important;
}

body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #094074 !important; }
.bg-hero { background-image: url("https://static.igem.wiki/teams/4130/wiki/homepage-graphics/wiki-header-common.png"); }

#navbarSupportedContent {
  font-size: 1.2rem;
  text-decoration-color: white;
}
.navbar-brand {
  font-size: 1.2rem;
}

table {
  text-align: left;
}



h1, h2, h3, h4, h5, h6 {
  text-align: left;
}

.figure-caption {
  font-size: 2 rem;
  color: #121212;
  text-align: center;
}

ol, ul {
  text-align: left;
}

.card-title {
  display: flex;
  justify-content: center;
}

.carousel-caption {
  color: black;
}


/* image */

img {
  max-width: 100%;
  height: auto;
}

aside {
  text-align: left;
}

.table{
   display: block !important;
   overflow-x: auto !important;
   width: 100% !important;
 }

 #teamPhoto img {
   max-width: 100%;
   height: auto;
 }

.figure-img2 {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 50%;
}



/* header */


#tagline h2 {
    color: black; 
  font-family: "arial";
  font-size: 3em;
  margin: 10px 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  animation: animtext 4s steps(80, end); 
  transition: all cubic-bezier(0.1, 0.7, 1.0, 0.1);
  position: absolute;
  z-index: 1000;
}
@keyframes animtext { 
  from {
      width: 0;
     transition: all 2s ease-in-out;
  } 
}

/* home */

@media only screen and (min-width: 1000px) {
  #header-size-01 {
    display: inherit;
  }
}

@media only screen and (max-width: 1000px) {
  #header-size-02 {
    display: inherit;
  }
}

@media only screen and (min-width: 1000px) {
  #header-size-11 {
    display: inherit;
  }
}

@media only screen and (max-width: 1000px) {
  #header-size-12 {
    display: inherit;
  }
}

@media only screen and (min-width: 1000px) {
  #header-size-21 {
    display: inherit;
  }
}

@media only screen and (max-width: 1000px) {
  #header-size-22 {
    display: inherit;
  }
}

@media only screen and (min-width: 1000px) {
  #header-size-31 {
    display: inherit;
  }
}

@media only screen and (max-width: 1000px) {
  #header-size-32 {
    display: inherit;
  }
}

.header-photo {
  display: none;
  width: 100%;
}

.header-photo-top {
  width: 100%;
}

#gallery1 {
  justify-content: center;
}

/* footer */
#footerWrapper {
    border-top: solid 25px #094074;
    font-family: 'montserrat-light', sans-serif;
    background-color: #ffffff;
    padding-top: 2px;
    margin-top: 2px;
}

#UpperFooter {
  height: fit-content;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px;
  box-sizing: border-box;
}

#contacts {
  display: flex;
  align-items: center;
  width: fit-content;
  justify-content: center;
  height: 100%
}

#contactsWrapper {
  display: flex;
  align-items: center;
  width: fit-content;
  justify-content: center;
  height: 100%
}

#linked-icons img{
  width: 3vw;
  height: auto;
}

#email-icon img{
  width: 5vw;
  height: auto;
}

#tw-icon img{
  width: 4vw;
  height: auto;
}

#image-placeholder {
  height: 9vw;
  width: 9vw;
  border-right: solid 1px #121212;
  padding-right: 30px;
}

#igem-info {
  display: flex;
  height: 100%;
  font-size: 0.8em;
  padding-left: 30px;
  justify-content: space-around;
  align-items: center;
}

#linked-icons {
  padding-left: 10px;
}

#contacts img {
  max-width: 8vw;
  height: auto;
}

#contacts a {
  text-decoration: none;
}

#sponsors {
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    max-width: 55vw;
}

#MainSponsor {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 10px 0px;
  justify-content: center;
  align-content: center;
}

#OtherSponsors {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 10px 0px;
}

#sponsors img {
    max-width: 7vw;
    height: auto;
}

#lowerFooter {
  background-color:#3C6997;
  width: 100%;
  padding-top: 2px;
  margin-top: 2px;
}

#lowerFooter a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

#lowerFooter small{
  color: white;
}

/* media icons */

.links-icons {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/* Tools */

.center {
  margin-left: auto;
  margin-right: auto;
}

iframe {
    display: block;
    margin: auto;
    width: 80%;
    height: 800px;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
  background-color: rgb(243, 199, 4) !important;
  color: black !important;
}

/* Content column*/

table {
  table-layout: fixed;
  width: 100%;
}

#tocInner {
    z-index: 500;
}

#tocInner a {
    list-style: none;
    color: #121212;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-left: 0.25em;
    background-color: transparent;
    border: 0px solid transparent;
    margin-bottom: -1.5rem;
}

#tocInner ul {
  padding-left: 3rem !important;
}

#tocInner a div {
    max-width: 15px;
    max-height: 15px;
    box-sizing: border-box;
    border: 1px solid;
    color: #3E2044;
    border-radius: 20px;
    transition: 0.5s;
    margin-right: 20px;
    height: 10vw;
    width: 10vh;
}

#tocInner p {
  margin-top: 1rem;
}

#tocInner .gras.active {
  font-weight: bold;
}

.list-group-item {
  padding: 0.75rem 0.75rem;
}

.content-column-yellow {
    box-shadow: 3px 6px 10px rgb(0 0 0 / 20%);
    border-radius: 8px;
    background-color: rgb(243, 199, 4, 0.6);
    word-wrap: break-word;
}

.content-column-maple {
    box-shadow: 3px 6px 10px rgb(0 0 0 / 20%);
    border-radius: 8px;
    background-color: rgb(243, 112, 4, 0.6);
    word-wrap: break-word;
}

.article_offset {
    margin-bottom: 25px;
    margin-top: -75px;
    padding-top: 75px;
}

/* Accordion */

.accordion-button.collapsed {
  background: #5ADBFF60;
  border-radius: 0px;
}

/* button */

.btn-blue {
  background: #5ADBFF;
}

.btn-primary {
  background: #3C6997 !important; 
}


/* home */

.text-container {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.text-container::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}


.text-container {
    flex-direction: column;
    background-color: #FFFFFF60;
    padding: 2vw;
    height: 80%;
    overflow: auto;
  }

#homepage figure {
  max-width: 100%;
  height: auto;
}

.thumbnail {
  position: relative;
}

.top-left {
  position: absolute;
  top: 5%;
  left: 10%;
  right: 10%;
}

.bottom-center {
  position: absolute;
  bottom: 5%;
  left: 50%;
}

.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: left;
    color: black;
    font-size: 1.5rem;
}

.captionsmall {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    text-align: left;
    color: black;
    font-size: 1.2rem;
}

.row {
  padding: 0 !important;
  margin: 0 !important;
}

.row>* {
  padding: 0 !important;
}

.anm {
  position: relative;
}

.anm h2 {
  color: #fff;
  font-size: 13vw;
  position: absolute;
  transform: translateX(16%) translateY(65%);
  z-index: 1000;
}

.anm h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 0.05ch #e66806;
}

.anm h2:nth-child(2) {
  color: #e66806;
  animation: animate 4s ease-in-out infinite;
}

@keyframes animate {
  0%,
  100% {
    clip-path: polygon(
      0% 45%,
      16% 44%,
      33% 50%,
      54% 60%,
      70% 61%,
      84% 59%,
      100% 52%,
      100% 100%,
      0% 100%
    );
  }

  50% {
    clip-path: polygon(
      0% 60%,
      15% 65%,
      34% 66%,
      51% 62%,
      67% 50%,
      84% 45%,
      100% 46%,
      100% 100%,
      0% 100%
    );
  }
}


/* misc */

.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}

.blockquote-custom {
position: relative;
font-size: 1.1rem;
}

.blockquote-custom-icon {
width: 50px;
height: 50px;
border-radius: 70%;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: -40px;
left: 19px;
}

blockquote img {
  transform: scale(0.7);
}

