/* home page */
#page-name {
  font-size:10vw;
  font-family:tiltwarp;
  color: #fff;
  text-align:center;
}

#entrance {
  width: 100vw;
  height: 100vw;
  margin:0px;
  background: #3f0766;
  justify-content: center;
  display: flex;
  align-items: center;
}

.title {
  font-family: 'tiltwarp'
}

h1, .gradient-header {
  font-weight: bold;
  color: transparent;
  background-image: linear-gradient(to left ,#553c9a, #ee4b2b, #cb0060, #ff7f50, #553c9a);
  -webkit-background-clip: text;
  background-clip: text;    
  background-size: 200%;
  background-position: -200%;
  animation: animated-gradient 18s infinite alternate-reverse; 
  font-family:glacial-indifference;
}


h2 {
  font-size: calc(0.8rem + 0.9vw) !important;
}

.header-title {
  animation: animated-gradient 8s infinite alternate-reverse;  
}

.subheader-title {
  color: #fff;
  font-weight:bolder;
  margin-left:1vw;
}

#home-header-container {
  height:100vh;
  transition-property: height, font-size;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  transition-delay: 3s;
}

#home-header {
  font-size: calc(3*(1.475rem + 2.7vw));
  transition: font-size 1s ease-in-out 3s, color 0.4s ease-in-out;
  color:#3f0766;
}

#home-lead {
  color:rgba(255, 255, 255, 0);
  transition: color 1s ease-in-out 1.2s;
}

.logo {
  height:calc(1.375rem + 1.5vw);
  width:calc(1.375rem + 1.5vw);
  margin-top:0.8vw;
  animation: bouncy 1s linear infinite, logo 1s linear infinite;
  animation-direction:alternate-reverse;
  filter: hue-rotate(100deg) drop-shadow(1px 1px 2px rgb(240, 98, 27)) saturate(300%);
}

.logo-footer {
  height:calc(9rem + 1.5vw);
  width:calc(9rem + 1.5vw);
  margin-top:-0.8vw;
  animation-direction:alternate-reverse;
}

.logo-text {
  font-size:calc(1.375rem + 1.5vw);
  font-family:glacial-indifference;
  font-weight:900;
  color:white;
  margin:-2px;

}

:root {
  cursor: url('https://static.igem.wiki/teams/4764/wiki/miscellaneous/cursors/yumlogo.png'), auto;
}


@keyframes bouncy {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(-0.07turn);
  }
}

@keyframes logo {
  10% {
    filter: hue-rotate(100deg) drop-shadow(1px 1px 2px rgb(240, 98, 27)) saturate(300%);
  }
  30% {
    filter: hue-rotate(100deg) drop-shadow(1px 1px 2px rgb(222, 27, 240)) saturate(300%);
  }
  69% {
    filter: hue-rotate(100deg) drop-shadow(1px 1px 2px rgb(105, 27, 240)) saturate(300%);
  }
  100% {
    filter: hue-rotate(100deg) drop-shadow(1px 1px 2px rgb(240, 27, 119)) saturate(300%);
  }
}

/* body */

body { 
  padding-top: 56px; 
  font-family: 'moderat' !important;
  font-size:21px !important;  
}
.left-aligned { margin-left: auto; } /* can i delete this pls */
.bg-hero { background-color: #3f0766; }

/* CALLOUT */
.bd-callout {margin-top:1.25rem; margin-bottom:0.5rem; font-size: calc(0.8rem + 1.3vw) !important; }
.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-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

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

/* centering text */
.centered {
    text-align:center
}

/* timeline for description.html */

/* The actual timeline (the vertical ruler) */
.main-timeline {
    position: relative;
  }
  
  /* The actual timeline (the vertical ruler) */
  .main-timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #3f0766;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Container around content */
  .timeline {
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  /* The circles on the timeline */
  .timeline::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -11px;
    background-color: #3f0766 !important;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .timeline-left {
    padding: 0px 40px 20px 0px;
    left: 0;
  }
  
  /* Place the container to the right */
  .timeline-right {
    padding: 0px 0px 20px 40px;
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .timeline-left::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    right: 30px;
    border: medium solid #3f0766;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #3f0766;
  }
  
  /* Add arrows to the right container (pointing left) */
  .timeline-right::before {
    content: " ";
    position: absolute;
    top: 18px;
    z-index: 1;
    left: 30px;
    border: medium solid #3f0766;
    border-width: 10px 10px 10px 0;
    border-color: transparent #3f0766 transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .timeline-right::after {
    left: -14px;
  }
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
  @media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    .main-timeline::after {
      left: 31px;
    }
  
    /* Full-width containers */
    .timeline {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }
  
    /* Make sure that all arrows are pointing leftwards */
    .timeline::before {
      left: 60px;
      border: medium solid #3f0766;
      border-width: 10px 10px 10px 0;
      border-color: transparent #3f0766 transparent transparent;
    }
  
    /* Make sure all circles are at the same spot */
    .timeline-left::after,
    .timeline-right::after {
      left: 18px;
    }
  
    .timeline-left::before {
      right: auto;
    }
  
    /* Make all right containers behave like the left ones */
    .timeline-right {
      left: 0%;
    }
  }
  
  .card-custom{
    border: 1px solid #3f0766 !important;
  }

  .card-img {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    align-content: center;
    align-self: center;
    align-items: center;
}

/* end timeline stuff */

