/* --------- FONTS --------- */

@import url('nippo.css');


/* --------- UTILITY --------- */

.blend-difference {
    mix-blend-mode: difference;
}


/* --------- BASIC --------- */

* {
    padding: 0;
    margin: 0;
    box-sizing: content-box;
}

html {
  height: 100%;
  width: 100%;
}

/* Fix font issue in safari browser */
.safari .footer {
    font-weight: normal;
}

::-moz-selection { /* Code for Firefox */
    color: rgb(152, 7, 7);
    background: rgb(255, 191, 0);
}
  
::selection {
    color: rgb(152, 7, 7);
    background: rgb(255, 191, 0);
}

body.home {
    --header-height: 0px;
    --footer-height: 0px;
    --marquee-expand: calc(var(--initial-vh) * 0.13);
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: black;
    font-family: 'Nippo-Regular';
    height: 100%;
    width: 100%;
}
@media screen and (max-width: 768px) {
    body {
        --header-height: 70px;
        --footer-height: 60px;
        --marquee-expand: calc(var(--initial-vh) * 0.08);
    }
}

.home-wrapper {
    width: 100%;
    /* height: calc(100vh + 50px); */
    /* height: 100%; */
    height: 100svh;
    overflow: hidden;
}

.header {
    display: flex;
    height: var(--header-height);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding: 0 30px;
    justify-content: end;
    align-items: end;
    z-index: 5;
}

.footer {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;

    display: flex;
    font-size: 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    justify-content: space-between;

    mix-blend-mode: difference;
}

.footer-left {
  margin-left: 30px;
}
.footer-right {
  margin-right: 30px;
}

@media screen and (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    .footer {
        /* padding: 0 15px; */
        align-items: center;
        /* margin-top: calc(0px - var(--marquee-expand)); */
        font-size: 0.75rem;
    }
    .footer-left {
        margin-left: 15px;
    }
    .footer-right {
        margin-right: 15px;
    }
}

.footer-middle,
.footer-left {
    display: flex;
    gap: 2vw;
}

.footer .copyr {
    width: fit-content;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover,
.btn:hover {
    color: inherit;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.home-wrapper::-webkit-scrollbar { 
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --------- MARQUEE V4 --------- */

html { 
  --initial-vh: 100svh; /* fallback, but normally added via js */
  --initial-section-height-desktop: calc(var(--initial-vh) * 1.1);
  --initial-section-height-mobile: calc(var(--initial-vh) * 1.02);
}

#marquees-section {
    --resized-height-diff: calc((100svh - var(--initial-vh)));
    --move-marquee-y: calc((-1 * var(--marquee-expand) / 2) + (var(--resized-height-diff) / 2) );
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(var(--move-marquee-y)) rotate3d(1, 1, 1, 18deg); /* not working in firefox, because "svh" (and calc() inside of a function) */
    height: var(--initial-section-height-desktop);
}
@media screen and (max-width: 1023px) {
    #marquees-section {
        height: var(--initial-section-height-mobile);
    }
}

.marquee-wrapper {
    position: relative;
    width: 100%;

    --row-gap: 10px;
    height: calc(((((100% + var(--marquee-expand)) - var(--header-height)) - var(--footer-height)) - var(--row-gap) * 2) / 3);
}

.marquee {
    position: absolute;
    inset: 0px;
    display: flex;
    align-items: center;
    height: 100%;
}

.marquee-content {
    position: absolute;
    padding: 0; /* Define the gap here */
    white-space: nowrap;
    height: 100%;
}

.marquee-content:first-of-type {
    right: -9999px; /* hide content before js is loaded */
}

.marquee-content span {
    display: inline-block;
    padding: 0 10px;
    font-size: 20px;
}

.marquee-graphic {
    height: 100%;
    cursor: pointer;
    transform: rotate3d(1, 1, 1, -18deg);
    /* height: 254px !important; */
    /* overflow: hidden; */
}

.marquee-graphic.placeholder {
    opacity: 0.4;
}

.marquee-graphic img {
    height: 100%;
}

.marquee-graphic-wrapper-one {
    overflow: hidden;
    height: 100%;
}


/* --------- BACKGROUND VIDEO --------- */

.bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    width: 100vw;

    height: 100%;
}

.bg-video-wrapper.bg-shop {
  position: fixed;
}

.video-iframe-wrapper, .mux-video-wrapper {
    aspect-ratio: 16 / 9;
    /* width: 106%; */
    width: 120%;
    height: auto;
    min-height: 100%;
    position: absolute;
    transform: translate3d(-53%, -50%, 0px);
    left: 53%;
    top: 50%;
    background-color: black;
    
    display: flex;
}

