@import "tomo-animations.css";

@font-face {
    font-family: 'JunkDog';
    src: url('../assets//fonts/JunkDog.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lore';
    src: url('../assets//fonts/LORE-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --navbar-height: 93px;
}






p, a {
    font-family: "Inder", serif !important;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "JunkDog", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

html{
    scroll-behavior: smooth;

}


body {
    background-color: #f7f7f7;
    padding-top: var(--navbar-height);
    /* margin-top: calc(-1 * var(--navbar-height)); */
    margin-top: calc(-1 * var(--navbar-height) + 220px);
}


p {
    line-height: 1.3em !important;
}


/*     Utils      */
/*----------------*/
.no-max-width {
    max-width: none !important;
}

.blue {
    background-color: blue;
}

.red {
    background-color: red;
}


.grow-button {
    flex-grow: 1.5;
}

@media screen and (min-width: 768px) {

    /* disable Flickity for large devices */
    .flickity-hide-tablet {
        height: 0px !important;
        overflow: hidden;
    }
}


@media screen and (max-width: 768px) {
    .px-0-mobile {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.is-forced-fullwidth {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

.full-height {
    height: 100%;
}

.overlap-container {
    position: relative;
    z-index: 1;
}

.overlap-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
}


.overlap-asset {
    width: 100%;
    height: auto;
    position: absolute;
    place-content: center;
    z-index: 1;
}

.overlap-asset video{
    width:100%
}

.overlap-asset figure,
.overlap-asset video {
    scale: 0.80;
}


/*  Flickity s  */
/*----------------*/
/* Style for Flickity buttons */
.flickity-button {
    background-color: rgba(255, 255, 255, 0.164);
    /* Semi-transparent background */
    background-image: url('../assets/next_white.svg');
    /* Custom arrow */
    background-repeat: no-repeat;
    background-position: center center;
    filter: opacity(0.8);
    background-size: 60%;
    border-radius: 50%;
    /* Optional: Make it round */
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.flickity-button:hover {
    background-color: rgba(255, 255, 255, 0.75);
    /* Semi-transparent background */
    background-image: url('../assets/next_black.svg');
    /* Custom arrow */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    filter: opacity(1);
    border-radius: 100%;
    /* Optional: Make it round */
    width: 50px;
    height: 50px;
    cursor: pointer;
}


/* Hide default SVG icon */
.flickity-button .flickity-button-icon {
    display: none;
}

/* Custom Previous Button */
.flickity-prev-next-button.previous {
    transform: scaleX(-1);
    /* Flip the next_white.svg for previous button */
    left: -70px;
    margin-top: -28px;

}

/* Custom Next Button */
.flickity-prev-next-button.next {
    right: -70px;
}

@media screen and (max-width: 1023px) {

    /* Custom Previous Button */
    .flickity-prev-next-button.previous {
        display: none
    }

    /* Custom Next Button */
    .flickity-prev-next-button.next {
        display: none
    }
}


/*  Decoration s  */
/*----------------*/
.shape {
    width: 300px;
    height: 200px;
    border: 5px solid white;
    background-color: transparent;
    position: relative;
    transform: perspective(422px) rotateX(342deg) rotateY(5deg) rotateZ(1deg);
}


.info-container {
    height: 180px;
    aspect-ratio: 3/2;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    background: #ffffff;
}

.info-container::before {
    content: "";
    height: 160px;
    aspect-ratio: 3/2;
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    background: #542437;
    display: inline-block;

}







/*  Hero Section  */
/*----------------*/
.hero {
    /* margin-top: 0px;
    min-height: 650px;
    height: 80vh; */
    margin-top: 0px;
    height: 100%;
}

.hero-body {
    position: relative;
    background-color: #3CC5E1;
    /* background-image: url(../assets/newhero/sky.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover; */
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: -2em;
    padding-top: 7em;
}

.video-hero {
    transform: scale(1.3);
    /* Adjust size here */
    transform-origin: center;
}

.video-hero .overlap-asset .video-bg {
    clip-path: polygon(4% 10%, 9% 98%, 95% 92%, 99% 3%);
    margin-left: -11px;
    scale: 1;
}

.tomo-logo {
    z-index: 2;
    width: 120%;
}

.video-trailer {
    z-index: 1;
}



@media screen and (min-width: 769px),
print {
    .hero-body {
        padding: 5rem;
    }
}

.title-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    margin: auto;
    min-width: 288px;
}

.dark-section .title,
.dark-section * .title {
    /* Ensures it works for deeply nested elements */
    color: #F7F7F7 !important;
}

.light-section .title,
.light-section * .title {
    color: #202020 !important;
}

/* .island_travel{
    right: -266px !important;

} */




@media screen and (max-width: 1024px) {

    /* .island_travel{
        left: -197px !important;
        width: 110%!important;
    
    } */

    .atropos {
        width: 131% !important;
        right: -86px !important;
    }

    .zhareflare_position {
        bottom: 114px !important;
        right: -180px !important;
    }

    .boat_position {
        bottom: 37px !important;
        right: -68px !important;
    }

    .daiko_rotate {
        right: -167px !important;
    }

    .comet_travel {
        bottom: 97px !important;
        right: 43px !important;
    }


}

.steam-button {
    margin-top: 30px;
    width: min(80%, 450px);
}


.trapezoid-button {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0px 5vw;
    background-color: #000000;
    color: #ffffff;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    clip-path: polygon(10% 0, 90% 0, 98% 100%, 2% 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 38 / 9;
    z-index: 10;
}



@media screen and (max-width: 768px) {

    .trapezoid-button {
        padding: 0px 7vw;
        font-size: clamp(26px, 2.3vw, 30px);
    }
    

}





.trapezoid-button:hover {
    background-color: #3eb1e5;
    color: #fff;
}



.trapezoid-button-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.trapezoid-button-wrapper::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background-color: #ffffff;
    /* background color of the outline */
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
    z-index: 0;
    pointer-events: none;
}

.trapezoid-button {
    position: relative;
    z-index: 1;
}



/*     Navbar    */
/*----------------*/

.triptik {
    width: 75%;
    margin: auto;
}

/* Reset hover/focus background */
.navbar-link:hover,
.navbar-link:focus,
.navbar-link:focus-within,
a.navbar-item:hover,
a.navbar-item:focus,
a.navbar-item:focus-within {
  background-color: transparent;
}

a.navbar-item.social-img:hover.navbar-item.social-img:active{
    background: #3eb1e5 !important;
}


.fixed-top {
    padding-top: 90px;
}

.slanted-navbar,
.slanted-navbar-border,
.slanted-navbar-shadow {
    clip-path: polygon(0 0, 100% 0, 100% 64%, 0% 100%);
    position: fixed;
    top: 220px!important;
    left: 0;
    width: 100%;
}

.slanted-navbar {
    background-color: #212121;
    height: 93px;
}

.slanted-navbar-border {
    background-color: #ffffff;
    height: 99px;
    z-index: 29;
}

.slanted-navbar-shadow {
    background-color: rgb(0 0 0 / 33%);
    height: 101px;
    filter: blur(8px);
    z-index: 1;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.navbar-end {
    display: flex;
    align-items: center;
    margin-top: -15px;
}

.navbar-item:hover {
    background-color: transparent !important;
}

.navbar-item.social-img:hover {
    background-color: #fdf7ec6d !important;
}

.navbar-item img {
    width: 24px;
    height: 24px;
    margin: 0;
}

.vertical-separator {
    width: 2px;
    height: 40px;
    background-color: #ddd;
    margin: 0 15px;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 180px;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    background: url('../assets/CTA.png') center/contain no-repeat;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;

}

.cta-button.special-ks{
color: #05ce78!important;
background: url('../assets/CTA-ks.png') center/contain no-repeat;

}
.cta-button.special-ks:hover {
    background: url('../assets/CTA-ks_hover.png') center/contain no-repeat;
}

.cta-button:hover {
    background: url('../assets/CTA_hover.png') center/contain no-repeat;
}

.cta-button:hover h1 {
    color: #FDF7EC !important;
}

/*     Atropos    */
/*----------------*/




/* Make Atropos Fill Entire Hero and Align Right */
.atropos {
    width: 100%;
    position: absolute;
    bottom: -30px;
    height: 100%;
    right: 0px;
}

/* .atropos{
            position: absolute;
            right: 0;
            overflow: hidden;
            width: 100%;
            height: 100%;
        }

        .fake-atropos{
            width: 100%;
            height: 100%;

        }

    .fake-atropos img{
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        max-width: 1387px;
        max-height: 700px;
    }

        .atropos-scale, .atropos-rotate, .atropos-inner {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: visible;
        } */

/* Background & Layered Images */

.atropos-scale{
    
}
.atropos-inner img {
    object-fit: cover;
    object-position: right top;
    /* overflow: visible; */
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
}

.atropos-ground {
    right: 0 !important;
}


.atropos-inner {
    overflow: visible;
}

img.atropos-header-spacer {
    position: relative;
    width: 100%;
    height: 100%;
    right: 0;
    bottom: 0;
    visibility: hidden;
}

.atropos-clouds {
    margin-top: -89px !important;
    /* max-width: 2055px; */
}





.my-atropos-front {
    z-index: 20;
    pointer-events: none;
}

.my-atropos-front.atropos {
    overflow: visible;
    bottom: -125px !important;
    right: -48px !important;
}




.atropos-front-image {
    margin-top: 120px;
    overflow: display;
}



.atropos-img-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.atropos-img-wrapper img {}

.mini-hero {
    height: 100%;
    min-width: 375px;
    z-index: 0;
    position: absolute;
    width: 100%;
    background: rgb(145, 252, 244);
    background: linear-gradient(0deg, rgba(145, 252, 244, 1) 0%, rgba(46, 150, 216, 1) 100%);
    overflow: hidden;

}

.atropos-highlight {
    left: 0%; 
     top: 0%;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50%, rgba(255, 255, 255, .25), transparent 50%);
    z-index: 0;
}


.mini-hero img {
    position: absolute;
}


.mini-hero .image {
    position: absolute;
    width: 100%;
    height: auto;

}

.mini-mg {
    bottom: -12px;
    z-index: 1;
    margin-bottom: -188px;
}

@media screen and (max-width: 580px) {
    .mini-mg {
        width: 110%;
        max-width: 110%;
        bottom: 102px;
    }
}

@media screen and (max-width: 480px) {
    .mini-mg {
        width: 124%;
        max-width: 130%;
        bottom: 100px;

    }
}

.mini-boat {
    top: 35px;
    width: 78%;
    max-width: 400px;
    left: -4px;
    min-width: 319px;
}

.mini-boy {
    bottom: 0;
    width: 100%;
}

.mini-draclest {
    top: 25px;
    width: 63%;
    max-width: 498px;
    right: 0;
}

.mini-girl2 {
    bottom: -21px;
    width: 100%;
    max-width: 535px;
    min-width: 385px;

}


@media screen and (min-width: 628px) {
    .mini-girl2 {
        bottom: -52px;
        width: 100%;
        max-width: 535px;
        min-width: 385px;
        right: 17%;
    }

}

@media screen and (max-width: 628px) {

    .mini-girl {
        right: -54px !important;
        min-width: 506px !important;
        bottom: 5px !important;
    }

    .portrait-axolune {
        right: -47px !important;
        bottom: 2px !important;
    }

}

@media screen and (max-width: 500px) {

    .mini-girl {
        right: -73px !important;
        min-width: 506px !important;
        bottom: 28px !important;
    }

    .portrait-axolune {
        right: -48px !important;
        bottom: 5px !important;
    }
}


.mini-vagari {
    bottom: -11px;
    width: 100%;
    min-width: 448px;
    z-index: 2;
}



.mini-zhareflare {
    bottom: -96px;
    width: 100%;
    left: 0px;
    z-index: 0;
    min-width: 463px;
}

.mini-choribat {
    bottom: 153px;
    width: 100%;
    right: -29px;
}

.mini-girl {
    bottom: -31px;
    width: 100%;
    right: 0;
    max-width: 622px;
    min-width: 576px;
    z-index: 10;
}

/* touch only magic fix tablet sa mère */ 
@media (pointer: coarse) and (min-width: 769px) {
  .hero-body{
    overflow: hidden;
  }

  .hero {
    margin-top: -2em;
    height: 100%;
}
  .my-atropos-front.atropos {
    overflow: visible;
    bottom: -62px !important;
    right: -48px !important;
}
.atropos {
    width: 100%;
    position: absolute;
    bottom: -30px;
    height: 100%;
    right: 0px;
}
}


.sky_travel{
        max-width: 105%!important;
}



/* overlay hero */



 

  .video-play-button:hover {
    background: #ffffffcf;
  }


  .video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 70px;
    height: 70px;
    background: #ffffff44;
    border-radius: 50%;
    transition: all 200ms;
  }
  
  .video-play-button span {
    display: block;
    position: absolute;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 19px solid #ffffff7a;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-left: 2px;
  }


  .video-play-button:hover span {
    border-left: 19px solid #242424;
  }
  
  .video-play-button {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    padding: 13px 17px 16px 24px;
  }
  
  .responsive-video {
    position: relative;
    width: 100%;
    max-width: 90vw;
    aspect-ratio: 16 / 9;
    margin: auto;
  }
  
  .responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .modal-content {
    max-width: 1600px;
    width: 100%;
    padding: 1rem;
  }

/* Hero visuals */
/*---------------*/
@media screen and (max-width: 769px) {
    .title-inner {
        width: clamp(280px, 60%, 400px) !important;
    }

    .hero-body {
        padding: 0;
        height: 92vh;
        min-height: 800px;


    }

    .portrait-top {
        position: absolute;
        top: 26px;
        margin: auto;
        right: -25px;
        width: 88%;
    }

    .portrait-bottom {
        position: absolute;
        bottom: -84px;
        width: 100%;
        margin: auto;
        right: 0;
    }
}

.portrait-front {
    position: absolute;
    width: 100%;
    height: 119%;
    overflow:hidden;
}

.portrait-daiko {
    position: absolute;
    width: 85%;
    bottom: 0vh;
    z-index: 20;
    max-width: 459px;
    left: -110px;
    min-width: 319px;
}

.portrait-axolune {
    bottom: 2px;
    position: absolute;
    width: 36%;
    right: 0px;
    z-index: 11;
    max-width: 198px;
}


/*     Sections    */
/*----------------*/
:root {
    --slope: 5vh;
    /* Define your desired angle */
    --asymetry: 1.3;
    /*asymetry of top border, must be >1)*/
}




.slanted-section {
    clip-path: polygon(0 calc(var(--slope)*var(--asymetry)),
            /* Start slanted from top left */
            100vw 0,
            /* Go straight at the top */
            100vw 100%,
            /* Bottom right */
            0 calc(100% - var(--slope))
            /* Bottom left with slant */
        );
}

.first-section {
    z-index: 10;
    position: relative;
}

@media screen and (min-width: 1024px) {
    .first-section {
        padding-top: 7em;

    }
}


/* Mirrored Slant */
.slanted-section-inv {
    clip-path: polygon(0 0,
            100vw var(--slope),
            /* Slanting from top right */
            100vw calc(100% - calc(var(--slope)*var(--asymetry))),
            /* Slanting to bottom right */
            0 100%);
}

.slanted-section,
.slanted-section-inv {
    margin-top: calc(var(--slope)* -1* var(--asymetry));
    padding-bottom: 10vh;
    padding-top: 10vh;
    position: relative;
}


/* backgrounds */
.black-partial-clouds {
    background-color: #202020;
    color: #F7F7F7;
    background-image: url(../assets/bg_darkclouds_alt.png), url(../assets/bg_darkclouds_alt.png);
    background-size: 20% auto;
    /* Adjust size as needed */
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right;
}


@media screen and (max-width: 769px) {
    .black-partial-clouds {
        background-size: 50% auto;
    }

}

.black-clouds {
    background-color: #202020;
    background-image: url(../assets/tribal_pattern.png);
    background-repeat: repeat;
    background-size: 160px;
    color: #F7F7F7;

}

.black-clouds * {
    color: #F7F7F7;
}


.white-circles {
    background-color: #F7F7F7;
    background-image: url(../assets/patterncircles.png);
    background-repeat: repeat;
    background-size: 40%;
    color: #202020;
}


.beach-anim {
    position: relative;
    overflow: hidden;
    background-color: #F7F7F7;
}

.beach-anim .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Ensures content appears above the video */
}

@media screen and (max-width: 769px) {
    .beach-anim .columns .column {
        background-color: rgb(255 255 255 / 86%);
        margin-top: 36px;
        margin-bottom: 36px;
        border: 3px white solid;
    }

}

.tomo-mark-white::after {
    content: "";
    background-image: url(../assets/tomo-mark-white.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 58px;
    height: 45px;
    position: absolute;
    z-index: 1000;
    margin-top: -27px;
    margin-left: -15px;

}

.tomo-mark-black::after {
    content: "";
    background-image: url(../assets/tomo-mark-black.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 58px;
    height: 45px;
    position: absolute;
    z-index: 1000;
    margin-top: -27px;
    margin-left: -15px;
}


.white-circles * {
    color: #202020;
}



/* music */
/*----------------*/
.musician-info {
    color: #F7F7F7;
}

.musician-info a {
    font-weight: bolder;
}

.musician-portrait {
    max-height: 279px;
    width: auto !important;
    margin: auto;
}

.musician-info h3 {
    line-height: 1.2em;
    margin-bottom: 15px;
    margin-top: 15px;

}

.ai {
    color: palevioletred;
}

.cecile {
    color: coral;
}

.thomas {
    color: cadetblue;
}


.dance-anim {
    position: relative;
    overflow: hidden;
    background-color: #4fa7e2;
    height: 80vh;
}

@media screen and (max-width: 769px) {
    .dance-anim .columns .column {
        background-color: rgb(255 255 255 / 68%);
        margin-top: 36px;
        margin-bottom: 36px;
        border: 3px white solid;
    }

}

.dance-anim .video-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    clip-path: inset(3px 0 0 0);
}


/* Press section */
.press-section {
    background-color: #FDF7EC;
    background-image: url(../assets/bg_beigeclouds.png), url(../assets/bg_beigeclouds.png), url(../assets/accent_beigecloud.png);
    background-size: 20% auto;
    /* Adjust size as needed */
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right, top right;

    .quotes-row {
        margin-top: 3em;

        .column {
            padding: .75rem 1.5rem;
        }
    }

    #second-quotes-row {
        .column {
            padding: .75rem 2rem;
        }
    }

    .quote-block {
        background: #232323;
        color: #fafafa;
        clip-path: polygon(0 0, 100% 3%, 97% 83%, 4% 94%);
        padding: 1em 1em 2em 1.5em;
        min-width: 267px;
    }

    .press-link-wrapper {
        width: 100%;
        text-align: right;
        margin-top: .75em;
    }
    
    .press-quote-wrapper {
        position: relative;
    }

    .press-quote-wrapper::before,
    .press-quote-wrapper::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url('../assets/quote-accent.png');
    }

    .press-quote-wrapper::before {
        bottom: 33%;
        right: 15%;
    }

    .press-quote-wrapper::after {
        bottom: -18%;
        right: -14%;
        rotate: 180deg;
    }

    /* Social button style */
    .press-quote {
        width: 100%;
        height: 100%;
        background: #232323;
        color: #fafafa;
        transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
        position: relative;
        clip-path: polygon(0 0, 100% 3%, 97% 83%, 4% 94%);
    }

    @media screen and (min-width: 1216px) {
        .quotes-row {
            width: 960px;
        }
    }

    @media screen and (max-width: 954px) {
        .press-quote-wrapper::before,
        .press-quote-wrapper::after {
            display: none;
        }

        .quote-block {
            min-width: 0;
        }

        .press-link-wrapper {
            text-align: center;
            margin-top: 0;
        }
    }

}


/* tomolog */
/*----------------*/


.tomolog-section {
    background-color: #FDF7EC;
    min-height: 80vh;
    background-image: url(../assets/bg_beigeclouds.png), url(../assets/bg_beigeclouds.png), url(../assets/accent_beigecloud.png);
    background-size: 20% auto;
    /* Adjust size as needed */
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right, top right;

}

@media screen and (max-width: 769px) {
    .tomolog-section {
        background-size: 50% auto;
    }

}

.tomolog-title-columns {
    margin-left: -40px;
    margin-bottom: -7px !important;
}


.tomolog-title {
    padding-bottom: .75rem;
    transform: perspective(200px) rotate(355deg) skewX(2deg) rotateY(359deg);
    margin-top: 30px;
    margin-bottom: -10px;
    z-index: 2;
}

.tomolog-types {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* or whatever spacing you want between icons */
  
}

.tomolog-types img {
    height: 43px;
    width: auto;
    background-color: #202020;
    border-radius: 100%;
    margin-bottom: 2px;
    display: block;
    object-fit: contain;
  
}
@media screen and (max-width: 769px) {

    .tomolog-types img {
        height: 40px;
    }

}


.overlap-asset {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
  }

.tomolog-card{
    width:100%;
}


.tomolog-info-assets {
    margin-top: -2px;
}

.tomolog-title-right .tomolog-info-assets {
    margin-top: 32px;
}

.tomolog-name {
    display: inline-block;
    rotate: 3deg;
    text-align: center;
    width: 100%;

}



.tomolog-number {
    display: inline-block;
    rotate: 359deg;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.tomolog-info {
    background-color: #202020;
    overflow-y: auto;
    padding: 15px 30px;
    transform: perspective(200px) rotate(358deg) rotateY(2deg);
    max-height: 32vh;
    min-height: 32vh;
}

.tomolog-data {
    width: 80%;
    margin: 0 auto;
    padding-top: .25rem;
    padding-bottom: .75rem;
    color: #202020;
    rotate: -3deg;
}



.tomolog-weight::before,
.tomolog-height::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.2em;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tomolog-weight::before {
    background-image: url('../assets/weight-icon.png');
    background-size: 50%;
    background-position: right;
}

.tomolog-height::before {
    background-image: url('../assets/height-icon.png');
    background-size: 60%;
    background-position: right;

}

/* .carousel-tomolog .columns .column{
    max-height: 48vh;
    min-height: 32vh;
} */

@media screen and (max-width: 768px) {
    .tomolog-tomobig {
        padding-bottom: 0 !important;
        margin-bottom: -75px;

    }
}

.tomolog-tomobig {
    padding-top: 5vh;
    padding-bottom: 5vh;
}


.tomolog-tomobig img {
    margin: auto;
    width: auto !important;
    height: 100% !important;
    transform: scaleX(-1);
}

.carousel-tomolog .carousel-main .carousel-cell {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-right: 10px;
    padding: 0px 22px;
}



.carousel-tomolog-nav .carousel-cell {
    width: 15%;
    height: auto;
    min-width: 190px;
    max-width: 255px;
    margin-right: 5px;
    counter-increment: gallery-cell;
    bottom: 0;
    aspect-ratio: 3/4;
}

.carousel-tomolog-nav .carousel-cell img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
}


.carousel-tomolog-nav .flickity-enabled .carousel-cell {
    height: auto;
}

.carousel-tomolog-nav .flickity-enabled .carousel-cell.is-selected {
    height: auto;
    width: 18%;
    min-width: 210px;
    max-width: 280px;
    opacity: 1;
}

.tomolog-container-nav {
    margin-top: -36px;
}

@media screen and (min-width: 1025px) and (pointer: fine) {
  .tomolog-container-nav {
    rotate: -3deg;
  }
}

.tomolog-img {
    position: relative;
    /* Needed for pseudo-elements positioning */
}

.slanted-section,
.slanted-section-inv {
    will-change: transform;
    transform: translateZ(0)!important; /* or: translate3d(0,0,0) */
}



/* .tomolog-big-seal::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: -100%;
    background: url(../assets/seal-off.png) center/54% no-repeat;
    animation: spin-inv 60s infinite linear;
    z-index: -1;
    opacity: 0.05;
  } */


/* Top layer with the second background image that will fade in and out */
/* .tomolog-big-seal::after {
        content: "";
        position: absolute; 
        top: 0; left: 0; right: 0; bottom: -100%;
        background: url(../assets/seal-off.png) center/54% no-repeat;
        animation: spin-inv 60s infinite linear, blend 5s infinite linear;
        z-index: -1;
        opacity: 0.1;
      } */


.tomolog-img::before,
.tomolog-img::after {
    height: 115%;
    width: 100%;
    margin: auto;
}

/* Bottom layer with the first background image and a spin animation */
.tomolog-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../assets/tomolog/Tomo_Wheel_F3E7D6-min.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-clip: padding-box;
    animation: spin 60s infinite linear;
    z-index: 1;

}

