
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Pixelify+Sans:wght@400..700&display=swap');

:root {

    --text-color: #ffffff;
    --header-color: #151515;

    --font-default: Helvetica, Arial, sans-serif;
    --font-header: 'Pixelify Sans', Garamond, Georgia, 'Times New Roman', serif;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

html {
    font-family: var(--font-default);
    color:var(--text-color);
    scroll-behavior:smooth;
}

header {
    background-color: var(--header-color);
}

body {
    background-image: url("files/background_tileable_02.png");

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    color: var(#151515);
    paint-order: stroke fill;
    -webkit-text-stroke: 0.05em black;
}

h1 {
    font-size: 10rem;
}

h2 {
    font-size: 4rem;
}

h3 {
    font-size: 2rem;
}

p {
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.2;

    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
}

a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-header);
}

iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

footer {
    background-color: var(--header-color);
    color: #919191;
    text-align: center;
    padding: 2rem;
}

.container {
    max-width: 90vw;
    margin: 0 auto;
    
    @media (width > 1400px){
        & {
            max-width: 1200px;
        }
    }
}

.character_display {
    @media (width > 900px){
        & {
            display: grid;
            column-gap: 1rem;
            row-gap: 0.5rem;
        
            .box:nth-child(1) {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
            }
            .box:nth-child(2) {
                grid-column: 2 / 3;
                grid-row: 1 / 4;
            }
            .box:nth-child(3) {
                grid-column: 1 / 2;
                grid-row: 3 / 4;
                place-self: end start;
            }
        }
    }    
}

.profile_display {
    overflow: hidden;

    @media (width > 900px){
        & {
            figure{
                float: right;
            }
        }
    }    
}

.gamejamlist {
    li {
        margin-block: 1rem;
    }

    @media (width > 900px){
        & {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

.middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.glass {
    padding: 1rem;

    /* Glass Effect */
        background: rgba(255, 255, 255, 0.35);
        border-radius: 1rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(14.9px);
        -webkit-backdrop-filter: blur(14.9px);
        border: 1px solid rgba(255, 255, 255, 0.8);
}

.rounded-image {
    border-radius: 1rem;
    border: 0.3rem solid rgb(0, 0, 0);
    overflow: hidden;
}

.mye {
    margin-block-end: 2rem;
}

.logo {
    padding: 0.1rem;

    /* Glass Effect */
        background: rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(14.9px);
        -webkit-backdrop-filter: blur(14.9px);
        border: 1px solid rgba(255, 255, 255, 0.5);
}

.site-header {
    .container {
        display: flex;
        flex-direction: column;

        @media (width > 860px) {
            flex-direction: row;

            .nav-primary {
                margin-top: -1.5rem;
            }
        }
    }
}

.site-title {
    display: block;
}

.site_link {
        display: flex;
        align-items: center;
        justify-content: space-between;
    a{
        font-family: var(--font-default);
        text-decoration: underline;
    }

    a:hover {
        color: #8ab9ff;
        scale: 1.01;
    }

    p {
        margin: 0;
    }
    
}

.nav-primary {
    a {
        display: block;
        border-radius: 5px;
        transition: all 0.2s ease-in-out;
        padding: 1rem 1rem 0.5rem;
        color: #fff;

        text-decoration: none;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);

        /* Glass Effect */
        background: rgba(255, 255, 255, 0.35);
        border-radius: 0em 0em 0.5em 0.5em;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(14.9px);
        -webkit-backdrop-filter: blur(14.9px);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    a:hover {
        background: rgba(70, 61, 119, 0.253);
    }

    li:hover {
        transform: translateY(0.2rem);
    }

    a.active {
        transform: translateY(-0.2rem);
    }

    li.active {
        transform: translateY(0.4rem);
    }
}

.buttons{
    padding-block: 0.5rem;

    a {
        display: block;
        padding: 0.5rem 1rem;
        margin: 1rem 0;
        text-decoration: none;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
        
        /* Glass Effect */
        background: rgba(255, 255, 255, 0.35);
        border-radius: 1em;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(14.9px);
        -webkit-backdrop-filter: blur(14.9px);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    a:hover {
        scale: 1.05;
        background: rgba(70, 61, 119, 0.253);
    }
}

.gradient_01 {
    background: linear-gradient(to top, rgba(255,0,0,0), rgb(0, 78, 151));
    background-size: 100% 500px;
    background-repeat: no-repeat;
}

.feature {
    display:grid; position: relative;
    h1 {
        grid-row:1/1;
        grid-column:1/1;
        z-index: 1;
        justify-self: center;
        align-self: end;
        translate: 0 -70%;
    }
    img {
        grid-row:1/1;
        grid-column:1/1;

        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 60%, transparent 90%);
    }
}


@media (width > 400px) {
    .nav-primary ul {
        display: flex;
        gap: 0.4rem;
        justify-content: space-around;
        flex-flow: column wrap;
    }

    .buttons ul {
        display: flex;
        gap: 0.4rem;
        justify-content: space-around;
        flex-flow: row wrap;
    }

    h1 {
        font-size: 5rem;
    }
}

@media (width > 800px) {
    .nav-primary ul {
        flex-flow: row wrap;
    }

    header .container{
        display: flex;
        justify-content: space-between;
        padding-block: 1rem;
        align-items: center;
    }

    .buttons{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .glass {
        /* display: flex;
        align-items: start; */
        &:has(img) {
            img {
                max-width: 600px;
            }
        }
    }

    h1 {
        font-size: 10rem;
    }

    
}