@media screen and (max-width: 1024px) {
    .video-iframe-wrapper, .mux-video-wrapper {
        width: initial;
        height: 100%;
        transform: translate3d(-50%, -50%, 0px);
        left: 50%;
    }
}

/* .mux-video-wrapper mux-player {
    margin-block: auto;
} */

.middle-content {
    position: relative;
    justify-content: center;
    transform: translate3d(-50%, -50%, 0);
    position: absolute;
    left: 50%;
    top: 50%;
}

/* --------- MENU --------- */

#menu-screen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    display: none;
    background-color: black;
}

.menu-button {
    padding: 0;
    color: #fff;
}

.menu-button .bi {
    width: 40px;
    height: 40px;
}

#menuOpen, #menuClose {
    position: absolute;
    top: 30px;
}

@media screen and (max-width: 768px) {
    #menuOpen, #menuClose {
        top: 20px;
    }
}

#menuClose {
    display: none;
}

#menu-text {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    align-items: center;
    font-size: 1.3rem;
    gap: 15px;
}

#menu-text h3{
    margin: 0;
    font-size: calc(1.3rem + 2vw);
}

#menu-text h3 a {
    cursor: pointer;
}

/* #menu-text button{
    margin: 0;
    font-size: calc(1.3rem + 2vw);
    line-height: 1.2em;
    padding: 0px 5px;
    background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
    color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
    border-color: light-dark(rgba(118, 118, 118, 0.3), rgba(195, 195, 195, 0.3));
} */

.menu-note {
    position: absolute;
    font-size: 13px;
    right: 0;
    bottom: 45%;
    transform: translate3d(109%, 50%, 0px);
    text-transform: none;
    color: #dd95e4;
    font-size: calc(0.5rem + 0.5vw);
}

@media screen and (max-width: 768px) {
    .menu-note {
        bottom: 50%;
    }
    #menu-text {
        gap: 25px;
    }
}


/* --------- LEGALS FOOTER MENU --------- */

.legals-dropdown .btn {
    padding: 0px 9px 0px 23px;
    line-height: 1.5;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}

.legals-dropdown .dropdown-toggle::after {
    font-size: 22px;
    margin-left: 0px;
    position: absolute;
    left: 7px;
    top: 8px;
}

.legals-dropdown .dropdown-item {
    width: auto;
}


/* --------- OVERLAYS --------- */

.details-overlays {
  height: 100%;
  position: fixed;
}

.details-overlay {
    position: fixed;
    left: 0;
    top: 0;
    display: none;

    background-color: rgba(122, 122, 122, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: 100%;
    height: 100%;
}

.details-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translate3d(-50%,-50%, 10px);
}

.details-overlay img {
    max-width: 85vw;
    max-height: 80vh; /* for firefox */
    max-height: 80svh; /* for chrome / safari */
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}


/* --------- LOADING SCREEN --------- */

.loader-container {
    position: fixed;
    inset: 0;
    z-index: 999;
    /* background-color: #191515; */
    display: grid;
    place-content: center;
    transition: opacity .4s ease-in-out, visibility .4s ease-in-out;

    background-color: #535155;
}

.loader-container.ld-hidden {
    opacity: 0;
    visibility: hidden;
}

/* NEW BOX LOADER */

.loader-container {
    --box-width: 150px;
    --box-height: 150px;
}

.bx-wrapper {
    width: var(--box-width);
    height: var(--box-height);
    position: relative;
}

.bxload {
    position: absolute;
    width: var(--box-width);
    height: var(--box-height);
    animation: 0.7s linear infinite alternate bouncer-into-center;
}

#bx-1 {
    transform: translate3d(0, -20%, 0);
    left: 0;
    top: -15%;
}
#bx-2 {
    transform: translate3d(-20%, 20%, 0);
    left: -23%;
    top: 17%;
}
#bx-3 {
    transform: translate3d(20%, 20%, 0);
    left: 24%;
    top: 16%;
}

@keyframes bouncer-into-center {
    to {
        transform: translate3d(0, 0, 0);
    }
}

/* NEW ANTIMATED SVG LOADER */

.loader-svg-wrapper {
    /* width: 600px;
    height: 600px; */
    /* position: relative; */
}

.bg-surface {
  background: linear-gradient(30.2deg, #f0cb5b 0%, #bea2f8 48.3%, #96cd80 100%);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0.2;
}


/* CUSTOM CURSOR */

#overlayCursor, 
#linkCursor,
#mainCursor {
    position: absolute;
    width: 50px;
    height: 50px;
    /* background: #fff; */
    /* border-radius: 50%; */
    top: var(--y, 0);
    left: var(--x, 0);
     /* translate3d to fix safari issue */
    /* transform: translate3d(-50%, -50%, 0px); */
    z-index: 5;
    opacity: 0;

    transition: transform .2s, opacity 0.9;

    transition-timing-function: ease-out;
    pointer-events: none;
    
}

