/* schoolbell-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Schoolbell';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/schoolbell-v18-latin/schoolbell-v18-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/fira-sans-v17-latin/fira-sans-v17-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Fira Sans';
    font-style: bold;
    font-weight: 800;
    src: url('assets/fonts/fira-sans-v17-latin/fira-sans-v17-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Noto_Sans_JP -  regular 400 */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Regular.ttf') format('truetype');
}

/* Noto_Sans_JP -  bold 700 */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: bold;
    font-weight: 700;
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Bold.ttf') format('truetype');
}

/* Noto_Sans_JP -  light 300 */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: light;
    font-weight: 300;
    src: url('assets/fonts/Noto_Sans_JP/static/NotoSansJP-Light.ttf') format('truetype');
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}




/* Body Tags */
body {
    font-family: 'Schoolbell', cursive;
    padding: 15px;
    font-size: 25px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
    padding: 5px 15px 0px 15px;
    z-index: 999;
}

main {
    margin: auto;
    margin-top: 40px;
    justify-content: center;
    flex-flow: column wrap;
    max-width: 1000px;
    min-height: 80vh;
}

footer {
    margin-top: 25px;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
}

header,
main,
footer {
    align-items: center;
    background-color: white;
}

.impressum {
    font-family: 'Fira Sans', sans-serif;
}

.impressum h2,
.impressum h3,
.impressum h4 {
    text-align: left;
}

.impressum h3 {
    margin-top: 30px;
}

.impressum h4 {
    margin-top: 40px;
}

.impressum p {
    font-size: 20px;
    margin: 10px 0px;
}

.impressum ul {
    margin: 0px;
}

.translationPage {
    font-family: 'Noto Sans JP', sans-serif
}

.translationPage article h1 {
    font-size: 2.5em;
}
.translationPage article h2 {
    font-size: 1.5em;
}
.translationPage article h3 {
    font-size: 1.25em;
}
.translationPage article {
    font-size: 1em;
}

.spacing{
    margin-top: 140px;
}

.spacing2{
    margin-top: 80px;
}

/* Flex-Attribute */
header,
footer,
span,
.linklist,
.title,
.image,
.showCharacterA,
.showCharacterB,
.playNow {
    display: flex;
}



/* Headlines */
h1,
h2,
h3,
h4 {
    text-align: center;
    font-weight: normal;
}

h1 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h2 {
    margin-top: 25px;
    font-size: 32px;
}

h3 {
    font-size: 22px;
    margin-top: 25px;
}

h4 {
    margin-top: 25px;
    font-size: 18px;
    font-style: italic;
}

.news-block h2 {
    margin: 0px;
}


/* List/List-Items */
.linklist {
    list-style: none;
    flex-flow: row wrap;
    overflow: hidden;
}

.linklist li,
.socialLinklist li {
    margin-right: 15px
}

.linklist li:last-child,
.socialLinklist li:last-child {
    margin-right: 0px;
}

.socialLinklist {
    display: flex;
    list-style: none;
    justify-content: space-evenly;
    flex-flow: row wrap;
    align-items: center;
    margin: 50px auto;
}


/* Links / Hover */
a {
    text-decoration: none;
    color: black;
}

.steamScreenshot:hover {
    scale: 1.02;
    transition: 0.6s;
}

.gestureButton:hover {
    scale: 1.1;
    transition: 0.6s;
}

.hoverGrow:hover {
    scale: 1.05;
    transition: 0.6s;
}

.icon:hover,
.linklist li:hover {
    transform: translateY(-4px);
    transition: 0.6s;
}

button {
    border: 0px;
    padding: 5px;
    background-color: #D3D3D3;
    border-radius: 4px;
}

button:hover {
    background-color: #a9a9a9;
}

#downloadbutton {
    margin: 20px 0px;
}

.link {
    text-decoration: underline;
}


#WhatToDoList {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    list-style: none;
    margin-top: 50px;
}

/* Hover Img Change Effect */
.card {
    max-width: 350px;
    height: auto;
    position: relative;
    display: flex;
}

.img-top {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.card:hover .img-top {
    display: inline;
}

.cardHeader img {
    margin: 30px 0px;
}

.cardHeader {
    max-width: 650px;
    height: auto;
    position: relative;
    display: flex;
    margin: auto;
}

.cardHeader:hover .img-top {
    display: inline;
}

.cardTeam {
    max-width: 900px;
    height: auto;
    position: relative;
    display: flex;
    margin: auto;
}

.cardTeam:hover .img-top {
    display: inline;
}

.cardJoinUs {
    max-width: 650px;
    height: auto;
    position: relative;
    display: flex;
    margin: auto;
}

.cardJoinUs:hover .img-top {
    display: inline;
}




/* Steam-Store Button */
.playNow {
    margin: 25px 0px;
}

.playNow:hover {
    scale: 1.1;
    transition: 0.5s;
}

.steamIcon {
    max-width: 150px;
    height: auto;
}

.arrowleft {
    width: 5%;
    margin-right: 15px;
}

.arrowright {
    width: 5%;
    margin-left: 15px;
}

.demoSticker {
    width: 200px;
    display: block;
    margin: auto;
}



/* PunzelWorld-Blöcke */
.showCharacterA,
.showCharacterB,
.playNow {
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
}

.showCharacterA,
.showCharacterB {
    margin: 30px 0px;
}

.characterDescription {
    max-width: 60%;
    margin: auto;
}

.characterImage {
    max-width: 100%;
    height: auto;
}


/* News Gallery */
/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 28px;
    color: rgb(53, 53, 53);
    font-weight: bold;
    font-size: 25px;
    transition: 0.6s ease;
    border-radius: 15px;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 8px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(192, 192, 192, 0.753);
}

