﻿body {
    font-family: "Special Elite", sans-serif;
}

.image-mosaic {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows:480px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    background: #7dadd7;
    font-size: 3rem;
    color: #fff;
    box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
    height: 100%;
    width: 100%;
    border-radius: 4px;
    transition: all 500ms;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

.type-small {
    font-size: 1rem;
    padding: 1rem;
}

.type-large {
    font-size: 3rem;
    padding-left: 1rem;
}

a {
    color: black;
}

@media screen and (min-width: 600px) {
    .card-tall {
        grid-row: span 2 / auto;
    }
    .image-mosaic {
        grid-auto-rows:240px;
    }
    .card-wide {
        grid-column: span 2 / auto;
    }
}