* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-image: url("bg800bulbs.jpg"); /* this is our background image, but its not big enough so we fill with a color match*/
  background-repeat: no-repeat;
  background-size: 90%;
  background-color: #544d47;
}

.workspace {
  /* this makes the a4 page sort of layout in the middle*/
  background-color: white;
  max-width: 50vw;
  margin: 1rem auto;
  border-radius: 1rem;
  border: 1px solid grey;
}

.head-img { /* makes our banner image responsive and keeps the aspect ratio */
  width: 100%;
  height: auto;
  border: 1px solid grey;
}

nav {
  /* styling our nav bar with flexbox*/
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: 1rem;
  padding: 1.4rem 0;
}

.nav_links {
  /* getting rid of the dots in our list*/
  list-style: none;
  margin-right: 1rem;
}

.nav_links li {
  /* makes the words side by side */
  display: inline-block;
  padding: 0 2rem;
}

.nav_links li a {
  /* styling our words directly in the nav bar*/
  text-decoration: none;
  color: black;
  font-weight: 550;
  font-size: larger;
  font-family: "Open Sans", sans-serif;
  font-family: "Prompt", sans-serif;
}

nav img {
  /* moves the logo to the left */
  margin-right: auto;
}

section {
  padding: 0 1rem;
  font-family: "Open Sans", sans-serif;
  font-family: "Prompt", sans-serif;
}

article {
  margin-bottom: 4rem;
}

h1 {
  /* Our main heading */
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2rem 0 0.5rem 0;
}

h2 {
  /* all our sub headings */
  font-weight: 900;
  font-size: larger;
  margin-bottom: 0.3rem;
}

.electricity {
  /* this is the class for our top article, it doesnt have an image so it doesnt work with our information class */
  line-height: 1.2rem;
  font-size: large;
}

.information {
  clear: both;
  margin-bottom: 3rem;
  display: flow-root; /* makes the parent div expand and contain the image that was overflowing */
}

.information p {
  /* the class reffering to the information paragraphs */
  display: inline-block;
  width: 68%;
  line-height: 1.2rem;
  font-size: large;
}

.information img {
  float: right;
  margin-bottom: 1rem;
  width: 30%;
  height: auto;
  border-radius: 0.5rem;
}

.about-us {
  clear: both;
  margin-bottom: 3rem;
}

.about-us p {
  font-size: large;
}

hr {
  /*this is for styling the rules */
  border: 0.05rem solid rgb(156, 156, 156);
  margin-bottom: 1rem;
  border-radius: 1rem;
}

.solar {
  margin-bottom: 4rem;
}

.geothermal {
  padding-bottom: 2rem;
}

.back-to-top {
  margin: 4rem auto;
  text-align: center;
}

.back-to-top a {
  /* styling the back to top buttons */
  text-decoration: none;
  padding: 1% 8%;
  border: 1px solid grey;
  border-radius: 1rem;
  background-color: lightgrey;
  color: black;
}

.test {
  margin: 1rem 0;
}

.test h2 {
  font-size: larger;
  margin-bottom: 1rem;
}

.testimonials {
  /* styling the testimonial cards*/
  width: 100%;
  border: 2px solid #b0d2cb;
  border-left: 0.5rem solid #b0d2cb;
  display: inline-block;
  padding: 1rem;
  margin-bottom: 2rem;
}

.testimonials img {
  /* floating our images into the right spot */
  float: left;
  margin-right: 1rem;
  height: auto;
  width: 25%;
}

.testimonials p,
.bold {
  font-size: large;
  line-height: 1.3rem;
}

.bold {
  font-weight: 900;
}

footer {
  /* styling the footer */
  background-color: #d66717;
  padding: 1.2rem;
  border-radius: 0 0 0.8rem 0.8rem;
  color: white;
  font-weight: 800;
}
