/* globals */
*{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box;
    box-sizing:border-box;
}

::-moz-selection {
    background: #595959;
    color: #c9c0b0;
}
::selection {
    background: #595959;
    color: #c9c0b0;
}

/* general */
body {
    background: #272c39;
}

.main {
    background: inherit;
    font-family: "Palatino", Times, serif;
}

.header, .progbar, .headimage, .story {
    width: 90%;
    margin: auto;
}

.header {
    background: inherit;
    padding: 6px;
    position: relative;
}

h1 {
    text-align: center;
    font-variant: small-caps;
    color: #c9c0b0;
    font-size: 13pt;
}

.indent {
    padding-left: 30px;
    font-size: 90%;
    font-style: italic;
    /*line-height: 8pt;*/
}

.center {
    text-align: center;
}

.headimage {
    max-width: 700px;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

img.cc-logo {
    max-width: 120px;
}

/* if 'sticky' is supported:
   header and progbar-buttons will remain visible at the top of the screen */
@supports(position:sticky) {
    .header {
        position: -webkit-sticky;
        position: sticky;
        top: 0px;
    }
    .progbar-buttons {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
    }
    .progbar {
        height: auto;
    }
    .progress {
        margin-top: 6px;
        margin-bottom: 12px;
    }
}


/* story */
.story {
    padding-top: 4%;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 4%;
    background-image: url("media/Nyasa80.png");
    color: #404040;
    margin-top: -6px;
    margin-bottom: 30px;
    max-width: 700px;
    font-size: 11pt;
    line-height: 18pt;
}

.instruction {
    font-size: 95%;
    text-align: center;
    font-style: italic;
}

.about {
    font-family: Tahoma, Helvetica, sans-serif;
}

.buttons {
    margin-top: 30px;
}

.button {
    font-size: 11pt;
    color: #c9c0b0;
    /* make a button */
    border-radius: 15px;
    text-align: center;
    padding: 18px;
    /* center it with some white space between and below final */
    width: 60%;
    float: left;
    margin-left: 20%;
    margin-bottom: 24px;
}

.choice {
    background: #282e23;
}

.back {
    background: #595959;
    width: 40%;
    margin-left: 30%;
}

/* button behaviour */
a {
    color: inherit;
    text-decoration: none;
}

a.choice:hover, a.choice:active, a.back:hover, a.back:active {
    color: whitesmoke;
}

a.inactive, a.inactive:hover, a.inactive:active {
    background: #595959;
    color: whitesmoke;
    cursor: default;
}

/* footer */
.footer {
    text-align: center;
    color: #c9c0b0;
    margin-bottom: 24px;
}
.footer-logo {
    padding-top: 12px;
}


/* to keep the choices from pushing the header etc out of the way */
.spacer {
    clear: both;
}

/* responsive! */
@media only screen and (min-width:391px) {
  h1 {
    font-size: 14pt;
  }
  .story {
    font-size: 10.5pt;
  }
}


@media only screen and (min-width:568px) {
  h1 {
    font-size: 15pt;
  }
  .story {
    font-size: 11pt;
  }
}

@media only screen and (min-width:760px) {
  h1 {
    font-size: 16pt;
  }
  .story {
    font-size: 12pt;
  }
}

@media only screen and (min-width:1024px) {
  h1 {
    font-size: 18pt;
  }
  .story {
    font-size: 13pt;
  }
}

