#grid {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

a {
    text-decoration: none;
}

body {
    font-family: 'Arial', 'Verdana', 'sans-serif';
    background-color: #E9F6FD;
    color: #153463;
    padding: 0;
    margin: 0;
}

body main {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

header {
    font-family: 'Arial', 'Verdana', 'sans-serif';
    color: #FFFFFF;
    text-align: center;
    background-color: #aaade8;
    grid-row: 1 / -1;
    grid-column: 1 / 9;
    padding: 1.1em;
    height: 16px;
    top: 0;
}

h5 {
    margin: 0px;
}

#logo {
    background-image: url(images/logo-01.jpg);
    grid-row: 1/2;
    grid-column: 1/4;
    height: 190px;
    background-size: 35em;
    background-position: left;
    background-repeat: no-repeat;
    padding-bottom: 5em;
    margin-top: -1.5em;
    margin-left: 7em;
    width:100%;
    z-index: -1;
}

nav  {
    grid-row: 1/2;
    grid-column: 4/9;
    padding-right: 7em;
    padding-top: 6em;
    text-align: right; 
    word-spacing: 3.2em;
}

nav a {
    font-family: quicksand, sans-serif;
    font-style: normal;
    color: #153463;
    font-size: 1.2em;
    font-weight: bold;
}

nav ul li a {
    text-decoration: none;
    color: #153463;
    text-align: center;
}

nav a:hover{
    color: #C8C9FA;
}

nav ul li {
    position: relative;
    color: #153463;
    list-style: none;
    display: inline-block;
}

nav ul li ul {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #E9F6FD;
}

nav ul li ul li {
    text-align: center;
    font-size: 0.9em;
    padding: 1.2em;
}

nav ul li:hover ul {
    display: flex;
    flex-direction: column;
    padding: 1.5em;
}

#banner {
    background-image: url(images/banner-01.jpg);
    grid-row: 2 / 3;
    grid-column: 1 / -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 430px;
    width: 100%;
    margin-top: -70px;
}

main {
    grid-row: 3/9;
    grid-column: 2/8;
}

main h3 {
    color: #8b85ca;
    font-family: quicksand, sans-serif;
    font-weight: 420;
    font-style: normal;
    font-size: 25px;
    padding-top: 2.5em;
    text-align: center;
}

.products {
    display: inline-block;
    padding-top: 2.5em;
    margin: 0 10px 0 0;
}

.productname { 
    color: #153463;
    font-size: 1rem;
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 1em;
    margin-bottom: -6px;
}

.price {
    color: #8b85ca;
    font-weight: bold;
    font-size: 0.9em;
}

#product1 {
    background-image: url(images/photo1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 240px;
    width: 240px;
}

#product2 {
    background-image: url(images/photo2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 240px;
    width: 240px;
}

#product3 {
    background-image: url(images/photo3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 240px;
    width: 240px;
}

#product4 {
    background-image: url(images/photo4.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 240px;
    width: 240px;
}

h4 {
    margin-top: 1.5em;
    margin-bottom: 5.3em;
}

h4 a {
    color: #153463;
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    border-style: solid;
    text-align: center;
    border-color: #153463;
    border-radius: 0.5em;
    padding: 0.4em 0.4em;
}

h4 a:hover {
    color: #E9F6FD;
    background-color: #153463;
}

h2 {
    padding-bottom: 2em;
    line-height: 10%;
}

h2 a {
    color: #153463;
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.1em;
    background-color: #c8c9fa;
    border-radius: 15em;
    padding: 0.7em 3em;
}

h2 a:hover {
    color: #e0f5e4;
}

footer {
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8em;
    text-align: center;
    background-color: #E0F5E4;
    grid-column: 1/-1;
    padding: 2.5em;
}

.mainmenu {
    padding-left: 7em;
}

.mainmenu h3 {
    color: #153463;
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.4em;
    text-align: left;
    margin-bottom: -10px;
    border-bottom: 1px solid #153463;
}

.mainmenu a {
    color: #153463;
    font-family: quicksand, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2em;
    text-align: left;
    line-height: 22px;
    display: block;
    padding-top: 1px;
    width: 0;
}

.mainmenu a:hover {
    color: #c8c9fa;
}