.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }

/* 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 }


.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 a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-yopta {
    width: 100%;
    background-color: #1e1e1e;
    /* background-position: cover; */
  }

  .footer-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-evenly;
    /* padding: 5%; */
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 2vw;
    color: white;
    /* padding: 2vw; */
  }

  .footer-icons {
    display: flex;
    flex-direction: row;
  }

  .footer-icons-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }


  #footer_small {
    color: white;
  }

  #footer_hr {
    margin-bottom: 0;
    color: white;
  }

.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 {
    margin-top: 3rem;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    position: relative;
    flex-direction: column;
    overflow: hidden;
}

.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: #090708;
    overflow-x: hidden;
    color: white;
}

.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;
}