/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  src: url(https://static.igem.wiki/teams/4708/wiki/fonts/roboto-regular.ttf);
}

p, h2, h1, h3, h4, h5 {
  font-family: Roboto;
}

p, ul, ol{
  font-size: 1.15rem;
}
/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #152238 !important; }
.bg-hero { background-color: #23395d; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* Fade-animation */
.hidden {
  opacity: 0;
}

.hidden-left {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: all 1s;
  transition-delay: 100ms;
}

.hidden-left-sud {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-5%);
  transition: all 1s;
  transition-delay: 100ms;
}

.hidden-right {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(100%);
  transition: all 1s;
  transition-delay: 150ms;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/* Home Page */
#Letters path {
  opacity: 0;
  fill: #000;
  stroke-width: 3px;
  stroke: #000;
  animation: logo_animation_letters 0.7s ease forwards;
  animation-delay: calc(var(--order) * 150ms);
}

#Graphic g {
  opacity: 0;
  transform: scale(0.2);
  animation: stars_aniamtion 0.4s ease forwards;
  animation-delay: calc(var(--order) * 135ms);
}

@keyframes logo_animation_letters {
  from {
    transform: translateX(-80px);
    opacity: 0;

  } to {
    transform: translateX(0px);
    opacity: 1;
    fill: #000;
    stroke-width: 3px;
    stroke: #000;
  }
}


@keyframes stars_aniamtion {
  from {
    transform: translate(-80px);
    opacity: 0;

  } to {
    transform: translateX(0px);
    opacity: 1;

  }
}

.industry, .constellation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
    text-align: center;
    margin: 100px 0;
}

.industry.visible, .constellation.visible {
    opacity: 1;
    transform: translateY(0);
}

#apusConstellation {
    visibility: hidden;
}

.animatedLine {
    stroke-dasharray: 1000; /* Arbitrary large number */
    stroke-dashoffset: 1000; 
    animation: drawLine 2s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}


/* results */
.iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio (height:width) */
}

.iframe-container > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* notebook */
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  background: #c5cae9;
  width: 5px;
  height: 91%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  width: 100%;
  margin-bottom: 70px;
}
.timeline-item:nth-child(even) .timeline-content {
  float: right;
  padding: 40px 30px 10px 30px;
}
.timeline-item:nth-child(even) .timeline-content .date {
  right: auto;
  left: 0;
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  left: -15px;
  border-width: 10px 15px 10px 0;
  border-color: transparent #f5f5f5 transparent transparent;
}
.timeline-item::after {
  content: '';
  display: block;
  clear: both;
}
.timeline-content {
  position: relative;
  width: 45%;
  padding: 10px 30px;
  border-radius: 4px;
  background: #f5f5f5;
  box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
}
.timeline-content::after {
  content: '';
  position: absolute;
  border-style: solid;
  width: 0;
  height: 0;
  top: 30px;
  right: -15px;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #f5f5f5;
}
.timeline-img {
  width: 30px;
  height: 30px;
  background: #152238;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  margin-top: 25px;
  margin-left: -15px;
}

.timeline-card {
	 padding: 0 0 10px 0 !important;
}
 .timeline-card li {
	 padding: 0 20px;
}

 .timeline-card a {
	 margin-left: 20px;
}
 .timeline-item .timeline-img-header {
	 background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .4)), url('https://static.igem.wiki/teams/4708/wiki/apus-all-nooutline-transparent.png') center center no-repeat;
	 background-size: cover;
}
 .timeline-img-header {
	 height: 200px;
	 position: relative;
	 margin-bottom: 20px;
}
 .timeline-img-header h2 {
	 color: #fff;
	 position: absolute;
	 bottom: 5px;
	 left: 20px;
}
 blockquote {
	 margin-top: 30px;
	 color: #757575;
	 border-left-color: #3f51b5;
	 padding: 0 20px;
}
 .date {
	 background: #152238;
	 display: inline-block;
	 color: #fff;
	 padding: 10px;
	 position: absolute;
	 top: 0;
	 right: 0;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 50px;
  }
  .timeline .timeline-img {
    left: 50px;
  }
  .timeline .timeline-content {
    max-width: 100%;
    width: auto;
    margin-left: 70px;
  }
  .timeline .timeline-item:nth-child(even) .timeline-content {
    float: none;
  }
  .timeline .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
  }
}

/* team */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.page-container {
  height: 100vh;
  justify-content: center;
  
}

.title-container{
  justify-content: center;
  text-align: center;
}

.title-container h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 6vw;
  text-transform:uppercase;
  color: transparent;
	background: radial-gradient(
		circle,
		rgba(63, 94, 251, 1) 0%,
		rgba(252, 70, 107, 1) 100%
	);
  background-size: 200%;
  animation: gradient-animation 1.7s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
}

@keyframes gradient-animation {
	to {
		background-position: 200% center;
	}
}

.cards-team-container {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .cards-team-container {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
  }
}

.team-card {
    width: 300px;
    height: 500px;
    padding-left: 100 px;
    perspective: 700px;
    margin-top: 3rem;
}

