/*CSS Reset*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, a, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    background: #F7F7F7;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*,*:before,*:after{
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -ms-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

a{
  text-decoration: none;
  color: #000;
}

input, select, button{
    outline: none;
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;  
}

select{
    -webkit-appearance: none;
}

.mywrap{
    display: flex;
    flex-direction: column;
    margin: 0px auto 0px;
    padding: 0 48px;
    max-width: 1440px;
    min-height: calc(100vh - 140px);
}

@media (max-width:1200px) {
    .mywrap{
        padding: 0 24px;
    }
}

@media (max-width:768px) {
    .mywrap{
        padding: 0 16px;
    }
}

body{
    max-width: 100%;
    background: #F7F7F7;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Text Style */

:root{
    font-family: "Noto Sans TC";
    --Eerie-Black-1000:#050505;
    --Eerie-Black-400:#767676;
    --Eerie-Black-300: #A3A3A3;
}

h1{
    color: var(--Eerie-Black-1000);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%; /* 35.2px */
}

h2{
    color: var(--Eerie-Black-1000);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 22px */
}

p{
    color: var(--Eerie-Black-400);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 17.6px */
}

@media (max-width:768px) {
    h1{
        font-size: 24px;
    }
    h2{
        font-size: 16px;
    }
}

/* header */
header{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
}

.header{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1000;
}

.nav .logo{
    display:flex;
    gap: 12px;
    align-items: center;
}

