:root {
    --color-main-bg: rgb(24, 26, 27);
    --color-primary-accent: rgba(255, 255, 255, 0.2);
    --color-primary-font: rgba(255, 255, 255, 255);
}

* {
    box-sizing: border-box;
}

a, a:visited {
    color: inherit;
}

header > h1 {
    margin-top: 0.5%;
    margin-bottom: 1%;
    margin-left: 2%;
}

header > p {
    margin-top: 0;
    margin-left: 2%;
}

html {
    background-color: var(--color-main-bg);
    font-family: "Baskervville", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: var(--color-primary-font);
}

main {
}

.grid-container {
    display: grid;
    grid-template:
    'header header header header'
    '. . . .'
    '. . . .';
    grid-gap: 50px;
    /*background-color: rgba(255, 255, 255, 0.3);*/
    padding: 20px;
}

.grid-cell {
    display: inline-block;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    text-align: center;
    padding: 0.5em;
    font-size: 0.90em;
    min-height: 1em;
    min-width: auto;
    border-radius: 15px;
    text-wrap: pretty;
    transition: all 0.5s ease;
}

.grid-cell img {
    transition: box-shadow 0.3s ease;
}

.grid-cell:hover img {
    box-shadow: 0 0 5px 1px rgba(0, 140, 186, 0.5);
}

.grid-cell:hover {
    box-shadow: 0 0 5px 1px rgba(0, 140, 186, 0.5);
    max-width: 25vw;
    transform-origin: center;
    transform: scale(1.1);
}

.grid-cell > p {
    margin-top: 0;
}

.grid-header {
    grid-area: header;
}

.hero-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

.hero-nav > h3 {
    margin: 0;
    font-size: 1.2rem;
}

.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.separator {
    color: rgba(255, 255, 255, 0.8);
    padding: 0 10px;
    font-size: 1.5rem;
}

.thumbnail {
    border-radius: 15px;
    max-width: 20vw;
    height: auto;
    transition: all 0.5s ease;
}