* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  background-image: url(/images/bg800bulbs.jpg);
  background-size: contain;
  background-color: #654321;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: black;
}

header {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em;
  border-radius: 10px 10px 0px 0px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
}

nav a {
  text-decoration: none;
  margin-right: 1em;
  color: black;
}

nav a:hover {
  color: #009578;
}

nav a:visited {
  color: #009578;
}

main {
  background-color: white;
  padding: 1em;
}

.heroimage {
  width: 100%;
  border-image: url(/images/htgreen-hero.jpg);
  border-left: 1px solid rgb(87, 86, 86);
  border-right: 1px solid rgb(87, 86, 86);
  border-top: 1px solid rgb(87, 86, 86);
  border-bottom: 3px solid rgb(87, 86, 86);
}

h1 {
  font-weight: 900;
  font-size: 1rem;
  border-bottom: 1px solid black;
  margin-bottom: 0.8em;
}

h2 {
  font-weight: 900;
  font-size: 0.8rem;
  margin-top: 3em;
  margin-bottom: 0.8em;
  border-bottom: 1px solid black;
}

h3 {
  font-weight: 900;
  font-size: 0.8rem;
  padding-top: 40px;
}

h4 {
  display: none;
}

p {
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.4;
}

.wrapper {
  max-width: 50vw;
  margin-top: 2em;
  margin-bottom: 8em;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 10px black;
  border-radius: 10px;
}

.floatright {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  border-radius: 10px;
}

.b2t {
  color: black;
  font-weight: 400;
  font-size: 0.8rem;
  background-color: rgb(230, 230, 229);
  padding: 0.6em;
  border-radius: 30px;
  display: block;
  width: 35%;
  text-align: center;
  text-decoration: none;
  margin-top: 2em;
  margin-bottom: 1em;
  margin-left: auto;
  margin-right: auto;
  border: 1.33px solid black;
}

.divider {
  clear: both;
  height: 1em;
}

.cards {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

article {
  flex: 200px;
  margin-bottom: 20px;
  margin-top: 10px;
  padding: 5px;
  background: #f8fffe;
  border-left: 8px solid #b0d2cb;
  border-top: 1.5px solid #b0d2cb;
  border-right: 1.5px solid #b0d2cb;
  border-bottom: 1.5px solid #b0d2cb;
}

.floatleft {
  float: left;
  margin: 0.8em;
  border-radius: 0px;
  padding-bottom: 10px;
}

article p {
  font-size: 0.85rem;
  padding: 10px;
}

.bold {
  font-size: 0.85rem;
  font-weight: bold;
}

.form {
  background: #b0d2cb;
  border-radius: 4px;
  padding: 1em;
  display: block;
}

label {
  padding-top: 1em;
}

input[type="text"] {
  padding: 0.5em;
  width: 98%;
}

input[type="email"] {
  padding: 0.5em;
  width: 98%;
}

input[type="tel"] {
  padding: 0.5em;
  width: 98%;
}

input[type="submit"] {
  width: 30%;
  padding: 0.5em;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

input[type="reset"] {
  width: 30%;
  padding: 0.5em;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

textarea {
  width: 98%;
  height: 50%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5em;
  font-family: "Roboto", sans-serif;
}

.checkbox {
  text-align: center;
}

.general {
  padding-left: 1.5em;
}

.button {
  margin-top: 30px;
}

footer {
  background-color: rgb(241, 122, 42);
  padding: 1em;
  border-radius: 0px 0px 10px 10px;
  text-align: left;
}

.footer {
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
}

@media screen and (width < 1200px){
  .wrapper {
    max-width: 100%;
    margin: 0%;
  }

  header {
  border-radius: 0%;
  }

  article {
  flex: 50px;
  margin-top: 5px;
  margin-bottom: 5px;
  }
}

@media screen and (width > 480px) and (width < 768px){
  .floatleft {
    display:none;
    }

  input[type="reset"] {
    display: none;
    }
  }

@media screen and (width < 480px){
  nav {
    display: flex;
    flex-direction: column;
    float: left;
    }

  h1 {
    font-weight: 900;
    font-size: 0.8rem;
    border-bottom: 1px solid black;
    margin-bottom: 0.8em;
  }

  .floatleft {
    display:none;
    }

  .floatright {
    float: none;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    }

    .checkbox {
      display: flex;
      flex-direction: column;
    }

    input[type="reset"] {
      display: none;
    }
  }