/* Top layer with the second background image that will fade in and out */
.tomolog-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../assets/tomolog/Tomo_Wheel_39CDFA-min.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-clip: padding-box;
    animation: spin 60s infinite linear, blend 10s infinite linear;
    z-index: 1;

}

/* Rotate the bottom background */
@keyframes spin-inv {
    from {
        transform: rotate(-360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Rotate the bottom background */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blend {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    60% {
        opacity: 0.5;
    }

    70%,
    100% {
        opacity: 0;
    }
}



.tomolog-img img {
    height: 94%;
    margin: auto;
    z-index: 4;

}



/* backgrounds */
.blue-partial-clouds {
    background-color: #FDF7EC;
    background-image: url(../assets/bg_blueclouds_alt.png), url(../assets/bg_blueclouds_alt.png);
    background-size: 20% auto;
    /* Adjust size as needed */
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right;
}


/* Specific styles for mobile */
@media screen and (max-width: 768px) {
    /* .tomolog-img img {
        width: 50%;
    }

    .tomolog-img{
        margin-bottom: -90px;
    }

    .carousel-tomolog .columns .column{
        max-height: none;
        min-height: none;
    }
    .tomolog-info{
        max-height: 32vh;
        min-height: 32vh;
    } */


    /* .tomolog-img::before {
        background-image: url(../assets/Tomo_Wheel_F3E7D6.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        padding: 10px;
    }

    .tomolog-img::after {
        background: url(../assets/Tomo_Wheel_39CDFA.png) center/80% no-repeat;
      } */
}



/* Specific styles for mobile */
/* @media screen and (min-width: 1216px) { 

    .tomolog-img::before {
        background-image: url(../assets/Tomo_Wheel_F3E7D6.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        background-clip: content-box;
    }

    .tomolog-img::after {
        background: url(../assets/Tomo_Wheel_39CDFA.png) center/80% no-repeat;
      }
} */



/* Scrollbar */
/*----------------*/
/* Custom Scrollbar for WebKit Browsers using a class selector */
.scroll-custom::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.039);
    background-color: #F5F5F5;
}

.scroll-custom::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.scroll-custom::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.326);
    background-color: #39CDFA;
}