.thumbnail {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.text {
    padding: 25px;
    color: white;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    left: 0%;
    bottom: 0%;
    text-align: left;
    /* background: linear-gradient(to bottom, transparent 0%, black 100%); */
    background-color: rgb(35, 35, 35, .6);
}

.text h1 {
    font-size: 32px;
    margin: 0px;
    padding: 0px;
    text-align: left;
}

.mySlides:hover .thumbnail {
    opacity: 0.9;
    transform: scale(1.01);
}

.mySlides:hover .text {
    opacity: 1;
}

.splide__slide:hover .thumbnail {
    opacity: 0.9;
    transform: scale(1.01);
}

.splide__slide:hover .text {
    opacity: 1;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}


/* Splide Adjustments */
.splide__slide img {
    display: flex;
    justify-content: center;
}

.impressum a {
    text-decoration: underline;
}


/* Spacing */

.carousel {
    margin: 30px auto;
}

#team {
    width: 90%;
}

.content {
    margin-top: 170px;
    max-width: 1000px;
}

.gameContent {
    margin: 100px 0px 25px 0px;
    text-align: center;
}

.seeAlso p {
    margin: 15px 0px;

}

.seeAlso h2 {
    margin-top: 15px;
}

/* Image / Video */
video {
    width: 100%;
    height: auto;
}

.videoContent {
    max-width: 100%;
    height: auto;
}

iframe {
    width: 100%;
    padding-top: 56.25%;
}

.gif {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.logo {
    width: 50%;
}

.image {
    margin: auto;
    align-self: center;
}

.decor {
    max-width: 150px;
    height: auto;
    margin: 20px 0px;
}

#gesture-banner {
    width: 100%;
    height: auto;
}

.pageHeader {
    max-width: 100%;
    height: auto;
}

.carousel-image-comic {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: auto;
}

.carousel-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: auto;
}

.steamScreenshot {
    width: 100%;
    height: auto;
    margin: 80px 0px 0px 0px;
}

.punzelHeader {
    margin-top: 35px;
    width: auto;
}

.gestureButton {
    display: flex;
    justify-content: center;
    max-width: 120px;
    height: auto;
    margin: 50px auto;
}

.title {
    margin: 70px auto 40px auto;
}

.centered {
    margin: 20px auto;
}

.punzelTitle {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: auto;
    display: flex;
    align-self: center;
}

.punzelworldTitle {
    max-width: 700px;
    width: 100%;
    height: auto;
    display: flex;
    align-self: center;
    margin: auto;
}

.punzelworldHeader {
    text-align: center;
    margin-top: 35px;
}

.seeAlso {
    text-align: center;
}


#WhatToDo {
    text-align: center;
}

/* News-Block */

.news-block {
    margin-top: 9%;
    text-align: center;
}

.news-block-thumbnail {
    width: 100%;
    max-width: 1000px;
}

.news-block img {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 800px;
}

p {
    margin: 20px;
}


/* Greatergames-block */
.greatergames-block {
    text-align: left;
    margin-top: 70px;
}

.greatergames-block p {
    margin: 25px 0px;
}

.greatergames-block h2 {
    font-size: 3vw;
}

.space {
    margin: 50px 0;
}



/* Mobile Adjustments*/
@media only screen and (max-width: 1228px) {
    .showCharacterB .card {
        order: -1;
    }
}

@media only screen and (max-width: 400px) {

    main {
        margin-top: 80px;
    }

    .linklist {
        justify-content: center;
        align-items: center;
    }

    .carousel-image {
        max-width: 290px;
        height: auto;
        margin: auto;
    }

    iframe {
        width: 100%;
        height: 170px;
    }
}

@media only screen and (max-width: 600px) {
    body {
        font-size: 5vw;
    }

    body h2 {
        font-size: 7vw;
    }

    main {
        margin-top: 70px;
    }
}

@media only screen and (max-width: 330px) {
    main {
        margin-top: 50px;
    }
}

.italic {
    font-style: italic;
}



/* Greater Games Specifications */

#greatergames {
    font-family: 'Fira Sans', sans-serif;
}