#mainCursor {
    width: 40px;
    height: 40px;
}

#overlayCursor svg, 
#linkCursor svg,
#mainCursor svg {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* hide default cursor */

/* .marquee-graphic.overlaying, */
.marquee-graphic.linking a {
    /* cursor: none; */
}
/* body {
    cursor: none !important;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled), .btn {
    cursor: none !important;
} */

/* CROSS SHAPED CURSOR */

/* version 1 */
/* #cross {
    background: white;
    height: 50px;
    position: relative;
    width: 10px;
    border: 2px solid black;
}

#cross:before {
    background: white;
    content: "";
    height: 12px;
    left: -20px;
    position: absolute;
    top: 19px;
    width: 50px;
    border: 2px solid black;
}
#cross:after {
    content: "";
    left: 0px;
    top: 0px;
    position: absolute;
    background: white;
    height: 50px;
    width: 10px;
} */


/* version 2 */
#cross {
    background: white;
    height: 28px;
    position: relative;
    width: 4px;
    border: 2px solid black;
}

#cross:before {
    background: white;
    content: "";
    height: 7px;
    left: -13px;
    position: absolute;
    top: 10px;
    width: 30px;
    border: 2px solid black;
}
#cross:after {
    content: "";
    left: 0px;
    top: 0px;
    position: absolute;
    background: white;
    height: 20px;
    width: 4px;
}






/* QUAD SVG LOADER ANIM */

body {
  /* background: linear-gradient(45deg, #9e9495, #c4e7fa); */
  --4_width_full: 80%;
  --4_time_full: 3.5s;

  --3_width_full: 50%;
  --3_time_full: 3.5s;

  --2_width_full: 29%;
  --2_time_full: 3.5s;

  --1_width_full: 15.5%;
  --1_time_full: 3.5s;
}

.quad-load-wrapper {
  position: relative;
}

.quad-load-wrapper svg {
  width: 100%;
  height: 160px;
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .quad-load-wrapper svg {
    height: 100px;
  }
}

#_4-TL {
  animation: spin-4-TL 3.5s infinite;
}
#_4-BL {
  animation: spin-4-BL 3.5s infinite;
}
#_4-BR {
  animation: spin-4-BR 3.5s infinite;
}
#_4-TR {
  animation: spin-4-TR 3.5s infinite;
}

@keyframes spin-4-TL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(var(--4_width_full));
  }
  50% {
    transform: translateX(var(--4_width_full)) translateY(var(--4_width_full));
  }
  75% {
    transform: translateX(var(--4_width_full)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-4-BL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(var(--4_width_full)) translateY(0);
  }
  50% {
    transform: translateX(var(--4_width_full)) translateY(calc(var(--4_width_full) * -1));
  }
  75% {
    transform: translateX(0) translateY(calc(var(--4_width_full) * -1));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-4-BR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(calc(var(--4_width_full) * -1));
  }
  50% {
    transform: translateX(calc(var(--4_width_full) * -1)) translateY(calc(var(--4_width_full) * -1));
  }
  75% {
    transform: translateX(calc(var(--4_width_full) * -1)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-4-TR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(calc(var(--4_width_full) * -1)) translateY(0);
  }
  50% {
    transform: translateX(calc(var(--4_width_full) * -1)) translateY(var(--4_width_full));
  }
  75% {
    transform: translateX(0) translateY(var(--4_width_full));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

#_3-TL {
  animation: spin-3-TL 3.5s infinite;
}
#_3-BL {
  animation: spin-3-BL 3.5s infinite;
}
#_3-BR {
  animation: spin-3-BR 3.5s infinite;
}
#_3-TR {
  animation: spin-3-TR 3.5s infinite;
}

@keyframes spin-3-TL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(var(--3_width_full)) translateY(0);
  }
  50% {
    transform: translateX(var(--3_width_full)) translateY(var(--3_width_full));
  }
  75% {
    transform: translateX(0) translateY(var(--3_width_full));

  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-3-BL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(calc(var(--3_width_full) * -1));
  }
  50% {
    transform: translateX(var(--3_width_full)) translateY(calc(var(--3_width_full) * -1));
  }
  75% {
    transform: translateX(var(--3_width_full)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-3-BR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(calc(var(--3_width_full) * -1)) translateY(0);
  }
  50% {
    transform: translateX(calc(var(--3_width_full) * -1)) translateY(calc(var(--3_width_full) * -1));
  }
  75% {
    transform: translateX(0) translateY(calc(var(--3_width_full) * -1));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-3-TR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(var(--3_width_full));
  }
  50% {
    transform: translateX(calc(var(--3_width_full) * -1)) translateY(var(--3_width_full));
  }
  75% {
    transform: translateX(calc(var(--3_width_full) * -1)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

#_2-TL {
  animation: spin-2-TL 3.5s infinite;
}

#_2-BL {
  animation: spin-2-BL 3.5s infinite;
}

#_2-BR {
  animation: spin-2-BR 3.5s infinite;
}

