*{
  box-sizing: border-box;
}
body{
  background-color: #EAEAEA;
  color: #666;
  font-family: Arial;
}

header{
  background-color: #002171;
  text-align: center;
  color: #FFF;
}

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

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

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

div img{
  height: 200px;
  width: 100%;
}

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

nav a{
  text-decoration: none;
  transition: color 3s ease-out;
}

nav ul{
  list-style-type: none;
  margin: 0;
  padding-left: 0;
  font-size: 1.2em;
}
nav ul:link{
  color: #5C7FA3;
}

nav ul:visited{
  color: #344873;
}

nav ul:hover{
  color: #A52A2A;
}
nav li{
  border-bottom: 1px solid blue;
}
main{
  padding: 1px 20px 20px 20px;
  display: block;
  background-color: #FFF;
  padding-left: 30px;
  overflow: auto;
}
iframe{
  float: right;
  padding-left: 20px;
}
h1{
  margin-top: 0;
  margin-bottom:0;
  font-family: Georgia, sans-serif;
  letter-spacing: 0.25em;
  padding: 0.5em 0;
}

h2{
  color: #1976D2;
  font-family: Georgia, sans-serif;
  text-shadow: 1px 1px #CCC;
}

h3{
  font-family: Georgia, sans-serif;
  color: #000033;
}

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

#wrapper{
  background-color:#90C7E3;
  background: linear-gradient(#FFFFFF,#90C7E3);
}

dt{
  color: #002171;
}

.resort{
  color: #1976D2;
  font-weight: bold;
}
#contact{
  font-size: 90%;
}
#homehero{
  height: 300px;
  background-image: url(coast.jpg);
  background-size: 100% 100%;
}
#yurthero{
  height: 300px;
  background-image: url(yurt.jpg);
  background-size: 100% 100%;
}
#trailhero{
  height: 300px;
  background-image: url(trail.jpg);
  background-size: 100% 100%;
}
table{
  border: solid 2px #39C;
  border-collapse: collapse;
}
td, th{
  padding: 0.5em;
  border: solid 2px #39C;
}
td{
  text-align: center;
}
.text{
  text-align: left;
}
tr:nth-of-type(2n+1){
  background-color: #F5FAFC;
}
form{
  display: flex;
  flex-flow: column nowrap;
}
input, textarea{
  margin-bottom: 0.5em;
}
footer{
  font-size: 75%;
  font-style: italic;
  text-align: center;
  font-family: Georgia, sans-serif;
  padding: 2em;
  background-color: #FFF;
}
@media (min-width:600px) {
  nav ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  nav li{
    border-bottom: none;
    flex: 1;
  }
  section{
    padding: 0 2em;
  }
  .content main{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }
  section{
    grid-row: 2 / 3;
    grid-column: auto;
  }
  #special{
    grid-row: auto;
    grid-column: 1 / 5;
  }
  footer{
    grid-row: auto;
    grid-column: 1 / 5;
  }
  h2{
    grid-row: 1 / 2;
    grid-column: 1 / 5;
  }
  form{
    width: 60%;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 6em 1fr;
    grid-row: auto;
  }
  button{
    width: 9em;
    grid-column: 2/2;
  }
}
@media (min-width:1024px) {
  nav ul{
    flex-direction: column;
    padding-top: 1em;
    display: flex;
  }

  #wrapper{
    margin: auto;
    width: 80%;
    border: solid 1px blue;
    box-shadow: 2px 2px #333;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }
  nav{
    text-align: left;
    padding-left: 1em;
    grid-row: 2/5;
    grid-column: 1/2;
  }
  header{
    grid-row:1/2;
    grid-column:2/5;
  }
  div{
    grid-row: 2/3;
    grid-column: 2 /5;
  }
  main{
    grid-row: 3/4;
    grid-column: 2 / 5;
  }
  footer{
    grid-row: 4/5;
    grid-column: 2/5;
  }

}
