/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* Palette */
/* Defaults */
* {
  box-sizing: border-box;
}

body {
  font-family: Tahoma, "DejaVu Sans Condensed", sans-serif;
  font-size: 14pt;
  background: url('../img/1280px-Old-castle.jpg?1421800589') top center no-repeat;
  background-attachment: fixed;
  background-size: cover;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

h1, h2 {
  padding: 0.5em 0;
  font-weight: bold;
}

h1 {
  font-size: 180%;
  color: white;
}

h2 {
  font-size: 165%;
  color: #017cac;
}

p {
  padding: 0.5em 0;
  line-height: 125%;
}

a {
  color: #004560;
  font-weight: bold;
  text-decoration: none;
}

/* Layout */
section > div, footer > div {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 0.25em;
}

section:not(#intro):not(#share), footer {
  margin-top: 4rem;
  border-top: 3px solid rgba(255, 255, 255, 0.6);
}

section:not(#intro) p {
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

#intro {
  padding: 2em;
  font-size: 18pt;
  color: white;
  min-height: 4em;
}
#intro a {
  color: white;
}

#intro, #share {
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  text-align: center;
}

#whatisit {
  background: white;
  background: url('../img/icon1.png?1421628174') 0 -60px no-repeat rgba(255, 255, 255, 0.8);
}

#nofop {
  background: white;
  background: url('../img/icon2.png?1421628175') 0 -60px no-repeat rgba(255, 255, 255, 0.8);
}

#wepropose {
  background: white;
  background: url('../img/icon3.png?1421628175') 0 -60px no-repeat rgba(255, 255, 255, 0.8);
}

#why {
  background: white;
  background: url('../img/icon4.png?1421628176') 0 -60px no-repeat rgba(255, 255, 255, 0.8);
}

#share {
  padding-top: 3em;
  padding-bottom: 300px;
  border-top: none;
}
#share p {
  padding: 1em 0 6em 0;
}
#share h2 {
  color: white;
}

footer {
  background-color: #0d0d0d;
  color: #f2f2f2;
  font-size: 9pt;
  border-top: 2px solid gray;
  padding: 2em 0.5em;
}
footer ul {
  text-align: left;
  padding: 0 2em;
  list-style: square;
}
footer a {
  color: #15bdfe;
}

/* Modules */
#langswitch {
  padding-top: 0.5em;
}
#langswitch a {
  font-size: 80%;
  color: white;
  padding: 0 0.5em;
  font-weight: normal;
}

.changes-needed {
  background: #aa4;
  padding: 0.5em;
}

.button {
  display: inline-block;
  padding: 0.5em 1.5em;
  margin: 0.2em;
  -moz-border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  border-radius: 0.2em;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  color: white;
  position: relative;
}
.button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

#share #support {
  font-size: 175%;
}

#share-link {
  display: inline-block;
  padding: 0.5em 1.5em;
  margin: 0.2em;
  -moz-border-radius: 0.2em;
  -webkit-border-radius: 0.2em;
  border-radius: 0.2em;
  background: #61d2fe;
  background: rgba(97, 210, 254, 0.8);
  color: white;
  position: relative;
}
#share-link:hover {
  background-color: rgba(148, 225, 255, 0.8);
}

.illustration {
  padding: 0.25em;
  max-width: 100%;
  display: block;
}

@media screen and (min-width: 480px) {
  #hashtag, #langswitch {
    position: absolute;
    top: 0.3em;
  }

  #hashtag {
    right: 0.3em;
  }

  #langswitch {
    left: 0.3em;
  }
  #langswitch a {
    padding: 0 0.25em;
  }

  .illustration {
    float: right;
    margin-top: -3rem;
    margin-right: 2rem;
    max-width: 300px;
  }
}
