.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: #45b06cff;
}

.lottie-slider-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

.bd-callout h4 {
  margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
  margin-bottom: 0;
}

.bd-callout code {
  border-radius: 0.25rem;
}

.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}

.bd-callout-info {
  border-left-color: #5bc0de;
}

.bd-callout-warning {
  border-left-color: #f0ad4e;
}

.bd-callout-danger {
  border-left-color: #d9534f;
}

.electric-section {
  margin-top: 120px;
  margin-left: 120px;
  margin-right: 120px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid #444;
  border-radius: 8px;
  min-height: 250px;
  padding: 20px;
}

.electric-section h2 {
  color: #8ab82e;
  margin-bottom: 20px;
  font-size: 24px;
}

.electric-section p {
  line-height: 1.8;
  color: #c0c0c0;
}

/* Жесткий блюр бэкграунда */
.full-screen-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  transition: opacity 0.3s;
  opacity: 1;
}

.full-screen-blur.hide {
  opacity: 0;
  pointer-events: none;
}

.flex {
  display: flex;
}

.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: #7952b3;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

.bd-callout h4 {
  margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
  margin-bottom: 0;
}

.bd-callout code {
  border-radius: 0.25rem;
}

.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}

.bd-callout-info {
  border-left-color: #5bc0de;
}

.bd-callout-warning {
  border-left-color: #f0ad4e;
}

.bd-callout-danger {
  border-left-color: #d9534f;
}

