* {
  box-sizing: border-box;
}

body {
background-color: #EAEAEA;
color: #666666;
font-family: Arial, Helvetica, sans-serif;
}

header {
  text-align: center;
  background-color: #002171;
  color: #FFFFFF;
  text-decoration: none;
}

nav ul {
  margin: 0;
  padding-left: 0;
  font-size: 1.2em;
  list-style-type: none;
}

nav {
  font-size: 120%;
  font-weight: bold;
  padding: 0;
  text-align: center;
}

nav a {
  text-decoration: none;
  transition: color 3s ease-out;
}

nav li{
  border-bottom: 1px solid darkblue;
}

nav a:link {color: #5C7FA3;}
nav a:visited {color: #344873;}
nav a:hover {color: #A52A2A;}

header a:link {
  text-decoration: none;
  color: #FFFFFF;
}

header a:visited {
  text-decoration: none;
  color: #FFFFFF;
}

header a:hover {
  text-decoration: none;
  color: #90C7E3;
}

main {
  background: #FFFFFF;
  padding: 1px 20px 20px 30px;
  overflow: auto;
  display: block;
}

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 0 #CCCCCC;
}

h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #000033;
}

main ul {
  list-style-image: url(marker.gif);
}

dt {
  color: #002171;
}

footer {
  background-color: #FFFFFF;
  font-size: 75%;
  font-style: italic;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  padding: 2em;
}

.resort {
  color: #1976D2;
  font-weight: bold;
}

#contact {
  font-size: 90%;
}

#wrapper {
  background-color: #90C7E3;
  background-image: linear-gradient(to bottom, #FFFFFF, #90C7E3);
}

#homehero {
  height: 300px;
  background-image: url(coast2.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

#yurthero {
  height: 300px;
  background-image: url(yurt.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

#trailhero {
  height: 300px;
  background-image: url(trail.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

table {
  border: 2px solid #3399CC; border-collapse: collapse;
}

td, th {
  padding: 0.5em;
  border: 2px solid #3399CC;
}

td {
  text-align: center;
}

.text {
  text-align: left;
}

tr:nth-of-type(odd) {
  background-color: #F5FAFC;
}

form {display: flex;
      flex-flow: column nowrap; }
input, textarea { margin-bottom: .5em; }

video, embed {
  float: right; padding-left: 20px;
}

@media (min-width: 600px) {
  form {  display: grid;
    grid-template-rows: auto;
    grid-template-columns: 6em 1fr;
    width: 60%;
    grid-gap: 1em;
  }

  input[type="submit"] { grid-column: 2 / 3;
                       width: 9em;
  }

  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;
  }

  .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) {
  nav ul {
    flex-direction: column;
    padding-top: 1em;
  }

  nav {
    text-align: left;
    padding-left: 1em;
  }

  #wrapper {
    margin: auto;
    width: 80%;
    border: darkblue;
    box-shadow: 3px 3px 3px #333333;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 180px auto;
  }

  header { grid-row: 1 / 2; grid-column: 1 / 3; }
  nav    { grid-row: 2 / 5; grid-column: 1 / 2; }
  div    { grid-row: 2 / 3; grid-column: 2 / 3; }
  main   { grid-row: 3 / 4; grid-column: 2 / 3; }
  footer { grid-row: 4 / 5; grid-column: 2 / 3; }
}
