@font-face {
    font-family: 'jf-openhuninn';
    src: local("jf-openhuninn"),
        url('../font/jf-openhuninn-2.0.woff') format("woff"),
        url('../font/jf-openhuninn-2.0.ttf') format("opentype"),
        url('../font/jf-openhuninn-2.0.eot') format("embedded-opentype");
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', 'jf-openhuninn', sans-serif, 'Microsoft JhengHei', 'PingFang';
    font-size: 17px;
    color: #fff;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

#loading-mask {
    width: 100%;
    height: 100%;
    background-color: #F0E5DE;
    position: fixed;
    z-index: 20;
    display: flex;

}


#loading-bar {
    width: 288px;
    height: 32px;
    border: 3px solid #7C7877;
    border-radius: 30px;
}

#loading-fill {
    width: 0px;
    height: 100%;
    background-color: #ABD0CE;
    border-radius: 30px;
}

#loading h5 {
    color: #7C7877;
    font-size: 14px;
    padding: 10px 0px;
}

#loading-mask-2 {
    width: 100%;
    height: 100%;
    background-color: #F0E5DE;
    position: fixed;
    display: flex;
    z-index: 19;
    animation-name: mask-off;
    animation-delay: 0.5s;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}

@keyframes mask-off {
    0% {
        opacity: 1;

    }

    100% {
        opacity: 0;
    }
}

#loading-bar-2 {
    width: 288px;
    height: 32px;
    border: 3px solid #7C7877;
    border-radius: 40px;
    background-color: #ABD0CE;
    animation-name: loading-done;
    animation-duration: 1s;
    animation-play-state: paused;
}

@keyframes loading-done {
    0% {
        width: 288px;
    }

    50% {
        width: 32px;
    }

    100% {
        width: 32px;
    }
}

nav {
    width: 100%;
    height: 80px;
    z-index: 18;
    position: fixed;
    background-color: #F0E5DE;
}

@media (max-width: 990px) {
    nav {
        height: 60px;
    }

    .nav-box {
        width: 100%;
        justify-content: space-between;
    }
}

nav button,
.menu-btn {
    border: 0;
    padding: 4px 12px;
    font-size: 26px;
    color: white;
    border-radius: 8px;
}

menu {
    display: flex;
    overflow: hidden;
    padding: 0;
    width: 0px;
    transition: 0.8s;
}

@media (max-width: 990px) {
    menu {
        width: 100%;
        height: 0;
        position: absolute;
        padding: 0;
        margin: 0;
        top: 60px;
        left: 0;
        background-color: #C9BDB6;
    }
}

.home-btn {
    background-color: #ABD0CE;
}

.menu-btn {
    background-color: #7C7877;
    transition: 0.8s;
    cursor: pointer;
}

.home-pc,
.menu-pc {
    display: block;
}

@media (max-width: 991px) {

    .home-pc,
    .menu-pc {
        display: none;
    }
}

.home-mobile,
.menu-mobile {
    width: 40px;
    height: 40px;
    font-size: 32px;
    padding: 0;
    display: none;
}

@media (max-width: 990px) {

    .home-mobile,
    .menu-mobile {
        display: flex;
    }
}

#menu-switch:checked~.menu-btn {
    background-color: #ABD0CE;
    transition: 0.8s;
}

#menu-switch:checked~menu {
    width: 100%;
    height: 100%;
    transition: 1s;
}

.menu-view {
    overflow: hidden;
    background-color: #C9BDB6;
}

.rooms {
    height: 60px;
    position: relative;
    left: 0px;
    gap: 10px;
    padding: 8.5px;
    transition: 0.5s;
}

menu i {
    font-size: 50px;
    cursor: pointer;
    color: #7C7877;
}

.rooms .room-btn {
    font-size: 24px;
    background-color: #FFFFFF;
    color: #7C7877;
}

.room-btn:hover {
    background-color: #ABD0CE;
    color: #FFFFFF;
}

@media (max-width: 540px) {
    menu i {
        font-size: 44px;
    }

    .rooms {
        padding: 8.5px 0;
    }

    .rooms {
        padding: 8.5px 0;
    }
}

