/* styles.css */
 body {
  background-image: url(pix/background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-color: black;
  font: 90%/1.3 lucida grande, segoe ui, sans-serif;
}

h1,h2,h3,h4 {
  color: #678;
  text-align: center;
  font-family: helvetica neue, lucida grande, segoe ui, sans-serif;
  padding-top: .3em;
}

a {
  color: #263485;
}

#wrapper {
  width: 97%;
  min-width: 900px;
  max-width: 1100px;
  margin: 10px auto;
  /* White for older browser, rgba for newer */
  background: white;
  background: rgba(255,255,255,.5);
  border-radius: 6px;
  text-align: left;
}

/* Make HTML5 layout elements block elements for older browsers */
header, nav, aside, article, footer, section {
  display: block;
}

/* Style that applies to both header and footer */
header, footer {
  height: 15%;
  width: 100%;
  padding: 1%;
}

header {
  top: 0;
  left: 0;
  border-radius: 10px 10px 0 0;
}

footer {
        font-size: 11px;
        clear: both;
        text-align: center;
        width: 100%;
}

nav {
        text-align: center;
        font-size: 14px;
        margin-top: .6em;
}

nav a {
        background-color: rgba(255, 255, 255, 0.4);
        text-align: center;   
        margin: 16px 0 0 -.31em;
        padding: 7px 7px 8px 7px;
        text-decoration: none;
        outline: none;
}

nav a:hover, nav a:active {
        background-color: rgba(255, 255, 255, 0.7);
}

nav a:first-child {
  padding-left: 13px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

nav a:last-child {
  padding-right: 13px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* Main article sized to fit inside header, footer nav */
article {
  margin: 10px 0;
  padding: 10px;
  background: rgba(255,255,255,.2);
}

.x, article > * {
  max-width: 44em;
  margin: 10px auto;
}
.x {
  max-width: 46.5em;
}

.name {
  font-weight: bold;
  margin-left: .2em;
  color: #567;
}
