/* ======================= 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 */


#menu.show-nav li {
	margin: 0;
    padding: 0;
}


/* ======================= END BASIC NAVIGATION FUNCTIONALITY =================================== */


.primary-navigation {
    display: flex;
    justify-content: end;
    padding: 4px;
}

 #menu svg {
            display: inline-block;
            height: 2rem;
            width: 2rem;
        }

ul#menu.show-nav {
	background-color: #97c2d3;
	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;
            }

 #menu.show-nav li {
            margin: 0 0 1rem 0;
            padding: 0;
        }

    ul#menu.show-nav {
      background-image: url(bgimg/navigation.svg);
      background-size: 16.2rem;
      background-repeat: no-repeat;
      background-position: 287% 50%;
    }

.card {
	border: 1px solid #444;
	max-width: 300px;
	margin: 2rem auto;
	padding: 2rem 1rem 2rem 1rem;
	border-radius: 12px;
	background-position: 50% -30%;
	background-size: 300px;
	background-repeat: no-repeat;
}

.readmore {
	display: block;
	background-color: orange;
	width: fit-content;
	padding: 1rem;
	color: white;
	font-weight: bold;
	margin: 2rem auto 0 auto;
	border-radius: 12px;
  box-shadow: 0px 0px 4px #444;
}

.dogs {
            background-image: url(bgimg/red-square.svg);
        }

        .fish {
            background-image: url(bgimg/green-square.svg);
        }

        .why {
            background-image: url(bgimg/blue-square.svg);
        }



 /* ========= CODE ========== */

      fieldset {
        margin: 1rem;
        border: 1px solid #444;
        padding: 1rem;
      }

      input:not(.button),
      textarea,
      select {
        display: block;
        margin: 0;
        width: 100%;
      }

      input[type="text"] {
        margin-bottom: 1rem;
      }

      legend {
        padding: 0 0.5rem;
      }

      label {
        margin-bottom: 0.35rem;
        display: block;
      }

      .align-right {
        display: flex;

        justify-content: flex-end;
        /* Send buttons to the end of the flex box, ie right */

        margin-right: 1rem;
        /* match the width of the margin of the fieldset so it aligns */
      }

      .button[type="reset"] {
            margin-right: 1rem;
        }  


    .comment-box {
	padding-top: 15rem;
	background-image: url(bgimg/typing-01.svg);
	background-repeat: no-repeat;
	background-size: 18rem;
	background-position: 90% 1rem;
}



 @media only screen and (min-width: 64rem) {
            button {
                display: none;
            }

            #menu {
                display: flex !important;
            }
        }


/*
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;
  }