.main-menu-btn {
    position: relative;
    top: 22px;
    left: 82vw;
    display: inline-block;
    width: 40px;
    height: 40px;
    text-indent: 28px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background-color: #368DB3;
    border-radius: 3px; 
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
    position: absolute;
    top: 45%;
    left: 8px;
    height: 3px;
    width: 24px;
    background: #fff;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
.main-menu-btn-icon:before {
    content: '';
    top: -7px;
    left: 0;
}
.main-menu-btn-icon:after {
    content: '';
    top: 7px;
    left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
    height: 0;
    background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
    display: none;
}
#main-menu-state:checked ~ #main-menu {
    display: block;
}
  
  
/* top-banner區塊 */
#top-banner {
    position: absolute;
    top: 11px;
    margin-left: 3vw;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#top-banner > div{
    margin:10px 10px;
}
#top-banner-logo {
    width: 300px;
}
#top-banner-title {
    font-size:21px;
    letter-spacing: 4px;
}
.btn-login {
    border-radius: 7px;
    box-shadow: none;
    border: 2px solid #146B91;
    background-image: linear-gradient(180deg, #EFFCFF, #BFF4EE);
    padding: 6px 12px;
    font-size: 21px;
    color:#146B91;
    font-weight: bold;
    font-family: Microsoft JhengHei;
}
#btn-login-img {
    height: 25px;
    margin-right: 5px;
}

#main-menu{
    position: relative;
    top: 10px;
    display:block;
}


@media (min-width: 768px) {
    /* hide the button in desktop view */
    .main-menu-btn {
        position: absolute;
        top: -99999px;
    } 
    /* always show the menu in desktop view */
    #main-menu-state:not(:checked) ~ #main-menu {
        /* display: block; */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #main-menu{
        position: relative;
        top: 220px;
        display: flex;
    } 

    #top-banner {
        position: absolute;
        top: 0px;
        margin-left: 3vw;
        height: 200px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

}


@media (min-width: 992px) {
    #main-menu{
        position: relative;
        top: 184px;
        display: flex;
    }  
}

@media screen and (max-width: 568px) {
    #top-banner > div{
        margin:10px 20px;
    }
    #top-banner-logo {
        width: 200px;
    }
    #top-banner-title {
        font-size:16px;
    }

    .btn-login {
        border-radius: 7px;
        box-shadow: none;
        border: 2px solid #146B91;
        background-image: linear-gradient(180deg, #EFFCFF, #BFF4EE);
        padding: 6px 12px;
        font-size: 16px;
        color:#146B91;
        font-weight: bold;
        font-family: Microsoft JhengHei;
    }
}
  