*{

}
body {
    background-color:  #3D4955;
    font-family: Tahoma, sans-serif;
    margin: 0;
    font-size: 1.5em;
}

h1 {
    font-size: 2.5em;
    font-family: Bungee, serif;
    color:rgba(255,255,255,0.4)

}
h2{
    font-size: 2.5em;
    font-family: Bungee, serif;
    color:white;
    width: 100%;
    text-align: center;
}
h3{
    font-size: 1em;
    font-family: Bungee, serif;
    color:white;
    width: 100%;
    text-align: center;
}
h2 {
    font-size: 2em;
}

main section {
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 50px;
}

main section:nth-child(2n+1) {
    text-align: left;
}

main section:nth-child(2n) {
    text-align: right;
}

section#q1-big {
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
}

section#q1-big div.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    padding-top: 100px;
    padding-bottom: 100px;
    nd-color: #1a1a1a;
    transform: skewY(-10deg);
    text-align: center;
}

section#q1-big div.container > * {
    transform: skewY(10deg);
}

section#q1-big img {
    width: 20vh;
}

section#q1-big p {
    font-size: 0.75em;
    color: #b1b1b1;
}

div.team-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 30px;
    margin-top: 80px;
    text-align: center;
}

@media (min-width: 600px) {
    div.team-box { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    div.team-box { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1600px) {
    div.team-box { grid-template-columns: repeat(5, 1fr); }
}

div.team-box div.team-member {
    width: 100%;
}

div.team-box .team-member img {
    width: 150px;
}

.team-box div.team-name {
    font-weight: bold;
    font-size: 1.25em;
}

.team-box div.team-skills {
    margin-top: 10px;
}

.team-box .team-skills span {
    font-size: 0.75em;
    padding: 5px 10px;
    border-radius: 20px;
}

.team-skills span.skill-coding {
    background-color: #50b15c;
}
.team-skills span.skill-art {
    background-color: #ffcc65;
}
.team-skills span.skill-music-sfx {
    background-color: #5890ff;
}

.team-box div.team-desc {
    font-size: 0.75em;
    color: #b1b1b1;
    margin-top: 15px;
}

footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 0.75em;
    background-color: #1a1a1a;
}

footer div.socials a {
    display: inline-flex;
    justify-content: center;
    padding: 10px;
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
}

a:hover:after {
    padding-left: 10px;
}

a.socials-itch {
    background-color: #fa5c5c;
}

a.socials-itch:hover {
    background-color: #b64343;
}

a.socials-itch:hover:after {
    content: "Itch.io";
}

a.socials-github {
    background-color: #ffffff;
}

.socials a.socials-github svg {
    fill: #000000;
}

a.socials-github:hover {
    background-color: #cccccc;
    color: #000000;
}

a.socials-github:hover:after {
    content: "GitHub";
}

a.socials-youtube {
    background-color: #ff0033;
}

a.socials-youtube:hover {
    background-color: #c10029;
}

a.socials-youtube:hover:after {
    content: "YouTube";
}

.socials a svg {
    fill: #ffffff;
    width: 20px;
}

div.slideshow-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

div.slideshow {
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
    height: 80vh;
    background-color: #000000;
}
#backblurr{
    position:absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color:rgba(32,57,79,0.4);
    backdrop-filter: blur(7px);
}
/* logo and title scale with the window (whichever side is tighter), so the hero looks the same on every screen */
#backblurr img{
    background-color: rgba(32,57,79,0);
    height: min(38.4vh, 27vw);
    max-width: 100%;
}
#backblurr h1{
    font-size: min(6.7vh, 4.2vw);
}
#curve{
    position: absolute;
    z-index: 11;
    bottom: 0;
    background-color: rgba(32,57,79,0);
    width: 100%;
}
#curve img{
    display: block;
    width: 100%;
    /* curve.svg has a slanted bottom edge; hide it below the slideshow (% scales with the width) */
    margin-bottom: -2%;
}
.slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slide {
    display: none;
}

.slide .slide-annotation {
    position: absolute;
    bottom: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    width: 100%;
    text-align: center;
    background-color: #1a1a1a56;
}

.slide-annotation .slide-title {
    font-size: 1.5em;
    font-weight: bold;
}

.slide-annotation .slide-desc {
}

.slide-annotation a.itch-btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;
    font-size: 20px;

    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 50px;
    background-color: #fa5c5c;
    color: #ffffff;
    text-decoration: none;
}

.slide-annotation a.itch-btn:hover {
    background-color: #b64343;
}

.slide-annotation a.itch-btn svg {
    fill: #ffffff;
    margin-right: 10px;
    width: 20px;
}

.slides-prev, .slides-next {
    position: absolute;
    width: auto;
    top: 50%;
    margin-top: -22px;
    z-index: 2;

    padding: 16px;
    background-color: rgba(0,0,0,0.2);
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;

    transition: 0.6s ease;
    cursor: pointer;
    user-select: none;

}

.slides-prev {
    left: 0;
}

.slides-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.slides-prev:hover, .slides-next:hover {
    background-color: rgba(0,0,0,0.8);
}
.gameCard{
    flex: 0 1 315px;
    min-width: 0;
}
.gameCard img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.gameCard img:hover{
    transition: all 0.3s ease;
    filter: grayscale(0%);
    scale: 1.25;
}
#gameSlider{
    position: relative;
    display: flex;
    justify-content: center;
    gap:60px;
    padding: 0 80px;
}
#prevBtn{
    left:20px;
}
#nextBtn{right: 20px;}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: #f8fafc;
    color: #3b82f6;
    border-color: #3b82f6;
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
#Chibi{
    background-color:#222D39;
    /* keep the heading margin inside, so there is no gap below the mountain */
    display: flow-root;
}
#mountain{
    display: flex;

}
#mountain img{
    width: 100%;
    position: relative;
    top:1px;
    height: auto;
}
#team{
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}
/* avatar on the left, then on the right for every second person */
.person{
    display: grid;
    grid-template-columns: 190px 1fr 190px;
    column-gap: 30px;
    align-items: center;
}
.person + .person{
    margin-top: -20px;
}
.person img{
    grid-column: 1;
    grid-row: 1;
    width: 190px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-sizing: border-box;
}
.person:nth-child(even) img{
    grid-column: 3;
}
.person-info{
    grid-column: 2;
    grid-row: 1;
}
.person-head{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.person h4{
    margin: 0 6px 0 0;
    font-family: Bungee, serif;
    font-size: 1.3em;
    font-weight: normal;
    color: white;
}
.person p{
    margin: 10px 0 0;
    font-family: Bungee, serif;
    font-size: 0.55em;
    line-height: 1.35;
    color: white;
}
.skill{
    padding: 2px 12px;
    border-radius: 20px;
    font-family: Bungee, serif;
    font-size: 0.5em;
    color: white;
}
.skill.coding{ background-color: #5cb85c; }
.skill.art{ background-color: #c8783a; }
.skill.music{ background-color: #b5474b; }
.skill.sound{ background-color: #4fb0d8; }

/* fade out at the bottom of the page, scales with the window width */
#fade{
    height: clamp(120px, 12.5vw, 320px);
    background: linear-gradient(#222D39, #19222B 28%);
}

@media (max-width: 700px){
    .person, .person + .person{
        grid-template-columns: 1fr;
        justify-items: center;
        margin-top: 40px;
        text-align: center;
    }
    .person img, .person:nth-child(even) img, .person-info{
        grid-column: 1;
        grid-row: auto;
    }
    .person-info{
        margin-top: 15px;
    }
    .person-head{
        justify-content: center;
    }
}