@import url('https://webarchive.lib.cuhk.edu.hk/20241027090520cs_/https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2:wght@700&family=Open+Sans:wght@300;400;600&display=swap');

html {
    font-family: 'Open Sans', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #fff;
    scroll-behavior: smooth;
}

html,
body {
    scroll-behavior: smooth;
}

a {
    background-color: transparent;
    text-decoration: none;
}

a:visited,
a:hover {
    outline: 0;
}

b {
    font-weight: 700px;
}

h1,
.word {
    margin: 0;
}

h1 {
    font-family: 'Baloo Bhaina 2', cursive;
    color: #4b4b4b;
    font-size: 48px;
    line-height: 48px;
}

.description {
    font-size: 22px;
    color: #4b4b4b;
    margin-bottom: 30px;
}

.row {
    margin-left: auto;
    margin-right: auto;
}

.secrow {
    margin-top: 100px;
    padding-bottom: 100px;
}

.arrow {
    text-align: center;
    padding-bottom: 100px;
}

.row:before,
.row:after,
.arrow:before,
.arrow:after {
    clear: both;
}

.container {
    position: relative;
    max-width: 960px;
    min-width: 800px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 30px;
}

.content {
    margin-left: 30px;
}

.banner {
    position: relative;
    margin-top: 45px;
}

.bg00,
.bg01,
.bg02,
.bg03,
.bg04,
.bg05,
.bg06,
.bg07,
.bg08 {
    height: auto;
    position: absolute;
}

.bg00 {
    max-width: 60%;
}

.bg01 {
    max-width: 30%;
}

.bg02 {
    max-width: 35%;
}

.bg03 {
    max-width: 30%;
}

.bg04 {
    max-width: 40%;
}

.bg05 {
    max-width: 30%;
}

.bg06 {
    max-width: 30%;
}

.bg07 {
    max-width: 25%;
}

.bg08 {
    max-width: 30%;
}

.rr {
    right: 0;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

#btn-letsbegin {
    position: absolute;
    width: 303px;
    height: 68px;
    left: 50px;
    top: 535px;
    background-color: #b8f044;
    border: none;
    border-radius: 50px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: 'Baloo Bhaina 2', cursive;
    font-weight: 700;
    color: #279401;
    font-size: 42px;
    text-align: center;
    line-height: 80px;
    text-decoration: none;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    transition: .5s ease;
    cursor: pointer;
}

#btn-letsbegin:hover {
    background-color: #f5ffe1;
    color: #26720b;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

.btn-usefullinks {
    position: absolute;
    width: 135px;
    height: 35px;
    background-color: #64dfc1;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.25);
    font-family: 'Baloo Bhaina 2', cursive;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    transition: .5s ease;
    cursor: pointer;
}

.btn-usefullinks:hover {
    background-color: #baffee;
    color: #30a085;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

.refrow {
    background-color: #E4FFB3;
    padding: 70px 0;
}

.reftopic {
    color: #64dfc1;
}

.reftable {
    color: #4b4b4b;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    vertical-align: top;
    padding-top: 30px;
    display: inline-block;
}

.reftable1 {
    padding-right: 40px;
}

.reftable ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.reftable li {
    margin-bottom: 12px;
}

.reftable2 li {
    margin-bottom: 8px;
}

.logo {
    height: 45px;
    margin-right: 20px;
}

.footer {
    background-color: #64dfc1;
    color: #4b4b4b;
    padding: 70px 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    text-align: center;
}



/* right menu */
#btn-menu {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-image: url(img/btn_menu.png);
    right: 35px;
    bottom: 100px;
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1;
    -webkit-transition: .5s ease;
    -moz-transition: .5s ease;
    -ms-transition: .5s ease;
    transition: .5s ease;
    cursor: pointer;
}

#btn-menu:hover {
    background-image: url(img/btn_menu_hover.png);
}

#btn-menu.show {
    opacity: 1;
    visibility: visible;
}

/* menu content */

.btn-close {
    top: 17px;
    right: 17px;
    position: absolute;
    z-index: 10;
    cursor: pointer;
}

.btn-close img {
    width: 40px;
    height: 40px;
}

.openmenu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    overflow-x: hidden;
    transition: 0.5s ease;
    z-index: 2;
}

.menu-box {
    min-width: 50%;
    height: 100%;
    float: right;
}

.menu-bg {
    background: #F5FFE1;
    opacity: 0.9;
    height: 100%;
    width: 100%;
    position: absolute;
}

.menu-content {
    margin-top: 40px;
    max-width: 75%;
    width: 680px;
    height: 89%;
    margin-right: auto;
    margin-left: auto;
    display: block;
    position: relative;
}

.menu-content img {
    width: 100%;
    margin-bottom: 5%;
}

.menu-list {
    position: relative;

}

ul.menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}



