*{
    box-sizing: border-box;
}

html, body {
    --border-radius: 100px;
    --gutter: 3.125vw 6.25vw;
    --white: #e5e5e5;
    --black: #000000;
    --grey: #b3b6b7;
    --blue: #4A5899;
    --orange: #FF7733;
    --yellow: #FFC800;
    --green: #4D8B31;

    margin: 0;
    padding: 0;
    background: var(--grey);
    color: var(--white);
    font-size: 20px;
    font-family: "Syne Tactile", system-ui;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 70px;
    line-height: 1em;
    margin: 0;
}

h2 {
    font-size: 60px;
    margin: 0;
}

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

section {
    position: relative;
    display: flex;
    width: 100%;
    height: calc(100vh - 100px);
    top: 100px;
    z-index: 2;
}

section.sticky {
    position: sticky;
    margin-top: 100px
}

section.full-screen {
    height: 100vh;
    top: 0;
    margin-top: 0;
    z-index: 3;
}

/* navigation */

nav {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
    font-size: 20px;
    z-index: 1;
}

nav ul {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    margin-left: 45px;
}

nav ul li a {
    color: var(--white);
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: italic;
}

/* about section */

section.about .empty {
    flex-basis: 37.5vw; 
    background: var(--white);
    border-radius: var(--border-radius);
    transition: flex-basis 1s cubic-bezier(0,.9,.4,.99);

}

section.about article {
    flex: 1;
    display: flex;
    flex-direction: column;
}

section.about article .title {
    flex: 1;
    display: flex; 
    align-items: flex-end; 
    background: var(--orange); 
    border-radius: var(--border-radius); 
    padding: 6.27vw;
}

section.about article .description {
    flex: 1; 
    display: flex;
    align-items: center; 
    background: var(--blue); 
    border-radius: var(--border-radius);
    padding: 6.25vw; 
    color: var(--white);
}

/* stories section */

section.morestories article {
    display: flex; 
    width: 100%;
}

section.morestories figure {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-basis: 56.25vw; 
    margin: 0; 
    border-radius: var(--border-radius);
    max-width: 62.5vw;
    transition: flex-basis 1s cubic-bezier(0,.9,.4,.99);
}
    
section.morestories figure img {
    width: 25%;
}

section.morestories .text {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    flex: 1; 
    background: var(--white); 
    padding: 6.25vw; 
    border-radius: var(--border-radius);
}

section.morestories .text a {
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: italic;
    color: var(--black);
}

/* stories section animations */

section.morestories figure img {
    animation-name: float;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: cubic-bezier(.05,.76,.59,.2);
}

@keyframes float {
    0% {
        transform: translateY(-20%);
    } 

    100% {
        transform: translateY(20%);
    }
}


/* stories section overrides */

section.morestories.morestories-games figure {
    background: var(--green);
}

section.morestories.morestories-games .text h2,
section.morestories.morestories-games .text p {
    color: var(--green);
}

section.morestories.morestories-language figure {
    background: var(--black);
}

section.morestories.morestories-language .text h2,
section.morestories.morestories-language .text p {
    color: var(--blue);
}

section.morestories.morestories-inspiration figure {
    background: var(--yellow);
}

section.morestories.morestories-inspiration .text h2,
section.morestories.morestories-inspiration .text p {
    color: var(--yellow);
}





/* development section */

section.development {
align-items: center; 
justify-content: center;
background: linear-gradient(var(--yellow), var(--orange)15%, var(--blue)51%, var(--white)98%);
border-radius: var(--border-radius);
mix-blend-mode: difference
}

section.development a {
    font-size: 100px; 
    font-family: "Space Mono", monospace;
    font-weight: 700;
    transition: color, filter 2s cubic-bezier(0.075, 0.82, 0.165, 1);
    will-change: filter;
}

section.development a:hover {
    color: var(--black);
    filter: blur(20px);
}



/* responsive */

@media only screen and (max-width: 768px) {
    
    html, body{
        --border-radius: 50px;
        --gutter: 6.25vw
    }

    h1{
        font-size: 60px;
    }
        
    h2{
        font-size: 40px;
    }

    nav ul li{
        margin-left: 25px;
    }

    section.morestories article{
        flex-direction: column;
    }

    section.morestories figure{
        flex-basis: 25vh;
    }

    section.morestories figure img{
        width: 20%
    }

    section.development a{
        font-size: 50px;
    }

}