@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&family=Montserrat:wght@500&display=swap');


html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: url(img/bg800bulbs.jpg);
}

.main {
    max-width: 50vw;
    background-color: white;
    border: 1px solid black;
    margin: auto;
    border-radius: 10px;
}

img {
    flex-wrap: wrap;
    max-width: 100%;
    height: auto;
}

/*Navbar*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: auto;
}

.navbar a {    
    text-decoration: none;
    color: black;
    margin-right: 20px;
    cursor: pointer;
}

.navbar button {
    background-color: white;
    border: none;
}

.logo {
    width: 50px;
    height: auto;
}

/*First Image*/

.htgreen-hero {
    margin: auto;
}

/*Paragraphs*/
p {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    font-size: 18px;
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
}

a {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    font-size: 26px;
}

.paragraphs {
    margin: 20px;
}

.paragraphs img {
    float: right;
    border-radius: 10px;
    margin-left: 15px;
    margin-top: 10px;
}

h3 {
    margin: 20px 20px 0px 20px;
}

/*About Us*/

.buttontop {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 10px 60px 10px 60px;
    border-radius: 10px;
    border: 1px solid grey;
    text-decoration: none;
}

.back-to-top a {
    text-decoration: none;
    color: black;
}

/*Testimonials*/

.testimonial {
    background-color: #eff7fa;
    border: 1px solid #a5e6ff;
    padding: 30px;
    margin: 30px;
    padding-bottom: 150px;
}

.testimonial img {
    float: left;
    margin-right: 15px;
}

.testimonial p {
    font-size: 24px;
    margin: 0 30px 30px 30px;
}


/*Footer*/

.form {
    background-color: #eff7fa;
    border: 1px solid #a5e6ff;
    padding: 15px;
    margin: 20px 300px 20px 300px;
}

.form label, input, textarea {
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: auto;
    margin-top: 25px;
    background-color: #b9692e;
    border-radius: 10px;
}

footer h4 {
    color: white;
}

/*Thanks Page*/

.thanks {
    max-width: 50vw;
    height: 15vw;
    background-color: white;
    border: 1px solid black;
    margin: auto;
    border-radius: 10px;
}

.thanks h3, form, input, label {
    display: flex;
    justify-content: center;
}

/*Media Queries*/

@media only screen and (max-width: 992px) {
    .main p, h1, h2, h3, a, button, form, input {
        font-size: 15px;
        width: 100%;
    }

    .main img {
        max-width: 100%;
    }

    .form {
        margin: 30px;
    }

    .main {
        max-width: 75vw;
        background-color: white;
        border: 1px solid black;
        margin: auto;
        border-radius: 10px;
    }
  }
