
.logo{
    width: 15vh;
    height: 15vh;
    position: fixed;
    left: 2vw;
    top: 3vh;
    z-index: 10000;
    background: url('https://static.igem.wiki/teams/5398/home/logo.svg') no-repeat;
}
.navbtn1{
    width: 8vh;
    height: 8vh;
    position: fixed;
    right: 2vw;
    top: 3vh;
    z-index: 10000;
    /* background: url('https://static.igem.wiki/teams/5398/cmrna/navbtn1.svg') no-repeat; */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}
.navbtn2{
    width: 8vh;
    height: 8vh;
    position: fixed;
    right: 2vw;
    top: 3vh;
    z-index: 10000;
    /* background: url('https://static.igem.wiki/teams/5398/cmrna/closenav.svg') no-repeat; */
    display: none;
}

.navbg{
    width: 100vw;
    height: 100vh;
    /* background: url('https://static.igem.wiki/teams/5398/cmrna/nav-bg.svg') no-repeat; */
    background-size: cover;
    z-index: 9999;
    position: fixed;
    transform: scaleX(0) scaleY(1);
    transform-origin: 100%;
    transition: 1s;
}

.fixbg{
    width: 100vw;
    height: 100vh;
    background: url('https://static.igem.wiki/teams/5398/cmrna/nav-bg.svg') no-repeat;
    background-size: cover;
    z-index: 9999;
    position: fixed;
    scale: 0;
    transform-origin: 100%;
}

.navbox{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
}

.nav1{
    width: 12vw;
    height: 60vh;
    position: relative;
    left: 5vw;
    top: 25vh;
    float: left;
}

.bg3{
    width: 15vw;
    height: 50vh;
    position: absolute;
    border-radius: 50px;
    border-bottom-right-radius: 0;
    background: url('https://static.igem.wiki/teams/5398/cmrna/2cardbg.svg');
    background-size: cover;
    box-shadow: -10px 5px 15px rgba(0, 0, 0, 0.6);
}

.grade1{
    width: 5vw;
    position: absolute;
    bottom: 77%;
    left: 15%;
    color: #11455a;
    font-size: 1.3rem;
    text-align: center;
    font-family: Silom;
}

.iconbg1{
    width: 6vw;
    height: 6vw;
    /* background: url('https://static.igem.wiki/teams/5398/cmrna/nav-logobox.svg') no-repeat; */
    position: absolute;
    top: 25%;
    left: 20%;
}

.icon1{
    width:100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    display: block;
}

.icon2{
    width:100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    display: none;
}

.nav1:hover .bg3{
    height: 60vh;
    transform: translateY(-7vh);
    background: url('https://static.igem.wiki/teams/5398/cmrna/3cardbg.svg');
}

.nav1:hover .grade1{
    color: #fff;
}

.nav1:nth-child(1) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/home.svg') no-repeat;
}
.nav1:nth-child(2) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/project.svg') no-repeat;
}
.nav1:nth-child(3) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/parts.svg') no-repeat;
}
.nav1:nth-child(4) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/result.svg') no-repeat;
}
.nav1:nth-child(5) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/model.svg') no-repeat;
}
.nav1:nth-child(6) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/hp.svg') no-repeat;
}
.nav1:nth-child(7) .icon1{
    background: url('https://static.igem.wiki/teams/5398/home/team.svg') no-repeat;
}

.navcard2{
    display: none;
}

.bg1{
    width: 28vw;
    height: 60vh;
    position: absolute;
    left: 0;
    top: -7vh;
    border-radius: 50px;
    border-bottom-right-radius: 0;
    background: url('https://static.igem.wiki/teams/5398/cmrna/1cardbg.svg');
    background-size: cover;
    box-shadow: -10px 5px 15px rgba(0, 0, 0, 0.6);
}

.kuang4{
    width: 90%;
    height: 55%;
    position: absolute;
    top: 25%;
    left: 10%;
    background: url('https://static.igem.wiki/teams/5398/cmrna/4cardbg.svg') no-repeat;
    background-size: 100% 100%;
}

.nav2title1{
    font-size: 2rem;
    color: rgb(201,193,218);
    top: -22%;
    position: absolute;
    transform: scale(1,2.5);
    font-weight: bold;
    font-family: Silom;
}

.nav2title2{
    font-size: 2rem;
    color: #fff;
    top: -12%;
    position: absolute;
    font-weight: bold;
    font-family: Silom;
}

.nav2box{
    width: 95%;
    height: 34%;
    margin: 8% 0;
    position: relative;
    top: 3%;
    display: flex;
    justify-content: space-evenly;
}

.nav2box a{
    text-decoration: none;
    z-index: 100;
}

.icon3box{
    width: 60px;
    height: 60px;
    background-color: rgb(88,171,175);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
    position: relative;
    top: 5%;
    border-radius: 10px;
}

.icon3box p{
    width: 130%;
    transform: translateX(-15%);
    position: relative;
    top: 105%;
    font-size: 9px;
    color: white;
    text-align: center;
    font-family: Silom;
}

.icon3box:hover{
    scale: 1.1;
}

.decoration{
    position: absolute;
}

.decoration1{
    width: 70%;
    top: -25%;
    right: -30%;
}
.decoration2{
    width: 140%;
    top: -10%;
    left: 0;
}
.decoration3{
    width: 40%;
    bottom: 0;
    left: -10%;
}
.decoration4{
    width: 50%;
    bottom: 10%;
    left: 20%;
}
