/* Styles for corningbikes.org */

body {
  color: #000000;
  font: 1.1em/1.7 sans-serif;
  max-width: 34em;
  margin: 0 auto;
  padding: 1em 3%;
  background: url(images/corning-bikes-social-ride.jpg) no-repeat center top fixed;
  background-size: cover;
}
a {
  text-decoration: underlined;
  color: #000;
}
a[href]:link,
a[href]:visited {
  font-weight: bold;
}
a[href]:hover,
a[href]:focus,
a[href]:active {
  font-weight: bold;
  text-decoration: none;
}

h1 {
  margin-bottom: 0;
  font-size: 1.1em;
  line-height: 1.4em;
  text-transform: uppercase;
}
h2 {
  font-size: 1.25em;
  line-height: 1em;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  border: 0;
}
p, ul {
  margin: 1em;
}
section,article,aside,nav,
header,footer {
  display: block;  
}

header {
  position: relative;
  text-align: center;
  font-weight: bold;
  background-color: rgba(255,255,255,0.7);
  padding: 1em;
  margin: 0;
}
header img {
  max-width: 70%;
  margin: auto 10px;
}

section {
  text-align: center;
  padding: 1em;
}

section#connect {
  background: rgba(204, 255, 102, 0.9);
}

section#ride {
  background: rgba(102, 204, 255, 0.9);
}

section#survey {
  background: rgba(255, 102, 204, 0.9);
}

ul {
  margin: auto;
  padding-left: 0;
  overflow: hidden;
}
li {
  list-style: none;
  padding: 1em;
  text-align: center;
  display: inline;
}
a {
  text-decoration: none;
  background: none;
  padding: 0;
}

@media all and (min-width: 37.5em) {
  body {
    line-height: 2.15;
    font-size: 1.2em;
    padding: 0 3%;
  }
  section ul {
    margin: 0 8%;
  }
}