/*     Story    */
/*----------------*/

@media screen and (min-width: 1024px) and (max-width: 1215px) {
    .story-section-padding-desktop {
        padding-right: 0rem !important;
        padding-left: 4rem !important;
    }
}




/*     Modals    */
/*----------------*/



/*  Triple screen info */
.info-wrapper {
    position: relative;
    display: flex;
}

.info-container {
    height: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    column-gap: 5%;
    padding-left: 5%;
    padding-right: 5%;

}

.container-bg {
    position: absolute;
    height: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-trapezoid1 {
    clip-path: polygon(0% 12%, 100% 0%, 96% 90%, 7% 87%);
    /* background-image: url(../assets/hero-bg.png);
    background-position: center;
    background-size: cover; */
    background-color: #232323;
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}


.triple-shape {
    background: coral;
    height: 80%;
    z-index: 3;
    position: relative;
    flex-grow: 1;

}


@media screen and (max-width: 769px) {
    .triple-shape {
        scale: 0.8;
    }

}


.info-container .triple-shape:nth-child(1) {
    clip-path: polygon(0% 0%, 100% 6%, 100% 100%, 5% 87%);
    margin-top: -20%;
}

.info-container .triple-shape:nth-child(2) {
    clip-path: polygon(0% 0%, 100% 3%, 93% 93%, 9% 100%);
    height: 120%;
    margin-top: -37%;
}

.info-container .triple-shape:nth-child(3) {
    clip-path: polygon(0% 6%, 100% 0%, 100% 68%, 7% 100%);
    margin-top: -25%;
}

.tomo-info {
    border: red 1px solid;
}


@media screen and (max-width: 769px) {
    .tomo-section{
        overflow: hidden;
        padding-top: 35px;
}

.tomo-section-hero{
    margin-top: -188px;
    overflow: hidden;
}


}

/* All Section */
/* -------------------*/

.section-title-white {
    color: #F7F7F7;
}

.section-title-white::after {
    background-image: url(../assets/exclamation-white.png);
}

.section-title-black {
    color: #202020;
}

.section-title-black::after {
    background-image: url(../assets/exclamation-black.png);
}

.section-title-white::after,
.section-title-black::after {
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 71px;
    height: 135px;
    position: absolute;
    z-index: 1000;
    margin-top: -52px;
    margin-left: 0%;
    top: 0;
}





  


/*Features Section*/
/* -------------------*/

.carousel-features .carousel-main .carousel-cell {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-right: 10px;
}

.carousel-features-nav .carousel-nav .carousel-cell {
    width: 25%;
    min-width: 160px;
    height: 80px;
    background: #505050ef;
    display: flex;
    flex-direction: column;
    /* stack vertically */
    justify-content: flex-end;
    /* push content to bottom */
    align-items: center;
    /* center horizontally */
    color: white;
    font-size: 1.1em;
    border-radius: 10px;
    margin-right: 10px;
    padding: 5px;
    font-family: "JunkDog", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}


.carousel-features-nav .carousel-nav .carousel-cell.is-nav-selected {
    background: #3eb1e5;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1em;
    margin-top: -2px;
    margin-bottom: 4px;

}

.features-button-group {
    text-align: center;
}

.features-button {
    cursor: pointer;
}

.features-button.is-selected h3 {
    font-weight: bold;
    font-size: 1.7em;
    line-height: 1em;
    margin-top: -2px;
    margin-bottom: 4px;
    opacity: 1;
}


.features-button-group h3 {
    font-size: 1em;
    pointer-events: none;
    /*super important for flickity!*/
    height: 51px;
    align-content: center;
    opacity: 0.6;
}

.features-button-group figure {
    pointer-events: none;
    /*super important for flickity!*/
    opacity: 0.6;
}

.features-button.is-selected figure {
    width: 138px;
    height: 138px;
    opacity: 1;
    margin-top: -5px;
}


.carousel-features .carousel-main .carousel-cell figure {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    /* Remove any unwanted margin */
}

.carousel-features .carousel-main .carousel-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures images cover the space properly */
}


