/* kevin powell on youtube */

* {
    box-sizing: border-box;
}

body {
    background-color:white;
    color: #666666;
    font-family: Verdana, Arial, sans-serif;
    margin: 0;

}

#desktop {
    display: none;
}

dt {
    color: black;
    font-weight: 700;
}

header {
    padding: 1em;
}

header a {
    text-decoration: none;
}

header a:link,a:visited {
    color: white;
}

header a:hover {
    color: lightgrey;
}

h1 {
    background-color: Purple;
    color: white;
    font-family: Georgia, serif;
    font-size: 1.5em;
    text-align: center;
}

h2 {
    color: darkorchid;
    font-style: italic;
    font-family: Georgia, serif;
}

h3 {
    color: black;
    font-family: Georgia, serif;
}

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

}

#mobile {
    display: inline;
}

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

nav a { text-decoration: none; }

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

nav a:visited {
    color: white;
}

nav a:hover {
    color: #A52A2A;
}

nav li {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    border-bottom: 1px solid;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

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

#wrapper {
    background-color: ghostwhite;
    min-width: 960px; 
    max-width: 2048px;    
    text-indent: .1em;
}

#pets {
    background-image: url(images/zekeandjax.jpg);
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    height: 539px;
    width: 960px;
    background-size: 100% 100%;
}

#homehero {
    background-image: url(images/waterfall.jpg);
    background-repeat: no-repeat;
    height: 400px;
    width: 1005px;
    margin-left: auto;
    margin-right: auto;
    background-size: 100% 100%;
}

#museumhero {
    background-image: url(images/cbg2.JPG);
    background-repeat: no-repeat;
    height: 700px;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-size: 100% 100%;
}

td {
    text-align: center;
}

td.text {
    text-align: left;
}

td, th {
    padding: 5px;
    border: 1px solid purple;
}

tr:nth-child(even) {
    background-color: grey;
}

#pchero {
    background-image: url(images/pcfront.jpg);
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    height: 700px;
    width: 700px;
    background-size: 100% 100%;
}
/* for photo gallery from w3 schools */
div.gallery {
    border: 1px solid lightgrey;
  }
  
  div.gallery:hover {
    border: 1px solid #777;
  }
  
  div.gallery img {
    width: 100%;
    height: auto;
  }
  
  div.desc {
    padding: 15px;
    text-align: center;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
  }
  
  @media only screen and (max-width: 700px) {
    .responsive {
      width: 49.99999%;
      margin: 6px 0;
    }
  }
  
  @media only screen and (max-width: 500px) {
    .responsive {
      width: 100%;
    }
  }
  
  .clearfix:after {
    content: "";
    display: table;
    clear: both;
  }
/* end photo gallery */


@media only screen and (min-width: 600px) {
    body {
        background-color: lightblue;
    }
    h1 {
        font-size: 2em;
        letter-spacing: 0.25em;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        padding-right: 2em;
    }
    nav li {
        width: 12em;
        border-bottom: none;
    }
    section {
        padding-left: 2em;
        padding-right: 2em;
    }
    #flow {
        display: flex;
        flex-direction: row;
    }
    #mobile {
        display: none;
    }
    #desktop {
        display: inline;
    }
    #homehero, #yurthero, #trailhero {
        background-size: 100% 100%;
    }
}

@media only screen and (min-width: 1024px) {
    body {
        background-image: linear-gradient(to bottom, white 20%, purple 60%, white 100%);
    }
    nav ul {
        padding-left: 10%;
        padding-right: 10%;
    }
    #wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }
}
