:root {
    --lightgallery-background: rgba(1, 0, 51, 0.85);
    scrollbar-color: #01ffee #0400ff;
    scrollbar-width: thin;
}

.lg-backdrop {
    background-color: var(--lightgallery-background) !important;
    backdrop-filter: blur(10px);
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    display: flex;
    background-color: #0400ff;
    position: fixed;
    inset: 0;
    justify-content: center;
    align-items: center;
}

.bgimage {
    z-index: -5;
    animation: bgFadeIn 1s ease-in forwards,
    slideInUp .5s ease-out;
}

.bgimage img {
    height: 100dvh;
    width: 100dvw;
        object-fit: cover;
}

@keyframes bgFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.price {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 4, 255, 0.863);
    backdrop-filter: blur(5px);
    z-index: 6;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.price-container {
    position: absolute;
    bottom: 0;

    width: fit-content;
    height: 100%;

    transform: translateY(100%);

    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.price.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.price.show .price-container {
    transform: translateY(0);
}

.price.closing {
    opacity: 0;
    pointer-events: none;
}

.price.closing .price-container {
    transform: translateY(100%);
}

.price-item {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100dvh;
    gap: 1rem;
    width: clamp(35rem, 22.5rem + 40vw, 45rem);
    background-color: #080078b9;
    padding: clamp(1rem, -0.25rem + 4vw, 2rem);
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-tap-highlight-color: transparent;
}

.img-item{
    width: 100%;
    border-radius: 2rem;
    cursor: pointer;
}

.price-bar {
    top: 0;
    position: sticky;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Kanit", sans-serif;
    width: 100%;
    height: 5rem;
    background-color: #0400ff96;
    font-size: clamp(1.5rem, 0.875rem + 2vw, 2rem);
    color: white;
    border-radius: 10rem;
    padding: 2rem .5rem 2rem 1rem;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.close-btn3 {
    height: 4rem;
    cursor: pointer;
    padding: 1rem;
    box-sizing: border-box;
    transition: .2s ease;
    border-radius: 5rem;
    background-color: #00ffff81;
}


.social {
    position: fixed;
    inset: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 4, 255, 0.863);
    z-index: 7;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
        backdrop-filter: blur(5px);
}

.social.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.social-container {
    font-family: "Kanit", sans-serif;
    display: flex;
    position: absolute;
    width: clamp(22rem, 12rem + 32vw, 30rem);
    height: clamp(25rem, 12.5rem + 40vw, 35rem);
    background-color: #080078b9;
    border-radius: 10rem 1rem 10rem 10rem;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: 
        drop-shadow(0px 15px 0px rgb(0, 2, 109));
}

.social.show .social-container {
    transform: translateY(0);
}

.social.closing {
    opacity: 0;
    pointer-events: none;
}

.social.closing .social-container {
    transform: translateY(100%);
}

.pfp {
    position: absolute;
    height: clamp(6rem, 3.5rem + 8vw, 8rem);
    bottom: clamp(-3rem, -0.5rem + -8vw, -5rem);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgb(251, 255, 0);
}

.pfp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.follow {
    position: absolute;
    top: clamp(-4rem, 0.5rem - 8vw, -1rem);
    left: clamp(-4rem, 0.5rem - 8vw, -1rem);
    width: 100%;
    height: 100%;
}

.follow img{
    width: clamp(15rem, 2.5rem + 40vw, 25rem);
}

.social-content {
    display: flex;
    flex-direction: column;
    height: 20rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    gap: clamp(1rem, -1.5rem + 8vw, 3rem);
}

.social-items {
    cursor: pointer;
    display: flex;
    width: auto;
    font-size: clamp(1.5rem, 0.875rem + 2vw, 2rem);
    padding: 1rem;
    box-sizing: border-box;
    align-items: center;
    border-radius: 5rem;
    gap: 1rem;
    color: white;
    position: relative;
    user-select: none;
    transition: .2s ease-in;
    -webkit-tap-highlight-color: transparent;
}

.social-items:hover {
    background-color: #00ffff81;
}

.social-items img {
    height: 2rem;
}

.close-btn2 {
    position: absolute;
    height: 4rem;
    top: clamp(2rem, -0.5rem + 8vw, 4rem);
    right: clamp(2rem, 0.75rem + 4vw, 3rem);
    cursor: pointer;
    padding: 1rem;
    box-sizing: border-box;
    transition: .2s ease;
    border-radius: 5rem;
    background-color: #00ffff81;
}

.close-btn2:hover, .close-btn3:hover {
    background-color: #00ffffec;
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 4, 255, 0.863);
    top: 0;
    left: 0;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
        backdrop-filter: blur(5px);
}

.gallery-nest {
    position: absolute;
    bottom: 0;
    height: 100%;
    width: clamp(40rem, 85vw, 95rem);
    background-color: #080078b9;
    padding: clamp(1rem, -0.25rem + 4vw, 2rem);
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: scroll;
    isolation: isolate;
}

