/* BEGIN Resets */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: auto;
}

/* END Resets */

/* BEGIN Global */

html {
  font-size: 10px;
  height: 100%;
  font-family: 'Noto Sans';
}

body {
    font-size: 2rem;
    display: flex;
    flex-flow: column nowrap;
    background-image: url(../pictures/bg800bulbs.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 0 0;
    background-color: #544d47;
}

@media only screen and (min-width: 800px) { 
  body {
    background-size: 800px auto !important;  
  }
}

html, body {
  min-height: 100%;
  width: 100%;
  min-width: 420px;
}

section {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
}

p, a {
  font-family: 'Noto Sans';
}

p, div {
  margin-top: 1rem;
  overflow: auto;
}

ul, ol {
    margin-left: 2em;
}

img {
    display:block;
    max-width:100%;
    height:auto;
    float: left;
}

header {
  margin: 2rem auto 0;
  border-radius: 1rem 1rem 0 0;
  background-color: white;
}

main {
  flex-grow: 1;
  background-color: white;
}

main, .nav-bar {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 1rem;
}

footer {
  display: flex;
  justify-content: flex-start;
  padding: 1rem;
  background-color: #cc6300;
  color: white;
  margin-bottom: 2rem;
  border-radius: 0 0 1rem 1rem;
  border-style: solid;
  border-color: rgba(0,0,0,0.45);
  border-width: 1px 0 0 0;
}

.nav-bar-container {
  box-shadow: 0px 2px 5px rgba(0,0,0,0.35);

}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.nav-menu {
  display: flex;
}

.nav-menu > li {
  list-style-type: none;
  margin: 0.5rem 1rem;
  padding: 1rem;
  border-radius: 1rem;
  transition: background 500ms;
}

.nav-menu > li:hover {
  background: pink;
  cursor: pointer;
}

.nav-bar a {
  text-decoration: none;
  color: black;
}

.master-container {
  width: 960px;
  max-width: 50vw;
  margin: auto;
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  gap: 2rem;
  width: 100%;
  justify-content: space-between;
  align-items: stretch;
}

.flex-container > div {
  flex: 1 0 20rem;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  background-color: lightblue;
  border-radius: 1rem;
  padding: 1rem;
}

.flex-container > div > a {
  text-align: right;
}

.logo {
  max-width: 40px;
}

/* END Global */

/* BEGIN Main Page */

.hero {
  background-image: url(../pictures/htgreen-hero.jpg);
  background-size: 100%;
  padding-top: 26.00%;
  width: 100%;
  margin: 0;
}

#about h1, 
#about h2, 
#about h3, 
#about h4, 
#about h5 {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: black;
  padding-bottom: 0.5rem;
}

#about img {
  float: right;
  border-radius: 1rem;
  margin: 0 0 1rem 1rem;
}


.back-to-top {
  background-color: #ddd;
  border: solid 1px rgba(0,0,0,0.65);
  padding: 1rem 8rem;
  text-align: center;
  color: black;
  text-decoration: none;
  display: inline-block;
  margin: 1rem auto;
  cursor: pointer;
  border-radius: 3rem;  
}

#testimonials > div {
  margin: 1rem 0;
  padding: 2rem;
  background-color: #f8fffe;
  border-color: #b0d2cb;
  border-style: solid;
  border-width: 1px 1px 1px 1rem;
}

#testimonials img {
  margin: 0 1rem 0 0;
}


#testimonials p {
  margin: 0;
}

/* END Main Page */
