@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Beginner:wght@400..700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --bg-color: rgb(236,233,229);
    --primary-color: rgb(249,195,73);
    --secondary-color: rgb(255, 251, 0);
    --danger-color: rgb(252, 134, 0);
    --color-black: rgb(47, 54, 69);
    --font-primary: 'Edu VIC WA NT Beginner', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;

    --font-size-main: 1em;
    --font-light: rgb(236,233,229);

    --noise-texture: url(https://i.gyazo.com/a26366e538851a5c569ff648e99b7fd4.png);
    --gif-texture: url(https://64.media.tumblr.com/da60c13b478dda09ab90c27e880983b8/tumblr_nd4pwdPKdc1tun3l0o1_1280.gifv);
}

ul,li,a{
    text-decoration: none;
    list-style: none;
    color: unset;
}
html,
body {
  position: relative;
  height: 100%;
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  font-family: var(--font-secondary);
  user-select: none;
}

body::-webkit-scrollbar {
    width: 7px;
  }
  
  body::-webkit-scrollbar-track {
    background: var(--color-black);
    border-radius: 21px;
  }
  
  body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 21px;
  }
  
  @supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--primary-color)
                       var(--primary-color);
    }
}



@media screen and (max-width: 600px) {
    table {
        width: auto;
    }

    table tr td, th {
        padding: 2px;
    }
    .chart-wrapper{
        width: 100%;
    }
}

/* Preloader styles */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader-logo {
    animation: blink-animation 1s infinite;
}

#loader-logo img {
    width: 150px;
    height: auto;
}

/* Blinking animation */
@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Hide preloader after page load */
body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* TOP CONTACT */
.bar{
    width: 100%;
    padding-block: 4px;
    background-color: var(--secondary-color);
    padding-inline: 10%;
}

.bar-inner{
    color: var(--font-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .75em;
}
.c{
    display: flex;
}
.c_info{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-inline-end: 10px;
    color: var(--color-black);
}
.c_info i{
    color: var(--color-black);
    font-size: large;
}

.b{
    display: flex;
}
.donate{
    /* background-color: var(--secondary-color) !important; */
    font-size: .75em;
    width: fit-content;
    padding: 10px 15px;
    /* border: 5px solid var(--color-black); */
}
.donate:hover{
    background-color: transparent !important;
    color: var(--color-white);
}
.b a{
    background-color: var(--primary-color);
    padding-block: 10px;
    padding-inline: 15px;
    margin-inline-start: 10px;
    color: var(--color-black);
    font-weight: 600;
    border: 1px solid var(--color-black);
}
.b a:hover{
    background-color: transparent;
    color: var(--color-white);
}

/* NAVIGATION MENU */
.navbar{
    width: 100%;
    padding-block: 4px;
    background-color: var(--primary-color);
    padding-inline: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 10px;
}
.logo{
    width: 60px;
    height: 60px;
}
.t-nam{
    font-size: .55em;
    width: 38%;
    font-family: var(--font-primary);
}
.logo img{
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-name{
 font-family: var(--font-primary);
 font-size: 1.25em !important;
 display: none;
}
/* nav ul li{
    display: inline;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 700;
    padding-inline: 10px;
} */
nav ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   font-size: 1.2em;
   font-weight: 700;
   text-transform: uppercase;
   color: var(--color-black);
}
nav ul li {
  padding: 0 .5em .25em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: .3s;
}

nav ul li:hover {
    color: var(--bg-color);
  }
nav ul li:before {
  content: "";
  position: absolute;
  inset: calc(100% - 3px) 0 0 0;
  background: var(--color-black); 
  scale: 0 1;
  transition: .3s, translate 0s .3s;
}
nav ul:hover li:before {
  scale: 1;
}
nav ul li:hover:before {
  translate: 0;
  transition: .3s;
}
nav ul:hover li:has(~ li:hover):before {
  translate: 100% 0;
  transition: .2s .2s,scale 0s .4s;
}
nav ul:hover li:hover ~ li:before {
  translate: -100% 0;
  transition: .2s .2s,scale 0s .4s;
}

.openMenu{
    font-size: 2em;
    cursor: pointer;
    display: none;
}

nav .closeMenu {
    font-size: 2em;
    display: none;
    cursor: pointer;
}

/* Hero */
.swiper-container{
    width: 100%;
    height: 90vh;
}
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.swiper-slide::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.349);
}

