* {
  box-sizing: border-box;
}

#wrapper {
  background-color: #90c7e3;
  background-image: linear-gradient(to bottom, #ffffff, #90c7e3);

}

body {
  background-color: #eaeaea;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  background-color: #002171;

  color: #ffffff;
  text-align: center;
}

header a {
  text-decoration: none;
  color: white;
}

header a:link {
  text-decoration: none;
  color: white;
}

header a:visited {
  text-decoration: none;
  color: white;
}

header a:hover {
  text-decoration: none;
  color: #90c7e3;
}

nav {
  font-weight: bold;
  padding: 0;
  font-size: 120%;
  text-align: center;
}

nav a {
  text-decoration: none;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

main {
  padding: 1px 20px 20px 20px;
  display: block;
  background-color: #ffffff;
  padding-left: 30px;
  overflow: auto;
}


h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.25em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

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: #002171;
}

nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 1.2em;
}
nav li{
  border-bottom: #002171 1px solid;
}

nav a:link {
  color: #5c7fa3;
}

nav a:visited {
  color: #344873;
}

nav a:hover {
  color: #a52a2a;
}

main ul {
  list-style-image: url("marker.gif");
}

#homehero {
  height: 300px;
  background-image: url(coast2.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  
}

#yurthero {
  height: 300px;
  background-image: url(yurt.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  
}

#trailhero {
  height: 300px;
  background-image: url(trail.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  
}

.resort {
  color: #1976d2;
  font-weight: bold;
}

#contact {
  font-size: 90%;
}

footer {
  font-size: 75%;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  padding: 2em;
  background-color: #ffffff;
}


@media (min-width: 600px) {

  nav ul{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;

  }

  nav li{
    border-bottom: none;
  }

  section{
    padding-left: 2em;
    padding-right: 2em;
    float: right;
    width: 33%;
  }
  .content{
    .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;}
  }
  }

  @media (min-width: 1024px) {
    #wrapper {
      margin: auto;
      width: 80%;
      border: 1px solid darkblue;
      box-shadow: 3px 3px darkblue;
    }
  
    nav {
      text-align: left;
      padding-left: 1em;
    }
  
    @supports (display: grid) {
      nav ul {
        flex-direction: column;
        padding-top: 1em;
        text-align: left;
      }
  
      header { grid-area: header; }
      nav { grid-area: nav; }
      main { grid-area: main; }
      footer { grid-area: footer; }
      .hero { grid-area: hero; }
  
      #wrapper {
        display: grid;
        grid-template: 
          "header header"
          "nav hero"
          "nav main"
          "nav footer" / 180px;
      }
    }
  }
  