html, body {
    font-family: 'Microsoft JhengHei', 'Arial';
    font-size: 12px;
    width: 100%;
    height: 100%;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
}

#main-container {
    padding-top: 122px;
}

#header-operations-wrapper {
    background-color: #efefef;
}

#header-navbar-wrapper {
    position: relative;
    background-color: #fff;
}

#header-announce-wrapper {
    font-size: 14px;
    background-color: #f9f9f9;
    height: 26px;
}

#header-count-wrapper {
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #3235a5;
}

#header-footer-wrapper {
    background-color: #33363d;
    color: white;
    height: 100px;
}

#header-footer {
    margin-left: 140px;
    margin-right: 140px;
    padding: 1rem;
}

#header-operations {
    margin-left: 140px;
    margin-right: 140px;
}

#header-navbar {
    margin-left: 140px;
    margin-right: 140px;
    height: 80px;
}

#footer-copyright {
    text-align: center;
    background-color: #33363d;
    color: white;
    padding: 0px 0px 40px 0px;
    font-size: 14px;
    font-weight: lighter;
}

.online-service,
.navbar-item.active,
.navbar-item.active-large {
    color: #7330c6;
}

.online-service {
    font-size: 14px;
}

.navbar-item.active span {
    width: 35px;
    height: 2px;
    background-color: #7330c6;
    position: absolute;
    bottom: 0px;
    display: block;
}

.navbar-item.active-large span {
    width: 50px;
    height: 2px;
    background-color: #7330c6;
    position: absolute;
    bottom: 0px;
    display: block;
}

.navbar-item {
    cursor: pointer;
}

.navbar-item:hover {
    color: orange;
}

#header-navbar-content {
    font-size: 16px;
    font-weight: 300;
    background-color: rgba(206, 195, 220, 0.85);
    width: 100vw;
    height: auto;
    max-height: 0px;
    z-index: 2;
    overflow: hidden;
    transition: max-height .23s;
}

#header-navbar-content.open {
    max-height: 300px;
}

#header-navbar-content > div {
    padding: 20px 20px 20px 112px;
    min-width: 1060px;
}

.block-title {
    color: #6c6c6c;
    font-size: 38px;
    font-family: 'Microsoft JhengHei';
    font-weight: bold;
}

.block-title-en {
    font-size: 24px;
    color: #ccc;
    font-family: 'Arial';
    font-weight: lighter;
}

.blur {
    filter: blur(5px);
}

.count-number {
    font-size: 30px;
    color: yellow;
    font-family: 'Arial';
    font-weight: bold;
}

.count__unit {
    font-size: 26px;
    font-family: 'Microsoft JhengHei';
    font-weight: bold;
}

.count-description {
    font-size: 20px;
    color: white;
    font-weight: lighter;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%237330c6' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%237330c6' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

ol.carousel-indicators {
    padding-bottom: 25px;
    display: flex;
    align-items: center;
}

ol.carousel-indicators li {
    float: left;
    height: 8px;
    width: 8px;
    margin: 0 5px 0 5px;
    border-radius: 8px;
    border: 1px solid #e2e1e3b3;
    background: #e2e1e3b3;
}

ol.carousel-indicators li.active {
    background: orange;
}

#game-items-block {
    padding: 60px 240px 60px 240px;
}

@media only screen and (max-width: 1280px) {
    #game-items-block {
        padding: 60px 60px 60px 60px;
    }
}

@media only screen and (max-width: 1024px) {
    #header-operations,
#header-navbar,
#header-count,
#header-footer {
        margin-left: 40px;
        margin-right: 40px;
    }
    #header-navbar-content > div {
        padding: 20px 20px 20px 30px;
        width: auto;
    }
    .care-tips-line {
        margin-left: 20px;
        height: 1px;
        background-color: orange;
        width: 75%;
    }
    .care-tips-text {
        font-size: 18px;
        color: orange;
    }
}

@media only screen and (min-width: 993px) {
    #header-navbar {
        min-width: 760px;
    }
    .hidden-desktop {
        display: none;
    }
    .header {
        height: 42px;
    }
    .herder__logo img {
        height: 60px;
    }
    .game__card {
        flex: 1;
        height: 100%;
        max-width: 350px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 0px;
        position: relative;
    }
    .game__card:hover {
        transition: transform .7s;
        transform: translate(0px, 0px) scale(1.1) !important;
        background-image: var(--hover) !important;
        background-color: white !important;
    }
    #main-container {
        min-height: 800px;
    }
}

@media only screen and (max-width: 992px) {
    body {
        overflow: hidden;
    }
    #header-operations-wrapper,
#header-navbar-wrapper .navbar-item,
#header-count-wrapper,
#header-footer-wrapper,
#header-service-wrapper,
#footer-copyright {
        display: none !important;
    }
    #header-navbar {
        height: 50px;
        margin: 0px;
    }
    .herder__logo img {
        height: 40px;
    }
    #main-container {
        padding: 0px;
        padding-top: 50px;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .hidden-mobile {
        display: none !important;
    }
    .care-tips-text {
        font-size: 14px;
        color: orange;
    }
    .care-tips-line {
        margin-left: 20px;
        height: 1px;
        background-color: orange;
        width: 70%;
    }
    .m-account-header {
        background-color: orange;
        color: white;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        font-size: 18px;
    }
    .account-boarder {
        background-color: orange;
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
    .account-boarder-user-avatar {
        flex: 1;
        text-align: center;
    }
    .account-boarder-user-info {
        justify-self: left;
        color: white;
        font-size: 18px;
        flex: 2;
    }
    .mobile-menu {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 50px;
        padding: 10px 25px 5px 25px;
        background-color: white;
        border-radius: 25px 25px 0px 0px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    }
    .mobile-menu div {
        cursor: pointer;
    }
    .mobile-menu .dropdown-menu.show {
        margin-left: -50px;
        padding: 5px;
    }
    .mobile-menu .dropdown-toggle::after {
        display: none;
    }
    .mobile-menu .menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #9ca1aa;
    }
    .mobile-menu .menu .btn {
        font-size: 16px;
    }
    .mobile-menu > .menu:nth-child(3):active img {
        transform: scale(0.8);
    }
    #mobile-wrapper .menu {
        padding: 10px;
    }
    #mobile-wrapper .menu .btn {
        height: 60px;
        width: 60px;
        padding: 10px;
        border-radius: 5px;
        margin: 0px 0px 10px 0px;
        background: #f3f7f8;
        font-family: Microsoft JhengHei;
    }
    #mobile-wrapper .menu .btn:hover {
        border: 2px solid #7294ed;
    }
    #main-container {
        height: calc(100% - 50px);
        overflow-y: scroll;
    }
}

.hidden {
    display: none !important;
}

.navbar-item-dropdown a {
    color: black;
    text-decoration: none;
    line-height: 80px;
    font-size: 16px;
}

.navbar-item-dropdown:hover a {
    color: orange;
}

.navbar-item-dropdown a:hover {
    color: orange;
}

.navbar-dropdown-block {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.86);
    width: 100%;
    left: 0;
    top: 80px;
    z-index: 1;
    height: 0px;
    transition: height .3s;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(255, 255, 255, 0.86);
}

.navbar-dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1;
    padding: 0px 20px 0px 20px;
    height: 280px;
}

.navbar-item-dropdown:hover .navbar-dropdown-block {
    display: block;
    height: 280px;
}

.navbar-item-dropdown:hover .navbar-dropdown-content {
    display: block;
}

.navbar-dropdown-content ul li {
    padding: 10px;
    color: black;
    font-size: 16px;
    font-weight: 200;
}

ul {
    list-style: none;
}