/* ======================= 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 0 1rem 0;
        padding: 0;
    }
/*spreads the links apart so they're easier to click*/

    ul#menu.show-nav {
        background-image: url(bgimg/poison-svgrepo-com.svg);
        background-size: 16rem;
        background-repeat: no-repeat;
        background-position: 240% 50%;
        
    }
    /*Can now decorate the nav menu*/

    ul#menu.show-nav {
        top: 1.5rem;
    }
    /*nav no longer covers the hamburger menu*/

    @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 */
        }
    }
    /*On desktop (ONLY) there is no hamburger menu, it will show as part of the header*/


/* ======================= END BASIC NAVIGATION FUNCTIONALITY =================================== */

/* ========================================== NAVIGATION MENU ====================================== */

    .primary-navigation {
        display: flex;
        justify-content: start;
        padding: 6px;
        background-color: #743752;
    }
    /*Moves the navigation menu*/

     ul#menu.show-nav {
        background-image: url(bgimg/grape.svg);
        background-size: 20rem;
        background-repeat: no-repeat;
        background-position: 150% 50%;
      background-color: #a24864;
      top: 1.5rem;
      width: 100%;
      padding: 1rem;
  }

  .primary-navigation a:link { color:#d77f8e ;}
  .primary-navigation a:visited { color: #e3c0d3;}
  .primary-navigation a:active { color: #c6be93;}
  /*Adds a background color to the navigation menu */

      #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;
    }
    /*Aligns the SVGs with the text*/

          #menu svg {
        display: inline-block;
        height: 2rem;
        width: 2rem;
        position: relative;  /* relative to the SVG's default position */
        top: 0.7rem;
    }
     /* makes the middle of SVGs line up with the text instead of the bottom*/

         button:hover {
        cursor: pointer;
        }
        /*Custom Cursor (wont show on mobile)*/

            #menu.show-nav li {
        margin: 0 0 1rem 0;
        padding: 0;
    }
    /*Spreads links apart for easier tapping on mobile*/

        ul#menu.show-nav {
        background-image: url(bgimg/navigation.svg);
        background-size: 16.2rem;
        background-repeat: no-repeat;
        background-position: 287% 50%;
    }
    /*add bkg img to menu*/

        ul#menu.show-nav {
        top: 1.5rem; 
    }
    /*lowers the dropdown menu so it no longer covers the hamburger icon*/

        @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 */
        }
    }
    /*hide button and display on desktop view*/

/* ============================================== HEADER ============================================== */

header{
  padding: 0.5rem;
  background-color: #a24864;
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: xx-large;
}

.company {
    display: inline-block;
    position: relative;
    padding: 0.5rem;
}


/* ============================================== MAIN ============================================== */

/* ============================================== ASIDE ============================================== */
.aside {
    color: #e3c0d3;
    background-color: #452640;
}

/* ============================================== FOOTER ============================================== */

footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.5rem;
  background-image: url(bgimg/flower_bouquet.svg);
  background-size: 7rem;
  background-repeat: no-repeat;
  background-position: 100%;
  background-color: #a24864 ;
}
footer a:link {
 color: #d77f8e;
}
footer a:visited {
color: #e3c0d3;
}
footer a:active {
 color: #c6be93;
}

/* ============================================== TYPOGRAPHY ============================================== */
.company {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: xx-large;
}

h1,h2,h3,h4,h5,h6,label,legend {
  font-family: "Macondo Swash Caps", cursive;
  font-weight: 400;
  font-style: normal;
  padding-left: 1rem;
  padding-right: 1rem;
}

figcaption {
font-family: "Macondo Swash Caps", cursive;
  font-weight: 100;
  font-style: small;
  padding-left: 2rem;
  padding-right: 1rem;
}

h1,h2{
    padding-top: 1rem;
    padding-bottom: 0.5rem;
     padding-left: 1rem;
  padding-right: 1rem;
}

h3,h4 {
    padding: 0.25rem;
     padding-left: 1rem;
  padding-right: 1rem;
}
p {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  padding: 1rem;
}

