/* FONTS */

@font-face {
    font-family: 'Jost';
    src: url('fonts/Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* STYLES */

* {
    font-family: 'Jost';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

html,
body {
    position: relative;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

button {
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

p {
    font-size: 19px;
    hyphens: auto;
}

h1 {
    font-size: 25px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 960px) {
    h1 {
        font-size: 30px;
    }
}

h2 {
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 23px;
    font-weight: 800;
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-style: normal;
    font-weight: 600;
}

header {
    width: 100%;
    padding: 36px 20px;
    position: fixed;
    z-index: 10;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

header .logo-game-container,
header .logo-game {
    display: none;
}

nav {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 512px;
    background-image: linear-gradient(rgba(67, 19, 12, 1), rgba(107, 30, 150, 0));
    padding: 80px 20px 0 20px;
    z-index: -1;
}

nav li {
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin-bottom: 20px;
    list-style: none;
    text-transform: uppercase;
}

.presskit-desktop {
    display: none;
}

#btn-menu-open {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lang-selection {
    width: 52px;
    height: 16px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-flow: row nowrap;
}

#lang-selection>button {
    width: 26px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

#lang-selection span {
    font-size: 14px;
    font-weight: 500;
    color: #D4BAA9;
    text-align: center;
}

@media (min-width: 1050px) {
    header {
        padding: 20px 70px;
        gap: 36px;
    }

    header .logo-game-container {
        display: block;
    }

    header .logo-game {
        display: block;
        width: 138px;
        height: 76px;
        margin-bottom: 0;
    }

    nav {
        visibility: visible;
        position: relative;
        width: auto;
        height: auto;
        background-image: none;
        padding: 0;
        flex-grow: 1;
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
    }

    nav>ul {
        display: flex;
        flex-flow: row nowrap;
        gap: 36px;
    }

    nav li {
        font-size: 14px;
        color: white;
        font-weight: 500;
        margin-bottom: 0;
        list-style: none;
        text-transform: uppercase;
        border: 2px solid white;
        border-radius: 5px;
        padding: 2px 13px;
    }

    nav li>img {
        display: inline-block;
        position: relative;
        top: 4px;
        left: 5px;
    }

    #btn-menu-open {
        display: none;
    }

    .presskit-desktop {
        display: block;
    }

    .presskit-mobile {
        display: none;
    }
}

main {
    background-image: linear-gradient(#D4BAA9, #667FAE);
}

.title-container {
    position: relative;
    width: 100%;
    height: 852px;
    background-image: url(img/title-background.png);
    background-size: cover;
    animation: animate-background 4s ease-in-out infinite alternate;
}

.title-container>.container {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 0 25px;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 20px;
    transform: translateY(-50%);
}

.title-container p {
    font-weight: 800;
    font-size: 29px;
    color: #3E1613;
    text-align: center;
    text-transform: uppercase;
}

.badges {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
}

.logo-game {
    width: 291px;
    height: 160px;
    margin-bottom: 140px;
}

.keyart {
    position: absolute;
    left: 55%;
    bottom: -360px;
    width: 509px;
    transform: translateX(-50%) scaleX(-1);
}

@media (min-width: 1200px) {
    .title-container {
        height: 1024px;
    }

    .title-container>.container {
        padding: 0;
        left: 540px;
        width: calc(100vw - 540px);
    }

    .logo-game {
        width: 555px;
        height: 306px;
        margin-bottom: 30px;
    }

    .keyart {
        left: -180px;
        bottom: -100px;
        width: 70%;
        min-width: 509px;
        max-width: 911px;
        transform: none;
    }

    .scribble01 {
        position: absolute;
        bottom: -580px;
        right: -110px;
        width: 360px;
        height: 352px;
        background-image: url(img/scribble01.png);
    }
}

@keyframes animate-background {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

#embed-container {
    width: calc(100% - 40px);
    max-width: 960px;
    margin: 320px auto 8px auto;
}

#aspect-ratio-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
}

#aspect-ratio-container>* {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 960px) {
    #embed-container {
        margin: 320px auto 120px auto;
    }
}

@media (min-width: 1200px) {
    #embed-container {
        margin: 150px auto 120px auto;
    }
}

.separator {
    display: none;
    position: relative;
    background-image: url(img/separator.png);
    width: 100%;
    height: 52px;
    background-position: center;
    background-repeat: repeat-x;
}

.content-container {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    gap: 18px;
    width: calc(100% - 40px);
    max-width: 960px;
    align-items: flex-start;
    margin: 0 auto;
}

