:root {
    --blue: #002868;
    --flame-red: #a7293f;
    --general-lee: #F66600;
    --header-height: 70px;
  }

body {
    display: grid;
    grid-template-columns: auto 992px auto;
    grid-template-rows: auto auto auto auto auto;
}

header {
    grid-area: 1 / 1 / 1 / -1;
    display: flex;
    background-color: var(--general-lee);
    height: var(--header-height);
    justify-content: space-between;
    align-items: end;
    padding: 0px 5%;
}

header a {
    color: var(--blue);
    text-decoration: none;
    font-size: calc(.75 * var(--header-height));
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    letter-spacing: 2px;
}

#logo {
    height: calc(.75 * var(--header-height));
}

nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto 992px auto;
    background-color: var(--general-lee); 
}

nav .subnav {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    vertical-align: middle;
    grid-template-columns: 20% 20% 20% 20% 20%;
    height: 80px;
    padding: 15px 0px;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--general-lee);
    background-color: var(--blue);
    height: 60px;
    text-decoration: none;
    margin: 5px;
    border-radius: 5px;
    border-style: ridge;
    border-color: var(--flame-red);
    border-width: 3px;
}
nav a:hover {
    text-decoration: none;
    /*not really used yet*/
}

nav a:active{
    border-color: #F66600;
    border-style: solid;
    font-size: 95%;
}

#Banner {
    background-image: url("car_in_garage.jpg");
    background-size: cover;
    background-position: center;
    height: 300px;
    grid-row: 3;
    grid-column: 2 / -2;
}

main {
    grid-area: 4 / 2 / 4 / 2;
}

.block {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 15px;
    align-items: center;
}

.block > img {
    max-height: 18vh;
}

.block > :nth-child(1) {
    grid-area: 1 / 1;
}

.block > :nth-child(2) {
    grid-area: 1 / 2;
}

footer {
    height: calc(.75 * var(--header-height));
    background-color: var(--blue);
    grid-area: 5 / 1 / 5 / -1;
    margin-top: 10px;
}