@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}


/* scroll */
/* width */
::-webkit-scrollbar {
    width: 0.2rem
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #8CC63E;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #8CC63E;
}


a {
    text-decoration: none !important;
    color: var(--text-secondary) !important;
}

/* a:hover {
    text-decoration: none !important;
    color: #8CC63E !important;
} */

.text_hover:hover {
    text-decoration: none !important;
    color: #8CC63E !important;
}



:root {
    font-size: 16px;
    font-family: 'Open Sans';
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: #23232e;
    --bg-secondary: #141418;
    --transition-speed: 600ms;
}

/* nav */


main {
    margin-left: 5rem;
    padding: 1rem;
}

.navbar-lb {
    position: fixed;
    background-color: var(--bg-primary);
    transition: width 600ms ease;
    overflow: scroll;
}

.navbar-lb::-webkit-scrollbar {
    display: none;
}

.navbar-nav-lb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-item-lb {
    width: 100%;
}

.nav-item-lb:last-child {
    margin-top: auto;
}

.nav-link-lb {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.nav-link-lb:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.link-text-lb {
    display: none;
    margin-left: 1rem;
}

.nav-link-lb svg {
    width: 2rem;
    min-width: 2rem;
    margin: 0 1.5rem;
}

.fa-primary {
    color: rgb(161, 255, 0);
}

.fa-secondary {
    color: #8CC63E;
}

.fa-primary,
.fa-secondary {
    transition: var(--transition-speed);
}

.logo-lb {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;
    width: 100%;
}

body {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
}

.logo-lb svg {
    transform: rotate(0deg);
    transition: var(--transition-speed);
}

.logo-text-lb {
    display: inline;
    position: absolute;
    left: -999px;
    transition: var(--transition-speed);
}

.navbar-lb:hover .logo-lb svg {
    transform: rotate(-180deg);
}

/* Small screens */
@media only screen and (max-width: 1200px) {
    .navbar-lb {
        bottom: 0;
        width: 100vw;
        height: 5rem;
        z-index: 99;
    }



    .logo-lb {
        display: none;
    }

    .navbar-nav-lb {
        flex-direction: row;
    }

    .nav-link-lb {
        justify-content: center;
    }

    main {
        margin: 0;
    }
}

/* Large screens */
@media only screen and (min-width: 1200px) {
    .navbar-lb {
        top: 0;
        width: 5rem;
        height: 100vh;
        z-index: 99;
    }



    .navbar-lb:hover {
        width: 16rem;
    }

    .navbar-lb:hover .link-text-lb {
        display: inline;
    }

    .navbar-lb:hover .logo-lb svg {
        margin-left: 11rem;
    }

    .navbar-lb:hover .logo-text-lb {
        left: 0px;
    }
}

.card {
    background-color: var(--bg-primary) !important;
}

.mode {
    background-color: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
}





.dark {
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-primary: #23232e;
    --bg-secondary: #141418;

}

.light {
    --text-primary: #1f1f1f;
    --text-secondary: #000000;
    --bg-primary: #eee;
    --bg-secondary: #cdcdcd;

}




.theme-icon-lb {
    display: none;
}

.dark #darkIcon {
    display: block;
}

.light #lightIcon {
    display: block;
}

.solar #solarIcon {
    display: block;
}



/*  */


/* home */

.line-key {
    border-right: .15em solid #8CC63E;
    animation: caret 1s steps(1) infinite;
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

.btn-green {
    background-color: #8CC63E !important;
}


/* Slider */

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

.slider {

    overflow: visible;
    width: 100%;
    margin: 0 auto;
}


.nav-link {
    color: var(--text-secondary) !important;
}

.nav-link.active {
    color: #000 !important;
    background-color: #8CC63E !important;
    border: none !important;
}







.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #8CC63E;
    border-radius: 1rem;
}

.box-container-all img {

    height: 100%;
    width: 100%;


}

.card-port:hover .overlay {
    opacity: 1;
}