.h1-container,
.h2-container {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.h1-container {
    position: relative;
    min-height: 155px;
    background-color: white;
    border-radius: 20px;
    z-index: 1;
}

.content-container04 .container {
    background-color: white;
    border-radius: 20px;
    padding: 20px 40px;
}

.content-container04 .h1-container {
    background-color: #F5D693;
}

.h2-container {
    background-color: #F5D693;
    border-radius: 0 0 20px 20px;
}

.p-container {
    margin-top: 18px;
}

.p-container>p,
.column-container p {
    margin-bottom: 18px;
}

.column-container>.h2-container {
    margin-bottom: 18px;
}

.name-tag {
    height: 40px;
    position: absolute;
    padding: 0 20px;
    border-radius: 20px;
    background-color: #F5D693;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    min-width: 100px;
}

.name-tag>span {
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}

.illu-tasha-shark {
    position: relative;
    left: 10px;
    margin-bottom: -25px;
}

.illu-tasha-shark>img,
.illu-ray>img,
.illu-margot-lana>img {
    max-width: 100%;
    width: auto;
}

.tasha,
.ray {
    bottom: 0;
    left: 0;
    transform: translateY(50%);
}

.shark {
    bottom: 50px;
    right: 0;
}

.illu-ray {
    position: relative;
    left: 30px;
    margin-bottom: -25px;
}

.illu-margot-lana {
    position: relative;
    left: 20px;
    margin-bottom: -25px;
}

.illu-you {
    position: relative;
    right: -40px;
    margin-bottom: -20px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
}

.margot {
    bottom: 0;
    left: 10px;
    transform: translateY(-50%);
}

.lana {
    bottom: 40px;
    right: 20px;
}

.gif {
    position: relative;
    left: 50%;
    width: 960px;
    max-width: 240%;
    height: auto;
    transform: translateX(-50%);
    margin: -8% 0 -24% 0;
}

.content-container04>.gif {
    margin: 0 0 -24% 0;
}

.content-container04>.flex-container {
    display: flex;
    gap: 19px;
    flex-flow: column nowrap;
    z-index: 1;
}

@media (min-width: 800px) {
    .content-container02>.gif {
        position: absolute;
        top: -40px;
        left: auto;
        right: -260px;
        transform: none;
        margin: 0;
    }
    .content-container04>.gif {
        position: absolute;
        left: -250px;
        top: -40px;
        transform: none;
        margin: 0;
    }
}

@media (min-width: 960px) {
    .separator {
        display: block;
    }

    .content-container01 {
        margin-top: -100px;
    }

    .p-container {
        columns: 2;
    }

    .scribble03 {
        position: absolute;
        top: -198px;
        right: 100px;
        width: 245px;
        height: 198px;
        background-image: url(img/scribble03.png);
    }

    .content-container>.flex-container {
        display: flex;
        flex-flow: row nowrap;
        gap: 19px;
    }

    .content-container04>.flex-container {
        flex-flow: row-reverse nowrap;
    }

    .column-container {
        position: relative;
        width: calc(50% - 9.5px);
    }

    .scribble04 {
        position: absolute;
        top: 70px;
        left: 300px;
        width: 108px;
        height: 147px;
        background-image: url(img/scribble04.png);
    }

    .scribble05 {
        position: absolute;
        top: -80px;
        left: -320px;
        width: 231px;
        height: 206px;
        background-image: url(img/scribble05.png);
    }

    .scribble06 {
        position: absolute;
        top: -80px;
        left: -430px;
        width: 512px;
        height: 296px;
        background-image: url(img/scribble06.png);
    }

    .scribble07 {
        position: absolute;
        top: -80px;
        right: -310px;
        width: 328px;
        height: 248px;
        background-image: url(img/scribble07.png);
    }

    .scribble08 {
        position: absolute;
        top: -188px;
        right: -70px;
        width: 365px;
        height: 208px;
        background-image: url(img/scribble08.png);
    }

    .scribble09 {
        position: absolute;
        top: -90px;
        left: -245px;
        width: 245px;
        height: 400px;
        background-image: url(img/scribble09.png);
    }
}

@media (min-width: 1200px) {
    .scribble02 {
        position: absolute;
        top: 60px;
        right: 80px;
        width: 169px;
        height: 218px;
        background-image: url(img/scribble02.png);
    }
}

#img-sliders {
    width: 100%;
    margin: calc(3.4% + 80px) 0;
    position: relative;
}

