body { padding-top: 56px; 
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -1;
    background-image: url("https://static.igem.wiki/teams/4506/wiki/fondo-homepage-pt-1.svg");
    background-repeat: repeat-y;
    background-size: cover;
    background-color: #021112;
}

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

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

/* navbar */
.blue-text {color: #18A0FB !important; }

.navbar{
    opacity: 85% !important;
    font-family: 'Montserrat', sans-serif;
}

.nav-link:hover {
    color: #2FE0E6 !important;
}

.img-menu{
    width: 15vh;
}

/* header */
.bg-image { 
    background-size: cover; 
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    background-position: top center;
    position: relative;
    height: 70vh;
    margin-top: 32px;
}

.bg-image::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 48vh;
    background-position: top center;
    background-size: cover;
    background-image: url('https://static.igem.wiki/teams/4506/wiki/wave-9.svg');
}

/* page content */
.page-content {
    font-family: 'Montserrat';
}

/* section */
.page-section {
    background-color: white;
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 5px;
    font-size: 18px;
}

.page-section p {
    margin-top: 0;
    margin-bottom: 1rem;
    text-indent: 1.3rem;
    text-align: justify;
    word-break: break-word;
    hyphens: auto;
}

.sidebar {
    margin-right: 40px;
}

.sidebar-title {
    font-size: 2.2vh;
    font-weight: bold;
    color: #19A6AB;
}

.sidebar-text {
    font-size: 2vh;
}

.sidebar-text:hover {
    border-bottom: 2px solid #19A6AB;
}

.sidebar-container{
    top: 16vh;
    background-color: #fff;
    opacity: 100%;
    padding: 20px;
    margin-top: 16px;
    border-radius: 5px;
}

.scroll-line {
    z-index: 4;
    background:#ffffff;
    top: 12vh;
    left: 0;
    height: 7px;
    position: fixed;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.scroll-line-2 {
    z-index: 4;
    background:#19A6AB;
    top: 12vh;
    left: 0;
    height: 7px;
    position: fixed;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media (max-width: 1300px) {
    .scroll-line {
        top: 12.5vh;
    }

    .scroll-line-2 {
        top: 12.5vh;
    }
}

.scroll-ball{
    border-radius: 100%;
    background: white;
    border: 2px solid #19A6AB;
    transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    width: 15px;
    height: 15px;
}

.section-button{
    border-radius: 30%;
    background: #19A6AB;
    height: 8vh;
    width: 10vh;
    bottom: 10vh;
    right: 5vh;
    text-decoration: none;
    color: white;
    font-size: 2vh;
}

.section-toggle{
    border-radius: 10%;
    background-color: #19A6AB;
    color: white;
    bottom: 10vh;
    right: 5vh;
    width: 25vh;
}

/* team page */
.flex-container {
    display: flex;
}

#team_body {
    object-fit: contain;
}

#card_image {
    width: 100%;
}

.team_row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.member_image {
    width: 18%;
    height: 18%;
    vertical-align: middle;
    border-radius: 100%;
    border: 1px solid black;
}

.member_image:hover {
    opacity: 0.5;
}

.team-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10vh;
    font-weight: bold;
    padding: 10px 0 20px 0;
}

#member_name {
    font-size: 6vh;
    font-weight: bold;
    margin-left: 5px;
}

#member_major {
    font-size: 4vh;
}

/* footer */
footer {
    position: relative;
    background-color: white;
    z-index: 1;
}
.footer-left {
    border-right: 2px solid #347794;
}

.footer-right {
    margin: 0 30px;
}

footer a {
    color: #347794;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.sponsor_row {
    display: flex;
    justify-content: center;   
    align-items: center;
    padding: 10px;
}

.sponsor_title {
    background-color: #347794;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 3vh;
    padding: 0.5vh 0;
}

.sponsor {
    width: 20%;
    height: 100%;
    margin: auto;
}

.team-social {
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-style: none;
}

.team-logo {
    width: 50%;
    height: 100%;
}

.ig-logo {
    width: 10%;
    height: 80%;
    padding-right: 3px;
}

.ig-team {
    display: inline;
    font-size: 16px;
}

/* carousel */
.carousel-btn {
    width: 14vh;
    height: 4vh;
    background-color: #347794;
    color: white;
    font-size: 15px;
    justify-content: center;
    border-radius: 5px;
}

