* {
box-sizing: border-box; 
}

body{
  background-color:#90C7E3;
  background:linear-gradient(#FFFFFF, #90C7E3);
  background-repeat:no-repeat;
  color:#666666;
  font-family: Arial, Helvetica, sans-sarif;
  margin: 0;
}

header {
  color:#FFFFFF;
  background-color: #0d8531;
  font-family: Georgia, serif;
  padding: 1em;
}

header a{
  text-decoration: none;
}

header a:link{
  color: #FFFFFF;
}

header a:visited{
  color: #FFFFFF;
}

header a:hover{
  color: #90C7E3;
}

h1{
  text-align:center;
  font-weight: bold;
  font-size: 1.5em;
  
}

nav {
  text-align:center;
  background-color: #FFFFFF;
  font-size: 1.2em;
}

nav ul{
  flex-direction: column;
  margin: 0;
  
  list-style-type: none;
  padding-left: 0em;
}
nav li{
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  width:100%;
border-bottom: 1px solid;
}

nav a {
  text-decoration:none;
}

main {
  padding-top:0;
padding-bottom:0;
  padding-right:1em;
  padding-left:1em;
}

h2 {
  color:#27a769;
font-family: Georgia, serif;
}

.resort {
  color:#1976d2;
  font-size: 1.2em;
}

dt{
color:#1976D2;
font-weight: bold;
}

footer{
  font-size:0.70em;
  font-style: italic;
  text-align: center;
  padding-top:1em;
  padding-bottom:1em;
  padding-left:1em;
  padding-right:1em;
  background-color: #FFFFFF;
}

section{
  padding-left: 0.5em;
  padding-right: 0.5em;
}

#wrapper{
background-color:#FFFFFF;
}

h3{
font-family: Georgia, serif;
}

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

nav a:visited{
  color: #344873;
}

nav a:hover{
  color: #A52A2A;
}

table{
  margin:auto;
  border: 1px solid #3399CC;
  width: 90%;
  border-collapse: collapse;
}

table img{
  width: 100%;
}


td, th{
  padding: 5px;
  border: 1px solid #3399CC;
}

td{
  text-align:center;
}

.text{
  text-align: left;
}

tr:nth-of-type(even) {
  background-color: #dff8ed;
}

#homehero{
  height: 300px;
  background-image: url("images/home_page_small.png");
  background-size: 100% 100%;
  background-repeat:no-repeat;
}

#arthero{
  height: 300px;
  background-image: url("images/art_gallery_small.png");
  background-size: 100% 100%;
  background-repeat:no-repeat;
}

#abouthero{
  height: 300px;
  background-image: url("images/about_me_small.png");
  background-size: 100% 100%;
  background-repeat:no-repeat;
}

#contacthero{
  height: 300px;
  background-image: url("images/contact_small.png");
  background-size: 100% 100%;
  background-repeat:no-repeat;
}

#videogamehero{
  height: 300px;
  background-image: url("images/video_game_small.png");
  background-size: 100% 100%;
  background-repeat:no-repeat;
}


#mobile{
  display: inline;
}

#desktop{
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  padding-left: 1em;
  width: 80%;
}

#flow section{
  flex:1 1 30%;
  margin:10px;
  box-sizing:border-box;
}

#flow img{
  width:100%;
  height:auto;
}

#he{
  display:flex;
  justify-content: center;
  align-items: center;
}
#he img{
  margin:auto;
  display: block;
  width:100%;
}

input, textarea{
margin-bottom: .5em;
}

@media (min-width:600px){
  h1{
    font-size:2em;
    letter-spacing:.25em;
  }

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

  nav li{
    width:12em;
    border-bottom:none;
  }

  section{
    padding-left:2em;
    padding-right:2em;
  }

  form {
    width: 60%;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 10em 1fr;
    grid-gap: 1em; 
    gap: 1em;
  }

  input[type = "submit"] {
    grid-column: 2/2;
    width: 9em;
    margin-left: 0;
    
  }



  #flow{
    display:flex;
    flex-wrap:wrap;
  }


  #mobile{
    display:none;
  }

  #desktop{
    display:inline;
  }

  #homehero{
    background-image: url("images/home_page_big.png");
  }

  #arthero{
    background-image: url("images/art_gallery_big.png");
  }

  #abouthero{
    background-image: url("images/about_me_big.png");
  }

  #contacthero{
    background-image: url("images/contact_big.png");
  }
  #videogamehero{
    background-image: url("images/video_game_big.png");
  }
}

@media (min-width:1024px){
  body{
    background:linear-gradient( to bottom, #fffdca 20%, #90E3C7 60%,#fffdca 100%);
  }

  nav ul{
    padding-right:10%;
    padding-left:10%;
  }

  #wrapper{
    margin:auto;
    width:80%;
  }

}