* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 400px 1fr;
    gap: 10px;
    height: 100%;
    padding-bottom: 10px;
}

.main-display {
    grid-column: 1 / -1;
    height: 400px;
    text-align: center;
    background-color: #181818;
    color: white;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.thumb {
    min-height: 25px;
    max-height: unset;
    border: 2px solid grey;
    border-radius: 10px;
    cursor: pointer;
    /* overflow: clip prevents the corners of the images from escaping the border */
    overflow: clip;

    &:hover {
        box-shadow: cyan 0 0 5px;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
