/* ======================= 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: 1.5rem;
  width: 1.5rem;
}
/* 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 32px 0;
    padding: 32px;
}


/* ======================= 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;
  }

/* ============================== Contact form  ============================== */

    fieldset {
        margin: 1rem;
        border: 3px solid #444;
        border-radius: 1rem;
        padding: 1rem;
    }
        input:not(.button), textarea, select {
        display: block;
        margin: 0;
        width: 100%;
        border-radius: 1rem;
        background-color:rgb(220,232,200);
    }
       input[type="text"] {
        margin-bottom: .5rem;
        border-radius: 1rem;
        background-color: rgb(220,232,200);
    }
        legend {
        padding: 0 0.5rem;
    }
        label {
        margin-bottom: 0.35rem;
        display: block;
    } 
        .align-right {
        display: flex;
        margin: 1rem;

        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;
        border-radius: 1rem;
        background-color:rgb(220,232,200);
    }
    .button[type="submit"] {
        margin-right: 1rem;
        border-radius: 1rem;
        background-color:rgb(220,232,200);
    }
        .comment-box {
        padding-top: 4rem;
        background-image: url(img/typing-01.svg);
        background-repeat: no-repeat;
        background-size: 4rem;
        background-position: 90% 1rem;
    }
    

/* ====================== Navigation menu  ====================== */

    .primary-navigation {
        display: flex;
        justify-content: end;
        padding: 0px;
    }

     ul#menu.show-nav {
      background-color: rgb(220,232,200);
      top: 2rem;
      width: 40%;
      padding: 0rem;
    }
    #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;
        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;
    }
        @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 */
        }
    }
    
/* ========================== Typography ========================== */
          h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      label,
      legend {
        font-family: "Bitcount Prop Single", system-ui;
        font-optical-sizing: auto;
        font-weight: 350;
        font-style: normal;
        color: rgb(27,97,74);
        font-size: 30px;
        margin-top: 1rem;
        margin-bottom: 1rem;
}

      body {
        font-family: "Playfair Display", serif;
        font-optical-sizing: auto;
        font-weight: 550;
        font-style: normal;
        color: rgb(27,97,74);
        font-size: 15px;
        }

    h1{
        font-size: 70px;
    }
    h2{
        font-size: 40px;
    }
/* =============== Header ================== */
Header{ 
    background-color: rgb(220, 232, 200);
    text-align: center;
    font-size: 30px;
    border: 5px solid #ffffff;
    max-width: 700px;
    margin-top: 1rem;
    padding: 2rem 1rem 2rem 1rem;
    border-radius: 15px
}
    
/* ================ Body ===================*/
body {
    background-color: rgb(161, 180, 140);
    text-align: center;
    margin: 1rem;
    padding: 0rem 1rem 0rem 1rem;
}


/* ============================ Cards ============================ */
    .card {
        border: 5px solid #ffffff;
        max-width: 400px;
        max-height: 400px;
        margin: 2rem auto;
        padding: 2rem 1rem 2rem 1rem;
        border-radius: 20px;
        background-color: rgb(220,232,200);

        background-position: 50% -120%;
        background-size: 300px;
        background-repeat: no-repeat;
        text-align: center;
    }

    .history {
        background-image: url(bgimg/red-square.svg);
    }

    .digital {
        background-image: url(bgimg/green-square.svg);
    }

    .film {
        background-image: url(bgimg/blue-square.svg);
    }

    .readmore {
        display: block;
        background-color: rgb(106,135,99);
        width: fit-content;
        padding: 1rem;
        color: rgb(255, 255, 255);
        font-weight: bold;
        margin: 2rem auto 0 auto;
        border-radius: 12px;
        box-shadow: 4px 4px 4px #444;
    }
/* =============== aside ================== */
aside {
    color: rgb(0, 0, 0);
    background-color: rgb(186, 211, 169);
    max-width: 200px;
    border-radius: 15px;
    padding: 1rem .5rem 1rem .5rem;
    margin: 2rem 8rem .5rem 8rem
}
/* =============== footer ================== */
footer {

    background-color: rgb(220,232,200);
    color: rgb(255, 255, 255);
    padding: 1rem;
    text-align: center;
    height: 200px;
    border: #000000;
    border-radius: 15px;
    box-shadow: 4px 4px 4px 
    rgb(60, 60, 60);

    background-image:
    url(bgimg/ap1.svg),
    url(bgimg/chemistry.svg),
    url(bgimg/icon.svg),
    url(bgimg/phone.svg);

    background-size: 
    100px,
    100px,
    100px,
    100px;

    background-repeat: 
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;

    background-position: 
    15% 0%,
    15% 100%,
    85% 100%,
    85% 0%;  /*left/right top/bottom*/

    padding: 1rem 2rem 3rem 2rem; /*clockwise, starting at noon*/  
}
.menu-bottom li{
    margin-bottom: .75rem;
}

/* =============== loVHA ================== */
li a:link svg{
    filter: none;
}
li a:visited svg{
    filter: invert(30%)
}

li a:hover svg {
    filter: invert 50%
}

li a:active svg{
    filter: blur(2px)
}

a:link {
    text-decoration: none;
}
a:visited {
    color: rgb(255, 255, 255);
}
a:hover {
    text-decoration: underline;
    color: #444;
}
a:active {
    color:rgb(0, 0, 0);}