/*
Theme Name: LotusH
*/

* {
    box-sizing: border-box;
}

html,input {
    font-family: 'Roboto', 'Helvetica', 'Noto Sans TC', 'PingFang TC', 'Microsoft JHengHei', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Arial', 'sans-serif', 'PMingLiU';
}
body {
    margin:0;
}

img {
    width:100%;
    display: block;
    margin:auto;
}

header {
/*
    position: fixed;
    z-index: 9;*/
}

header .toggle {
    position: fixed;
    z-index: 10;
    top: 1em;
    right: 1em;
    display: block;
    width: 2em;
    height: 2em;
    background-image: url(images/nav_toggle.webp);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

header .toggle.open {

    background-image: url(images/nav_toggle_close.webp);
}
header .buddha {

    position: fixed;
    z-index: 2;
    bottom: 1em;
    left: 1em;
    width: 6em;
    height: 6em;
    background-image: url(images/icon_buddha.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
header hgroup h1 {
    font-size: 1.2em;
    position: fixed;
    z-index: 2;
    top: 0.7em;
    left: 4.2em;
    color: #fff;
    margin: 0;
}
header .lh {
    
    position: fixed;
    z-index: 2;
    top: 1em;
    left: 1em;
    width: 3em;
    height: 3em;
    background-image: url(images/lotush_logo.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/*
header .lotush {
    position: fixed;
    z-index: 2;
    bottom: 1em;
    right: 1em;
    width: 10em;
    height: 5em;
    background-image: url(images/lotush_logotype.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}*/
header .lotush.back-home {
    width: 5em;
    height: 5em;
    background-image: url(images/icon_home.webp);
    background-size: 50%;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.copyright {
    color:#fff;
    position: fixed;
    z-index: 2;
    bottom: 1em;
    left: 1em;
}

.copyright p {
    font-size:0.875em;
    margin:0;
}
footer .my-account .toggle {
    color:#fff;
    position: fixed;
    z-index: 2;
    bottom: 10dvh;
    right: 10dvw;
    /* add bouncing effect */
    animation: bounce 1s infinite;
    cursor: pointer;
}

footer .my-account .login-box {
    position: fixed;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:3dvw;
    background-color: rgba(255,255,255,0.6);
    color:#fff;
    display: none;
   
}

footer .my-account .login-box .close {
    padding:1em;
    right: 0;
    top: 0;
    position: absolute;
    cursor: pointer;
}

footer .my-account .login-box form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
footer .my-account .login-box .form-group {
 
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

footer .my-account .login-box label {
    display: block; 
}
footer .my-account .login-box input {
    background-color: #fff;
    border:none;
    border-radius: 0;
    display: block;
    padding:1em 0.5em;
    width:20em;
}

footer .my-account .login-box button {
    background-color: #000;
    color:#fff;
    border:none;
    padding:1em 0.5em;
    width:100%;
    cursor: pointer;
}
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
nav ul li a {
    cursor: default!important;
}
@media screen and (max-width: 767px) {
nav {
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    width:100dvw;
    height:100dvh;
    background-image:url(images/landing_bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: auto; 
    

    display: none;
    flex-direction: column;
    align-items:center; 
    justify-content: center;
}


nav.open {

    display: flex;
}
nav ul {
    margin:0;
    padding: 0;
    gap:1em;text-align: center;
}
nav ul li {
    list-style: none;
    white-space: nowrap;
}

nav ul li a {
    color:#fff;
    cursor: pointer;
    font-size:120%;
    display: block;
    padding:0.5em 5dvw;
}
}
@media screen and (min-width: 768px) {
    header .toggle {
        display: none;
    }

nav {
    position: fixed;
    z-index: 9;
    top: 3em;
    left: 5em;
    line-height: 1;
    display: block!important;
}

nav ul {
    margin:0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: start;
    gap:1em;
}
nav ul li {
    list-style: none;
    white-space: nowrap;
}

nav ul li a {
    color:#fff;
    cursor: pointer;
}
}
section {
    min-height: 100dvh;
    position: relative;
    color:#fff;
    padding: 5dvw;
    display: flex;
    justify-content: center;
    flex-direction: column;

    padding: 4em 5dvw;
}

section>div:not(.bg) {
    position:relative;
    z-index: 2;
}
section .bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}
section h2 {
    margin:0;
    font-size:2em;
}

@media screen and (min-width: 768px) {
    section h2 {
        font-size:4em;
    }
}

section .item-wrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1em;
}
section .img-title-wrap {
    display: flex; 
    gap: 1em;
    flex-direction: column;
}
@media (min-width: 768px) {
    section .img-title-wrap {
        display: flex;
        align-items: end;
        justify-content: start;
        gap: 1em;
        flex-direction: row;
    }
}
section p {
    margin:0;
}

section .item {
    margin:2em auto;
}
section:not(.landing):not(.living) .item .keyimg {
    width:12em;
    height:8em;
    border:4px solid #fff;
    overflow: hidden;
    position: relative;
    border-radius: 2em;
}
@media screen and (min-width: 768px) {
    section:not(.landing):not(.living) .item .keyimg {
        width:20em; 
        height:15em;
    }
}

section:not(.landing):not(.living) .item .keyimg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


section.living .item .keyimg {
    width:8em;
}

section .item-wrap {
    /* animating floating effect */
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {  
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }   
    100% {
        transform: translateY(0);
    }
}

section .point-line {
    display: block;
    width:9em;
    height:2em;
    background-image: url(images/icon_point_line.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    margin:2em 0;
}


#living .item {
    text-align: center;
}