.lg-backdrop,
.lg-outer {
    overflow: hidden;
}

.gallery-bar {
    top: 0;
    font-family: "Kanit", sans-serif;
    font-size: clamp(1.5rem, 0.875rem + 2vw, 2rem);
    display: flex;
    box-sizing: border-box;
    padding: 2rem .5rem 2rem 1rem;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    width: 100%;
    height: 5rem;
    border-radius: 10rem;
    background-color: #0400ff96;
    color: white;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.close-btn {
    height: 4rem;
    cursor: pointer;
    padding: 1rem;
    box-sizing: border-box;
    transition: .2s ease;
    border-radius: 5rem;
    background-color: #00ffff81;
}

.close-btn:hover {
    background-color: #00ffffec;
}

.gallery.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery.show .gallery-nest {
    transform: translateY(0);
}


.gallery.closing {
    opacity: 0;
    pointer-events: none;
}

.gallery.closing .gallery-nest {
    transform: translateY(100%);
}

.gallery-grid {
    margin-top: 2rem;
    columns: 4;
    column-gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.gallery-grid .gallery-image-link {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    vertical-align: top;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    margin-bottom: 1rem;

    break-inside: avoid;
}


.lg-sub-html {
    display: none !important;
}



.mobile-frame {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.mobile-frame::before {
    content: "";
    position: absolute;
    inset: .5rem;
    border-radius: 7rem 2rem 2rem 2rem;
    box-shadow: 0 0 0 100vmax #080078;
}

li {
    list-style-type: none;
    cursor: pointer;
    transform: rotate(-10deg);
    width: fit-content;
    position: relative;
    isolation: isolate;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

li span {
    filter: drop-shadow(-5px 5px 0 #080078);
    letter-spacing: 3px;
}

li.active  span,
li:hover span{
    filter: none;
}


.nav-highlight {
    position: absolute;
    right: -3rem;
    top: clamp(-2rem, -0.6479rem + -1.1268vw, -1rem);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    height: clamp(15rem, 13.2394rem + 5.6338vw, 20rem);
    transition:
        opacity 0.1s ease,
        visibility 0.1s ease;
}

li#main {
    font-size: clamp(4rem, 3.2958rem + 2.2535vw, 6rem);
}

li#main img{
    height: clamp(20rem, 18.2394rem + 5.6338vw, 25rem);
}


li.active .nav-highlight,
li:hover .nav-highlight {
    opacity: 1;
    visibility: visible;
}

li.active, li:hover {
    color: #001bb4bb;
    filter: drop-shadow(-20px 20px 0px #0400ff);
}

.navigation {
    font-family: "Lalezar", sans-serif;
    color: rgb(253, 253, 253);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    position: absolute;
    height: 60vh;
    width: 50vh;
    bottom: 5rem;
    font-size: clamp(3rem, 2.6479rem + 1.1268vw, 4rem);
    mix-blend-mode:hard-light;
}



.logo {
    position: absolute;
    height: 10rem;
    right: 3rem;
    top: 3rem;
    z-index: 1;
}

.mobile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: #080078;
    height: 8rem;
    width: 5rem;
    bottom: 0;
    right: 0;
    z-index: 5;
    border-radius: 1rem 0 1rem 1rem;
    visibility: hidden;
}

.mobile-logo img {
    height: 6rem;
}


.main-bg {
    height: 100%;
    width: 100%;
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    z-index: -1;
}


.animation {
    top: clamp(-5rem, -5.7042rem + 2.2535vw, -3rem);
    position: absolute;
    max-width: none;
    z-index: 1;
    pointer-events: none;
    transform: translateX(0);
    transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    animation: floating 3s ease-in-out infinite;
}

.animation img {
    height: clamp(93.75rem, calc(93.75rem + (100vh - 56.25vw)), 156.25rem);
}

@keyframes floating {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -40px;
    }
}

.main-bg .animation.tab-open {
    transform: translateX(120vw);
}


.overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: hard-light;
}

.overlay img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.wave {
    position: absolute;
    bottom: -10rem;
    z-index: -2;
    animation: slideInUp 1s ease-out;
}

.wave2 {
    position: absolute;
    bottom: -6em;
    z-index: -5;
    animation: slideInUp .5s ease-out;
}




@media (max-width: 660px) {
    .mobile-frame {
        display: block;
    }

    .logo {
        display: none;
    }

    .overlay {
        display: none;
    }

    .navigation {
        bottom: 2rem;
    }

    .mobile-logo {
        visibility: visible;
    }

    .gallery-nest {
        width: 100%;
        height: 100%;
    }
    .price-item {
        width: 100vw;
    }

    .gallery-grid {
        columns: 2;
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

.slide-in-left {
    animation: slideInLeft .7s ease-out;
}



@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}


