/* ======================= START BASIC NAVIGATION FUNCTIONALITY =================================== */

nav ul {list-style-type: none;}
/* Hide menu bullets by default */


button {
  padding: 0 !important;
  background-image: url(bgimg/hamburger.svg);
  background-size: contain;
  height: 1rem;
  width: 1rem;
}
/* Remove default browser button styles to properly 
enable text-indent: 100% in .hide-text image replacement */


ul#menu {
 display: none;
}
/* Hide drop down menu by default when page loads */


ul#menu.show-nav {
  display: block !important;
}
/* force the navigation to display on click  */


#menu.show-nav {
	position: absolute;
    /* menu is on a layer, above normal page context: won't disrupt page when it appears */
	z-index: 10;
    /* layer 10: above everything else (random positive number) */

}
/* position the drop down menu when it displays */

li.social {
    display: block;
    width: 100px;
    height: 100px;
    position: absolute; /* Set positioning for each, avoid typing later */
}
li.social svg{
    display: block;
    height: auto;
    width: 100%;
}

#menu.show-nav li {
	margin: 0;
    padding: 0;
}

/* ======================= END BASIC NAVIGATION FUNCTIONALITY =================================== */

/*
OLD SCHOOL IMAGE REPLACEMENT TECHNIQUE
.HIDE-TEXT FOR IMAGE REPLACEMENTS
SEE: HTTP://WWW.ZELDMAN.COM/2012/03/01/REPLACING-THE-9999PX-HACK-NEW-IMAGE-REPLACEMENT/
*/
.hide-text {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
  }

  /* Classic Typographic Scale */

  #menu svg {
	display: inline-block;
	height: 2rem;
	width: 2rem;
	position: relative;
	top: 0.2rem;
}

h1 { font-size: 1.45em; }  /* step 6 value */
h2 { font-size: 1.45em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.5349em; }
h5 { font-size: 1.2994em; }
p { font-size: 1.1em; }  /* step 5 value */
small { font-size: .9312em; }
span { font-size: 0.8em;}

header{
    display: flex; /* put things side by side */
    background-color: rgb(145, 136, 248);
    height:  2rem; /* 1rem = 16px */
    line-height: 2rem;/* line of the text = vertically centered tex */
    color: white; /* text color */
}

footer {
	background-color:#685E80;
	height: 200px;
	color: white;
	font-size: 16px;
	font-weight: 900;
	font-style: normal;
	padding: 2rem;
}

body.overall-health aside{
 background-color: rgb(163, 78, 238);
  margin: 1rem;
  padding: 1rem;
}

main{
  margin: 1rem;
}

body.overall-health ul{
padding-top: 1rem;
padding-bottom: 1rem;
}

body.hair-care ul{
padding-top: 1rem;
padding-bottom: 1rem;
}

p {
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 1rem;
}
    .button[type="reset"] {
        margin-right: 1rem;
    }    

    h2 {
        margin: 2rem 0 0.5rem 0;  
        /* top, right, bottom, left */

        line-height: 1; 
        /* titles need less leading than paragraphs, experiment by adding decimal values like 1.25 or 1.11567 */
    }

    h2 {
        margin: 1.75rem 0 0.25rem 0;  
        /* Experiment with em vs rem to see the difference, choose your preferred appearance */
    }

    p {
        margin: 0 0 1rem 0;
        line-height: 1.3; 
        /* paragraphs need more leading than titles, experiment with decimal values between 1 and 2 */
    }

    body.overall-health ul{
          margin: 0 0 1rem 0;
        line-height: 1.3; 
    }
 

    .primary-navigation {
        display: flex;
        justify-content: end;
        padding: 4px;
    }

 ul#menu.show-nav {
      background-color: rgb(202, 217, 243);
      top: 1.5rem;
      width: 100%;
      padding: 1rem;
  }

        #menu svg {
        display: inline-block;
        height: 2rem;
        width: 2rem;

        position: relative;  /* relative to the SVG's default position */
        top: 0.7rem;
    }

        button:hover {
        cursor: pointer;
        }

            ul#menu.show-nav {
        background-image: url(bgimg/);
        background-size: 16.2rem;
        background-repeat: no-repeat;
        background-position: 287% 50%;
    }

        ul#menu.show-nav {
        top: 1.5rem;
    }

        @media only screen and (min-width: 64rem) {
        button {
            display: none;
        }

        #menu {
            display: flex !important;  /* !important will override the display: none which is the mobile default */
        }
    }

        main a:link {
        color: blue;
        text-decoration: none;
    }

    main a:visited {
        color: gray;
    }

    main a:hover {
        text-decoration: underline;
    }

    main a:active {
        color: magenta;
    }

        footer a:link {
        color: blue;
        text-decoration: none;
    }

    footer a:visited {
        color: rgb(45, 38, 53);
    }

    footer a:hover {
        text-decoration: underline;
    }

    footer a:active {
        color: magenta;
    }

        .card {
        border: 1px solid #444;
        max-width: 300px;
        margin: 2rem auto;
        padding: 2rem 1rem 2rem 1rem;
        border-radius: 12px;
        background-position: 50% -120%;
        background-size: 300px;
        background-repeat: no-repeat;
    }

    .readmore {
        display: block;
        background-color: rgb(215, 168, 251);
        width: fit-content;
        padding: 1rem;
        color: rgb(8, 0, 0);
        font-weight: bold;
        margin: 2rem auto 0 auto;
        border-radius: 12px;
        box-shadow: 0px 0px 4px #444;
    }

    main a:visited {
	color: rgb(63, 55, 76);
}

    body.overall-health main ul {
      list-style: decimal;
      padding: 1rem;
     }

 body.overall-health aside ul {
	list-style: decimal;
	padding: 0.5rem;
}

     main {
	margin: 0.5rem;
}

img {
	max-width: 100%;
	height: auto;
	margin: 0.7rem;
}

img {
	max-width: 90%;
	height: auto;
	margin: 0.7rem;
}

main ul {
	list-style: disc;
	margin-bottom: 1rem;
}

img {
	max-width: 100%;
	height: auto;
	margin: 0rem auto;
    display: block;
}

figure {
	max-width: 300px;
	margin: 1rem auto;
}

span {
    padding-left: 0.3rem;
    padding-right: 0.5rem;
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h2  {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h4  {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

h3  {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body.hair-care ul {
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 2rem;
}

main ul {
	list-style: disc;
	margin-bottom: 1rem;
	margin-left: 2rem;
}

body.overall-health ul {
	margin: 0 0 1rem 0;
	line-height: 1.3;
}

header img {  /* add header to the selector to individually control the logo image */
    max-width: 100%;
    height: auto;
    margin: 0 auto;  /* set zero margins around the images */
    display: block;
}

header{
    display: flex; /* put things side by side */
    background-color: rgb(145, 136, 248);
    height:  2rem; /* 1rem = 16px */
    line-height: 2rem;/* line of the text = vertically centered text */
    color: white; /* text color */
    flex-direction: row;
    justify-content: flex-start;  /* align the items at the start of the box */
    padding: 0;  /* no space between header and the image */
}

button {
padding: 0 !important;
background-image: url(bgimg/hamburger.svg);
background-size: contain;
height: 1rem;
width: 1rem;
position: relative;
top: 1.8rem;
}

span {
	padding-left: 1rem;
	padding-right: 2rem;
}

header img {
	max-width: 100%;
	height: auto;
	margin: 0;
	display: block;
}

body.contact {
    background-image:url(bgimg/alexander-grey-SavQfLRm4Do-unsplash.jpg) ;
    background-size: cover;
}

body.hair-care ul {
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0rem;
}
