/*font*/
.body{
    font-family: Optima-Medium,'cursive';
    background-color: #5EB9B6;
}
p{
    font-family: Optima-Medium,'cursive';
    font-size: 22px;
    text-align: justify!important;
}
h2{
    font-family: Optima,'cursive';
    font-size: 2.5rem;
}
.learn-title{
    font-family: Optima-Medium,'cursive';
    font-size: 1.2rem;
    margin-top: 10px;
    color: #5EB9B6;
}
/*for video*/
.video-claim{
    font-family: Remem,'cursive';
    font-size: 2rem;
    color: #5EB9B6;
    text-align: center;
    margin-top: 10px;
}

/*title and divider*/
.title-section{
    font-family: Optima-Medium,'cursive';
}
.page-blue .title-section{
    color: #5EB9B6;
}
.page-yellow .title-section{
    color: coral;
}
.divider {
    display: block;
    margin-top: 16px;
    margin-bottom: 32px;
    width: 32px;
    height: 3px;
    border-radius: 40px;
}
.page-yellow .divider{
    background-color:#FF9973;
}
.page-blue .divider{
    background-color: #8CD8D5;
}

/*page color*/
.client-section{
    background-color: #cff6f4;
    background-image: url('https://static.igem.wiki/teams/4195/wiki/background/sub-background.png')!important;
}

