html { font-size: 100%; margin: 0; padding: 0; }

main{

    padding: 1rem;
}

body.home {
background-color: rgb(103,120,111);
margin: 0;
padding: 0;
background-image: url(../img/abigail-keenan-8-s5QuUBtyM-unsplash.jpg);
background-size:235%;
background-repeat: no-repeat;
background-position: -230px 71px;
}

body.origins {

    background-color: rgb(118, 137, 127);
    margin: 0;
    padding: 0;

}

body.rise {

    background-color: rgb(118, 137, 127);
    margin: 0;
    padding: 0;
}


body.expansion {
background-color: rgb(118, 137, 127);
    margin: 0;
    padding: 0;
}


body.contact {
background-color: rgb(118, 137, 127);
    margin: 0;
    padding: 0;
}

form {

border: 1px solid red;
padding: 1rem;
}

fieldset {

    border: 1px solid black;
    margin: 0rem 0.5rem 2rem 0.5rem;
    padding: 1rem;
}

label, input {

    display: block;
    width: 100%;
}

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

textarea {

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

.align-right {

    display: flex;
    justify-content: end;
}

input[type="submit"] {

    margin: 0 0.55rem;
    background-color: green;
}

input[type="reset"] {

    margin: 0 0.55rem;
    background-color: rgb(255, 0, 0); }

.button {

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

.button:hover {

    filter:opacity(0.5);
}

header {
    background-color: rgb(103,120,111);
    display: flex;
    padding: 0.3rem;
    color: white;
    font-size: 1.5rem;
    padding: 3.4%;
    height: 3.1rem


      /* set elements side-by-side */
}

#logo {
    height: 3.5rem;
    width: auto;
    flex: 1;  
}

header div {
    flex: 3;

margin-top: 13px;
font-size: 24px;
color: rgb(255, 255, 255);





}  /* 3 times more space for div than logo */


.icon.home {
    position: absolute;
    top: -0.5rem;
    left: 0.4rem;
  }


  .icon.origins {
    position: absolute;
    top: -0.5rem;
    left: 4.3rem;
  }

  .icon.rise {
    position: absolute;
    top: -0.5rem;
    left: 8.4rem;
  }

  .icon.expansion {
    position: absolute;
    top: -0.5rem;
    left: 12rem;
  }

  .icon.contact {
    position: absolute;
    top: -0.5rem;
    left: 16.8rem;
  }








nav {
    width: 300px;  /* fits in 320px mobile */
    margin: 0 auto;  /* centered */
    height: 60px;
    padding: 0;
    
    
}

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

.icon {
    height: 50px;
    width: 50px;
    margin: 0;
    padding: 0;
    top: 1px;

}

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

li.expansion svg {
	height: 2.8rem;
	width: auto;
	margin-bottom: 0.125rem;
}

li.home svg {

height: 2.8rem;
width: auto;
margin-bottom: 0.125rem;
}

li.origins svg {

    height: 2.8rem;
    width: auto;
    margin-bottom: 0.125rem;
    }
    
    li.rise svg {

        height: 2.8rem;
        width: auto;
        margin-bottom: 0.125rem;
        }
        li.contact svg {

            height: 2.8rem;
            width: auto;
            margin-bottom: 0.125rem;
            
            }










.home { 
    left: 5px;
}

.origins {
    left: 65px;
}

.rise {
    left: 125px;
}

.expansion {
    left: 185px;
    top: 0.325rem;
}

.support span {
    top: -0.6rem;
    left: -0.25rem;
}

.contact {
    left: 245px;
}


a span {
    display: block;
    width: 100%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    position: relative;
    top: -0.3rem;
}





/* =========== LoVeHA Rule for Text Links =========== */

a {
    position: relative;
    margin: 0.5rem;
}

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

a:visited {color: rgb(0, 0, 0);}

a:hover {text-decoration: underline;}

a:active {color: magenta;}




/* =========== LoVeHA Rule for SVG Links =========== */

a:link svg {
    fill: #009fff;
}

a:visited svg {fill: #000000;}



@keyframes wiggle {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(4deg); }
    95% { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}

a:hover svg  {
    animation: wiggle 0.5s infinite;
}

a:active svg {fill: magenta;}


li.currentPage::before {
    position: absolute;
    content: " ";
    top: 2px;
    left: 0px;
    display: block;
    z-index: 1;
    height: 1rem;
    width: 1rem;
    background-size: contain;
    background-image: none;
    background-repeat: no-repeat;
}

li.support.currentPage::before {
    top: 5px;
    left: -8px;
}

li.faq.currentPage::before {
    top: 5px;
    left: -8px;
}

h1 { font-size: 1.89em; }
h2 { font-size: 1.6702em; }
h3 { font-size: 1.4759em; }
h4 { font-size: 1.3042em; }
h5 { font-size: 1.1525em; }
h6 { font-size: 1.0185em; }
p { font-size: .9em; }
small { font-size: .7953em; }

h1 {

color: rgb(255, 255, 255);
text-shadow: 2px 2px 2px #444;
font-family: 'Stix';
font-size: 2rem;

}


h2 { color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #444;
    font-family: 'Stix';
    font-size: 1.7818em; 
margin-top: 2rem;
margin-bottom: 0.5rem;
}

h3 { color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #444;
    font-family: 'Stix';
    font-size: 1.5874em; 
    margin-top: 2rem;
    margin-bottom: 0.5rem;}

h4 { color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #444;
    font-family: 'Stix';
    font-size: 1.4142em; 
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;}

h5 { color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #444;
    font-family: 'Stix';
    font-size: 1.2599em;
    margin-top: 2rem;
    margin-bottom: 0.5rem; }

h6 { color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #444;
    font-family: 'Stix';
    font-size: 1.1225em; 
    margin-top: 2rem;
    margin-bottom: 0.5rem;}

   


p { font-size: 0.9em; 
font-family: 'Rubik';}

small { font-size: .8909em; }


    img {

        max-width: 100%;
        height: auto;
        margin: -0.1rem 0 4rem 0;
    }

    @font-face {
        font-family: 'Rubik';
        src: url(../img/Rubik-Light.ttf);

    }

    @font-face {
        font-family: 'Stix';
        src: url(../img/STIXTwoText-Bold.ttf);
    }

    .custom-heading {
        font-size: 0.7em;
         color: rgb(255, 255, 255);
            text-shadow: 2px 2px 2px #444;
            font-family: 'Stix';
            margin-top: 2rem;
            margin-bottom: 0.5rem;
        position: relative;
    top: -5.7rem ;
    left: 3.8rem ;}

   .custom-heading-2 {

    color: rgb(255, 255, 255);
            text-shadow: 2px 2px 2px #444;
            font-family: 'Stix';
            font-size: 3.182em; 
            margin-top: 17rem;
            margin-bottom: -2.5rem;
        position: relative;
    top: -22.5rem ;
    left: 2.1rem;}

    .copyright {

        font-size: 0.9em;
  font-family: 'Rubik';
  position: relative;
  margin-bottom: 5rem;
  top: 4.7rem;
  left: 5.9rem;
    }



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

#menu { 
      display: none;
}

#menu.show-nav {
    display: flex;
    position: absolute;  /* position the menu */
    z-index: 100;
    top: 4.5rem;
    right: 0rem;
    
    background-color: rgb(255, 255, 237);  /* style the dropdown menu */
    padding: 1rem;
    width: 90.5%;
    margin: 0.4rem auto;
    border: 1px solid #444;
    height: 2.5rem;
} 
#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.1rem;
        margin: 1.3rem 0;  /* space apart for easier finger tapping */
        display: flex;
        position: absolute;
        top: -0.7rem;
      }
      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: 3rem;
        flex-direction: column;
    }
   

   

    .navigation { display: flex; 
    
        position: relative;
        top: 5rem;
        
    
    }

    footer .navigation {
        list-style: none; 
        padding: 0;       
        margin: 0;
left: 1rem
    }

    .creds {

        position: relative;
  top: -4rem;
  left: 0rem;
  font-size: 0.5rem;
}
    
.creds-2 {

    position: relative;
top: -4rem;
left: 0rem;
font-size: 0.5rem;
}

