/* ======================= START BASIC NAVIGATION FUNCTIONALITY =================================== */

nav ul {list-style-type: none;}
/* Hide menu bullets by default */

      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      label,
      legend {
       font-family: "Bungee Inline", sans-serif;
       font-weight: 400;
       font-style: normal;
        color: rgb(244, 181, 81);
      }
/* Classic Typographic Scale */

h1 { font-size: 2.2em; }  /* step 6 value */
h2 { font-size: 1.5em; } 
h3 { font-size: 1.35em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
p { font-size: 1.1em; }  /* step 5 value */
small { font-size: .9312em; }

      body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
    }
  

    .batting {
          border: 1px solid #444;
        max-width: 300px;
        margin: 2rem auto;
        padding: 0rem 1rem 2rem 1rem;
        border-radius: 12px;

        background-position: 50% -120%;
        background-size: 300px;
        background-repeat: no-repeat;
        background-color: red;
    }

    .bowling {
        border: 1px solid #444;
        max-width: 300px;
        margin: 2rem auto;
        padding: 0rem 1rem 2rem 1rem;
        border-radius: 12px;

        background-position: 50% -120%;
        background-size: 300px;
        background-repeat: no-repeat;
        background-color: chartreuse;
    }

    .tournaments {
          border: 1px solid #444;
        max-width: 300px;
        margin: 2rem auto;
        padding: 0rem 1rem 2rem 1rem;
        border-radius: 12px;

        background-position: 50% -120%;
        background-size: 300px;
        background-repeat: no-repeat;
        background-color: blue;
    }

    .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;
    }
      

    h1 {
        margin: 2rem 0 0.5rem 2rem;  
        /* 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 1.25rem 2rem;  
        line-height: 1.5;
        /* Experiment with em vs rem to see the difference, choose your preferred appearance */
    }
    h3 
    {
        margin: 0 0 1rem 2rem;
        line-height: 1;
    }

    p {
        margin: 0 0 1rem 2rem;
        line-height: 2; 
        /* paragraphs need more leading than titles, experiment with decimal values between 1 and 2 */
    }
   ul {
    margin:0 0 1rem 2rem;
    line-height: 1.6;
   }

   footer
   {
    background-color: darkgreen;
   }

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 */
.primary-navigation {
        display: flex;
        justify-content: end;
        padding: 4px;
}
ul#menu.show-nav {
      background-color: aliceblue;
      width: 100%;
      padding: 1rem;
}
    #menu svg {
        display: inline-block; /* use "inline-block" to place icon next to text; OR use "block" to place icon above text instead */
        height: 2rem;
        width: 2rem;
    }
          #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%;
    }
        ul#menu.show-nav {
        top: 1.5rem; 
    }

ul#menu {
 display: none;
}
/* Hide drop down menu by default when page loads */


ul#menu.show-nav {
  display: block !important;
  background-color: rgb(47, 255, 0);
  
}
/* 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;
}
body {
background-color: rgb(0, 157, 255);
}
li a:link svg { 
    filter: none;
}
li a:visited svg { 
    filter: invert(30%); 
}
li a:hover svg { 
    filter: blur(1px);
}
li a:active svg { 
    filter: blur(2px);
}

a:link{text-decoration: none;}
a:visited{color: rgb(255, 0, 0);}
a:hover{text-decoration: underline;}
a:active{color: magenta;}


   
    fieldset {
        margin: 1rem;
        border: 1px solid #444;
    }

    input:not(.button), textarea, select {
    display: block;
     margin: 0;
     }

         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;
    }    
       textarea {
  min-height: 100px;
    }
    
        .comment-box {
        padding-top: 4rem;
        background-image: url(img/typing-01.svg);
        background-repeat: no-repeat;
        background-size: 4rem;
        background-position: 90% 1rem;
    }
/* ======================= 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;
  }