* { box-sizing: border-box; }

body {
    background-color: #15305E;
    margin: 0px;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
}


#headerPic {
    grid-area: image;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 350px;
}

span.small{
    font-size: small;
}
header {
    grid-area: header;
    color: white;
    background-color: #15305E;
    height: 190px;
    margin: 0px;
    padding-top: 60px;
    padding-left: 200px;
    border-bottom: 2px solid black;
}

header img {
    position: absolute;
    left: 10px;
    top: 20px;
    margin-left: 10px;
}

nav {
    grid-area: nav;
    height: 80px;
    border-bottom: 1px solid #15305E;
    line-height: 45px;
    background-color: rgb(165, 119, 34);
    text-align: center;
}

nav a { text-decoration: none; }
nav a:link { color: white;}
nav a:active { color: #C68D2C;}
nav a:visited {color: white;}
nav a:hover { color: rgb(231, 175, 78); }
nav li:hover ul { display: block;}

nav ul { 
    float: left; 
    list-style-type: none;
    margin: 0px;
}
nav li {
    display: inline-block;
    padding: 20px;
}

nav ul ul { 
    line-height: 25px;
    position: absolute; 
    background-color: #15305E;
    padding: 0; 
    text-align: left; 
    display: none;
}

nav ul ul li { 
    border-bottom: 1px solid #00005D; 
    display: block; 
    width: 8em; 
    padding: 10px;
	margin-left: 0; 
}


main {
    grid-area: main;
    text-align: center;  
    background-color: rgb(33, 64, 119);
    color: rgb(226, 225, 225);
    line-height: 25px;
    padding-bottom: 100px;
}

.section {
    color: black;
    background-color: rgb(212, 207, 207);
    display: inline-block;
    border-radius: 5px;
    line-height: 50px;
    padding: 20px;
    margin: 50px;
    box-shadow: 7px 8px;
}
.section h3 {
    border-bottom: 2px solid black;
}

.title {
    line-height: 5px;
    border-bottom: 2px solid black;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
}

.button {
    background-color: rgb(165, 119, 34);
    padding: 13px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}
.button:link { color: white;}
.button:visited {color: white;}

.button:hover { 
    color: rgb(231, 195, 133); 
    box-shadow: 5px 7px #15305E;
}

.container {
    line-height: 25px;
    text-align: center;
    border: 1px solid #15305E;
    width: 400px;
    height: 600px;
    margin: 60px;
    padding: 30px;
    display: inline-flex;
    flex-direction: column;
}
.container #productInfo {
    text-align: left;
}
.container .button {
    width: 100%;
}

#aboutInfo {
    font-size: large;
    line-height: 45px;
    margin: 20px 70px;
    padding: 0px 20px;
}
#aboutInfo h4 {
    margin-right: 150px;
    border-bottom: 2px solid #00005D;
    font-weight: initial;
    text-align: left;
}
#aboutInfo .aboutInfo h4 {
    border-bottom: inherit;
    font-style: italic;
    text-decoration: none;
    font-weight: bold;
}
.aboutInfo {
    text-align: left;    
    line-height: 30px;
}


footer {
    display: flex;
    background-color: #15305E;
    grid-area: footer;
    color: rgb(212, 207, 207);
    border-top: 2px solid black;
    line-height: 30px;
    padding: 3px 30px 5px;
}

footer h4 {
    border-bottom: 2px solid rgb(212, 207, 207);
}

#footer1 {
    margin-right: 40px;
    float: left;
}
#footer3 {
    margin-right: 40px;
}
#footer4 {
    float: right;
}
#footer2 {
    padding: 0px;
}


footer a:link { color: rgb(212, 207, 207);}


@media only all and ( max-width: 1000px ){
    #wrapper {
        display: grid;
        grid-template:
        'header	    header	' auto
        'nav        image 	' auto
        'nav        main	' auto 
        'footer     footer  'auto/
        150px;  
    }

    nav {
        text-align: center;
        overflow: hidden;
        height: 100%;
        border-right: 1px solid black;
    }
    
    nav ul li{
        border-bottom: 1px solid black;
        display: block;
        padding: 20px 0;
    }
}