.dynamic-text {}

.pre-alpha {
    background: #404040c7;
    color: #dfdfdfd4;
    padding: 3px;
    font-size: .90rem !important;
    text-align: left;
}
/* 
.carousel-features-nav .flickity-viewport {
    overflow: visible;
} */


.is-nav-selected .escape-icon {
    width: 99px;
    top: -62px;
}

.escape-icon {
    position: absolute;
    width: 62px;
    top: -38px;
    margin: auto;
}

.dynamic-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 7em;
    margin-top: -24px;

  }
  
  @media (max-width: 1024px) {
    .dynamic-text-wrapper {
        min-height: 8.2em;
        margin-top: -24px;
    }
  }

  @media (max-width: 768px) {
    .dynamic-text-wrapper {
      min-height: 8em;
      margin-top: -5px;
    }
    .carousel-features-nav .flickity-viewport{
        padding-top: 50px;
        padding-bottom: 80px;
    }
  }
  



/*academy Section*/
/* -------------------*/

/* .academy-section-bg {
background-image: radial-gradient(rgb(160, 160, 160) 1px, transparent 0);
background-size: 40px 40px;
background-position: -19px -19px;
} */

/* .my-page{
    background-color: rgb(253 243 221);
} */


.cover-page {
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.55) 13px 7px 16px;
    -webkit-box-shadow: 15px 3px 8px 2px #00000091;
    box-shadow: 15px 3px 8px 2px #00000091;
}

