* {
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    background-image: linear-gradient(#dddddd, #ffffff);
    background-attachment: fixed;
    margin: 0px;
}

#wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) minmax(0, 40px) repeat(4, minmax(0, 160px)) minmax(0, 40px) minmax(0px, 1fr);
}

#titlebar {
    background-color: #FFFFFF;
    grid-area: 1 / 1 / 2 / 9;
}

#navbar {
    background-color: hsl(204, 76%, 52%);
    grid-area: 2 / 1 / 3 / 9;
    position: sticky;
}

header {
    background-color:#FFFFFF;
    color:#000000;
    font-family: Georgia;
    grid-area: 1 / 2 / 2 / 8;
}

header a {
    text-decoration: none;
    color: #000000;
}

header h1 {
    line-height: 250%;
    background-repeat: no-repeat;
    background-position: right;
    height: 100px;
    margin: 0;
    text-align: center;
    font-family: BebasNeue-Regular;
    font-size: 48pt;
}

header h3 {
    text-align: center;
    font-family: Simple-Note;
    font-size: 40px;
    margin: 0;
    padding: 5px;
}

nav {         
    position: sticky;
    top: 0px;
    background-color: hsl(204, 76%, 52%);
    grid-area: 2 / 3 / 3 / 7;
    z-index: 1;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
    font-family: BebasNeue-Regular;
    font-size: 24pt;
    letter-spacing: 2px;
}

nav a:hover {
    background-color: hsl(204, 66%, 43%);
}

nav ul {
    list-style-type: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    display: flex;
    flex-flow: row nowrap;                         
}

nav ul li {
    width: 100%;
}

main {
    padding: 1px 2em 1px;
    display: block;
    background-color: #ffffff;
    grid-area: 4 / 2 / 5 / 8;
}

main h1 {
    text-align: center;
    font-family: BebasNeue-Regular;
    font-size: 42px;
}

#homepic {
    height: 500px;
    background-image: url(frustration.jpg);
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    grid-area: 3 / 1 / 4 / 9;
    z-index: -1;
    filter: brightness(70%);
}

#splashtext {
    grid-area: 3 / 2 / 4 / 8;
    text-align: center;
    font-size: 42px;
    margin:auto;
    color: white;
    font-family: "Segoe UI";
    position: relative;
}

#fixit {
    background-color: hsl(204, 76%, 52%);
    margin: auto;
    padding: 15px;
    grid-area: 3 / 2 / 4 / 8;
    position: relative;
    top: 120px;
}

#fixit a {
    text-decoration: none;
    color:#FFFFFF;
    font-family: BebasNeue-Regular;
    font-size: 44px;
}

#wecare {
    background-color: #FFFFFF;
    box-shadow: 3px 3px 10px 2px #AAAAAA;
}

#wecare img {
    width: 50%;
}

#wecare p {
    font-family: "Segoe UI";
    width: 50%;
    float: right;
    padding: 10px;
    text-align: left;
    font-size: 16px;
}

#wecare a {
    text-decoration: none;
}

footer {
    font-size: 14px;
    padding: 1em;
    background-color: #ffffff;
    font-family: "Segoe UI";
    text-align: center;
}

@font-face {font-family: BebasNeue-Regular; src: url('BebasNeue-Regular.otf');}
@font-face {font-family: Simple-Note; src: url('Simple-Note.otf');}

@media only screen and (max-width: 992px) {
    #wrapper {grid-template-columns: auto repeat(4, minmax(0px, 192px)) auto;}
    nav {grid-area: 2 / 3 / 3 / 6;}
    main {grid-area: 4 / 1 / 5 / 8;}
    #fixit {grid-area: 3 / 1 / 4 / 8;}
}

@media only screen and (max-width: 762px) {
    #wrapper {grid-template-columns: repeat(4, minmax(0px, 192px));}
}