@font-face {
    font-family: "JetBrains Sans";
    src: url("fonts/JetBrainsSans-Regular.woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("fonts/JetBrainsMono-Regular.woff2");
}

:root {
    font-family: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: black;
    background-color: #ffffff;
    text-align: center;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 320px;
    min-height: 100vh;
    align-items: center;
}

h1 {
    font-size: 29px;
    line-height: 39px;
    font-weight: 300;
}

.title {
    margin-bottom: 40px;
}

#app {
    max-width: 1280px;
}

.footer {
    margin-bottom: 24px;
    align-self: center;
}

@media (max-width: 875px) {

    .logo {
        margin-top: 10px;
    }

    .title {
        margin-bottom: 30px;
    }
}

#images canvas {
    width: 30em;
    height: auto;
    image-rendering: pixelated;
}

figcaption {
    margin: 0.2ex 0 1ex 0;
    font-size: 1.5em;
}

#images {
    display: grid;
    grid: 1fr 1fr / auto-flow;
}

@media (max-width: 1200px) {
    #images canvas {
        width: 80vw;
    }

    #images {
        display: block;
    }
}

@media (max-width: 500px) {
    h1 {
        font-size: 1.2em;
    }
    form {
        word-break: break-all;
        font-size: 0.8em;
    }
}