.cover-page img {
    max-width: 150%;
    border-radius: 9px;
    position: absolute;
    top: -11px;
    left: -3px;
    border-left: #3b1e09 11px solid;
    width: 101%;
    height: 102%;
}



.cover-page.my-page{
    padding: 0!important;
}

.my-page {
    background-color: #fdf3dd;
    background-image: linear-gradient(to right, rgba(120, 120, 120, 0.10) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(120, 120, 120, 0.10) 2px, transparent 2px);
    background-size: 24px 24px;
    padding: 24px;
    min-height: 500px;
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid #d8caa0;
    border-top: none;
    cursor: grab;
    border-radius: 9px;
    z-index: 2;

}

.my-page:active {
    cursor: grabbing;
  }



/*



*/



/* Fix extra spacing and center the book in portrait mode */

.stf__wrapper.--portrait {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 0 !important;
    max-width: 100%;
  }
  



/*


*/
  
#book {
    margin: auto;
    z-index: 3;
}

@media screen and (max-width: 500px) {
    #book {
        scale: 0.9!important;
    }
}


.book-note {
    font-family: "Lore" !important;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    z-index: 2;
}


.book-note-title {
    font-family: "Lore" !important;
    font-weight: bolder;
    font-style: normal;
    text-align: center;
    z-index: 2;
    text-decoration: underline;
}



