* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-image: url(../images/bg800bulbs.jpg);
}

#container {
    max-width: 50vw;
    margin-left: auto;
    margin-right: auto;
    min-width: 23.5rem;
    /*Adjust this to change how small the website can go*/
}

#twazeb {
    /*For the "Towards a zero electricity bill" text*/
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Roboto Condensed', sans-serif;
}

main {
    background-color: white;
    border-radius: 0.4rem 0.4rem 0.4rem 0.4rem;
    margin: 1rem;
}

footer {
    /*Naturally, this is for the footer of the page.*/
    border-bottom-left-radius: 0.4rem;
    border-bottom-right-radius: 0.4rem;
    font-weight: 700;
    color: white;
    background-color: rgb(214, 103, 23);
    padding: 1rem 0rem 1rem 1rem;
}

#header-line {
    margin: 0.1rem 0rem 0.2rem 0rem;
}

#hero {
    /*HERO IMAGE*/
    max-width: 50vw;
    box-shadow: 1px 1px 2px black;
    min-width: 23.5rem;
}

#logo {
    padding: 0.4em;
}

ul,
li {
    /*For the links on the nav bar*/
    list-style: none;
    display: inline;
    padding: 0.8rem 0.8rem 0.8rem 0rem;
}

a {
    text-decoration: none;
    color: black;
}

nav {
    /*For adjusting the navigation bar container*/
    max-width: 16rem;
    display: flex;
    justify-content: space-evenly;
    float: right;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
}

#content {
    padding: 0.8rem;
    font-size: 0.8rem;
    min-width: 23.5rem;
}

#hr-top {
    margin-top: 0.15rem;
    margin-bottom: 0.8rem;
}

#top-p {
    margin-bottom: 4.5rem;
}

#spvs,
#wind,
#geothermal,
#about-us,
#ttml {
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
}

.hr {
    /*For all hr elements*/
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.first3img {
    /*For the first 3 images on the page (not the hero or nav logo though)*/
    border-radius: 10px;
    float: right;
    max-width: 10rem;
    max-height: 10rem;
    margin-left: 0.5rem
}


#geothermal {
    margin-top: 8rem;
}

#wind {
    margin-top: 3.5rem;
}

#about-us {
    margin-top: 2rem;
    font-family: 'Roboto Condensed', sans-serif;
}

.btp {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-radius: 1.5rem;
    border: solid 1px rgb(68, 68, 68);
}

#pos-btn {
    text-align: center;
    margin-top: 3rem
}

#pos-btn2 {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.ttml-img {
    max-width: 10rem;
    max-height: 10rem;
    padding-top: 0.7rem;
    padding-bottom: 1rem;
    padding-left: 0.8rem;
    float: left;
}

#imgttml-container,
#imgttml-container2,
#imgttml-container3 {
    /*For borders around the testimonial images*/
    border-top: 1px solid rgba(176, 210, 203);
    border-right: 1px solid rgba(176, 210, 203);
    border-bottom: 1px solid rgba(176, 210, 203);
    border-left: 6px solid rgba(176, 210, 203);
    height: 10rem;
}

#imgttml-container2,
#imgttml-container3 {
    margin-top: 1.5rem;
}

.ttmlall {
    padding: 1rem;
    padding-left: 10rem;
    text-overflow: clip;
}

a,
button:hover {
    cursor: pointer;
}

#contact-us {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    text-align: center;
}

textarea {
    resize: none;
}

#salesquery,
#generalenquiry {
    vertical-align: middle;
}

#contact-form {
    border: 2px;
    border-radius: 0.5rem;
    padding: 0.8rem;
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(176, 210, 203);
}

#submit-btn,
#reset-btn {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-radius: 1.5rem;
    border: solid 0.1rem rgb(68, 68, 68);
    cursor: pointer;
}

#form-btns {
    text-align: center;
}

#chks-form {
    text-align: center;
}

#content2 {
    padding: 1rem;
    text-align: center;
}

#firstname,
#lastname,
#phonenumber,
#email {
    padding-right: 8.3rem;
}

@media (max-width: 768px) {
    #content {
        font-size: 1rem;
        line-height: 1.5;
        margin-left: 0;
        margin-right: 0;
    }

    #imgttml-container2 {
        float: none;
        font-size: 1rem;
        height: 17.8rem;
    }

    #imgttml-container {
        height: 13.5rem;
    }

    #imgttml-container3 {
        height: 12rem;
    }

    #imgttml-container3 #imgttml-container,
    #spvs,
    #wind,
    #geothermal,
    #about-us,
    #ttml,
    #twazeb {
        font-size: 1.5rem;
    }

    .first3img {
        width: 100%;
        max-width: 500px;
        max-height: 500px;
    }
}