main {
    min-height: 100%;
    padding-top: 80px;
    padding-bottom: 78px;
}

@media (max-width: 990px) {
    main {
        padding-top: 100px;
    }
}

@media (max-width: 816px) {
    main {
        padding-bottom: 59px;
    }
}

@media (max-width: 540px) {
    main {
        padding-top: 130px;
    }
}

.content {
    margin: auto;
    padding: 6% 13px 40px 13px;
    position: relative;
}

.connect:hover {
    opacity: 0.7;
    color: rgb(185, 115, 115);

}

@media (min-width: 1084px) {
    .content {
        max-width: 1420px;
    }
}

.intro-2 {
    margin-top: 10px;
    display: none;
    width: 393px;
}

.intro h3 {
    font-size: 28px;
    background-color: #D9D4CF;
}

.intro-text {
    text-align: justify;
    padding: 30px 40px;
    background-color: #D9D4CF;
}

#map {
    height: 640px;
    position: relative;

}

.map-mask,
.map-mask-mob {
    height: 640px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: absolute;
    right: 12px;
    z-index: 17;
}

.map-mask img {
    width: 80%;
}

.map-mask iconify-icon {
    font-size: 8rem;
}

.map-mask h6 {
    line-height: 1.5rem;
}

.map-mask-mob {
    display: none;
    width: calc(100% - 24px);
    height: 450px;
}

.carousel-item img {
    width: 50%;
    margin-top: 2rem;
    margin-bottom: 5rem;
}

.carousel-caption {
    bottom: 0;
}

.mask-close {
    font-size: 50px;
    position: absolute;
    right: 0;
    padding: 5px 10px;
    z-index: 18;
}

@media(max-width: 990px) {
    .intro {
        display: none;
    }

    .intro-2 {
        margin-top: 30px;
        display: block;
        background-color: #D9D4CF;
    }

    .intro-2 h3 {
        font-size: 28px;
    }

    #map {
        width: 100%;
        height: 450px;
    }

    .map-mask {
        display: none;
    }

    .map-mask-mob {
        display: block;
    }
}

@media(max-width: 800px) {
    .carousel-item img {
        width: 70%;
    }
}

@media(max-width: 500px) {
    .carousel-item img {
        margin-top: 1rem;
        width: 90%;
    }
}

@media(max-width: 393px) {
    #map {
        width: 372px;
        height: 320px;
    }

    .map-mask-mob {
        height: 320px;
    }
}

footer {
    width: 100%;
    margin-top: -78px;
    height: 80px;
    border-top: #D9D4CF solid 2px;
    color: #D9D4CF;
}

.footer-box {
    height: 100%;
    display: flex;
}

footer h5 {
    font-size: 19px;
    margin: 0;
}

footer .line {
    font-size: 25px;
}

.connect {
    font-size: 19px;
    color: #D9D4CF;
    margin-left: 20px;
    padding: 4px;
    border: #D9D4CF solid 1px;
    border-radius: 4px;
    cursor: pointer;
}

.connect:hover {
    opacity: 0.7;
    color: rgb(185, 115, 115);
    border: rgb(185, 115, 115) solid 1px;
}

.footer-box-mob {
    display: none;
    padding: 6px;
    gap: 4px;
}

.footer-box-mob h5 {
    font-size: 14px;
}

.footer-mob-up h5 {
    font-weight: bold;
}

.footer-box-mob .connect {
    font-size: 14px;
    padding: 0px 4px;
    margin: 0;
    font-weight: bold;
}

.footer-box-mob .line {
    font-size: 20px;
}

@media (max-width: 816px) {
    footer {
        height: 60px;
        margin-top: -60px;
    }

    .footer-box {
        display: none;
    }

    .footer-box-mob {
        display: flex;
    }
}

.label {
    color: #7C7877;
    font-family: 'Nunito', 'jf-openhuninn', 'sans-serif', 'Microsoft JhengHei', 'PingFang';
    font-size: 20px;
    font-weight: bold;
    text-shadow: -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white;
}

.pin {
    color: rgb(231, 75, 63);
    font-size: 50px;
    display: none;
}

.hide {
    display: none !important;
}