.text {
    color: rgb(0, 0, 0);
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.modal-header {
    border-bottom: none !important;
}


.btn-close {
    background: none !important;

}

.x-iocn {
    font-size: 200rem !important;


}




.fab-wrapper {
    position: fixed;
    bottom: 3rem;
    z-index: 999;
    right: 2rem;
}

@media only screen and (max-width: 1200px) {
    .fab-wrapper {

        bottom: 8rem;

    }
}

.fab-checkbox {
    display: none;
}

.fab {
    cursor: pointer;
    position: absolute;
    bottom: -1em;
    right: 0;
    width: 4rem;
    height: 4rem;
    background: #8CC63E;
    border-radius: 50%;
    background: #8CC63E;
    box-shadow: 0px 5px 20px #8CC63E;
    transition: all 0.3s ease;
    z-index: 1;
    border-bottom-right-radius: 6px;
    border: 1px solid #8CC63E;
    z-index: 999;
}


.fab:hover {
    background: #8CC63E;
    box-shadow: 0px 5px 20px 5px #8CC63E;
}

.fab-dots {
    position: absolute;
    height: 8px;
    width: 8px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    transform: translateX(0%) translateY(-50%) rotate(0deg);
    opacity: 1;
    transition: all 0.3s ease;
}

.fab-dots-1 {
    left: 15px;
    animation-delay: 0s;
}

.fab-dots-2 {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation-delay: 0.4s;
}

.fab-dots-3 {
    right: 15px;
    animation-delay: 0.8s;
}

.fab-checkbox:checked~.fab .fab-dots {
    height: 6px;
}

.fab .fab-dots-2 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
}

.fab-checkbox:checked~.fab .fab-dots-1 {
    width: 32px;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.fab-checkbox:checked~.fab .fab-dots-3 {
    width: 32px;
    border-radius: 10px;
    right: 50%;
    transform: translateX(50%) translateY(-50%) rotate(-45deg);
}

@keyframes blink {
    50% {
        opacity: 0.25;
    }
}

.fab-checkbox:checked~.fab .fab-dots {
    animation: none;
}

.fab-wheel {
    position: absolute;
    font-size: 1.5rem;
    bottom: 0;
    right: 0;
    border: 1px solid 0;
    width: 10rem;
    height: 10rem;
    transition: all 0.3s ease;
    transform-origin: bottom right;
    transform: scale(0);
}

.fab-checkbox:checked~.fab-wheel {
    transform: scale(1);
}

.fab-action {
    position: absolute;
    background: #8CC63E;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: White;
    box-shadow: 0 0.1rem 1rem #8CC63E;
    transition: all 1s ease;

    opacity: 0;
}

.fab-checkbox:checked~.fab-wheel .fab-action {
    opacity: 1;
}

.fab-action:hover {
    background-color: #eee;
}

.fab-wheel .fab-action-1 {
    right: -1rem;
    top: 0;
}

.fab-wheel .fab-action-2 {
    right: 3.4rem;
    top: 0.5rem;
}

.fab-wheel .fab-action-3 {
    left: 0.5rem;
    bottom: 3.4rem;
}

.fab-wheel .fab-action-4 {
    left: 0;
    bottom: -1rem;
}

.modal-content {
    background-color: var(--bg-secondary) !important;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader-wrapper {
    z-index: 1000;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
}

.range {
    position: relative;
    background-color: #333;
    width: 300px;
    height: 30px;
    transform: skew(30deg);
    font-family: 'Orbitron', monospace;

    &:before {
        --width: calc(var(--p) * 1%);

        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: #8CC63E;
        z-index: 0;
        animation: load .5s forwards linear, glitch 2s infinite linear;
    }

    &:after {
        counter-reset: progress var(--p);
        content: counter(progress) '%';
        color: #000;
        position: absolute;
        left: 5%;
        top: 50%;
        transform: translateY(-50%) skewX(-30deg);
        z-index: 1;
    }

    &__label {
        transform: skew(-30deg) translateY(-100%);
        line-height: 1.5;
    }
}

@keyframes load {
    to {
        width: var(--width);
    }
}

@keyframes glitch {

    0%,
    5% {
        transform: translate(0, 0);
    }

    1% {
        transform: translate(-5%, -10%);
    }

    2% {
        transform: translate(10%, 30%);
    }

    3% {
        transform: translate(-43%, 10%);
    }

    4% {
        transform: translate(2%, -23%);
    }
}


/* box */

.box-container-all {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 5fr));
    gap: 20px;
}

.box-container-all .box-all {
    display: none;
}


.box-container-all .box-all:nth-child(1),
.box-container-all .box-all:nth-child(2),
.box-container-all .box-all:nth-child(3),
.box-container-all .box-all:nth-child(4),
.box-container-all .box-all:nth-child(5),
.box-container-all .box-all:nth-child(6),
.box-container-all .box-all:nth-child(7),
.box-container-all .box-all:nth-child(8) {
    display: inline-block;
}

.box-container-event {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 5fr));
    gap: 20px;
}

.box-container-event .box-event {
    display: none;
}