/* footer */
.footer {
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

body:has(.light-mode) .footer {
  background-color: #f2f2f2;
  color: #111111!important;
}

body:has(.dark-mode) .footer {
  background-color: #111111;
  color: #f2f2f2!important;
}

body:has(.light-mode) .footer a {
  color: #111111!important;
}

body:has(.dark-mode) .footer a {
  color: #f2f2f2!important;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  line-height: 1.2;
}

.footer-contact-header {
  font-family: 'fancyWikiFont';
  font-style: normal;
  font-size: 3vw;
  margin:0;
}

.footer-contact-item {
  position: relative;
  display: inline-block;
  width: auto;
  font-family: 'wikiFont';
  font-weight: 200;
  font-size: 1.3vw;
  margin:0;
  text-decoration: none;
  outline: none;
}
.footer-contact-item::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

body:has(.dark-mode) .footer-contact-item::before {
  background-color: #f2f2f2;
}

body:has(.light-mode) .footer-contact-item::before {
  background-color: #111111;
}

.footer-contact-item:hover::before {
    transform: scaleX(1);
}

.footer-licence {
  font-family: 'wikiFont';
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 1.1;
  margin: 15px 0 0 0;
  padding: 0;
}

body:has(.light-mode) .footer-logo {
  fill: #111111;
}

body:has(.dark-mode) .footer-logo {
  fill: #f2f2f2;
}


.width-1 {
  width: 8.333% !important;
}

.width-2 {
  width: 16.666% !important;
}

.width-3 {
  width: 25% !important;
}

.width-4 {
  width: 33.333% !important;
}

.width-5 {
  width: 41.666% !important;
}

.width-6 {
  width: 50% !important;
}

.width-7 {
  width: 58.333% !important;
}

.width-8 {
  width: 66.666% !important;
}

.width-9 {
  width: 75% !important;
}

.width-10 {
  width: 83.333% !important;
}

.width-11 {
  width: 91.666% !important;
}

.width-12 {
  width: 100% !important;
}

.mr-1 {
  margin-right: 8.333%;
}

.mr-2 {
  margin-right: 16.666%;
}

.mr-3 {
  margin-right: 25%;
}

.mr-4 {
  margin-right: 33.333%;
}

.mr-5 {
  margin-right: 41.666%;
}

.mr-6 {
  margin-right: 50%;
}

.mr-7 {
  margin-right: 58.333%;
}

.mr-8 {
  margin-right: 66.666%;
}

.mr-9 {
  margin-right: 75%;
}

.mr-10 {
  margin-right: 83.333%;
}

.mr-11 {
  margin-right: 91.666%;
}

.mr-12 {
  margin-right: 100%;
}

.justify-space-between {
  justify-content: space-between;
}

.button-outline-blue {
  background-color: transparent;
  border: #ddb86c 4px solid;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.button-outline-blue:hover {
  background-color: #fbe4ad;
  border: #ddb86c80 4px solid;
  color: white;
  outline: none;
}

.button-outline-blue:active {
  background-color: #fbe4ad;
  border: #ddb86c80 4px solid;
  color: white;
  outline: none;
  opacity: 0.8;
}

.button-outline-small {
  background-color: transparent;
  border: #ddb86c 2px solid;
  color: white;
  padding: 3px 6px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.button-outline-small:hover {
  background-color: #fbe4ad;
  border: #ddb86c80 2px solid;
  color: white;
  outline: none;
}

.button-outline-small:active {
  background-color: #fbe4ad;
  border: #ddb86c80 4px solid;
  color: white;
  outline: none;
  opacity: 0.8;
}

.button-outline-violet {
  background-color: transparent;
  border: #ddb86c 4px solid;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
}

.button-outline-violet:hover {
  background-color: #ddb86c;
  border: #ddb86c 4px solid;
  color: #090708;
  outline: none;
}

.button-outline-violet:active {
  background-color: #ddb86c;
  border: #ddb86c 4px solid;
  color: white;
  outline: none;
  opacity: 0.8;
}

/* 
    TEXT STYLES 
    FINISH!
*/

/* Main layout */

.igem_root_alternative {
  margin-top: 84px;
  position: absolute;
  width: 100vw;
  min-height: 50vh;
  color: white;
  left: 100vw;
}

/* Utility */
.no_top_padding {
  padding-top: 0;
}

.no_bottom_padding {
  padding-bottom: 0;
}

#igem_root {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

/* DARK THEME COLORS */
.dark-mode {
  background-color: #111111;
  color: #f2f2f2!important;
}

.dark-mode p {
  color: #f2f2f2!important;
}

.dark-mode a {
  color: #f2f2f2;
  margin: 0!important;
}


/* LIGHT THEME COLORS */

.light-mode {
  background-color: #f2f2f2;
  color: #111111!important;
}
.light-mode p {
  color: #111111!important;
}

.light-mode a {
  color: #111111;
  margin: 0!important;

}


.header__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 12vw;
  z-index: 1;
}

.reference-text {
  text-align: justify;
  text-justify: inter-word;
}

.reference-text > a {
  color: white;
}

img {
  width: 100%;
}

.scale-11 {
  scale: 1.1;
}

.scale-12 {
  scale: 1.2;
}

.scale-13 {
  scale: 1.3;
}

.scale-14 {
  scale: 1.4;
}

.scale-15 {
  scale: 1.5;
}

.color-transparent {
  color: transparent;
}

.origin-bottom {
  transform-origin: bottom;
}

.origin-bottom-left {
  transform-origin: bottom left;
}

.origin-bottom-right {
  transform-origin: bottom right;
}

.origin-top {
  transform-origin: top;
}

.origin-top-left {
  transform-origin: top left;
}

.origin-top-right {
  transform-origin: top right;
}

.origin-center {
  transform-origin: center;
}

.origin-right {
  transform-origin: right;
}

.origin-left {
  transform-origin: left;
}

body {
  /* background: #1e1e1e; */
  background-color: #160f14;
  overflow-x: hidden;
  color: white;
  transition: background-color 0.3s ease-in-out;
}

.generic-section {
    width: 66.666%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    padding: 12px;
}

.waterfall-video {
    transition: opacity 0.5s ease-in-out;
}

.liquid-glass-section {
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(156%) blur(20px);
    transition: background-color 0.2s ease;
}

.honey-droplets-container {
  aspect-ratio: 0.8;
  position: relative;
  overflow: hidden;
  border-radius: 0% 0% 50% 50%;
  /* top: -50%; */
}

.honey-droplet {
  position: absolute;
  animation: dropletAnim 2s linear infinite 1s;
  z-index: 1000;
  border: none;
}

.honey-droplet::before {
  content: '';
  position: absolute;
  left: -100%;
  width: 150%;
  height: 100%;
  top: 0%;
  background: inherit;
  border-radius: 50% 0% 0% 50%;
}

.honey-droplet::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 150%;
  height: 100%;
  top: 0%;
  background: inherit;
  border-radius: 0% 50% 50% 0%;
}

.bee-source-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: visible;
  top: -50%;
}

.bee-source-img {
  position: absolute;
  z-index: 1001;
  animation: beeDeathAnim 2s linear 0s infinite;
  left: 50%;
  top: 50%;
}

