/*
GWD Simple CSS Reset, v2.2
by Eric Girouard, 2014-2024
Originally based on http://meyerweb.com/eric/tools/css/reset/ (version 2)

Use this CSS Reset if using Normalize's (or Modern CSS Reset's) "opinionated defaults" requires you to write too many overrides (such as: p {margin: 0; padding: 0;} ).

By default elements are made position: relative; to make positioning of absolutely positioned elements simpler.

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	position: relative; /* Added in v.2.1 */
	box-sizing: border-box; /* Added in v.2.2 */
}
/* HTML5 tags */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
	position: relative;  /* Added in v.2.1 */
	box-sizing: border-box;  /* Added in v.2.2 */
}

/* Make images responsive */
img { /* Added in v.2.2 */
  max-width: 100%;
  height: auto;
}

.icon {
    height: 50px;
    width: 40px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 1px;
}

.icon svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #009fff;
}

nav {
   width: 310px;
    margin: 0 auto;  /* centered */
    height: 70px;
    padding: 0;
    background-color: #FA23237A;
}

nav ul.navigation {
    list-style-type: none;
    position: relative;  /* absolute positioning calculated from top/left of this box */
    margin: 0 auto;
    padding: 0;
}

.home {left: 5px;}

.contact {left: 24px;}

.pre {left: 110px;
   top: 5px;}

.pro {left:170px;
        top: 5px;}

.post {left:240px;
        top:3px}
body {
	line-height: 1;
    background-color: #292828 }
ol, ul {
	list-style: none;
	position: relative;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* "border-box" calculates the width and height of an HTML element including the padding and the border. Opposite of the traditional CSS Box Model of "content-box" */

a span {
    display: block;
    width: 20%;
    text-align: center;
      font-family: "Lora", serif;
      font-optical-sizing: auto;
      font-weight: 10;
      font-style: normal;
    font-size: 0.80rem;
    position: relative;
    top: -0.6rem;
}

a {
    position: relative;
}



a:link {
    color: #009fff;
    text-decoration: none;
}

a:visited {color: #FFF8F8;}

a:hover {text-decoration: underline;}

a:active {color: magenta;}


form {
    padding: 1rem;
}

fieldset {
    border:1px solid white;
    margin:0 0.5rem 2rem 0.5rem;
    padding:1rem;
    color: white;
}

label,input {
    display:block;
    width: 100%;
}

textarea {
    width: 100%;
    margin: 0.125rem 0 1.2rem 0;
}

input[type="reset"],
input[type="submit"]{
    margin: 0.125rem 0 1.2rem 0;
}

.align-right {
    display: flex;
    justify-content: end;
}

input[type="reset"] 
{background-color: indianred;}

input[type="submit"]{
    margin:1 0.55rem;
    background-color: mediumseagreen;
}

.button{
    width: 5rem;
    color: white;
    border-radius: 0.5rem;
}

.button:hover {
    filter:opacity(0.5);
}

h1 {
    font-size: 1.5rem;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 1rem;
    padding: 2rem;

}

p {
    color: white;
    font-family: sans-serif;
    font-size: 10px;
    padding: 1rem;
}

footer {
    text-align: center;
    opacity: 30%;
    margin: 5rem;
    background-color:  #625F5F;
  
   

}

figcaption {

    font-size: 10.5px;
    color: white;
   opacity: 30%;
}

button#menu-button {
    height: 2rem;
    width: 2rem;
    display: block;
    border: none;
    background-image: url(../img/hamburger-menu-svgrepo-com.svg); 
    background-repeat: no-repeat;
    background-size: cover;
}

#menu {
    display: none;
}

#menu.show-nav {
    display: block;
}  

/* Add this code to the selector created in Step 3.1 above */
    
#menu.show-nav {
    position: absolute;  /* position the menu */
    z-index: 100;
    top: 0;
    right: 0.6rem;
    
    background-color: rgba(215 39 39 / 0.33);  /* style the dropdown menu */
    padding: 1rem;
    width: 95%;
    margin: 0 auto;
    border: 1px solid #444;
}  

#menu-button {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    padding: 0;
    background-color: transparent;
    z-index: 10;
}

#menu-button:hover {
    cursor: pointer;
    }

    
    
    .hide-text {
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
        padding: 0;
    }

    .icon a img {
        width: 2rem;
        height: auto;
    }

    li.icon {
        width: 100%;
        height: 1.8rem;
        margin: 1.3rem 0;  /* space apart for easier finger tapping */
      }

      li.icon a {
        display: flex;  /* place logo and span side by side */
        justify-content: start; /* align left */
        align-items: center; /* vertically align */
        
        font-family: arial, helvetica, sans-serif; /* style span text as desired */
        font-weight: bold;
        text-decoration: none;  /* remove underline */
        font-size: 1.5rem;
        margin: 0; 
        height: 1.5rem;
    }

    @media only screen and (min-width: 64em) {
        button#menu-button {
            display: none;
        }

        #menu {
            display: flex;
        }
    }

        
    