.banner {
    background-color: #1C2334;
    height: 85px;
    position: fixed;
    align-items: center;
    width: 100%;
    top: 0%;
    z-index: 99;
}

.logo {
    background-size:100% 100%;
    height: 85px;
    width: 150px;
    position: absolute;
    left: 150px;
    z-index: 999;
    background-image: url('https://static.igem.wiki/teams/4879/wiki/jetroeco-logo-copy-1.svg') ;
    cursor: pointer;
}

.filter {
    filter: invert(97%) sepia(85%) saturate(3677%) hue-rotate(179deg) brightness(106%) contrast(107%);
}

.overlay {
    display: none;
    position: fixed;
    background-color: #f5f8ff;
    z-index: -10;
    transform: translateY(-50vh);
    height: 220vh;
    width: 100vw;
}

.overlay.active {
    display: block;
    opacity: 0.96;
    z-index: 4;
}

.mainlinks {
    display: flex;
    flex-direction: row;
    width: 45vw;
    justify-content: space-between;
    position: absolute;
    align-items: center;
    right: 150px;
    height: 85px;
}

.main {
    text-decoration: none;
    color: #EBF1FF;
}

.main :hover {
    color: #FFB320;
    cursor: pointer;
}

.main1 {
    display: none;
}

.main h2 {
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Raleway';
}

.sublinks div a {
    display: flex;
    flex-direction: row;
    width: fit-content;
}

.sub-one .sub_img {
    width: 4.8vh;
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translate(26vw,13px);
}

#members {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/members.svg');
}

.sub-two .sub_img {
    width: 4.8vh;
    background-size: 100%;
    background-repeat: no-repeat;
    transform: translate(6.1vw,13px);
}

#attributions {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/attributiions.svg');
}

#description {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/project-description.svg');
}

#safety {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/safety.svg');
}

#software {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/software.svg');
}

#engineering {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/engineering-success.svg');
}

#collaborations {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/collaborations.svg');
}

#design {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/project-design.svg');
}

#measurements {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/measurements.svg');
}

#experiments {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/wetlab-notebook.svg');
}

#contributions {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/contributions.svg');
}

#poc {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/proof-of-concept.svg');
}

#notebook {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/project-notebook.svg');
}

#int_model {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/integration-model.svg');
}

#kin_model {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/kinetic-model.svg');
}

#hardware {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/hardware.svg');
}

#education {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/education.svg');
}

#ihp {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/ihp.svg');
}

#inclusivity {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/inclusivity.svg');
}

#awards {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/awards.svg');
}

#results {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/results.svg');
}

#entrepreneurship {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/entrepreneurship.svg');
}

#efflux {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/pump.svg');
}

#struct_predictions {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/struct.svg');
}

#sdg {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/sdg.svg');
}

#future_implementation {
    background-image: url('https://static.igem.wiki/teams/4879/wiki/ft.svg');
}

.sublinks {
    display: flex;
    position: absolute;
    opacity: 0;
    transition: ease-in-out 0.6s;
    z-index: 0;
    visibility: hidden;
    top: 115px;
    transform: translateY(-10vh);
}

.sublinks.active {
    transform: translateY(-30px);
    opacity: 1;
    transition: ease-in-out 0.6s;
    visibility: visible;
}

.sub-one, .sub-two {
    width: 50vw;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    justify-items: center;
    background-color: #1C2334;
    padding-top: 3vh;
    padding-bottom: 3vh;
}

.sub-one a, .sub-two a{
    text-decoration: none;
    width: fit-content;
}

