/*==================================================
MYJAT GLOBAL THEME
==================================================*/
:root {
    --myjat-radius-1: 15px;
}



html,
body {
    position: relative;
    margin: 0;
    padding: 0;
}


body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    pointer-events: none;
    z-index: -10;

    opacity: 0;

    transition: opacity 10s ease-in-out;
}

body::before {
    background-image: var(--myjat-bg-current);
    opacity: 1;
}

body::after {
    background-image: var(--myjat-bg-next);
    opacity: 0;
}

body.myjat-bg-fade::before {
    opacity: 0;
}

body.myjat-bg-fade::after {
    opacity: 1;
}



/*==================================================
container
==================================================*/
header,
#myjat-main-content,
.myjat-footer {
    position: relative;
    z-index: 1;
}

.myjat-light-rays,
.myjat-site-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
}


#myjat-main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 24px;
    min-height: calc(100vh - 170px);

}


.myjat-container {
    width: calc(100% - 40px);
    max-width: 1350px;
    box-sizing: border-box;
    margin: 24px auto 0;
    padding: 20px;
    border-radius: var(--myjat-radius-1);
    flex: 1;

}




/*==================================================
MOUSE GLOW
==================================================*/
.myjat-mouse-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 300px;
    border-radius: var(--myjat-radius-1);
    pointer-events: none;
    z-index: 15;
    transform: translate(-50%, -50%);
    background: red;
    filter: blur(70px);
    mix-blend-mode: screen;
    opacity: 1;
    will-change: transform;
}

/*==================================================
FLOATING LEAVES
==================================================*/
.myjat-leaves {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.myjat-leaf {
    position: absolute;
    width: 142px;
    height: 142px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: .16;
    animation: myjatLeafFloat linear infinite;
    will-change: transform;
}

.myjat-leaf:nth-child(1) {
    left: 5%;
    top: -8%;
    animation-duration: 10s;
    animation-delay: -3s;
}

.myjat-leaf:nth-child(2) {
    left: 18%;
    top: -12%;
    animation-duration: 10s;
    animation-delay: -5s;
}

.myjat-leaf:nth-child(3) {
    left: 34%;
    top: -10%;
    animation-duration: 10s;
    animation-delay: -8s;
}

.myjat-leaf:nth-child(4) {
    left: 52%;
    top: -6%;
    animation-duration: 10s;
    animation-delay: -10s;
}

.myjat-leaf:nth-child(5) {
    left: 68%;
    top: -15%;
    animation-duration: 10s;
    animation-delay: -7s;
}

.myjat-leaf:nth-child(6) {
    left: 86%;
    top: -8%;
    animation-duration: 10s;
    animation-delay: -12s;
}

/*==================================================
ANIMATION for leaf
==================================================*/

@keyframes myjatLeafFloat {
    0% {
        transform: translate3d(0, -120px, 0) rotate(0deg) scale(.85);
        opacity: 0;
    }

    15% {
        opacity: .15;
    }

    50% {
        transform: translate3d(40px, 55vh, 0) rotate(180deg) scale(1);
        opacity: .22;
    }

    100% {
        transform: translate3d(-50px, 115vh, 0) rotate(360deg) scale(.82);
        opacity: 0;
    }
}






/*==================================================
GLASS
==================================================*/

.myjat-glassclear {

    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}


.myjat-glassblur {
    background: rgba(255, 255, 255, .60);
    backdrop-filter: blur(0px);

    -webkit-backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}