*{margin: 0;padding: 0;box-sizing: border-box;}
html {background-color: #E8E6E5;}
body {font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif"; font-weight: normal}

#header {background-color:#D9DFE1;padding: 20px 0 30px 0;position: relative;}
#toggle{display: none;}
.cornericons {position: absolute;top:2%;right:2%;display: flex;gap: 15px;}
.cornerimages {width: 35px;height: 35px;}
#logo {text-align: center; margin: 20px 0;}
#imagelogo {max-width: 500px; width:70%; height: auto;}
.cornericons a {display: inline-block;}
#navigation {display: flex;justify-content: center;align-items: center;width:100%;margin-top: 20px;margin-bottom: 20px}
#navigation ul {display: flex;list-style: none;gap: 30px;align-items: center;margin:0;padding:0;flex-wrap:wrap;justify-content: center}
#navigation a {color: #292929;text-decoration: none;font-size: 1.2em;font-weight: normal;padding: 16px 32px;transition: background-color 0.3s;}
#signupbutton a {border: 2px solid #FFFEFC;border-radius: 5px;box-shadow: 1px 1px 3px ;padding: 6px 12px;background-color: blanchedalmond;}
#navigation a:hover {;border-radius: 5px;background-color:#EDDDBC}
#cta {background-image: url("images/bannerbedimg.png");background-size: cover;background-position: center;height: 500px;display: flex;flex-direction: column;justify-content: center;align-items: center;text-align: center;color: white;}
#cta h1 {font-size: 45px; margin-bottom: 30px;}
h1{color:#2E2F2F}
#ctabutton {color:#EADEC0;padding: 20px 40px;border: 2px solid #FFFEFC;border-radius: 10px;box-shadow: 5px 5px 10px ;background-color:#9FAEB5;font-size: 24px;cursor: pointer;transition: all 0.3s;}
#ctabutton:hover {background-color:#687D86}
#Practices {padding: 60px 40px;font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;line-height: 1.5em;}
#Practices h2 {text-align: center;font-size: 35px;margin-bottom: 60px; border-bottom: thin;border-bottom-color: black; line-height: 1.5px;font-weight: normal}
.practices-wrapper {display: flex;justify-content: space-evenly;align-items: flex-start;gap: 30px;flex-wrap: wrap;}
.practice-item {flex: 1;width: 30%;max-width: 400px;min-width: 250px; display: flex;flex-direction: column;align-items: center;text-align: center;padding: 20px;border-radius: 10px;box-shadow: 2px 2px 5px #D9D6D4;margin-bottom: 2%;}
.image-frame {width: 100%;overflow: hidden;display: flex;align-items: center;justify-content: center;margin-bottom: 20px;border-radius: 8px;}
.image-frame img {width: 100%;height: 270px;object-fit: cover;border: 2px solid #D9D6D4;border-radius: 8px;}
.practices-description p {margin-bottom: 20px;font-size: 1em; font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif"}
.practices-buttons {padding: 12px 20px;border: 2px solid #FFFEFC;border-radius: 10px;background-color: #BEC3D6; color: #292929;font-size: 1em;cursor: pointer;transition: all 0.3s;width: auto;align-self: center;font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif"; font-weight: 500}
.practices-buttons:hover {background-color: #a8b0c8;}
.practices-description {flex-grow: 1;display: flex;flex-direction: column;justify-content: space-between;}
#pagebreak {background-color: #D0D6DE;height: 200px;display: flex;justify-content: center;align-items: center;}
#pagebreakimg {width: 55%;height: auto;max-width: 500px;max-height: 130px;}
#formfill {padding: 60px 40px;background-color: rgba(255,255,255,0.1);text-align: center;}
#formfill h3 {font-size: 2em;margin-bottom: 30px;color: #292929;}
.form-container {max-width: 750px;margin: 0 auto;text-align: left;}
.form-input {margin-bottom: 20px;}
.form-input label {display: block;margin-bottom: 5px;font-weight: normal;color: #292929; font-size: 18px }
.form-input input{width: 100%;padding: 10px;border: 2px solid #BEC3D6;border-radius: 5px;font-size: 1em;font-family: inherit;}
.form-input textarea {width: 100%;padding: 10px;border: 2px solid #BEC3D6;border-radius: 5px;font-size: 1em;font-family: inherit;}
.form-input textarea {resize: vertical;min-height: 120px;}
.submit-button {background-color: #BEC3D6;color: #292929;padding: 15px 30px;border: 2px solid #FFFEFC;border-radius: 10px;font-size: 18px;cursor: pointer;transition: all 0.3s;margin-top: 20px;}
.submit-button {background-color: #BEC3D6;color: #292929;padding: 15px 30px;border: 2px solid #FFFEFC;border-radius: 10px;font-size: 1.1em;cursor: pointer;font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";margin-top: 20px;display: block;margin-left: auto;margin-right: auto;}
.submit-button:hover {background-color: #a8b0c8;}



   
footer {background-color: #D0D6DE;padding: 30px 0;display: flex;flex-direction: column;align-items: center;}
#socials {display: flex;justify-content: center;gap: 30px;}
.socialicons {width: 50px;height: 50px;cursor: pointer;}
.copyright {text-align: center;margin-top: 15px;font-size: 12px;color: #666;}
#footernav{display: inline-flex;justify-content: center;align-items: center;width:100%;margin-top: 20px;margin-bottom: 20px}
#footernav ul{display: inline; list-style: none;align-items: center;margin:0;padding:0;justify-content: center}
#footernav a{color: #292929;text-decoration: none;font-size: 1.0em;font-weight: normal;padding: 5px 5px;transition: background-color 0.3s;}
#footernav a:hover {;border-radius: 5px;background-color:#EDDDBC}
#footernav li{padding-top: 5px;}
        /* media queries */

@media (max-width: 768px) {
.practices-wrapper ul {flex-direction: column;align-items: center;}
#cta h1 {font-size: 32px;padding: 0 20px;}
#Practices {padding: 40px 20px;}
#toggle{display:inline-block;justify-content: center; align-items: center}
	#toggle{width:100%;text-align: center;display:inline-block;margin-top:10px}
	#navigation{display: none}
        }


@media screen and (max-width: 480px) {
.practices-wrapper {flex-direction: column; align-items: center;gap: 20px;}
.practice-item { width: 95%;max-width: none; }
#cta h1 {font-size: 2em;}
#ctabutton {font-size: 1.2em; padding: 15px 25px; }
.cornerimages { width: 25px;height: 25px;}
.socialicons {width: 40px;height: 40px;} 
#socials {gap: 20px;}
#formfill h3 {font-size: 1.8em;}
#formfill {padding: 40px 20px; }
}

@media screen and (min-width: 481px) {
.practices-wrapper {flex-direction: row;gap: 30px;}
}

@media screen and (min-width:480px) and (max-width:800px){
.practice-item {width: 45%;max-width: 350px;}
.practices-wrapper {justify-content: space-around;gap: 20px;}
#cta h1 {font-size: 2.5em;}
#ctabutton {font-size: 1.3em;}
#formfill {padding: 50px 30px;}
#toggle img {width: 35px;height: 35px;}
}