*{box-sizing: border-box;}

body {
  background-color: #eaeaea;
  color: #666666;
  font-family: Arial, helvetica, sans-serif;
}

#wrapper {
  margin: auto;
  background-color: #90c7e3;
  background-image: linear-gradient(to bottom, #ffffff, #90c7e3);
}

header {
  background-color: #002171;
  color: #ffffff;
  text-align: center;
}

header a: {
	text-decoration: none;
	color: white;
}

header a:link {
	color: white;
}

header a:visited {
	color: white:
}

header a:hover {
	color: #90c7e3;
}

h1{
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.25em;
}

nav {
  padding: 0;
  font-weight: bold;
  font-size: 120%;
  text-align: center;
}

nav li {
  border-bottom: 1px solid darkblue;
  text-align: center;
}

nav a {
  text-decoration: none;
  text-align: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

nav a:link {
  color: #5c7fa3;
}

nav a:visited {
  color: #344873;
}

nav a:hover {
  color: #a52a2a;
}

main {
  padding: 1px 20px 20px 30px;
  display: block;
  background-color: #ffffff;
  overflow: auto;
}

main ul {
  list-style-image: url(images/marker.gif);
}


h2 {
  color: #1976d2;
  font-family: Georgia, "Times New Roman", serif;
  text-shadow: 1px 1px 1px #cccccc;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #000033;
}

dt {
  color: #000033;
  font-weight: bold;
}

footer{
  background-color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 75%;
  font-style: italic;
  text-align: center;
  padding: 2em;
}

.resort {
  color: #1976d2;
  font-weight: bold;
}

#contact {
  font-size: 90%;
}

#homehero {
  height: 300px;
  background-image: url(webdevelopment\ch8\coast2.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#yurthero {
  height: 300px;
  background-image: url(webdevelopment/ch8/yurt.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

#trailhero{
  height: 300px;
  background-image: url(webdevelopment/ch8/trail.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/*everything above is standard and mobile first design////
/*below medium/tablet layout*/

@media (min-width: 600px) {
  nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  nav li{
    border-bottom: none;
  }
  section{
    padding-left: 2em;
    padding-right: 2em;
  }
  .content main{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }
  h2 {
    grid-row: 1 / 2;
    grid-column: 1 / 5;
  }
  section {
    grid-row: 2 / 3;
    grid-column: auto;
  }
  #special {
    grid-row: auto;
    grid-column: 1 / 5;
  }
  footer {
    grid-row: auto;
    grid-column: 1 / 5;
  }
}

/*large layout Grid */

@media (min-width: 1024px) {
  nav ul {
    flex-direction: column;
    padding-top: 1em;
    text-align: left;
  }
  #wrapper {
    margin: auto;
    width: 80%;
    border: 1px solid darkblue;
    display: grid;
    grid-template-columns: 180px  auto;
    grid-template-rows: auto;
  }
  #wrapper header {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
  #wrapper nav {
    grid-row: 2 / 5;
    grid-column: 1 / 2;
  }
  #wrapper div {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
  #wrapper main {
    grid-row: 3 / 4;
    grid-column: auto;
  }
  #wrapper footer {
    grid-row: auto;
    grid-column: auto;
  }
}