.page-blue {
    z-index: 0;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-yellow {
    z-index: 0;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #FBF7EB;
    background-image: url('https://static.igem.wiki/teams/4195/wiki/background/sub-background.png')!important;
}
.promotion-video{
    background: linear-gradient(#e2fbfa,#d3f7f6 50%);
}

/*button*/
:root {
    --backgroundColor: #FFEAE1;
    --colorShadeA: #D3673C;
    --colorShadeB: #E78057;
    --colorShadeC: #FFB496;
    --colorShadeD: #FFCAB5;
    --colorShadeE: #FFDBCD;
}
button.big-button {
    color: var(--colorShadeA) !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    font-family: Optima-Medium;
    font-size: 1.5rem;
    font-weight: 700;
    vertical-align: middle;
    padding: 1em 2em;
    border: 0px ;
    border-radius: 1em;
    background: var(--colorShadeE);
    transform-style: preserve-3d;
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
    max-width: 80%;
}

button.big-button::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;left: 0;right: 0;bottom: 0;
    background: var(--colorShadeC);
    border-radius: inherit;
    box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.75em 0 0 var(--colorShadeA);
    transform: translate3d(0, 0.75em, -1em);
    transition: all 175ms cubic-bezier(0, 0, 1, 1);
}

button.big-button:hover {
    background: var(--colorShadeD);
    transform: translate(0, 0.375em);
    border: 0px ;
}
button.big-button:hover::before {
    transform: translate3d(0, 0.75em, -1em);
}

button.big-button:active {
    transform: translate(0em, 0.75em);
    color: var(--colorShadeA);
    border: 0px !important;
}

button.big-button:active::before {
    transform: translate3d(0, 0, -1em);
    color: var(--colorShadeA);
    box-shadow: 0 0 0 2px var(--colorShadeB), 0 0.25em 0 0 var(--colorShadeB);
    border: 0px  !important;
}

button.big-button:focus {
    border: 0px !important;
}

/*fullname 即OMEGA全称*/
.full-name{
    text-align:center;
    color: saddlebrown;
    font-family: Optima;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.8rem;
    line-height: 3rem;
}

/*navbar-color 以及主页导航栏的调整*/
.navbar-float {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    background-color:floralwhite;
    box-shadow: 0 2px 6px rgba(100, 95, 136, 0.15);
    z-index: 1070;
}

.bar-container .dropdown-wrapper button:hover{
    color:rgb(239, 133, 109);
}

.dropdown-wrapper button.active {
    color: #EF856D;
}
.icon-color{
    color:#EF856D !important;
}

.dropdown-wrapper .dropdown-menu ul li a:hover {
    background:  floralwhite;
    border-radius: 15px;
}

.dropdown-wrapper .dropdown-menu.one:before, .dropdown-wrapper .dropdown-menu.one:after {
    left: 32%;
}
.dropdown-wrapper .dropdown-menu.two:before, .dropdown-wrapper .dropdown-menu.two:after {
    left: 44.5%;
}
.dropdown-wrapper .dropdown-menu.twoplus:before, .dropdown-wrapper .dropdown-menu.twoplus:after {
    left: 63%;
}
.dropdown-wrapper .dropdown-menu.three:before, .dropdown-wrapper .dropdown-menu.three:after {
    left: 46%;
}
.dropdown-wrapper .dropdown-menu.four:before, .dropdown-wrapper .dropdown-menu.four:after {
    left: 62%;
}
.dropdown-wrapper .dropdown-menu.five:before, .dropdown-wrapper .dropdown-menu.five:after {
    left: 83%;
}

/*picture 图片*/
/*illustration picture*/
.img-place {
    position: relative;
    display: block;
    margin: 0 10px auto 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
}
.img-place img {
    width: 100%;
    height: auto;
    margin-top:50px;
    margin-left:0px;
}

/* scrollbar design */
/*定义滚动条高宽及背景
 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
    width:8px;
    height:100%;
    background-color:#F5F5F5;
}
/*定义滚动条轨道*/
::-webkit-scrollbar-track
{
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
    background-color:#F5F5F5;
}
/*定义滑块*/
::-webkit-scrollbar-thumb
{
    border-radius:10px;
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);
    background-image:-webkit-gradient(linear,
    40% 0%,
    75% 84%,
    from(#FFEAE2),
    to(#FFD3C2),
    color-stop(.8,#FFD3C2));
}

.italics-blue{
    font-family: Optima-Medium,'cursive';
    font-size:22px;
    text-align: justify!important;
    color: #5EB9B6;
    font-style: italic;
}

.italics-red{
    font-family: Optima-Medium,'cursive';
    font-size:22px;
    text-align: justify!important;
    color: coral;
    font-style: italic;
}

/*wave */

.page-after {
    height: 50vw;
}
.page-after-second {
    height: 50vw;
}

.page-after:after {
    content: "";
    transform:rotateX(180deg) rotateY(180deg) scaleX(1.5);
    position: absolute;
    z-index: 200 !important;
    bottom: 0;
    width: 100%;
    height: 15vw;
    background-size: 100%;
    background-image:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23FBF7EB' viewBox='0 0 1185 248'><path d='M0 0v17.7c22.7 14.8 53 31.9 90.7 51.5 150.8 78 322 116.6 424.8 69.3 102.9-47.4 138-69.3 210.8-69.3s118.3 48.6 219.5 38.3 76.3-59.3 188.7-59.3c18.9 0 35.5 2.6 50.5 6.8V0H0z' class='a'/></svg>");
    background-color:#E9FDFC;
}

.page-after-second:after {
    content: "";
    transform:rotateX(180deg) rotateY(180deg) scaleX(1.5);
    position: absolute;
    z-index: 200 !important;
    bottom: 0;
    width: 100%;
    height: 15vw;
    background-size: 100%;
    background-image:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23E9FDFC' viewBox='0 0 1185 248'><path d='M0 0v17.7c22.7 14.8 53 31.9 90.7 51.5 150.8 78 322 116.6 424.8 69.3 102.9-47.4 138-69.3 210.8-69.3s118.3 48.6 219.5 38.3 76.3-59.3 188.7-59.3c18.9 0 35.5 2.6 50.5 6.8V0H0z' class='a'/></svg>");
    background-color: #FBF7EB;
}

.page-banner:after {
    content: "";
    transform:rotateX(180deg) rotateY(180deg) scaleX(1.5);
    position: absolute;
    z-index: 0;
    bottom: -10vw;
    width: 100%;
    height: 15vw;
    background-size: 100%;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23E9FDFC' viewBox='0 0 1185 248'><path d='M0 0v17.7c22.7 14.8 53 31.9 90.7 51.5 150.8 78 322 116.6 424.8 69.3 102.9-47.4 138-69.3 210.8-69.3s118.3 48.6 219.5 38.3 76.3-59.3 188.7-59.3c18.9 0 35.5 2.6 50.5 6.8V0H0z' class='a'/></svg>");
    background-color: #FBF7EB;
}

.learn img{
    width: 50%;display: block;margin: 0 auto;
}

@media(max-width: 1000px) {
    .page-after-second{
        height:  100%;
    }
    .page-after{
        height:  100%;
    }
    .learn img{
        width: 60% !important;
    }
}

@media(max-width: 450px) {
    .page-after-second {
        height:  100%;
    }
    .page-after {
        height: 100% ;
    }
    .learn img{
        width: 80% !important;
    }
}

@media(max-width: 1000px) {
    .page-yellow .container .row .col-lg-6{
        margin: 0px 10px;
    }
    .page-blue .container .row .col-lg-6{
        margin: 0px 10px;
    }

}

@media(min-width: 2000px){
    .headline--sail{
        font-size: 8vm;
    }
}

.page-banner {
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;
    height:100%;
    color: black;
    border-radius: 30px;
}

.page-banner.home-banner {
    border-radius: 0;
}
@media (max-width: 768px) {
    .page-banner.home-banner {
        height: auto;
        margin-top: 100px;
    }
}

@media (min-width: 768px) {
    .wrapper{
        height: 100% !important;
    }
}

.page-blue p {
    color: #035A57;
}
.page-yellow p {
    color: #9C2A00;
}

.dropdown-wrapper button{
    background: transparent;
}


.nav-btn button {
    height: 50px;
    width: 90px;
    background-repeat: no-repeat !important;
    background-size: 50px 50px !important;
    background-position-x:center !important;
    margin-top: 20px;
}

.team-btn button {
    padding: 58px 20px 20px 20px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/team-icon.png");
}
.project-btn button {
    padding: 58px 20px 20px 16px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/project-icon.png");
}
.hardware-btn button {
    padding: 58px 20px 20px 5px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/hardware-icon.png");
}
.parts-btn button {
    padding: 58px 20px 20px 16px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/parts-icon.png");
}
.hp-btn button {
    padding: 58px 20px 20px 16px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/hp-icon.png");
}
.awards-btn button {
    padding: 58px 20px 20px 16px;
    background: url("https://static.igem.wiki/teams/4195/wiki/navbar-icon/awards-icon.png");
}

.spacer{
    min-height: 1px;
}

/*car !!*/
#move_car {
    z-index: 1000000000000;
    max-width:120px;
    max-height: 100%;
    margin-left: 170px;
    margin-top: 115px;
}

#micro {
    z-index: 10000000000000;
    max-width:120px;
    max-height: 100%;
    margin-left: -50px;
    margin-top: 210px;
}

#shrimp{
    z-index: 10000000000000;
    max-width:170px;
    max-height: 100%;
    margin-left: 850px;
    margin-top: 130px;
}

#live{
    position: absolute;
    z-index: 10000000000000;
    max-width:150px;
    max-height: 100%;
    margin-left: 365px;
    margin-top: 215px;
    opacity: 0;
}

#omega {
    position: absolute;
    z-index: 10000000000000;
    max-width:120px;
    margin-left: 610px;
    margin-top: 0px;
    transform: scale(0);
}

#target1 , #target2 , #target3 , #target5{
    z-index: 10000000000000;
    position: absolute;
}

@media(max-width: 1400px){
    #micro{
        margin-top: 160px;
    }
}

@media(max-width: 1300px) {
    #live {
        display: none;
    }
    #micro{
        opacity: 0;
    }
    #shrimp{
        opacity: 0;
    }
    #omega{
        opacity: 0;
    }
    #move_car{
        opacity: 0;
    }
}