.box-container-event .box-event:nth-child(1),
.box-container-event .box-event:nth-child(2),
.box-container-event .box-event:nth-child(3),
.box-container-event .box-event:nth-child(4),
.box-container-event .box-event:nth-child(5),
.box-container-event .box-event:nth-child(6),
.box-container-event .box-event:nth-child(7),
.box-container-event .box-event:nth-child(8) {
    display: inline-block;
}

.box-container-Interactive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 5fr));
    gap: 20px;
}

.box-container-Interactive .box-Interactive {
    display: none;
}


.box-container-Interactive .box-Interactive:nth-child(1),
.box-container-Interactive .box-Interactive:nth-child(2),
.box-container-Interactive .box-Interactive:nth-child(3),
.box-container-Interactive .box-Interactive:nth-child(4),
.box-container-Interactive .box-Interactive:nth-child(5),
.box-container-Interactive .box-Interactive:nth-child(6),
.box-container-Interactive .box-Interactive:nth-child(7),
.box-container-Interactive .box-Interactive:nth-child(8) {
    display: inline-block;
}


.box-container-Museum {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 5fr));
    gap: 20px;
}

.box-container-Museum .box-Museum {
    display: none;
}


.box-container-Museum .box-Museum:nth-child(1),
.box-container-Museum .box-Museum:nth-child(2),
.box-container-Museum .box-Museum:nth-child(3),
.box-container-Museum .box-Museum:nth-child(4),
.box-container-Museum .box-Museum:nth-child(5),
.box-container-Museum .box-Museum:nth-child(6),
.box-container-Museum .box-Museum:nth-child(7),
.box-container-Museum .box-Museum:nth-child(8) {
    display: inline-block;
}


.box-container-Register {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 5fr));
    gap: 20px;
}

.box-container-Register .box-Register {
    display: none;
}


.box-container-Register .box-Register:nth-child(1),
.box-container-Register .box-Register:nth-child(2),
.box-container-Register .box-Register:nth-child(3),
.box-container-Register .box-Register:nth-child(4),
.box-container-Register .box-Register:nth-child(5),
.box-container-Register .box-Register:nth-child(6),
.box-container-Register .box-Register:nth-child(7),
.box-container-Register .box-Register:nth-child(8) {
    display: inline-block;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    .box-container-all {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 5fr));
        gap: 20px;
    }

    .box-container-event {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 5fr));
        gap: 20px;
    }

    .box-container-Interactive {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 5fr));
        gap: 20px;
    }

    .box-container-Museum {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 5fr));
        gap: 20px;
    }

    .box-container-Register {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(450px, 5fr));
        gap: 20px;
    }

}





/* gallary */

/* Masonry image gallery styling */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery .images {
    gap: 15px;
    max-width: 100%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
}

.gallery .images img {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
}

.gallery .images img {
    width: 100%;
    transition: transform 0.2s ease;
}

.gallery .images img:hover {
    transform: scale(1.05);
}

/* Image lightbox styling */
/* .lightbox {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.65);
}

.lightbox.show {
    visibility: visible;
}

.lightbox .wrapper {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
}

.lightbox.show .wrapper {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.wrapper :where(header, .details) {
    display: flex;
    align-items: center;
}

.wrapper header {
    justify-content: space-between;
}

header .details i {
    font-size: 1.7rem;
}

header .details span {
    font-size: 1.2rem;
    margin-left: 10px;
}

header .buttons i {
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    background: #6C757D;
    font-size: 1.25rem;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s ease;
}

header .buttons i:hover {
    background: #5f666d;
}

.wrapper .preview-img {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.preview-img .img {
    max-height: 65vh;
}

.preview-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

/* Responsive media query code */
/* @media screen and (max-width: 688px) {
    .lightbox .wrapper {
        padding: 12px;
        max-width: calc(100% - 26px);
    }

    .wrapper .preview-img {
        margin-top: 15px;
    }

    .gallery .images {
        max-width: 100%;
        padding: 0 13px;
        margin-top: 20px;
    }
} */

/* .modal.fade {
    z-index: 1050 !important;
    background-color: #00000085;


}

.modal-backdrop {
    position: relative !important;
}

.lg-toolbar {
    background-color: #000;
}

.lg-img-wrap {
    background-color: #000;
} */


.lightbox .lb-image {

    border: none !important;
}

.lb-nav a.lb-prev {
    opacity: 1 !important;
}

.lb-nav a.lb-next {
    opacity: 1 !important;
}




@media only screen and (min-width: 100px) and (max-width: 700px) {

    #scene {
        display: none;
    }

}