/* .swiper-slide:after {
    content: "";
    display: flex;
    position: absolute;
    background-image: var(--gif-texture);
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 64%;
    z-index: 3;
  } */

.slider-content{
    width: 100%;
    position: absolute;
    padding-inline: 10%;
}
.left{
    text-align: left;
}
.center{
    margin: auto;
    text-align: center;
}
.right{
    margin-left: auto;
    text-align: right;
}

.slider-content h2{
    display: block;
    width: fit-content;
    color: var(--font-light);
    font-size: 3em;
    font-weight: 600;
    line-height: 1em;
    padding-block-end: 20px;
}
.slider-content a{
    display: block;
    width: fit-content;
    background-color: var(--primary-color);
    padding: 10px 15px;
    font-weight: 600;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.swiper-pagination,
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

/* About US */
.about{
    /* width: 100%; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}
.eng{
    font-family: var(--font-primary);
    font-size: 1.25em;
    font-weight: 500;
}
.about-inner{
    width: 50%;
    height: 500px;
    padding-inline: 10%;
    padding-block: 5%;
}
.about-inner:nth-child(1) {
    order: 4;
    /* margin-block-end: 0; */
}

.about-inner:nth-child(2) {
    order: 3;

}
.about-inner:nth-child(3) {
    order: 2;
    margin-block-end: 0;
}

.about-inner:nth-child(4) {
    order: 1;

}
.about-inner h2{
 padding-bottom: 10px;
}

.img-frem{
    width: 100%;
    height: 100%;
    /* border: 2px solid var(--color-black); */
    padding: 20px;
    /* max-width: calc(100% - 60px); */
    background: var(--bg-color);
    position: relative;
    border: 2px solid var(--color-black);
}
.img-frem::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border-radius: inherit;
    background: repeating-linear-gradient(
      45deg,
      var(--primary-color),
      var(--primary-color) 2px,
      transparent 2px,
      transparent 6px
    );
    transition: all 0.3s ease;
}
/* .img-frem {
    border-radius: 30px;
    height: 400px;
} */
  
.img-frem:hover::before {
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  top: -20px;
  left: -20px;
}

.ben-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-tag{
    width: fit-content;
    display: block;
    margin: auto;
    padding-block-start: 20px;
    font-size: .75em;
    font-weight: 300;
}
/* .inner-left{
} */
.inner-right{
 background-color: var(--primary-color);   

}

/* Motivation */
.parallax-1{
    background: url('../picture/about/Photo_4.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.quote {
    font-style: italic;
    padding-left: 10px;
    margin: 20px;
    font-size: 1em;
}
.author {
    text-align: right;
    font-weight: bold;
    margin-right: 20px;
    font-size: 1.15em;
}
.parallax-inner{
    padding-block: 70px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.500);
    color: var(--font-light);
}
.quote-holder{
    width: 50%;
    margin: auto;
}
.quote-holder .eng{
    font-size: 1.5em;
}
.e-s-head{
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -1px;
    padding-block-start: 1em;
    position: relative;
    width: fit-content;
    margin: auto;
}

.e-s-head:before {
    content: "";
    position: absolute;
    inset: calc(100% - 3px) 0 0 0;
    background: var(--color-black); 
    height: 3px;  /* Set the height of the underline */
    width: 100%;
    transform: scaleX(0);
    transition: transform .3s, transform-origin 0s .3s;
    transform-origin: left;
}

.e-s-head:hover:before {
    transform: scaleX(1);
    transform-origin: right;
    transition: transform .3s;
}

.e-s-head:hover h2:has(~ h2:hover):before {
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s;
}
.event-wrap{
    width: 100%;
    padding-inline: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    padding-block: 2em;
}
#event{
    padding-block-end: 2em;
}
.event{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* border: 1px solid var(--color-black); */
    padding: 20px;
    height: 400px;
    background-color: var(--primary-color);
}
.e-img{
    width: 100%;
    height: 200px;
}
.e-img img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    border-radius: 20px;
}
.e-h{
    font-size: 1.5em;
    font-weight: 700;
    padding-block: 10px;
}
.e-h2{
    font-size: 1em;
    font-weight: 700;
    padding-bottom: 10px;
    text-align: left;
    width: 100%;
}
.e-p{
    font-size: 1em;
    font-weight: 300;
    text-align: left;
}
.e-btn{
    margin: auto;
    display: block;
    width: fit-content;
    background-color: var(--primary-color);
    color: var(--color-black);
    font-size: 1.5em;
    font-weight: 500;
    /* letter-spacing: -1px; */
    padding: 10px 20px;
}