.slider-button {
    font-family: "JunkDog", sans-serif;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    transition: transform 0.2s ease;
    background-color: #3e1e07;
    color: #f7f7f7;
    z-index: 2;
  }

  
  .slider-button:hover {
    transform: scale(1.05);
  }

  .slider-combat:focus , .slider-combat:hover , .slider-combat.is-active   { color: #f78c6b;  }
  .slider-capture:focus, .slider-capture:hover ,.slider-capture.is-active   { color: #6bb6f7;  }
  .slider-sandbox:focus, .slider-sandbox:hover ,.slider-sandbox.is-active   { color: #ffd930; }
  .slider-daily:focus , .slider-daily:hover ,  .slider-daily.is-active   { color: #089d08;  }
  .slider-travel:focus , .slider-travel:hover , .slider-travel.is-active   { color: #9d0866;  }
  .slider-world:focus , .slider-world:hover ,  .slider-world.is-active   { color: #2cd0cd; }




.striped-top {
    position: relative;
}

.striped-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 100%;
    background-image: repeating-linear-gradient(35deg,
            #f78c6b,
            #f78c6b 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-blue.striped-top::before {
    background-image: repeating-linear-gradient(35deg,
            #6bb6f7,
            #6bb6f7 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-blue .book-note-title {
    color: #6bb6f7;
}


.striped-yellow.striped-top::before {
    background-image: repeating-linear-gradient(35deg,
            #ffd930,
            #ffd930 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-yellow .book-note-title {
    color: #ffd930;
}

.striped-green.striped-top::before {
    background-image: repeating-linear-gradient(35deg,
            #089d08,
            #089d08 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-green .book-note-title {
    color: #089d08;
}

.striped-purple.striped-top::before {
    background-image: repeating-linear-gradient(35deg,
            #9d0866,
            #9d0866 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-purple .book-note-title {
    color: #9d0866;
}


.striped-teal.striped-top::before {
    background-image: repeating-linear-gradient(35deg,
            #2cd0cd,
            #2cd0cd 20px,
            #fdf3dd 20px,
            #fdf3dd 40px
        );
}

.striped-teal .book-note-title {
    color: #2cd0cd;
}


.background-wheel{
    position: absolute;
    top: 55%;
    left: 50%;
    width: 500px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    animation: spin-book-background 60s linear infinite;

}

@keyframes spin-book-background {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

.book-tabs-container {
    text-align: -webkit-center;
    margin-right: 5px;
}

.book-tabs {
    display: flex;
    justify-content: end;
    gap: 3px;
    margin-bottom: -2px;
    position: relative;
    z-index: 0;
    width: 800px;

}

.book-tab {
    background-color: #ffde59;
    border-radius: 5px 5px 0 0;
    padding: 5px 5px;
    cursor: pointer;
    font-weight: bold;
}

.book-tab:hover {
    background-color: #ffd633;
}


.video-academy, .tutorial-image {
    width: 100%;
    margin-top: 0px;
    margin-bottom: -15px;
    max-width: 80%;
    display: flex;
    justify-self: center;
}

.large-video {
    width: 346px;
    margin-top: 1px;
    margin-bottom: -7px;
}

.missing-padding-bottom {
    margin-bottom: 4px;
}



.world-large-video {
    width: 72%;
    margin-top: 7px;
    margin-bottom: 9px;
}


.special-large-video {
    width: 122%;
    max-width: 140%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 7px;
    margin-top: -37px;
}

.season-large {
    width: 170px;
    margin-bottom: 0px;
    display: flex;
    gap: 7px;
    justify-content: center;
}


.rotate-anticlock {
    rotate: -1deg;
}

.rotate-clock {
    rotate: 1deg;
}

.section-title-academy {
    color: #46b7d2;
}

.section-title-academy::after {
    background-image: url(../assets/academy/academy_exclamation.png);
}




/* .academy-section-bg {
    background-color: #FEF8ED;
    background-image: url(../assets/academy/academy_clouds.png), radial-gradient(#ddcfbb 2px, transparent 0);
    background-size: contain, 40px 40px;
    background-position: top center, -19px -19px;
    background-repeat: no-repeat, repeat;
} */


.academy-section-bg {
    background-color: #FDF7EC;
    min-height: 996px;
    background-image: url(../assets/bg_beigeclouds.png), url(../assets/bg_beigeclouds.png), url(../assets/accent_beigecloud.png);
    background-size: 20% auto;
    background-repeat: no-repeat, no-repeat;
    background-position: top left, bottom right, top right;
}






.carousel-academy .carousel-main .carousel-cell {
    box-sizing: border-box;
    width: calc(50% - 5px); /* 10px total gap between two cells */
    max-width: 500px;

    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(62, 62, 62);
    font-size: 1.5rem;
    border-radius: 10px;
    margin-right: 10px;
}


@media (max-width: 1024px) {
    .carousel-academy .carousel-main .carousel-cell {
      width: calc(80% - 5px);
      min-width: 379px;
    }

    .diaporama {
        max-width: 400px;

    }
    
  }
  

/* .carousel-academy-nav .carousel-nav .carousel-cell {
    width: 20%;
    min-width: 160px;
    height: 50px;
    background: #50d82d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    border-radius: 10px;
    margin-right: 10px;
    padding-right: 5px;
    padding-left: 5px;
} */


.carousel-academy-nav .carousel-nav .carousel-cell.is-nav-selected {
    background: #3eb1e5;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1em;
    margin-top: -2px;
    margin-bottom: 4px;
}
.carousel-academy-nav .carousel-nav .carousel-cell {
    width: 25%;
    min-width: 160px;
    height: 80px;
    background: #505050ef;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    color: white;
    font-size: 1.1em;
    border-radius: 10px;
    margin-right: 10px;
    padding: 5px;
    font-family: "JunkDog", sans-serif !important;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}




/* Decorative rotated pattern on the left */
.carousel-academy .carousel-main .carousel-cell::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 100%;
    background-image: url(../assets/academy/pattern_book.png);
    background-repeat: repeat-y;
    background-size: 44px;
    transform-origin: left center;
    pointer-events: none;
    z-index: 2
  }


.carousel-academy-nav .carousel-nav .carousel-cell.is-nav-selected {
    background: red;
}

.paper-sheet {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #fdf3dd; /* Base paper color */
    padding: 24px 24px 24px 60px;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    z-index: 1;
}


  /* .top-page,
  .bottom-page {
    height: 50%;
  } */

.paper-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 60px; /* Start grid after 60px */
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(120, 120, 120, 0.07) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(120, 120, 120, 0.07) 2px, transparent 2px);
    background-size: 24px 24px;
    background-repeat: repeat;
    background-color: #fdf3dd; /* Match paper color under the grid */
    z-index: 0;
    pointer-events: none;
}

.academy-button.is-selected h2 {
    color: #efb950;
}

.academy-button.is-selected h2:before {
    content: "";
    background-image: url(../assets/academy/academy_pop.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    width: 58px;
    height: 45px;
    position: absolute;
    z-index: 1000;
    margin-top: -31px;
    margin-left: -37px;
    transform: scaleX(-1);

}

.diaporama{
    width: 100%;
    height: auto;
    padding: 0em 2em 0em 2em;
    position: relative;
    margin: auto;    
}

.paper-sheet .diaporama img {
    position: relative;
    z-index: 1;
  }



.academy-button-group {
    text-align: center;
}

.academy-button {
    cursor: pointer;
}

.academy-button.is-selected h2 {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1em;
    margin-top: -2px;
    margin-bottom: 4px;
}


.academy-button-group h2 {
    font-size: 1em;
    pointer-events: none;
    /*super important for flickity!*/
}

.academy-button-group figure {
    pointer-events: none;
    /*super important for flickity!*/

}

.academy-button.is-selected figure {
    width: 90px;
    height: 90px;
}


.carousel-academy .carousel-main .carousel-cell figure {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    /* Remove any unwanted margin */
}

.carousel-academy .carousel-main .carousel-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures images cover the space properly */
}

.mini-menu-button {
    cursor: pointer;
}

.mini-menu-button:hover .mini-menu-button-art,
.mini-menu-button.is-selected .mini-menu-button-art {
    background-image: url(../assets/academy/tutorial/button_farming_select.png);
}

.mini-menu-button-art {
    width: 120px;
    height: 120px;
    background-image: url(../assets/academy/tutorial/button_farming.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

}

.mini-menu-button {
    width: 120px;
    padding-top: 16px;
}

.mini-menu-button img {
    height: auto !important;
    max-width: 100px;
}

.mini-menu-button h3 {
    margin-top: -15px;
    text-align: center;
}

.mini-menu-button:hover::before,
.mini-menu-button.is-selected::before {
    content: "";
    background-image: url(../assets/academy/academy_pop.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 58px;
    height: 46px;
    position: absolute;
    z-index: 1000;
    margin-top: -14px;
    margin-left: 100px;
    rotate: 8deg;
}

@media screen and (max-width: 769px) {
    .academy-sub-buttons {
        display: flex;
        justify-content: center;
        flex-direction: row !important;
    }


}


/* Mini-carou */
/* -------------------*/
.academy-buttons {
    display: flex;
    justify-content: center;
}

/* Footer */
/* -------------------*/

.footer-anim {
    display: flex;
    justify-content: center;
}

.footer-anim .video-bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    clip-path: inset(3px 0 0 0);
    margin-bottom: -21px;
}

.figure-footer{
    width: 100%;
    max-width: 950px;
}


.footer-anim .video-bg {
-webkit-mask-image: 
  linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0,0,0,1) 4%) /* Top fade */,
  linear-gradient(to right, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.3) 7%, 
    rgba(0, 0, 0, 0.6) 12%, 
    rgba(0, 0, 0, 0.85) 18%, 
    rgba(0, 0, 0, 1) 32%, 
    rgba(0, 0, 0, 1) 68%, 
    rgba(0, 0, 0, 0.85) 82%, 
    rgba(0, 0, 0, 0.6) 88%, 
    rgba(0, 0, 0, 0.3) 93%, 
    rgba(0, 0, 0, 0) 100%
  );

-webkit-mask-composite: destination-in;
mask-composite: intersect;

mask-image: 
  linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0,0,0,1) 4%),
  linear-gradient(to right, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0.3) 7%, 
    rgba(0, 0, 0, 0.6) 12%, 
    rgba(0, 0, 0, 0.85) 18%, 
    rgba(0, 0, 0, 1) 32%, 
    rgba(0, 0, 0, 1) 68%, 
    rgba(0, 0, 0, 0.85) 82%, 
    rgba(0, 0, 0, 0.6) 88%, 
    rgba(0, 0, 0, 0.3) 93%, 
    rgba(0, 0, 0, 0) 100%
  );

mask-composite: intersect;

}





footer.section {
    background-color: #5db0e1;
    clip-path: polygon(0 0, 100vw var(--slope), /* Slanting from top right */ 100vw 100%, /* Slanting to bottom right */ 0 100%);
    margin-top: -74px;
    padding-bottom: 21px;
}

footer.section.inverted {
    background-color: #5db0e1;
    clip-path: polygon(0 var(--slope), 100vw 0, 100vw 100%, 0 100%);
    margin-top: -74px;
}

.trademarks {
    color: #F7F7F7;
}

.footer-logo {
    width: clamp(150px, 50%, 250px);
}






/* Music */
/* -------------------*/


.music-section {
    /* background-image: url(../assets/mountain_bg.png);
    background-size: cover;
    background-position: center top; */
    background-color: #202020;
    background-image: url(../assets/tribal_pattern.png);
}

.music-section a {

    color: #efb950;
}

.music-section a:hover {
    color: #46b7d2;
}




/* Social */
/* -------------------*/

.social-section {
    background-image: url(../assets/social/social_bg-min.png);
    background-size: cover;
    background-position: center bottom;
}

.social-body {
margin-top: -9em;
margin-bottom: -1em;

}

@media screen and (max-width: 768px) {
    .social-girl {
        margin-bottom: -325px;
    }

    .social-icons {
        margin-top: 9em;
        margin-bottom: 3em;
    }

    .social-button i {
        font-size: 2rem!important;
    }


}

.social-icons {
    display: flex;
    gap: 8%;
    justify-content: center;
    flex-wrap: wrap;
}

/* Wrapper around each social button */
.social-button-wrapper {
    position: relative;
    width: 14%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    min-width: 55px;
}

/* Vertical offset for every other icon */
.social-button-wrapper:nth-child(even) {
    transform: translateY(50px);
}

/* Accent decorations */
.social-button-wrapper::before,
.social-button-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../assets/social/button_accent.png');
    z-index: 0;
}

.social-button-wrapper::before {
    bottom: 33%;
    right: 38%;
}

.social-button-wrapper::after {
    bottom: -23%;
    right: -38%;
    rotate: 180deg;
}

/* Social button style */
.social-button {
    width: 100%;
    height: 100%;
    background: #232323;
    color: #fafafa;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
    position: relative;
    z-index: 1;
    border-radius: 2px;
    clip-path: polygon(0 0, 100% 3%, 97% 83%, 4% 94%);
}

/* Font Awesome icon */
.social-button i {
    font-size: 2.4rem;
    line-height: 1;
}

/* Hover style */
.social-button:hover {
    transform: scale(1.05);
    background: white;
    color: #212121;
}


/* Kickstarter */

/* Page offset so content is not hidden behind the fixed banner */
body {
  margin: 0;
  padding-top: 260px;          /* same as banner height sa race */
}

body {
  margin: 0;
  padding-top: 260px;
}

.kickstarter-banner {
  width: 100%;
  height: 220px;
  position: fixed;
  top: 0;
  left: 0;
  background: #05ce78;
  z-index: 100;
  display: flex;
  align-items: center;
}

.kickstarter-banner .container {
  width: 100%;
}

.kickstarter-banner .columns.is-vcentered {
  align-items: center;
}

.kickstarter-minitrailer {
  display: inline-block;
  border: 4px solid white;
  border-radius: 29px;
  transform: rotate(3deg);
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.kickstarter-minitrailer img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .25s ease, filter .25s ease;
}

.kickstarter-minitrailer:hover {
  transform: rotate(3deg) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
  border-color: #ffffffdd;
}

.kickstarter-minitrailer:hover img {
  filter: brightness(1.12);
}

.kickstarter-leftcol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 30px;
}

.ks-topline {
  font-family: 'Junkdog', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 0 0 6px 0;
  font-weight: normal;
}

.ks-logo {
  margin: 0 0 6px 0;
  display: block;
      max-width: 200px;
}


.ks-subline {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  margin: 0;
  line-height: 1;
}


@media (max-width: 768px) {
  .column-minitrailer {
    padding: 1em;
  }

  .ks-subline {
  font-size: 95%!important;
    white-space: nowrap;


}
.ks-logo {
    max-width: 180px;
}

}