.nav .logo img{
    width: 44px;
    height: 44px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.nav .logo p{
    font-size: 20px;
}

.nav{
    display: flex;
    width: 100%;
    background-color: #FFF;
    max-width: 1440px;
    padding: 16px 48px;
    column-gap: 48px;
    z-index: 2;
    position: relative;
}

.navbar{
    display: flex;
    flex: 1 1 0;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.navitem{
    display: flex;
    padding-bottom: 4px;
    color: rgba(0, 0, 0, 0.5);  
    border-bottom: 1.5px solid rgba(0, 0, 0, 0);  
}

.navitem.active{
    color: rgba(0, 0, 0, 1) !important; 
    border-bottom: 1.5px solid rgba(0, 0, 0, 1);   
}

.navitem:hover{
    color: rgba(0, 0, 0, 0.7); 
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.7);
}

.pri-btn{
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 4px;
    color: #F7F7F7;
    background: #2D2D2D;
}

.pri-btn:hover{
    font-weight: 500;
    color: #FFF;
    background: linear-gradient(81deg, #3C3C3C -13.49%, #00BFFF 18.24%, #127EDB 56.23%, #536DF2 79.54%, #3C3C3C 109.78%);
}

.sprMenu{
    position: absolute;
    top: calc(100% + 196px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.0);
    transform: translateY(-100%);
    overflow-x: clip;
    z-index: -1;
    transition: all ease-in-out 300ms;
}

.sprMenu.active{
    display: flex;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    transition: all ease-in-out 300ms;
    z-index: 1;
}

.sprMenu ul{
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 16px 48px;
    margin: 0 auto;
}

.sprMenu li{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 12px;
    flex: 1 1 0;
    padding: 16px;
    border-radius: 8px;
}

.sprMenu img{
    width: 100px;
    height: 100px;
}

.sprMenu li:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.hamburger{
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
}

.notification-icon{
    display: block;
    width: 44px;
    height: 44px;
    padding: 8px;
}

.notification-mobile{
    position: relative;
}

.hamburger img, .notification-icon img{
    width: 100%;
}

.offcanvas{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;  
    transform: translateX(-100%);
    transition: all ease-out 300ms;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    background-color: #FFF;
    width: 70%;
}
.offcanvas.active{
    transform: translateX(0%);
    transition: all ease-out 300ms;
}
.overlay{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
}
.overlay.active{
    display: block;
}
.offcanvas .logo{
    display: flex;
    align-items: center;
    padding: 16px 12px;
    gap: 8px;
}
.offcanvas .logo img{
    width: 44px;
    height: 44px;
}
.offcanvas .navbar{
    flex: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
}
.offcanvas li{
    display: flex;
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
}
.offcanvas .navitem{
    width: 100%;
}
.offcanvas li img{
    height: 24px;
    width: 24px;
    object-fit: contain;
    opacity: 0.5;
    transition: all ease-in-out 300ms;
}
.offcanvas .navitem.dropdown{
    padding-left: 12px;
}
.offcanvas .navitem.active, .offcanvas .navitem:hover{
    border-bottom: none;
}
.offcanvas .dropdownHead.active .navitem{
    color: #050505;
    font-weight: 500;
}
.offcanvas .dropdownHead.active img{
    opacity: 1;
    transform: rotate(180deg);
    transition: all ease-in-out 300ms;
}
.offcanvas .dropdown-list{
    display: block;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: all ease-in-out 300ms;
}
.offcanvas .dropdown-list.active{
    height: 324px;
    transition: all ease-in-out 300ms;
}


/* footer */
.footer{
    background: #FFF;
    z-index: 100;
}
.footer .container{
    margin: 0 auto;
    display: flex;
    max-width: 1440px;
    padding: 20px 48px;
    align-items: center;
    gap: 16px;
}
.footer img{
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.footer p{
    color: var(--Eerie-Black-300);
}
.footer .scripture{
    text-align: end;
    flex: 1;
}

/* Notification Float Block */

.nav .dropdown{
    position: relative;
}

.nav .dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 36px; /* invisible zone */
}

.notification-dropdown-list{
    display: flex;
    flex-direction: column;
    width: 400px;
    position: absolute;
    top: calc(100% + 36px);
    right: calc(50% - 48px);
    border-radius: 12px;
    background-color: #FFF;
    z-index: 999;
    transition: all ease-in-out 300ms;
    height: 0px;
    overflow: hidden;
}

.notification-dropdown-list.active{
    height: 480px;
    transition: all ease-in-out 300ms;
}

.notification-mobile .notification-dropdown-list{
    right: -72px;
    top: calc(100% + 24px);
}

.notification-mobile .notification-dropdown-list.active{
    height: 320px;
}

.dropdown-list-head{
    width: 100%;
    padding: 16px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.dropdown-item-list{
    overflow-y: scroll;
}

.dropdown-item{
    display: flex;
    padding: 16px;
    line-height: 140%;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item .category-icon{
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 12px;
}

.dropdown-item .dropdown-content{
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 0;
}

.dropdown-item .dropdown-content h4{
    font-size: 16px;
    font-weight: normal;
}

.dropdown-item .dropdown-content .desc{
    font-size: 16px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.5);
}

.dropdown-item .dropdown-content .date{
    font-size: 14px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.4);
}

@media (max-width:1200px) {
    .footer .container{
        padding: 16px 24px;
        gap: 16px;
    }
    .footer p{
        font-size: 14px;
    }
    .nav{
        padding: 12px 24px;
    }
}

@media (max-width:768px) {
    .footer .scripture{
        display: none;
    }
}

.btn{
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: var(--Eerie-Black-100, #E8E8E8);
    width: fit-content;
    color: var(--Eerie-Black-900, #0A0A0A);
    font-size: 16px;
    font-weight: 500;
    line-height: 100%; /* 16px */
}

.btn:hover{
    cursor: pointer;
    color: var(--Eerie-Black-100, #E8E8E8);
    background: var(--Eerie-Black-500, #484848);
}

.btn.sm{
    font-size: 14px;
    padding: 10px 16px;
}


@media (screen) {
    
}


/* Section */

.section{    
    display: flex;
    justify-content: center;
    margin: 0 auto 160px;
}

.section-container{
    width: 100%;
    max-width: 1200px;
    padding: 0 48px;
}

@media (max-width:1200px) {
    .section{    
        margin: 0 auto 80px;
    }
    .section-container{
        padding: 0 24px;
    }
}

@media (max-width:540px) {
    .section{    
        margin: 0 auto 80px;
    }
    .section-container{
        padding: 0 24px;
    }
}

html{
    margin-top: none !important;
}