 #wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

nav {
    font-weight: bold;
    font-size: larger;
    text-decoration: none;
    position: sticky;
    top: 0;
    grid-area: 3 / 1 / 4 / -1;
}

nav a {
    padding: 1rem 0rem;
    display: block;
    height: 50px;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #000000;
}

nav a:hover {
    background-color: #e66c08;
}

nav ul {
    list-style: none;
    margin: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    flex-flow: row nowrap;
}
.container {
    position: relative;
    text-align: center;
    color: white;
}


.centered {
    position: absolute;
    bottom: 8px;
    right: 16px;
}
nav ul li {
    width: 100%;
}

form {
    text-decoration: none;
    color: #ffffff;
    padding: 1rem 0rem;
    display: block;
    text-align: center;
}

main {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1px;
    padding-bottom: 1px;
    display: block;
    background-color: #ffffff;
    grid-area: 4 / 2 / 5 / -2;
}

main p {
  text-align: left;
  font-size: 20px;
}

main ul li {
  text-align: left;
  font-size: 20px;
}

body {
    background-color: #FFFFFF;
    color: #666666;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-image: linear-gradient(#eeeeee, #ffffff);
    background-attachment: fixed;
    margin: 0px;
}

#logo {
  color: #e66c08;
}

header {
    text-align: center;
    text-decoration: none;
    grid-column: 2 / -2;
    grid-row: 3 / 4;
    order: 1;
    padding: 300px 50px;
    font-size: 30px;

}

header a {
    text-decoration: none;
    color: #e66c08;
}

h1 {
    color: #e66c08;
    text-align: center;
}

h2 {
    color: #e66c08;
}

footer {
  text-align: center;
  grid-column: 2 / -2;
  grid-row: 6 / 8;
  padding-bottom: 50px;
}

footer a {
  text-decoration: none;
}

footer a:hover{
  text-decoration: none;
  background-color: #e66c08;
}

.textcontainer {
  padding-top: 100px;
}

.contentcntr {
    padding-top: 150px;

}

#homehero {
    height: 750px;
    text-align: center;
    background-image: url("dumbells.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-area: 3 / 1 / 4 / -1;
}

#logohero {
    height: 100px;
    background-image: url("logo.png");
    grid-row: 3 / 4;
    background-repeat: no-repeat;
    background-position: center;
}

#musclehero {
    height: 200px;
    background-image: url("muscle.png");
    background-repeat: no-repeat;
}

#weightlosshero {
    height: 200px;
    background-image: url("weightloss.png");
    background-repeat: no-repeat;
}

#healthyhero {
    height: 200px;
    background-image: url("peppers.png");
    background-repeat: no-repeat;
}

#curlhero {
  height: 300px;
  background-size: contain;
  background-image: url("curl.jpg");
  background-repeat: no-repeat;
  background-position: right;
  float: right;
  padding-right: 300px;
  grid-area: 3 / 1 / 4 / -1;
}

#applehero {
  height: 300px;
  background-size: contain;
  background-image: url("apple.jpg");
  background-repeat: no-repeat;
  background-position: left;
  grid-area: 3 / 1 / 4 / -1;
  float: right;
  padding-right: 300px;

}

#musclemass {
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  grid-area: 3 / 1 / 4 / -1;
  float: right;
  padding-right: 300px;
  background-image: url("eggs.jpg");
}

#scalehero {
  height: 300px;
  background-size: contain;
  background-image: url("scale.jpg");
  background-repeat: no-repeat;
  background-position: left;
  grid-area: 3 / 1 / 4 / -1;
  float: right;
  padding-right: 300px;
}

#mentalhero {
  height: 300px;
  background-size: contain;
  background-image: url("mentalhealth.jpg");
  background-repeat: no-repeat;
  background-position: left;
  grid-area: 3 / 1 / 4 / -1;
  float: right;
  padding-right: 300px;
}

#halohero {
  height: 300px;
  background-size: contain;
  background-image: url("halotop.jpg");
  background-repeat: no-repeat;
  background-position: left;
  grid-area: 3 / 1 / 4 / -1;
  float: right;
  padding-right: 300px;
}

@media only screen and (max-width: 992px) {
  #wrapper {
    display: grid;
    grid-auto-rows: minmax(0px, auto);
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 768px) repeat(4, minmax(0, 1fr));
  }
}

@@media only screen and (max-width: 768px) {
  #wrapper {
    display: grid;
    grid-template-rows: minmax(0px, auto);
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 100%) repeat(4, minmax(0, 1fr));
  }

}
