
html {
    display: block;
    margin: auto;
    max-width: 75em; 
}

p {
    font-size: 1rem;
}


body {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-style: normal;
  
 
}




/* css for the buttons Link related stuff */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
}

.button div {
    text-decoration: black;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    height: 7%;
    width: 12%;
    border: solid grey 2px;
    margin: 0 5px; 
    border-radius: 0.625em;
    margin-bottom: 7.5em;
    margin-top: 7.5em;
}
a:link, a:visited {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 0em 1.7em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
  }
  a:hover, a:active {
    background-color: yellow;
  }

  .links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.links {
    display: flex;
    gap: 1rem;
}

/* Where the background is set. Wasn't sure if it was mant to be a scrolling background so it made it static */
body {
    background-image: url(images/bg800bulbs.jpg);
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;

}

section {
    background-color: white;
    border-radius: 0 0 25px 25px;
    box-shadow: 2px 2px 0px 2px rgba(0, 0, 0, 0.39);
}


 /* An  empty div to to give the padding so it matches the wireframe */
.filler-top {
    padding-top: 1.875em;
    background-color: transparent;
}
  

/* Css for the opening section of the page */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0.625em 1.25em;
    border-radius: 25px 25px 0 0;
    padding-top: 2.1875em;
    margin-bottom: -0.1em;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.39);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}




.htgreen-hero {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;

}

.centering h2 p{
    margin-left: 25px;
}




.htgreen-hero img {
    max-width: 100%;
    height: auto;
}

/* Css for most h1 and h2 */

section h1 {
    text-align: center;
}

.h1-after p{
    display: flex;
    font-size: 1.5rem; 
    padding-bottom: 4.875em;
    padding-left: 0.9375em;
    padding-top: 1.5625em;
}

.h1-after h1 {
    font-weight: bold;
    font-size: 2.813rem;
    border-bottom: solid 1px;
}

.h2-underline {
    padding-right: 0.9375em;
    padding-left: 0.9375em;
}

.h2-underline h2 {
    display: block;
    width: 100%;
    border-bottom: 2px solid grey;
    padding-bottom: 0.3125em;
    margin-bottom: 0.9375em;
    padding-left: 0.9375em;
}

.h2-underline-2 h2 {
    display: block;

    padding-bottom: 0.1125em;
    padding-left: 1.1375em;
}

.grey-border {
    align-items: center;
    margin-inline: auto;
    max-width: 98%;
    border-top: 2px solid rgb(173, 167, 167);
    padding-top: 25px;
}

.img-text {
    overflow: hidden; 
    padding-left: 0.9375em;
}




/* Images for first page  */
.img-text img {
    float: right;
    margin-left: 0.9375em;
    margin-bottom: 0.625em;
    width: 250px;
    height: auto;
}

.img-text::after {
    content: "";
    display: block;
    clear: both;
}

/* images for second page */
.img-text-2 {
    overflow: hidden; 
    padding-right: 0.9375em;;
}


.img-text-2 img {
    float: left;
    margin-left: 0.9375em;
    margin-right: 1.625em;
    width: 250px;
    height: auto;
    margin-bottom: 1.875em;
    border-left: solid 8px aquamarine;

}

/* css for the form */

.forms {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 67%;
    min-width: 30%;
    background-color: aquamarine;
    padding: 3rem 5%;
    

}


.forms textarea {
    width: 100%; 
    max-width: 31.25rem; 
    padding: 0.5rem;
    margin-bottom: 1rem; 
    margin: auto;
}

.query-type {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}


.submit {
    margin: auto;
}

/* css for the buttons */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
}

.button div {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    height: 7%;
    width: 12%;
    border: solid grey 2px;
    margin: 0 5px; 
    border-radius: 10px;
    margin-bottom: 120px;
    margin-top: 120px;
}

/* Css for the about us section */

.orange h2 {
    display: block;
    width: 100%;
    border-bottom: 2px solid rgb(0, 0, 0);
    padding-bottom: 0.3125em;
    margin-bottom: 15px;
    column-span: all;
}

.orange {
    background-color: orange;
    max-width: 90%;
    column-count: 2;
    margin: auto;
    border-radius: 10px;
    padding-left: 0.9375em;
    padding-right: 0.9375em;
    padding-bottom: 3em;
}

.orange p {
    margin-bottom: 1.875em;
}

ul.b {
    list-style-type: square;
  }

/* Css for the resources section */
.resources {

    background-color: orange;
    max-width: 90%;
    column-count: 2;
    margin: auto;
    column-width: 10em;
    border-radius: 10px;
    padding-left: 2.0375em;
    padding-right: 2.9375em;
    column-gap: 4em;
    padding-bottom: 3em;


}
.resources h2 {
    border-bottom: solid 1px rgb(0, 0, 0);
    column-span:all;
    margin-bottom: 1em;
    padding-top: 1em;
}

.resources h3 {
    border-bottom: solid 1px rgb(0, 0, 0);
    margin-top: 1em;
}

.resources p {
    margin-bottom: 1.2em;
}


/* Css for the bottom of the page */
.footer {
    text-align: center;
    background-color: white;
    max-width: 90%;
    margin: auto;
    padding-bottom: 3em;
}

.footer p {
    padding: 0.2em;
}

.footer-heads {
    display: flex;
    justify-content: space-between;
    gap: 3em;
    text-align: center;
}

.footer-column {
    flex: 1;
    padding: 1em;
    border-right: 1px solid gray;
    text-align: center;
    padding-right: 3.5em;
}

.footer-column:last-child {
    border-right: none; 
}

.footer-heads h2 {
    padding-bottom: 0.5em;
    border-bottom: 1px solid gray;
}


.ending {
    text-align: center;
    border-bottom: 1px solid grey;
    padding-bottom: 3em;
    background: transparent;
    margin-left: 4em;
    margin-right: 4em;
}

.ending-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 2em;
    background-color: transparent;
    border-radius: 0 0 25px 15px;
    margin-bottom: 3em;

}


@media screen and (width < 1200px) {
    p {
    font-size: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .flex-container {
    flex-direction: column;
    }
}

@media screen and (width < 1200px) {
    h1 {
    font-size: 0.75rem;
    }
} 


@media screen and (width < 1200px) {
    .orange {
    column-count: 1;
    }
}

@media screen and (width < 1200px) {
    .resources {
    column-count: 1;
    }
}

@media screen and (width < 1200px) {
    .header {
    flex-direction: column;
    }
}