: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));
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 2px;
}

header a span {
    font-size: calc(.6 * var(--header-height)) !important;
    text-align: center;
}

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

nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--general-lee); 
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 0px;
}
/*
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;
    width: 181px;
    text-decoration: none;
    font-weight: bold;
    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: 250px;
    grid-row: 3;
    grid-column: 1 / -1;
}

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;
}


@media screen and (max-width: 768px) {
    body {
        grid-template-columns: auto 100% auto;
    }
        
    main {
        grid-area: 4 / 1 / 4 / -1;
    }

    nav {
         flex-direction: column;
    }
    
    nav a {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    body {
        grid-template-columns: 0px 100% 0px;
    }
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}