#_2-TR {
  animation: spin-2-TR 3.5s infinite;
}

@keyframes spin-2-TL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(var(--2_width_full));
  }
  50% {
    transform: translateX(var(--2_width_full)) translateY(var(--2_width_full));
  }
  75% {
    transform: translateX(var(--2_width_full)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-2-BL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(var(--2_width_full)) translateY(0);
  }
  50% {
    transform: translateX(var(--2_width_full)) translateY(calc(var(--2_width_full) * -1));
  }
  75% {
    transform: translateX(0) translateY(calc(var(--2_width_full) * -1));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-2-BR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(calc(var(--2_width_full) * -1));
  }
  50% {
    transform: translateX(calc(var(--2_width_full) * -1)) translateY(calc(var(--2_width_full) * -1));
  }
  75% {
    transform: translateX(calc(var(--2_width_full) * -1)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-2-TR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(calc(var(--2_width_full) * -1)) translateY(0);
  }
  50% {
    transform: translateX(calc(var(--2_width_full) * -1)) translateY(var(--2_width_full));
  }
  75% {
    transform: translateX(0) translateY(var(--2_width_full));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

#_1-TL {
  animation: spin-1-TL 3.5s infinite;
}
#_1-BL {
  animation: spin-1-BL 3.5s infinite;
}
#_1-BR {
  animation: spin-1-BR 3.5s infinite;
}
#_1-TR {
  animation: spin-1-TR 3.5s infinite;
}

@keyframes spin-1-TL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(var(--1_width_full)) translateY(0);
  }
  50% {
    transform: translateX(var(--1_width_full)) translateY(var(--1_width_full));
  }
  75% {
    transform: translateX(0) translateY(var(--1_width_full));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-1-BL {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(calc(var(--1_width_full) * -1));
  }
  50% {
    transform: translateX(var(--1_width_full)) translateY(calc(var(--1_width_full) * -1));
  }
  75% {
    transform: translateX(var(--1_width_full)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-1-BR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(calc(var(--1_width_full) * -1)) translateY(0);
  }
  50% {
    transform: translateX(calc(var(--1_width_full) * -1)) translateY(calc(var(--1_width_full) * -1));
  }
  75% {
    transform: translateX(0) translateY(calc(var(--1_width_full) * -1));
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes spin-1-TR {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(0) translateY(var(--1_width_full));
  }
  50% {
    transform: translateX(calc(var(--1_width_full) * -1)) translateY(var(--1_width_full));
  }
  75% {
    transform: translateX(calc(var(--1_width_full) * -1)) translateY(0);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}
    

/* LINKING GRAPHICS ANIMATION */

@keyframes jump {
  0%, 100% {
    transform: translateY(4px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.linking .marquee-graphic-wrapper-one,
.testlink .marquee-graphic-wrapper-one {
  animation: jump 0.5s infinite;
  animation-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
  /* --random: random(5);
  animation-delay: calc(0.1s * var(--random)); */
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.testlink2 img {
  animation: pulse 0.7s infinite;
  animation-timing-function: ease-in-out;
}

/* define css animation of pulsing opacity */
@keyframes pulse-opacity {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.testlink3 img {
  animation: pulse-opacity 0.8s infinite;
  animation-timing-function: ease-in-out;
}

/* for .marquee-graphic add a image at the right top corner */
.marquee-graphic.linking,
.marquee-graphic.testlink,
.marquee-graphic.testlink2,
.marquee-graphic.testlink3 {
  position: relative;
}

.marquee-graphic.linking::after,
.marquee-graphic.testlink::after,
.marquee-graphic.testlink2::after,
.marquee-graphic.testlink3::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-image: url('/wp-content/themes/mug1p001/assets/icon/link-icon-grey2.png');
  background-size: cover;
}
/* WOOCOMMERCE */

.mug1p-title,
.mug1p-cart-title {
  max-width: 1340px !important;
  
}

.woocommerce-page {
  font-family: "ff-typestar-black-web", sans-serif;
  font-weight: 400;
  font-style: normal;

}

.woocommerce-page h1,
.woocommerce-page h2 {
  font-family: "ff-typestar-ocr-web-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.woocommerce-product-gallery__trigger {
  display: none !important;
}