h1 { font-size: 2em; }
h2 { font-size: 1.7818em; }
h3 { font-size: 1.5874em; }
h4 { font-size: 1.4142em; }
h5 { font-size: 1.2599em; }
h6 { font-size: 1.1225em; }
p { font-size: 1em; }
small { font-size: .8909em; }

 
/* ============================================== INDEX ============================================== */
.index {
    background-image: url(bgimg/bk3.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.index-title{
    color: white;
}

    .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;
    }

    .gm {
        background-image: url(bgimg/red-square.svg);
        background-color: white;
        opacity: 75%;
    }

    .see {
        background-image: url(bgimg/green-square.svg);
        background-color: white;
        opacity: 75%;
    }

    .pray {
        background-image: url(bgimg/blue-square.svg);
        background-color: white;
        opacity: 75%;
    }

    .readmore {
        display: block;
        background-color: #b6465f;
        width: fit-content;
        padding: 1rem;
        color: white;
        font-weight: bold;
        margin: 2rem auto 0 auto;
        border-radius: 12px;
        box-shadow: 0px 0px 4px #444;
    }

/* ==============================================  GODS & MONSTERS ============================================== */

.monsters-title {
   color:#743752; 
}
.rulers-of-the-underworld {
    background-image: url(bgimg/fruit.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.other-gods {
    background-image: url(bgimg/moon2.gif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 40%;
    background-attachment: fixed;
}
.monsters {
    background-image: url(bgimg/monsters.gif);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* ============================================== DESCRIPTIONS ============================================== */
div.bbkg{
    background: url(bgimg/descriptions1.jpg);
    background-repeat: no-repeat;
}
div.bkg {
    background: url(bgimg/rivers\ copy.jpg);
    background-repeat: no-repeat;
}

div.transbox {
    margin: 15px;
    background-color: rgba(224, 229, 233, 0.557);
}
div.transbox h2,h3,h4,h5,h6,p {
    margin: .5%;
    font-weight: 350;
}

div.bkg1 {
    background: url(bgimg/bkg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

div.transbox1 {
    margin: 15px;
    background-color: rgba(224, 229, 233, 0.4);
}
div.transbox1 h2,h3,h4,h5,h6,p {
    margin: .5%;
    font-weight: 350;
}

/* ============================================== SYMBOLS ============================================== */

div.bkg-d {
    background: url(bgimg/symbols1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

div.bkg-d2{
background: url(bgimg/symbols2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

/* ========================================== CONTACT FORM ====================================== */

 fieldset {
        margin: 1rem;
        border: 1px solid #444;
    }
    /*turns the "tell us where you think you'll end up section (up until phone #) into a box*/

        input:not(.button), textarea, select {
        display: block;
        margin: 0;
        }
/*turns the "how can we direct ur afterlife section into a box*/

    fieldset {
        margin: 1rem;
        border: 1px solid #444;
        padding: 1rem;
    }
/*adds padding to all sections on form*/

    input:not(.button),
    textarea,
    select {
        display: block;
        margin: 0;
        width: 100%;
    }
    /*maximizes width of boxes so users have more typing space*/

       input[type="text"] {
        margin-bottom: 1rem;
    }
    /*Puts box-titles closer to the boxes*/

        legend {
        padding: 0 0.5rem;
    }
    /*adds padding to "section titles" (i.e please leave us a comment or plea)*/

        label {
        margin-bottom: 0.35rem;
        display: block;
    }      
    /* makes the boxes longer*/

        .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 */
    }        
    /* aligns the bottom button to the right side of the page*/

        .button[type="reset"] {
        margin-right: 1rem;
    }    
    /*separates the two bottom buttons*/

       textarea {
  min-height: 100px;
    }
    /* enlarges the area the user can write in in the comment&plea section*/

    .legend{
font-size: x-large;
font-weight: bolder;
color: black;
    }

    .contact-info{
        background-color: #9197ae;
        font-weight: bold;
        color: black ;
    }

    .client-needs {
        background-color: #9197ae;
    }

    .comment-box {
        padding-top: 6rem;
        background-image: url(bgimg/death-grim-reaper-svgrepo-com.svg);
        background-repeat: no-repeat;
        background-size: 6rem;
        background-position: 50% 0.5rem;
        background-color: #9197ae;
    
    }
        /*can now add background images, svgs and colors to the comment & pleas background*/















/*
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;
  }