/* volenter */
.v-body{
    width: 100%;
    background-color: var(--primary-color);
    padding: 50px 10%;
    border-radius: 25% 25% 0 0;
}
.v-head{
    width: fit-content;
    margin: auto;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -1.5px;
}
.v-wrap{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding-block: 50px;
}
.v-content{
    width: fit-content;
}
.vol-img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: auto;
    border: 2px solid var(--color-black);
    padding: 2%;
}
.vol-img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* object-fit: fill; */
}
.vol-info{
    padding-top: 10px;
    letter-spacing: -1.2px;
}
.vol-info p{
    font-weight: 300;
}
/* contact */
.c-body{
    width: 100%;
    background-color: var(--primary-color);
    padding-inline: 10%;
    padding-block-end: 20px;
}
.other{
    padding-block-end: 0px;
    padding-block: 40px;
}
.c-head{
    width: fit-content;
    margin: auto;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -1.5px;
}
.c-wrap{
    width: 100%;
    border: 1px solid var(--color-black);
    display: flex;
    justify-content: space-around;
    align-items: start;
    padding-block: 30px;
    background: rgba( 255, 255, 255, 0.2 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 10.5px );
    -webkit-backdrop-filter: blur( 10.5px );
}
.c-content{
    width: 30%;
    text-align: center;
}

.contact span{
    display: inline-block;
    font-size: .55em;
}

.c-content a{
    display: block;
    width: fit-content;
    padding-block-end: 10px;
    font-weight: 300;
}

.link a{
    margin: auto;
}

.c-content i{
    font-size: 1.2em;
}

#sticky-footer {
  flex-shrink: 0;
  padding: 1.5rem 0; 
  background-color: var(--color-black); 
  color: var(--primary-color); 
  text-align: center; 
}
  
#sticky-footer .container {
  width: 100%;
  margin: 0 auto;
}
  
#sticky-footer small {
  display: block;
}

/* Donation */