.team-card-content {
    background: #fff;
    
    width: 100%;
    height: 100%;
    
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    border-radius: 6px;
    
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.team-card:hover .team-card-content {
    transform: rotateY(180deg);
}

.team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    
    background:  linear-gradient(-45deg, rgba(255, 255, 255, .1) 100px ,transparent 0),
               linear-gradient(45deg, rgba(255, 255, 255, .1) 100px ,transparent 0),
               linear-gradient(-45deg, rgba(255, 255, 255, .1) 300px ,transparent 0),
               linear-gradient(45deg, rgba(255, 255, 255, .1) 300px ,transparent 0),
               linear-gradient(0deg, #749BE1 150px, #9267C7);
    
    border-radius: 6px;
    
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    
    backface-visibility: hidden;
    
    overflow: hidden;
}

.team-card-front {
    padding: 40px;   
}

.team-card-back {
    transform: rotateY(180deg);
    padding: 15px;
    justify-content: center;
}

.team-card .team-card-front #profile-pic {
    height: 240px;
    width: 240px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-card .team-card-front h1 {
    margin-top: 20px;
    font-size: 2.0em;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.team-card .team-card-front h2 {
    font-size: 1.3em;
    color: #fff;
    font-weight: 500;
    margin: 8px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.team-card .team-card-back p {
    font-size: 1.05em;
    line-height: 1.3;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

.team-card .team-card-back h3 {
  line-height: 1.3;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

.team-card i {
  font-size: 0.9em;
  fill: #fff;
  margin: 20px 0;
  transition: 300ms ease;
}

.team-card i[title="linkedin-icon"]:hover {
  fill: #32CCFE;
}

.team-card .team-card-front .hover {
    position: absolute;
    bottom: 5px;
    
    font-size: 1em;
    font-weight: 400;
    color: #fff;
    animation: hover 2s ease-in-out infinite;
}

.team-card .team-card-front::after {
    content: ' ';
    width: 90px;
    height: 90px;
    
    border-radius: 50%;
    
    position: absolute;
    bottom: -50px;
    
    background: rgba(255, 255, 255, 0.3);
}

.team-card .team-card-back a {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.team-card .team-card-back svg {
    height: 3em;
    fill: #fff;
    margin: 20px 0;
    transition: 300ms ease;
}

.team-card .team-card-back svg:hover {
    fill: #0072b1;
    transform: translateY(-12px);
}


@keyframes hover {
    0% {
        transform: translateY(0px);
    }
    
    50% {
        transform: translateY(-5px);
    }
    
    100% {
        transform: translateY(0px);
    }
}

/* Section Nav */
/* 2. Make nav sticky */
.section-nav {
	position: sticky;
	top: 5rem;
	align-self: start;
}

@media screen and (max-width: 990px) {
  .section-nav {
    display: none;
  }
}
/* 3. ScrollSpy active styles (see JS tab for activation) */
.section-nav li.active > a {
	color: #333;
	font-weight: 500;
}

/* Sidebar Navigation */
.section-nav {
	padding-left: 0;
	border-left: 1px solid #efefef;
}

.section-nav a {
	text-decoration: none;
	display: block;
	padding: .125rem 0;
	color: #ccc;
	transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.section-nav a:hover,
.section-nav a:focus {
	color: #666;
}

.section-nav ol, ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.section-nav li {
	margin-left: 1rem;
}

.section-nav h1 {
	font-weight: 300;
}

.list{
  margin-left: 2rem;
}

.list_item {
  padding-left: 1rem;
}
/* safty */
.safty_container {
  width: 100%;
  background-color: white;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  border-radius: 20px;
  padding: 5%;
}

.safty_container ul {
  font-size: 1rem;
}



/* tabs */
.tab_container {
  width: 100%;
  background-color: white;
  padding: 30px;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  border-radius: 20px;
}

.tab_box {
  position: relative;
  width: 100%;
  padding-bottom: 2px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 3px solid rgba(229,229,229);
  font-size: 18px;
}

.tab_box .tab_btn {
  font-size: 32px;
  font-weight: 600;
  color: #919191;
  background: none;
  border: none;
  padding: 18px;
  cursor: pointer;
}

.tab_box .tab_btn.active {
  color: #7360ff;
}

.tab_box .line {
  position: absolute;
  top: 85px;
  left: 7.2%;
  width: 310px;
  height: 5px;
  background-color: #7360ff;
  border-radius: 10px;
  transition: all .3s ease-in-out;
}

.tab_container {
  padding: 20px;
}

.tab_container .tab_content {
  display: none;
  animation: moving .5s ease;
}

@keyframes moving {
  from{transform: translate(-50px); opacity: 0;}
  to {transform: translate(0px); opacity: 1;}
}

.tab_container .tab_content.active {
  display: block;
}

.tab_container p {
  width: 90%;
  color: #000;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.tab_container h2 {
  width: 90%;
  color: #000;
  text-align: center;
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}


.tab_container h1 {
  margin-top: 2.5rem;
  width: 90%;
  color: #000;
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.tab_container ul {
  width: 90%;
  color: #000;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.tab_container ul {
  width: 90%;
  margin-left: 10%;
}
.tab_container li {
  width: 90%;
  margin-bottom: 0.5rem;

}

.tab_container .arrow {
  box-sizing: border-box;
  height: 2rem;
  width: 2rem;
  border-style: solid;
  border-color: black;
  border-width: 0px 2px 2px 0px;
  transform: rotate(225deg);
  transition: border-width 150ms ease-in-out;
}

.tab_container .arrow:hover {
  border-bottom-width: 4px;
  border-right-width: 4px;
}

.tab_container .top {
  display: grid;
  justify-content: center;
}

@media screen and (max-width: 990px) {
  .tab_box .line {
    top: 127px;
    overflow: hidden;
  }
}

@media screen and (max-width: 760px) {
  .tab_box .line {
    top: 112px;
    overflow: hidden;
  }

  .tab_container p, h2 {
    width: 100%;
  }
}

.float
{
    animation-name: Floating;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.float2
{
    animation-name: Floating;
    animation-delay: 1s;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes Floating
{
    from
    {
        transform: translateY(0px);
    }
    35%
    {
        transform: translateY(29px);
    }
    to
    {
        transform: translateY(-0px);
    }
}
/* preloader */

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
