body {
    background-image: url("assets/lowlogotilegray2.7b556c55df1e.png");
    background-size: 100px 200px;
    background-position: center;
    background-repeat: repeat;
    /* background-color: black; */
    /* color: yellow; */

    padding: 10px;
    font-size: 1.3rem;
}

a {
    /* color: yellow; */
}

h1 {
    /* text-transform: uppercase; */
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: normal;
    font-size: 2.5rem;
    word-break: break-word;
}

h1 img {
    vertical-align: middle;
}

.container {
    /* background-color: white; */
    width: fit-content;
    max-width: 700px;
    /* background-color: white; */
    padding: 10px;
    /* margin: 0 auto; */
}

/* Make all images responsive by default */
.container img {
    max-width: 100%;
    height: auto;
}

.separator {
    border: 2px inset gray;
    width: 100%;
    height: 8px;
    margin: 10px 0;
}

.info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    padding: 8px;
}

.info > img {
    justify-self: center;
    align-self: center;
}

.nav {
    display: flex;
    flex-direction: column;
}

.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 16px;
    padding: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.links a {
    position: relative;
    display: block;
}

.links img {
    border: 2px solid black;
    display: block;
    width: 100%;
    max-width: 200px;
}

.shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 0px);
    height: calc(100% - 4px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
    border: 2px solid black;
}

.links a:hover .shader-canvas,
.links a:active .shader-canvas,
.links a.touching .shader-canvas {
    opacity: 1;
}

.description-image {
    max-width: 100%;
    height: auto;
    width: 400px;
    object-fit: contain;
}

/* Mobile breakpoint - that janky small screen experience */
@media (max-width: 500px) {
    body {
        padding: 5px;
        background-size: 60px 120px; /* crunchier tiles */
    }
    
    h1 {
        font-size: 2rem;
        text-align: center;
        line-height: 1.4;
    }
    
    h1 img {
        width: 30px;
        display: block;
        margin: 0 auto 5px;
    }
    
    h1 img:last-child {
        display: none; /* asymmetry */
    }
    
    .container {
        padding: 8px;
        margin: 0 3px;
    }
    
    .info {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info > img {
        order: -1; /* logo on top */
        width: 100px;
    }
    
    .description-image {
        width: 100%;
        height: auto;
    }

    .shader-canvas {
        width: calc(100% - 4px);
        height: calc(100% - 4px);
    }
    
    .links {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 4px;
    }
    
    .links img {
        max-width: 150px;
    }
    
    .separator {
        height: 5px;
        margin: 8px 0;
    }
}