* {
    box-sizing: border-box; /* added and changed to target all (*) */
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
  }

body {
    background-color: rgb(151, 132, 120);
    font-size: 18px;
}

header {
    text-align: center;
    background-color: #333;
    padding: .5rem;
    color: #ffffff;
}

nav {
    background-color: #222; 
    padding: 0.5rem 0;
    font-size: 20px;
    text-align: center;
    position: sticky;
    top: 0;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none; 
    color:  rgba(355, 355, 355, 0.676);
}

nav li a:hover {
    color: #C3984Aff;
}

nav ul li .active {
    opacity: 50%; /* added*/
}

/* content stylings */
#banner img {
    width: 100%;
    max-height: 700px;
    display: flex;
    justify-content: center;
    object-fit: cover;
    object-position: center;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* changed from exact px */
    padding: 2rem;
    font-size: 18px;
    background-color: rgb(196, 181, 181);
    margin: 1rem 0; /* Space between sections */
}

 .about img {
    border-radius: 150px;
 }

.flexbox-about1 {
    width: auto;
    height: auto;
    background-color:rgb(151, 132, 120);
    padding:25px 25px 20px;
    border-radius: 150px;
}

.flexbox-about2 {
    text-align: center;
    padding: 3rem;
    max-width:700px;
}

#readMoreBtn {
    padding:10px;
    border:none;
    background-color: rgb(97, 120, 115);
    color:white;
    font-weight:600;
    border-radius:5px;
}

#readMoreBtn:hover {
    transform: scale(1.05);
    background-color:#3C4B48ff;
}

#services {
    width: auto;
    height: fit-content; /* changed from exact px */
    text-align: center;
    font-size: 16px;
    padding: 4rem; 
    background-color:#3C4B48ff;
    margin-bottom: 1rem; 
}
 #services img {
    border-radius: 20px;
    margin: 5px 5px 2px 5px;
 }

 .service-items a {
    background-color: rgb(42, 42, 42);
    color:rgba(255, 255, 255, 0.805);
    padding: 5px 10px 5px 10px;
    display:inline-block;
    text-align: center;
    margin-bottom: 5px;
    border-radius: 15px 15px;
    text-decoration: none;
 }

 .service-items a:hover {
    color:white;
 }
 .item:hover {
    transform: scale(1.05);
    transition: all .5s ease-in;
    box-shadow: rgb(30, 30, 30) 0px 0px 80px 50px;
 }

.service-items {
    display:flex;
    flex-flow: wrap;
    align-items: center;
    justify-content:space-around;
    height: auto;
}

.item {
    background-color: rgb(97, 120, 115);
    border: solid rgb(97, 120, 115);
    border-radius: 40px;
    max-width: min-content;
    padding: 20px 20px ;
    box-shadow: rgb(30, 30, 30) 0px 0px 30px 20px;
}

#contact {
    padding: 2rem; 
    background-color:rgb(196, 181, 181);
    margin-bottom: 1rem;
    text-align: center;
}

input[type=text], input[type=email], textarea {
    margin: 6px;
    background-color:  rgb(223, 223, 223);
    font-family: inherit;
    font-weight: bold;
    resize: vertical;
    border-radius: 5px;
    box-shadow: 5px 5px 5px;
}

textarea { /* added section, removed stylings from HTML*/
    width: 500px;
    height: 250px;
}

input[type=reset], input[type=submit] {
    padding:10px;
    border:none;
    background-color: rgb(97, 120, 115);
    color:white;
    font-weight:600;
    border-radius:5px;
}

input[type=reset]:hover, input[type=submit]:hover {
    transform: scale(1.05);
    background-color:#3C4B48ff;
}

footer {
    background-color: #C3984Aff;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    list-style-type: none;
    gap: 1rem; /* added*/
}

footer a {
    font-size: 14px;
    font-weight: bold;
    color:#3C4B48ff;
    text-decoration: none;
}

footer ul {
    text-align: center;
    padding: 0;
    margin: 0;
    gap: 2rem; /* added*/
}

footer ul li {
    color:white;
    display:inline;
    margin-right: 20px;
}

footer a:hover {
    color: rgb(223, 223, 223);
}


/* Start of media queries */
@media screen and (max-width: 900px) {
    body {
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 0 auto;
        font-size: 16px;
        text-align: center;
    }

    nav {
        padding-top: 15px;
        font-size: 18px;
    }

    .text_banner {
        font-size: medium;
    }

    .about {
        /* background-color: rgb(142, 116, 81); */
        flex-direction: column;
        font-size: 16px;
    }
 
    .about img {
        border-radius: 150px;
        width: auto;
     }

    .flexbox-about1 {
        padding:25px 25px 20px;
        margin-bottom: 15px;
    }

    .flexbox-about2 {
        padding: 0;
    }

    #services {
        height: fit-content;
        max-width: 900px;
    }

    .item {
        max-width: 275px;
        padding: 10px 0px 10px 0px;
        box-shadow: rgb(30, 30, 30) 0px 0px 30px 15px;
    }

    #services img {
        border-radius: 100px;
    }

    .service-items {
        display: grid;
        gap: 1.5rem;
        margin-inline: auto;
    }

    #addinfo {
        min-height: 150px;
        font-size: 16px;
        resize: none;
        padding: 5px;
        width: 380px;
        height: 225px;
    }
}

@media screen and (max-width: 450px) {
    body {
        flex-direction: column;
        overflow-x: hidden;
        width: 100%;
        height: auto;
        margin: 0 auto;
        font-size: 16px;
        text-align: center;
    }

    nav {
        padding-top: 15px;
        position: sticky;
        font-size: 16px;
    }

    .text_banner {
        font-size:small;
    }

    .about {
        flex-direction: column;
        font-size: 16px;
        background-color: rgb(196, 181, 181);
        margin: .5rem .25rem .2rem .25rem;
    }
      
    .about img {
        border-radius: 150px;
        width: 100%;
     }

    .flexbox-about1 {
        padding:25px 25px 20px;
        margin-bottom: 15px;
    }

    .flexbox-about2 {
        padding: 0;
    }

    #services {
        height: fit-content;
        max-width: fit-content;
        margin-top: .5rem;
        margin-bottom: .5rem;
    }

    .item {
        max-width: 275px;
        padding: 10px 0px 10px 0px;
        box-shadow: rgb(30, 30, 30) 0px 0px 40px 10px;
    }

    #services img {
        border-radius: 100px;
        max-width: fit-content;
    }

    .service-items {
        display: grid;
        gap: 1.5rem;
        margin-inline: auto;
    }

    .item:hover {
        transform: none;
        box-shadow: rgb(30, 30, 30) 0px 0px 30px 15px;
    }

    #contact {
        margin: .2rem .25rem .5rem .25rem;
    }

    textarea {
        min-height: 100px;
        max-width: fit-content;
        font-size: 16px;
        resize: none;
        padding: 5px;
        height: 200px;
    }
}
 /* Color Palette 
preferred green:  #3C4B48ff;
satin-sheen-gold: #C3984Aff;
coyote (tan): #87603Fff, #B79782ff;
caf-noir (dark brown): #48321Dff;
rich-black: #010B0Dff; */