ul.list li,
ul.menu-list li {
    font-family: 'Baloo Bhaina 2', cursive;
    font-size: 36px;
    line-height: 36px;
    padding-bottom: 1.2vw;
    text-align: left;
}

ul.list li a,
ul.menu-list li a {
    color: #26720B;
    text-decoration: none;
}

ul.list li a:hover,
ul.menu-list li a:hover {
    color: #64DFC1;
}



/* list */
.listbox {
    position: absolute;
    width: auto;
    height: auto;
    padding: 5%;
    background: #F5FFE1;
    opacity: 0.9;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
}

ul.list li:last-child {
    padding-bottom: 0px;
}

ul.list {
    list-style-type: none;
    padding: 0;
    min-width: 450px;
    margin-left: 0;
    margin-right: 0;
    display: inline;
    position: relative;
}



/* scroll to top */

#btn-top {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-image: url(img/btn_top.png);
    right: 35px;
    bottom: 35px;
    display: inline-block;
    transition: background-color .3s, opacity .5s, visibility .5s, .5s ease;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 1;
    cursor: pointer;
}

#btn-top:hover {
    background-image: url(img/btn_top_hover.png);
}

#btn-top.show {
    opacity: 1;
    visibility: visible;
}



/* sections links */

.lightbox {
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0, 0);
    transition: transform 150ms ease-in-out;
}

/* Opened lightbox */
.lightbox:target {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1, 1);
}

.btn-boxclose {
    top: 10px;
    right: 10px;
    position: absolute;
    z-index: 1000;
}

.btn-boxclose:hover {
    cursor: pointer;
}

/* links content */
.linksbox {
    position: absolute;
    width: 750px;
    height: auto;
    background: #FFFFFF;
    border: 8px solid #BAFFEE;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    word-wrap: break-word;
}

.linkscontent {
    text-align: left;
}

.linkscontent ul {
    list-style-type: none;
    margin: 5%;
    padding: 0;
    width: 90%;
    height: 90%;
    display: inline-block;
}

.linkscontent ul li {
    line-height: 1.5em;
    padding-bottom: 18px;
}

.linkscontent ul li:last-child {
    padding-bottom: 0px;
}

.linkscontent a {
    text-decoration: none;
}

.linkscontent a.t {
    font-size: 16px;
    color: #64DFC1;
}

.linkscontent a:visited.t {
    color: #30A085;
}

.linkscontent a.l {
    font-size: 15px;
    font-weight: 300;
    color: #4B4B4B;
}



/* media query */

@media screen and (max-width: 700px) {

    .container {
        max-width: 100%;
        min-width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .menu-box {
        width: 100%;
        height: 100%;
        display: inline-block;
        float: right;
    }

    ul.list li,
    ul.menu-list li {
        font-family: 'Baloo Bhaina 2', cursive;
        font-size: 8vw;
        line-height: 11vw;
        padding-bottom: 1.2vw;
        text-align: left;
    }

    .linkscontent {
        overflow-y: auto;
        max-height: 140vw;
    }

    .linkscontent ul {
        padding: 6% 0;
    }

    #btn-menu,
    #btn-top {
        right: 10px;
        width: 55px;
        height: 55px;
        background-size: 50px 50px;
        background-position: center;
        background-repeat: no-repeat;
    }

    #btn-menu {
        bottom: 55px;
    }

    #btn-top {
        bottom: 10px;
    }

    .listbox {
        width: 75%;
    }

    .linksbox {
        width: 80%;
    }

    ul.list {
        min-width: unset;
    }

    .btn-boxclose img {
        width: 25px;
        height: 25px;
    }

    .container .banner {
        width: 90%;
        margin-bottom: 120px;
        margin: 0 5%;
        margin-top: 10%;
    }

    #btn-letsbegin {
        left: unset;
        top: unset;
        display: block;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        width: 75%;
        font-size: 2.1em;
    }

    .content {
        margin-left: 10%;
    }

    .fr,
    .fl {
        float: none;
    }

    .i {
        width: 100%;
    }

    .description,
    .footer p {
        width: 90%;
    }

    .reftable,
    .reftable1 {
        width: 90%;
        padding-right: 0px;
        font-size: 1em;
    }

    h1 {
        font-size: 2em;
        line-height: 35px;
        width: 100%;
    }

    .description {
        font-size: 1.2em;
        line-height: 1.5em;
    }

    .bg01 {
        margin-top: 300px;
    }

    .bg02,
    .bg08 {
        margin-top: 360px;
    }

    .bg03 {
        margin-top: 420px;
    }

    .bg04 {
        margin-top: 440px;
    }

    .bg05 {
        margin-top: 370px;
    }

    .bg06 {
        margin-top: 390px;
    }

    .bg07 {
        margin-top: 380px;
    }

    .reftable {
        display: block;
    }



    /* end */
}