.carousel-btn .prev-btn, .carousel-btn .next-btn {
    margin: auto;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.carousel-btn .next-btn:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.carousel-btn .prev-btn::before {
    content: '\00ab';
    position: absolute;
    opacity: 0;
    top: 0;
    left: -20px;
    transition: 0.5s;
} 

.carousel-btn:hover .next-btn {
    padding-right: 10px;
}

.carousel-btn:hover .prev-btn {
    padding-left: 10px;
}

.carousel-btn:hover .next-btn:after {
    opacity: 1;
    right: 0;
}

.carousel-btn:hover .prev-btn::before {
    opacity: 1;
    left: 0;
}

@media (max-width: 1000px) {
    .footer-left {
        border-style: none;
    }

    .footer-right {
        margin: 0;
    }

    .team-social {
        margin-top: 1rem;
        margin-bottom: 0;
        border-right: 2px solid #347794;
    }

    .team-logo {
        width: 50%;
        height: 90%;
    }

    .ig-logo {
        width: 10%;
        height: 18%;
        padding-right: 5px;
    }

    .ig-team {
        display: inline;
        font-size: 24px;
    }

    .carousel-btn {
        height: 4.5vh;    
    }
}

.index-body{
    position: relative;
    overflow-x: hidden;
    background: rgb(2,17,18);
    background: linear-gradient(180deg, rgba(2,17,18,1) 60%, rgba(9,60,64,1) 100%);
}

.background-1{
    top: -40vh;
    position: absolute;
    width: 100%;
    height: 430vh;
    max-height: 430vh;
    z-index: 2;
    background-image: url("https://static.igem.wiki/teams/4506/wiki/fondo-homepage.svg");
    background-size: cover;
}

.circuit-footer-1{
    position: absolute;
    left: -45vw;
    bottom: 65vh;
    width: 100%;
    height: 70vw;
    z-index: 2;
}

.circuit-footer-2{
    position: absolute;
    right: -45vw;
    bottom: 65vh;
    width: 100%;
    height: 70vw;
    z-index: 2;
}

.header-container{
    position: relative;
    background-color: #093C40;
    height: 80vh;
    z-index: 0;
    margin-top: 32px;
}

.header-title-img{
    width: 100%;
}

.header-subtitle{
    position: absolute;
    top: 90%;
    font-size: 3vh;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    color: #ffffff;
}

.header-lung-container{
    margin-top: 15vh;
    position: relative;
    height: 100%;
}

.header-lung-img{
    top: -10%;
    left: 43.5%;
    position: absolute;
    width: 36%;
}

.header-lung-img-2{
    margin: auto;
    width: 60vh;
    -webkit-animation: fadeinout 4s linear forwards;
    animation: fadeinout 4s linear forwards;
    animation-iteration-count: 100;
}

@-webkit-keyframes fadeinout {
    0%,100% { width:30vw;}
    50% { width: 35vw;}
  }
  
  @keyframes fadeinout {
    0%,100% { width:30vw;}
    50% { width: 35vw;}
  }

.container-index{
    position: relative;
    font-family: 'Montserrat', sans-serif;
    padding: 0 2vw;
    z-index: 3;
}

.index-text-1{
    font-size: 3vh;
}

.index-text-2{
    font-size: 2.5vh;
    color: #19A6AB;
    margin-bottom: 0;
}

.index-text-3{
    font-size: 3.5vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.index-text-4{
    font-size: 15vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.index-text-5{
    font-size: 11vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.index-text-6{
    font-size: 4vh;
    color: #19A6AB;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.mobile-index-text-1{
    font-size: 2vh;
    color: #19A6AB;
    margin-bottom: 0;
}

.mobile-index-text-2{
    font-size: 2.5vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.mobile-index-text-3{
    font-size: 10vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.mobile-index-text-4{
    font-size: 7vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.mobile-index-text-5{
    font-size: 4vh;
    color: #19A6AB;
    font-weight: 900;
    margin-bottom: 0;
}

.mexico-img{
    width: 80%;
}

.index-text-7{
    font-size: 10vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.index-lung-img-1{
    padding: 0;
    height: 100%;
    width: 100%;
    transform: scaleX(-1);
}

.index-lung-img-2{
    padding: 0;
    height: 100%;
    width: 100%;
}


.index-text-8{
    font-size: 6vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.index-text-9{
    font-size: 2.5vh;
    font-style: italic;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.index-text-10{
    font-size: 2.5vh;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0;
}

.index-text-11{
    font-size: 6.8vh;
    color: #2FE0E6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.separator-img{
    width: 100%;
}

.separator-img-2{
    width: 100%;
    transform: rotate(90deg);
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.bullet-img{
    height: 25vh;
}

.index-text-12{
    font-size: 5vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.index-text-13{
    font-size: 4vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-bottom: 0;
}

.fade-r{
    opacity: 0;
}

.fade-l{
    opacity: 0;
}

.fade-t{
    opacity: 0;
}

.fade-b{
    opacity: 0;
}

.fade-right{
    animation: fadeInRight 2s ease-in-out;
}

.fade-left{
    animation: fadeInLeft 2s ease-in-out;
}

.fade-top{
    animation: fadeInTop 2s ease-in-out;
}

.fade-bottom{
    animation: fadeInDown 2s ease-in-out;
}

@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(30vh);
    }
    to {
      opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-30vh);
    }
    to {
      opacity: 1;
    }
}

@keyframes fadeInTop {
    from {
      opacity: 0;
      transform: translateY(30vh);
    }
    to {
      opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30vh);
    }
    to {
      opacity: 1;
    }
}