.bdy{
    width: 100%;
    height: 100vh;
    background: url("/asset/picture/calendar.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bdy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.bdy > * {
    position: relative;
    z-index: 2;
}


.wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-color);
    width: 90%;
    height: 400px;
    border-radius: 20px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.qr{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.qr img{
    width: 200px;
    height: 200px;
    object-fit: fill;
    margin: auto;
    mix-blend-mode: multiply;
}
.qr h2{
    width: fit-content;
    padding-block: 20px;
}
.details{
    width: 50%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
.details h2{
    padding-inline-start: 40px;
    font-size: 1.25rem;
}
.details h2 span {
    font-weight: 300;
    font-size: 1.25rem;
}

/* End Donation */


/* Post start */
.bd{
    background: url("/asset/picture/activitis-bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bd::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.bd > * {
    position: relative;
    z-index: 2;
}

.sopan{
    width: 100%;
    padding: 20px;
    border: 1px solid var(--color-black);
    background-color: var(--bg-color);
    margin-block-end: 15px;
}
.img-wrap{
    margin-block-end: 15px;
}
.sopan .swiper-slide::before{
    content: "";
    width: 0 !important;
    height: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
}
.sopan-img{
    width: 340px;
    height: 240px;
    padding: 10px;
    background-color: var(--primary-color);
    position: relative;
}
.sopan-img img{
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
}
.sopan-img p{
    position: absolute;
    bottom: 0;
    font-family: var(--font-primary);
    font-size: .80em;
    font-weight: 500;
}

.sopan-text-wrap{
    border-top: 1px solid var(--color-black);
    padding-block-start: 5px;
    position: relative;
}
.sopan-text-wrap p{
    font-family: var(--font-primary);
    font-weight: 600;
}
.sopan-text-wrap h4{
    font-weight: 300;
}

table {
    border-collapse: collapse;
    text-align: center;
    width: 80%;
    font-size: 0.75em;
}

table tr td, th {
    border: 1px solid var(--color-black);
    padding: 2px;
}

tbody tr :nth-child(1) {
    background-color: rgba(194, 110, 99, 0.555);
}

.table-wrapper {
    width: 100%;
    margin-block: 20px;
    overflow-x: auto;
}

.table-wrapper table {
    width: 80%;
    margin: auto;
}

.chart-wrapper{
    width: 250px;
    height: 250px;
    margin: auto;
    margin-block-end: 20px;
}
.sopan-text-wrap .more-content {
    display: none; 
}

.sopan-text-wrap.expanded .more-content {
    display: block; 
}

.read-more-btn {
    background-color: var(--primary-color);
    color: var(--color-black);
    border: none;
    padding: 5px;
    cursor: pointer;
    font-family: var(--font-secondary);
    position: absolute;
    right: 10px; 
    bottom: -10px;
    font-size: 0.65em;
}

.read-more-btn:focus {
    outline: none;
}

.sopan-text-wrap.expanded .read-more-btn {
    bottom: -25px;
}

.post-wrap{
    width: 100%;
    padding-inline:10%;
    padding-block: 15px;
}
.post{
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-black);
    margin-block-end: 15px;
    margin-inline: auto;
    background-color: var(--bg-color);
}
.post-img{
    width: fit-content;
    /*width: 40%;*/
    padding: 10px;
    background-color: var(--primary-color);
    margin: 10px;
}
.post-img img{
    width: 300px;
    height: 200px;
    object-fit: cover;
}
.post-body{
    padding-inline-start: 20px;
}
.post-body p{
    font-family: var(--font-primary);
    font-weight: 600;
}
.post-body h4{
    font-weight: 300;
}

/* Post end */


/* book */

.bd-b{
    background: url("/asset/picture/books-bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bd-b::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.bd-b > * {
    position: relative;
    z-index: 2;
}

/* media Query */
@media only screen and (max-width: 768px) {
    .swiper-container{
        height: 50vh;
    }
    .about{
        flex-direction: column;
    }
    .about-inner{
        width: 100%;
        margin-block-end: 30px;
    }
    .about-inner:nth-child(1) {
        order: 4;
        /* margin-block-end: 0; */
    }
    
    .about-inner:nth-child(2) {
        order: 3;

    }
    .about-inner:nth-child(3) {
        order: 1;
        margin-block-end: 0;
    }
    
    .about-inner:nth-child(4) {
        order: 2;

    }
    .e-s-head{
        font-size: 2em;
    }
    .event-wrap{
        flex-direction: column;
    }
    .event:nth-child(2){
        margin-block: 20px;
    }
    .event{
        height: 450px;
    }
    .v-wrap{
        flex-direction: column;
    }
    .v-head{
        font-size: 2em;
    }
    .v-content:nth-child(2){
        margin-block: 20px;
    }
    .c-wrap{
        flex-direction: column;
    }
    .c-content{
        width: 100%;
        text-align: center;
    }

    .bar{
        padding-block: 6px;
    }
    .c_info{
        display: none;
    }
    .bar-inner{
        justify-content: center;
    }

    .navbar{
        position: relative;
    }

    nav{
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--primary-color);
        transition: top 1s ease;
        display: none;
    }
    nav ul{
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        padding-block: 2em;
        font-size: 2em;
    }
    nav .closeMenu{
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    nav .openMenu{
        display: block;
    }


    .openMenu{
        display: block;
    }
    .t-nam{
        display: none;
    }
    .t-name{
        display: block;
    }
    nav ul li:hover {
        color: var(--bg-color);
    }

    .quote-holder{
        width: 90%;
    }

    .v-body{
        width: 100%;
        background-color: var(--primary-color);
        padding: 50px 10%;
        border-radius: 0;
    }

    .c-wrap{
        padding-inline: 5%;
    }

    .link{
        display: none;
    }
    .c-content:nth-child(2){
        margin-block-end: 20px;
    }
    .c-wrap :nth-child(2){
        order: 1;
    }
    .c-wrap :nth-child(1) {
        order: 2;
    }

    /* Donation */
    .wrap{
        flex-direction: column;
        height: auto;
    }
    .qr{
        width: 100%;
        height: 300px;
    }
    .details{
        width: 100%;
        height: 300px;
        background-color: var(--primary-color);
        border-radius: 0 0 20px 20px;
    }
    /* .details h2{
        padding-inline: 2%;
    } */

    /* Post start */
.post-wrap{
    width: 100%;
    padding-inline:10%;
}
.post{
    flex-direction: column;
}
.post-img{
    width: 100%;
    margin: 0;
}
.post-img img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: auto;
}
.post-body{
    padding: 20px;
}

/* Post end */
}