/* any element */

/*
TODO:
  * make work on iPhone
  * check Android default browser
 */


/* Colors:
  Purple: lilac=
    #bca7c4;  lilac -- pulled off of flower
    #826090;  purple -- color of main text
    #413048;  dark -- 1/2 of purple, used for headings
    #a082ab;  medium -- unused
  Gold:
    #f6d670:  yellow
    #f2c84c:  mustard/gold
    #E9B12F:  from the picture
  Possible whites: #F8F8FA, #F6F7F9
 */

@font-face {  /* Needs to be before any styles */
  font-family: 'bold';
  src: url('fonts/QumpellkaNo12.otf'); /* a bit hard to read */
  font-weight: normal;
  font-style: normal;
}

/* <-- how to limit size for mobile devices

@font-face {
}

@media (min-width: 1000px) { 
  body {
    font-family: 'FontName', Fallback, sans-serif; 
  }
}
*/
 

* {
  margin:0;
  padding:0;
}

p, li, ul {
  color: #826090; /* medium purple */
}

p#signed {
  text-align: right;
  color: #413048; /* dark purple */
  padding-right: 35px;
}

body {
  background:#F8F8FA; /* bluish white */
  padding: 5px 0 20px;
  font:normal 12px/18px Georgia, Times, serif;
  font-style:italic; /* Have to download the italic font w/Aref+Ruqaa:italic */

}

aside {
  position: fixed;  /* relative to browser window */
  width: 5em;
}

aside.center {
  text-align: center;
  margin-top: 1em;
}

.middle {
  position: relative;
  top: 0;
  left: 5em;
  width: 500px;
}

/*
 * HEADER
 */

header {
  z-index: -1;
  position: relative;
  left: 0px;
  top: 0px;
  width: 500px;
  height: 311px;  /* 311 px matches the picture */
  background: #ffffff;
}


.cloudy { /* doesn't seem to be working out */
  background: rgba(255, 255, 255, 0.3);
  width: 450px;
  height: 5em;  /* if you change this, change .cloudy > #ybyw, below */
  line-height: 5em; /* height of .cloudy */
  left: 25px;
  text-align: center;
  bottom: 50px;
  z-index: 10;
  position: absolute;

  font-style: normal;
  font-size: 30px;
  font-family: "bold", Georgia, serif;
}

/*
.cloudy > #ybyw {
  line-height: 7em; /* height of .cloudy
}
*/


/*
 * NAV
 */

nav {
  font-style:normal;
  font-family: "bold", Georgia, serif;
  color: #413048;
}

nav a:link {
  color: #413048;
  text-decoration:none;
}
nav a:visited {
  color: #413048;
  text-decoration:none;
}
nav a:hover {
  color: #f6d670; /* yellow */
  text-decoration:none;
}

nav > div {
  display: inline-block;
  zoom: 1;
  width: 15%; /* 1/6 since there are 6 pieces we're spreading evenly */
  text-align: center;
  vertical-align:middle;
}


/*
 * BODY
 */

section {
  position: relative;

  background: rgba(255, 255, 255, 0.6);   /* 60% opaque white */
  width: inherit;
  padding-top: 1em;
  padding-bottom: 1em;
}

section>h1 {
  font-family: "bold", Georgia, serif;
  font-style: normal;
  padding-left: 5px;
  padding-bottom: 10px;
  color: #413048; /* 1/2 of the paragraph color */
}

section>p {
  font-size: 14px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 1em;
}

section>ul, section>li {
  font-size: 14px;
  padding-left: 55px;
  padding-right: 25px;
  padding-bottom: 1em;
}

hr {
  /* browser independent size and color (I think) */
  height: 1px;
  color: #413048;
  background-color: #413048;
  border: none;

  margin: 1em 0; /* vertical placement */

  width: 80%;
  margin-left: auto;  /* center */
  margin-right: auto; /* center */
}

.keywords {
  display: none;
}

/*
 * FOOTER
 */

footer {
  width: 500px;
  position: relative; /* relative to 1st non-static ancestor, ignores float */
  text-align: center;
  vertical-align: middle;
  height: 2em;
  bottom: 0px;
  left: 5em;
}