.img-slider {
    width: 100%;
    position: relative;
    height: 0;
    padding-top: 33.75%;
    overflow-y: visible;
    z-index: 1;
}

.img-slider-controls {
    width: 100%;
    height: 29px;
    margin: calc(3.4% + 15px) 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.img-slider-line {
    width: 80%;
    height: 0;
    border: 5px solid #F5D693;
    border-radius: 5px;
}

.arrow {
    display: none;
}

.arrow-left {
    transform: rotateZ(180deg);
}

.screenshot {
    position: absolute;
    top: 0;
    width: 75%;
    max-width: 800px;
    height: auto;
}

@media (min-width: 960px) {
    .img-slider-controls {
        height: 58px;
    }

    .img-slider-line {
        width: 60%;
    }

    .arrow {
        display: block;
    }
}

/* 960px = 90% of 1067px. set padding-top to fixed pixel value, because 960px is max-width of screenshot */
@media (min-width: 1067px) {
    .img-slider {
        padding-top: 360px;
    }
}

.cta-container {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    margin: 130px 0 -160px 0;
    align-items: center;
}

.cta {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    flex-grow: 1;
    row-gap: 14px;
}

.cta>h1 {
    font-size: 30px;
    color: white;
}

.illu-station {
    position: relative;
    width: 908px;
    max-width: 200%;
    left: 5%;
}

@media (min-width: 800px) {
    .cta-container {
        flex-flow: row nowrap;
        left: 8%;
        margin-top: -20px;
    }
    .cta {
        padding-bottom: 120px;
    }
    .illu-station {
        left: auto;
        transform: none;
    }
    .scribble10 {
        position: absolute;
        left: -8%;
        bottom: 160px;
        width: 298px;
        height: 236px;
        background-image: url(img/scribble10.png);
    }
}

.center-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

#partners {
    background-color: white;
    padding: 120px 20px 40px 20px;
}

#partners img {
    max-width: 100%;
    height: auto;
}

#partners>.flex-container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#partners p {
    font-weight: 600;
    text-align: center;
}

.partner-container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 40px;
}

.logo-container {
    display: flex;
    flex-flow: row wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-grow: 1000;
}

.logo-kiga-games {
    margin-top: -40px;
}

.logo-ph {
    margin-top: -10px;
}

@media (min-width: 1200px) {
    #partners>.flex-container {
        flex-flow: row nowrap;
        align-items: stretch;
        gap: 10vw;
    }

    .logo-container {
        flex-flow: row nowrap;
        gap: 10vw;
    }

    .logo-kiga-games {
        width: 133px;
        height: 132px;
        margin-top: 0;
    }

    .logo-ph {
        width: 141px;
        height: 141px;
        margin-top: 0;
    }
}

#materials {
    background-color: #88A88A;
    min-height: 480px;
    margin-top: 430px;
}

#materials * {
    color: #FEFCE6;
}

#materials p {
    margin-top: 12px;
}

#materials .flex-container {
    padding: 40px 20px;
    display: flex;
    flex-flow: row wrap;
    gap: 70px 40px;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
}

.material-container {
    width: 450px;
    max-width: 100%;
}


.material-container>a,
.presskit-mobile {
    position: relative;
    border: 2px solid white;
    border-radius: 5px;
    padding: 2px 8px;
}

.material-container>a {
    top: 19px;
}

.material-container>a>span,
.presskit-mobile>span {
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.material-container>a>img,
.presskit-mobile>img {
    display: inline-block;
    position: relative;
    top: 4px;
    left: 5px;
}

.illu-materials {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
}

@media (min-width: 960px) {
    #materials .flex-container {
        padding: 70px;
        justify-content: space-between;
        min-width: 880px;
        width: 67%;
    }

    .material-container {
        max-width: 350px;
    }
}

@media (min-width: 1200px) {
    #materials {
        margin-top: 0;
    }

    #materials .flex-container {
        margin: 0;
    }

    .illu-materials {
        top: auto;
        left: auto;
        transform: none;
        bottom: 0;
        right: 22px;
    }
}

footer {
    padding: 45px 25px;
    background-color: #719472;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    column-gap: 45px;
}

footer>p {
    color: #FEFCE6;
    font-size: 12px;
    font-weight: 500;
}

@media (min-width: 1080px) {
    footer {
        padding: 15px 75px;
    }
}

a.disabled {
    opacity: 0.5;
}