@keyframes beeDeathAnim {
  0% {
    opacity: inherit;
    width: 2px;
    height: 2px;
    transform: rotate(0deg) translate(0px);
  }
  50% {
    opacity: inherit;
    width: 100%;
    height: 100%;
    transform: rotate(90deg) translate(3vw);
  }
  100% {
    opacity: 0;
    width: 100%;
    height: 100%;
    transform: rotate(90deg) translate(5vw) rotate(90deg);
  }
}

@keyframes dropletAnim {
  0% {
    height: 0px;
    border-radius: 0px 0px 0% 0%;
    top: 0%;
    opacity: inherit;
  }
  /* 40% {
        top: 0%;
        height: 50%;
        border-radius: 0% 0% 50% 50%;
    } */
  33% {
    top: 0%;
    height: 50%;
    border-radius: 0% 0% 0% 0%;
  }
  /* 45% {
        border-radius: 10% 10% 50% 50%;
    } */
  66% {
    top: 0%;
    height: 100%;
    border-radius: 0% 0% 0% 0%;
    opacity: inherit;
  }

  74% {
    top: 0%;
    height: 100%;
    border-radius: 30% 30% 0% 0%;
  }
  100% {
    top: 100%;
    height: 0%;
    border-radius: 50% 50% 0% 0%;
    opacity: 0;
  }
}

@keyframes dropletAnim2-left {
  0% {
    height: 0px;
    border-radius: 0px 0px 0% 0%;
    top: 0%;
    opacity: inherit;
    transform: translate(0px, 0px) scaleX(2);
  }

  10% {
    transform: translate(-300%, 0px) scaleX(1);
    top: 1.5vw;
  }

  /* 10% {
        transform: translate(0,0);
    } */

  20% {
    top: 1.5vw;
    height: 20%;
    border-radius: 0% 0% 0% 0%;
  }
  /* 45% {
        border-radius: 10% 10% 50% 50%;
    } */
  40% {
    top: 30%;
    height: 10%;
    border-radius: 0% 0% 0% 0%;
    opacity: inherit;
  }

  60% {
    top: 55%;
    height: 5%;
    border-radius: 30% 30% 0% 0%;
  }
  80% {
    top: 78%;
    height: 2%;
    border-radius: 50% 50% 0% 0%;
    opacity: 1;
  }
  100% {
    top: 100%;
    height: 0%;
    border-radius: 50% 50% 0% 0%;
    opacity: 0;
  }
}

@keyframes dropletAnim2-right {
  0% {
    height: 0px;
    border-radius: 0px 0px 0% 0%;
    top: 0%;
    opacity: inherit;
    transform: translate(0px, 0px) scaleX(2);
  }

  10% {
    transform: translate(300%, 0px) scaleX(1);
    top: 1.5vw;
  }

  /* 10% {
        transform: translate(0,0);
    } */

  20% {
    top: 1.5vw;
    height: 20%;
    border-radius: 0% 0% 0% 0%;
  }
  /* 45% {
        border-radius: 10% 10% 50% 50%;
    } */
  40% {
    top: 30%;
    height: 10%;
    border-radius: 0% 0% 0% 0%;
    opacity: inherit;
  }

  60% {
    top: 55%;
    height: 5%;
    border-radius: 30% 30% 0% 0%;
  }
  80% {
    top: 78%;
    height: 2%;
    border-radius: 50% 50% 0% 0%;
    opacity: 1;
  }
  100% {
    top: 100%;
    height: 0%;
    border-radius: 50% 50% 0% 0%;
    opacity: 0;
  }
}

.header-section {
  width: 100%;
  height: 15vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4vw;
}

.header_text {
  font-weight: bold;
  position: relative;
  background: radial-gradient(
    circle at center,
    #fff097 0%,
    #d49938 40%,
    #b47325 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header_text::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, #81541a 0%, #090708 100%);
  transform: scaleX(2);
  filter: blur(30px);
}

.header_text::after {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  border-radius: inherit;
}

@media screen and (max-width: 1300px) {
  .nav-item {
    margin-left: 1.2rem;
    /* background-color:red; */
  }
}

#awards-yopta-brick {
  display: none;
  position: fixed;
  width: 9vw;
  z-index: 100000000;
  right: 0vw;
  top: 100px;
  transition: all 0.2s ease;
}

#awards-yopta-brick:hover {
  width: 10vw;
}


.custom-link {
  color: #da4855;
  text-decoration: underline;
}