.sub-one h2,.sub-two h2 {
    font-size: 1.8vh;
    width: fit-content;
    text-decoration: none;
    font-family: 'Raleway';
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
    font-weight: 400;
    color: #EBF1FF;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

.sub-one h2 {
    padding-left: 27vw;
}

.sub-two h2 {
    padding-left: 7vw;
}


.sub-one :hover, .sub-two :hover {
    color: #ffb320;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
}

@media screen and (max-width:1300px) {
    .mainlinks {
        right: 50px;
        width: 55vw;
    }

    .logo {
        left: 50px;
    }
}

@media screen and (max-width:1000px) {
    .mainlinks {
        right: 40px;
        width: 65vw;
    }

    .logo {
        left: 40px;
    }
}

@media screen and (max-width: 830px) {

    .logo {
        left: -7px;
        top: 0px;
        height: 60px;
    }

    .sub_img {
        display: none;
    }

    .banner {
        height: 60px;
    }

    .mainlinks {
        width: 1420px;
        background-color: #1C2334;
        height: 130vh;
        transform: translate(5vw,120vh);
        position: relative;
        opacity: 0;
        transition: cubic-bezier(1,.03,1,.09) 1.0s;
        align-items: flex-start;
    }
    
    
    .main:hover {
        color: #c4d6ff;
        transition: ease-in 0.15s;
        cursor: pointer;
    }
    
    .sublinks {
        transition: ease-in 0.15s;
        width: 200vw;
        background-color: #1C2334;
        height: 70vh;
        position: absolute;
        transform: translate(160vw, -8vh);
        top: 0px;
        left: 0px;
        opacity: 0;
        transition: cubic-bezier(1,.03,1,.09) 0.8s;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-start;
        align-content: space-around;
        padding: 70px;
        z-index: 9;
        visibility: visible;
    }
    
    .sub-one h2,.sub-two h2 {
        color: #EBF1FF;
        padding-left: 27vw;
        margin-top: 0vh;
        margin-bottom: 0vh;
    }
    
    .sub-one :hover,.sub-two :hover {
        transition: ease-in 0.15s;
        color: #FFB320;
        font-size: 4vh;
    }

    .sub-one h2 :hover {
        transform: translateX(1vw);
    }
    
    .sub-one a,.sub-two a {
        width: 15vw;
        text-decoration: none;
        color: #EBF1FF;
    }

    .sub-one,.sub-two {
        padding-left: 20vw;
        padding-top: 0;
        padding-bottom: 0;
        transform: translateY(-15vh);
    }
    
    .main {
        transform: translate(18vw,100vh);
        position: fixed;
        color: rgb(255, 255, 255);
        transition: cubic-bezier(1,.03,1,.09);
    }
    
    .main h2 {
        font-size: 3em;
        font-weight: 700;
    }
    
    .main.active {
        transform: translate(10vw,-100vh);
        opacity: 1;
        transition: cubic-bezier(.3,1.45,0,.94) 0.4s;
        overflow-x: auto;
    }
    
    .main1 {
        transform: translate(13vw,15vh);
        text-decoration: none;
    }
    
    .main3 {
        transform: translate(13vw,37vh);
    }
    
    .main5 {
        transform: translate(13vw,59vh);
    }
    
    .main7 {
        transform: translate(13vw,81vh);
        display: flex;
    }
    
    .main2 {
        transform: translate(13vw, 26vh);
    }
    
    .main4 {
        transform: translate(13vw, 48vh);
    }
    
    .main6 {
        transform: translate(13vw, 70vh);
        text-decoration: none;
    }

    .main8 {
        transform: translate(13vw, 92vh);
        text-decoration: none;
    }
    
    
    .hamburg {
        height: 60px;
        width: 60px;
        top: 0px;
        right: 2.5vw;
        display: flex;
        z-index: 10;
        justify-content: center;
        align-items: center;
        position: fixed;
        cursor: pointer;
    }
    
    .hamburg div {
        width: 30px;
        height: 0.2px;
        background-color: #ffb320;
        border-radius: 30%;
        position: fixed;
        transition: cubic-bezier(.01,.95,0,.94) 0.3s;
    }
    
    .hamburg.active {
        z-index: 999;
    }
    
    .line1 {
        transform: translate(0,-8px);
    }
    
    .line3 {
        transform: translate(0,8px);
    }
    
    .line1.active {
        transform: translate(0,0px);
        transition: cubic-bezier(.01,.95,0,.94) 0.8s;
        rotate: 405deg;
    
    }
    
    .line2.active {
        transform: translateX(100px);
        transition: cubic-bezier(.01,.95,0,.94) 0.8s;
    }
    
    .line3.active {
        transform: translate(0px,0px);
        rotate: 315deg;
        transition: cubic-bezier(.01,.95,0,.94) 0.8s;
    }
    
    .mainlinks.active {
        transition: cubic-bezier(.3,1.45,0,.94) 1.8s;
        opacity: 1;
        z-index: 9;
    }
    
    .sublinks.active {
        display: flex;
        opacity: 1;
        transition: cubic-bezier(.3,1.45,0,.94) 1.8s;
    }

    .arrow {
        height: 40px;
        width: 40px;
        top: 40vh;
        right: 10vw;
        position: fixed;
        font-weight: 100;
        z-index: 10;
        cursor: pointer;
        display: none;
        color: #ffb320;
        font-size: 6vh;
    }

    .mainlinks.active {
        transform: translate(5vw,-10vh);
    }

    .main h2 {
        font-size: 2.4em;
        font-family: 'Raleway';
    }


    .sublinks div {
        width: 120vw;
    }

    .sublinks.active {
        transform: translate(0vw,-8vh);
    }

    .sublinks .sub-one,.sublinks .sub-two {
        width: 100vw;
        background-color: #1C2334;
    }

    .sublinks {
        width: 130vw;
        height: 130vh;
        justify-content: center;
        align-items: center;
        padding-left: 0%;
        align-content: space-between;
    }

    .sublinks h2 {
        font-size: 2em;
        margin-bottom: 20px;
        transform: translateX(-40vw);
    }

    .arrow.active {
        display: block;
    }
}

@media screen and (max-width:450px) {
    .main7 {
        width: 100px;
    }

    .mainlinks {
        transform: translate(7vw,100vh);
    }

    .mainlinks.active {
        transform: translate(7vw,-15vh);
    }
}