/* start count up/down stuff */
.statistic{
    height: 250px;
    width: 250px;
    margin: auto;
    background: linear-gradient(69deg, #553c9a, #ee4b2b, #ff509f);
    background-size: 400%;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 90px;
    color: #fff;
    font-weight: 800;
    font-family:heebo;
    animation: statistics-gradient 2s infinite alternate-reverse
}
/* end count up/down stuff */

/* spicy gradient animation for key points */
.spicy {
  font-size: 1.2rem;
  color: transparent;
  background-image: linear-gradient(to right ,#553c9a, #ee4b2b, #cb0060, #ff7f50, #553c9a);
  -webkit-background-clip: text;
  background-clip: text;    
  background-size: 200%;
  background-position: -200%;
  animation: animated-gradient 20s infinite alternate-reverse;      
}

@keyframes animated-gradient{
  to{
    background-position: 400%;
  }
}

@keyframes statistics-gradient{
  to{
    background-position: 100%;
  }
}

.learn-more{
  font-style: italic;
  color: #785093;
}

.nav-item:hover {
  font-weight: bold;
  color: transparent;
  background-image: linear-gradient(to left ,#553c9a, #ee4b2b, #cb0060, #ff7f50, #553c9a);
  -webkit-background-clip: text;
  background-clip: text;    
  background-size: 200%;
  background-position: -200%;
  animation: animated-gradient 2s infinite alternate-reverse; 
}

/* start team page card animation */
.profile-card-container {
  perspective: 1000px;
}
.profile-card-container:hover .profile-card {
  transform: rotateY(180deg);
  z-index:10;
}
.profile-card-container, .profile-front, .profile-back {
  width: 20vw;
  height: 30vw;
}
.profile-front, .profile-back {
  background: #ffffff00;
}
.profile-card {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
  justify-content:center;
  align-content:center;
}
.profile-front, .profile-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
.profile-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.profile-back {
  transform: rotateY(180deg);
  align-content:center;
  justify-content:center;
}

.profile-circle {
  width: 20vw;
  height: 20vw;
  position:absolute;
  -webkit-border-radius: 10vw;
  -moz-border-radius: 10vw;
  border-radius: 10vw;
  color: transparent;
  background-image: linear-gradient(to right ,#afa5cb, #cfaca5, #d6aea0, #ad9fd5);  
  background-size: 1000%;
  background-position: -200%;
  animation: animated-gradient 13s infinite alternate-reverse; 
  z-index:-1;
}

.profile-photo {
  height: 20vw;
  position:absolute;
  -webkit-border-radius: 10vw;
  -moz-border-radius: 10vw;
  border-radius: 10vw;
}

.profile-caption {
  position:relative;
  margin-top:20vw;
  justify-content:center;
  text-align:center;
}

.profile-bio {
  position:relative;
  justify-content:center;
  text-align:center;
}

/* end team page card animation */

/* start codon optimization stuff */
#optimize-button:hover {
  background-color:rgb(136 74 179 / 90%)!important;
}

#copied {
  color:#ffffff00;
  margin:0;
  font-size:1rem; 
  -webkit-user-select: none; /* unselectable (can't highlight) on Safari lmfao */        
  -moz-user-select: none; /* ^ but Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}
/* end codon optimization stuff */

/* start alignment stuff */
#align-button:hover {
  background-color:rgb(136 74 179 / 90%)!important;
}

.alignment-container { /* horizontal overflow scroll box thing */
  overflow:scroll;
  width:100%;
  display:inline-block;

    /* width */
  &::-webkit-scrollbar {
    width: auto;
  }

  /* Track */
  &::-webkit-scrollbar-track {
    background: #ffffff;
  }

  /* Handle */
  &::-webkit-scrollbar-thumb {
    background: #3f0766;
  }

  /* Handle on hover */
  &::-webkit-scrollbar-thumb:hover {
    background: rgb(136 74 179 / 90%);
  }
}

.alignment-text {
  font-family:'Courier New', Courier, monospace;
  white-space: nowrap;
}
/* end alignment stuff

/* start da bomb poster zoom-in */

#dabomb-small {
  cursor: -moz-zoom-in; 
  cursor: -webkit-zoom-in; 
  cursor: zoom-in;
}

.modal-katie {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-content-katie {
  margin: auto;
  display: block;
  width: 1200px;
  animation-name: zoom;
  animation-duration: 0.4s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.modal-close {
  position: absolute;
  left: 27px;
  color: #f1f1f1;
  font-size: 13pt;
  font-weight: bold;
  transition: 0.3s;
  cursor:pointer
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* end da bomb poster zoom-in */

::placeholder {
  color:rgb(136 74 179 / 90%);
}

#cartk-design li::marker {
  font-size:24px
} 

#cartk-design li {
  margin: 20px 0
}

/* FONTS */
@font-face {
  font-family: 'heebo';
  font-weight: 'normal';
  font-style: 'normal';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/heebo-regular.ttf") format('truetype');
}

@font-face {
  font-family: 'heebold';
  font-weight: 'bold';
  font-style: 'normal';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/heebo-bold.ttf") format('truetype');
}

@font-face {
  font-family: 'heebotalic';
  font-weight: 'normal';
  font-style: 'italic';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/glacialindifference-italic.otf") format('opentype');
}

@font-face {
  font-family: 'tiltwarp';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/tiltwarp-regular.ttf") format('truetype');
}
 
@font-face {
  font-family: 'glacial-indifference';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/glacialindifference-regular.otf") format('opentype')
} 

@font-face {
  font-family: 'moderat';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/moderat/moderat-regular.ttf") format('truetype')
} 

@font-face {
  font-family: 'moderat-mono-regular';
  src: url("https://static.igem.wiki/teams/4764/wiki/fonts/moderat/moderat-mono-regular.ttf") format('truetype')
} 
