/* body is a column (base.css), so align-items is the horizontal direction:
   <main> centred left-right, at the top of the page by default. */
body {
    align-items: center;
}

main {
    display: grid;
    grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
    align-items: center;
    width: 70%;
    margin-top: 3rem;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}

.logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

h1 {
    display: flex;
    align-items: baseline;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.machine-art {
    width: 100%;
    object-fit: contain;
    align-self: start;
}

/* Pinned to the bottom of the window here, drawn over the page, instead of
   sitting after the content like on other pages - the machines image
   already makes this page taller than most screens. */
.site-footer {
    position: fixed;
    /* Above an iPhone's home bar - fixed, it ignores body's safe-area
       padding (0 on a computer). */
    bottom: env(safe-area-inset-bottom);
    width: 100%;
}

@media (max-width: 40rem) {
    main {
        grid-template-columns: minmax(0, 1fr);
    }
}
