* {
  box-sizing: border-box;
}

header {
  background-color: #002171;
  color: #ffffff;
  background-image: url(sunset.jpg);
  background-position: right;
  background-repeat: no-repeat;
  text-align: center;
}

body {
  background-color: #EAEAEA;
  color: #666666;
  font-family: Arial, Helvetica, sans-serif;
}

a:link {
  color: darkblue;
  text-decoration: none;
}

a:visited {
  color: darkblue;
  text-decoration: none;
}

a:hover {
  color: #90C7E3;
  text-decoration: none;
}

a:active {
  color: darkblue;
  text-decoration: none;
}

main {
  padding-top: 1px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  display: block;
  background-color: #FFFFFF;
  overflow: auto;
}

main ul {
  list-style-image: url(marker.gif);
}

nav {
  text-decoration: none;
  font-weight: bold;
  font-size: 120%;
  padding: 0.5em;
  text-align: left;
}

nav li {
  text-decoration: none;
  border-bottom: solid 1px darkblue;
}

nav ul {
  list-style-type: none;
  text-decoration: none;
  margin: 0;
  padding-left: 0;
  font-size: 1.2em;
  display: flex;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

nav:link {
  color: #5C7FA3;
  text-decoration: none;
}

nav:visited {
  color: #344873;
  text-decoration: none;
}

nav:hover {
  color: #A52A2A;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  display: block;
  transition: color 3s ease-out;
}

h1 {
  margin-bottom: 0;
  margin-top: 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 #CCCCCC;
  text-align: justify;
}

h3 {
  color: #000033;
  font-family: Georgia, "Times New Roman", serif;
}

dt {
  color: #002171;
}

.resort {
  color: #1976d2;
  font-weight: bold;
}

#contact {
  font-size: 90%;
  text-align: left;
}

#wrapper {
  background-color: #90C7E3;
  background-image: linear-gradient(#FFFFFF, #90C7E3);
}

#homehero {
  height: 300px;
  background-image: url(coast2.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 190px;
}

#yurthero {
  height: 300px;
  background-image: url(yurt.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 190px;
}

#trailhero {
  height: 300px;
  background-image: url(trail.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-left: 190px;
}

#special {
  grid-row: auto;
  grid-column: 1 / 5;
  text-align: center;
}

footer {
  padding: 2em;
  background-color: #FFFFFF;
  clear: both;
  text-align: left;
}

table {
  border: 2px solid #3399CC;
  border-collapse: collapse;
  margin: auto;
}

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) {
  .content main {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
  }

  form {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: 6em 1fr;
    grid-gap: 1em;
    gap: 1em;
    width: 60%;
  }

  input[type="submit"] {
    grid-column: 2 / 3;
    width: 9em;
  }

  h2 {
    grid-row: 1 / 2;
    grid-column: 1 / 5;
  }

  section {
    grid-row: 2 / 3;
    grid-column: auto;
  }

  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 {
    border: 3px solid darkblue;
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 1);
    margin: auto;
    width: 80%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 5;
  }

  grid-template-areas {
    grid-row: 1;
    grid-column: 1/3;
  }

  nav {
    grid-row: 2;
    grid-column: 1;
  }

  div {
    grid-row: 2;
    grid-column: 2;
  }

  main {
    grid-row: 3;
    grid-column: 2/3;
  }
}

footer {
  grid-row: 4;
  grid-column: 2/3;
}