body {
    font-family: "Helvetica Neue", Helvetica, Arial, STHeitiTC-light, STHeiti, "Microsoft JhengHei", 微軟正黑體, sans-serif;
}
a, #go-button div{
    transition: all 1s;
}
.text-justify {
    text-align: justify;
}

.text-blue-2e {
    color: #2ea7e0;
}

.text-green-66 {
    color: #668d00;
}

.text-gray-89 {
    color: #898989;
}

.border-green-c1 {
    border-color: #c1dc7d;
}

.bg-primary {
    background-color: #1690c6 !important;
}

.bg-blue-c2 {
    background-image: url(../images/b-bg-all.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-yellow {
    background-image: url(../images/y-bg-all.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.bg-pink {
    background-image: url(../images/p-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-green {
    background-image: url(../images/g-bg.png);
    background-repeat: repeat-y;
    background-size: contain;
}

.rounded-7,
.input-group-text.rounded-7 {
    border-radius: 1.25rem !important;
}

#page-title {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

header {
    height: 775px;
}

.m-height {
    height: 730px;
    margin-top: 4rem;
    z-index: 1;
}

.grandmother,one-pic {
    bottom: 16px;
    right: 46px;
    z-index: 3;
    animation: grandmothe 3s ease-in-out 1s infinite running;
}

.one-pic{
    right:auto
}

#a-description.show,
#a-choose-login.show,
#a-game.show {
    position: relative;
    top: -130px;
}

#a-description,
#a-choose-login {
    position: static;
}

@keyframes grandmothe {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(3px, 15px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.wow {
    left: 226px;
    bottom: 239px;
    z-index: 3;
    animation: wow 1s ease-in-out 0.88s infinite running;
}

@keyframes wow {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(0, 5px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.ball {
    left: 146px;
    bottom: 10px;
    z-index: 2;
    animation: ball 3s ease-in-out 0.66s infinite running;
}

@keyframes ball {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(5px, 10px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.pic {
    left: 54px;
    bottom: 104px;
    z-index: 1;
    animation: pic 3s ease-in-out 0.33s infinite running;
}

@keyframes pic {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(6px, 5px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.main-bg {
    background-image: url(../images/main-bg.jpg);
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.navbar-toggler-icon {
    background-image: url(../images/menu-icon.png) !important;
}

.offcanvas {
    --bs-offcanvas-width: 220px !important;
    --bs-body-bg: rgba(255, 255, 255, 0.8) !important;
}

.offcanvas-backdrop {
    background-color: transparent !important;
}

.navbar-nav .show>.nav-link,
.offcanvas .nav-link:hover {
    color: #2088ba;
}

.nav-link {
    color: #898989;
}

.logo {
    max-width: 165px;
}

.social-icon a {
    width: 30px
}

#main-img .title-img {
    max-width: 365px;
}

.description-img {
    bottom: 0;
    right: 0;
}

#a-choose-login h2 {
    top: 12px;
    left: 29px;
    max-width: 470px
}

#game iframe {
    height: 740px;
}

.upload-icon {
    right: 17px;
    top: calc(50% - 13px);
}

.upload-text {
    left: 14px;
    top: calc(50% - 13px);
}

#upload .input-group-text,
#upload .form-floating>.form-control {
    height: calc(3rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
    cursor: pointer;
}

#upload .form-floating>textarea.form-control {
    height: calc(13rem + calc(var(--bs-border-width) * 2));
    resize: none;
}

.top-icon {
    right: 0;
    bottom: 60px;
    z-index: -1;
    opacity: 0;
}

footer {
    height: 90px;
}

footer .footer-logo {
    width: 98px;
}

.game-bg {
    background-image: url(../images/game-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* ---------------------- */
.box {
    transform: translate(0, 0) scale(1);
    transition: all 1s ease-out;
}

.box.show {
    transform: translate(-480px, 10%) scale(0.8);
}

#link .collapse.show {
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
}

#link .navbar.navbar-dark {
    z-index: 3;
}

/* --------------------------20230321 */
.offcanvas.offcanvas-start .btn-close {
    margin-top: 1rem;
}

.footer-logo {
    position: relative !important;
}

.footer-logo img {
    position: absolute;
    top: -74px;
    left: -8px;
}

#go-button {
    position: sticky;
    top: 60px;
    z-index: 1;
}

#link {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transition: all 0.8s;
}

#page-title {
    transition: all 1s ease-in-out;
    z-index: -1;
}

#go-button+.container {
    margin-top: 7rem;
}

#upload {
    position: relative;
}