html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}

.navbar {
    z-index: 1;
    overflow: hidden;
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
}

.navbar a {
    display: inline-block;
    color: #383838;
    font-size: 14px;
    font-weight: 500;
    line-height: 60px;
    padding: 0 60px;
    text-align: center;
    text-decoration: none;
}

.navbar a:hover {
    color: #8ea86d;
}

.parallax-a {
    background-image: url("../images/tree.webp");
    background-attachment: fixed;
    background-position-y: 60px;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: 1200px;
    margin: 60px 0;
}

.parallax-a img {
    display: block;
    width: 600px;
    margin: auto;
    padding-top: 60px;
}

.parallax-b {
    background-image: url("../images/forest.webp");
    background-attachment: fixed;
    background-position-y: 60px;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: 1200px;
    margin: 60px 0;
    padding: 60px 0;
}

.mission {
    padding: 80px 0;
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #383838;
    text-shadow: 0px 0px 10px #fff;
}

.sectiontitle {
    padding: 60px 0;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #383838;
}

.sectiontitle p {
    margin: 0;
}

.treatments {
    display: flex;
    height: inherit;
    width: inherit;
    top: 0;
    left: 0;
    position: absolute;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    padding: 20px;
    filter: opacity(0);
}

.treatments p {
    width: 100%;
}

.flexcontainer-a {
    display: flex;
    width: 980px;
    align-items: flex-start;
    margin: auto;
    padding: 60px 0;
}

.flexcontainer-b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.flexcontainer-c {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 980px;
    margin: auto;
    padding-bottom: 60px;
}

.flexcontainer-d {
    display: flex;
    width: 800px;
    align-items: flex-start;
    margin: auto;
    padding: 40px 0 60px;
}

.flexitem-a {
    height: 680px;
    width: 490px;
}

.flexitem-c {
    height: 300px;
    width: 300px;
    position: relative;
    background-color: #fff;
    font-size: 18px;
    font-weight: 500;
    color: #383838;
}

.flexitem-c img {
    display: block;
    padding: 10px;
}

.flexitem-c:hover img {
    filter: opacity(0.2);
}

.flexitem-c:hover .treatments {
    filter: opacity(1);
}

.flexitem-d {
    height: 300px;
    width: 400px;
    align-content: center;
}

.gridcontainer-a {
    display: grid;
    grid-template-rows: auto auto auto auto;
    margin: 50px;
    color: #383838;
}

.gridcontainer-b {
    display: grid;
    grid-template-columns: 940px;
    grid-template-rows: auto auto;
    border: 1px solid #383838;
    color: #383838;
}

.gridcontainer-b-bkgd1 {
    width: 940px;
    margin: auto;
    padding: 20px;
    background-color: #ffffffe6;
}

.gridcontainer-b-bkgd2 {
    width: 940px;
    margin: 60px auto 0;
    padding: 20px;
    background-color: #ffffffe6;
}

.gridcontainer-c {
    display: grid;
    grid-template-columns: 500px;
    grid-template-rows: 50px 50px 50px 50px 140px 90px 20px 20px;
    justify-content: center;
}

.gridcontainer-d {
    display: grid;
    grid-template-rows: auto auto auto auto;
    margin-left: 40px;
    color: #383838;
}

.griditem-a1 {
    font-size: 30px;
    font-weight: 600;
}

.griditem-a2 {
    border-top-style: solid;
    border-width: 1px;
    border-color: #383838;
}

.griditem-a3 {
    font-size: 18px;
    font-weight: 500;
}

.griditem-a4 {
    font-size: 14px;
    font-weight: 400;
}

.griditem-b1 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.griditem-b2 {
    padding: 0 20px;
    font-size: 14px;
    font-weight: 400;
}

.griditem-c1 {
    text-align: center;
}

.griditem-c2 {
    text-align: center;
    color: #383838;
    font-size: 12px;
    font-weight: 400;
}

.griditem-d1 {
    font-size: 18px;
    font-weight: 500;
}

.griditem-d2 {
    font-size: 14px;
    font-weight: 400;
}

.g-recaptcha {
    display: inline-block;
}

.hrline {
    padding-top: 40px;
}

.certs {
    width: 980px;
    text-align: right;
    margin: auto;
}

.certs img {
    display: inline-block;
    margin: 40px;
    vertical-align: middle;
}

.gm-style-iw-ch {
    padding-top: 6px !important;
}

.gm-ui-hover-effect {
    height: 20px !important;
    width: 20px !important;
    margin: 4px !important;
}

.gm-ui-hover-effect > span {
    height: 16px !important;
    width: 16px !important;
    margin: 2px !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

#home, #whyosteopathy, #footer {
    background-color: #fff;
}

#about, #treatments {
    background-color: #e1ebd5;
}

#contact {
    background-color: #f5f5f5;
}

#fname, #femail, #fphone, #freason, #fmessage {
    display: block;
    background-color: #fff;
    width: 100%;
    padding: 5px 15px;
    box-sizing: border-box;
    margin: 0;
    border: none;
    outline: none;
    color: #383838;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 400;
}

#fname, #femail, #fphone, #freason {
    height: 30px;
}

#freason {
    appearance: none;
    background-image: url("../images/arrow.png");
    background-position: top 5px right 5px;
    background-repeat: no-repeat;
}

#fmessage {
    height: 120px;
    resize: none;
}

#fsubmit {
    background-color: transparent;
    border: none;
    text-decoration: none;
    cursor: pointer;
    color: #383838;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
}

#fsubmit:hover {
    color: #8ea86d;
}

#map {
    height: 300px;
    width: 400px;
}

hr {
    color: #383838;
    width: 900px;
}

::placeholder {
    color: #383838;
}