@font-face {
	font-family: 'Oswald';
	src: url('Oswald-ymXe.ttf');
}

@font-face {
font-family: 'Chomsky';
src: url('Chomsky.otf');
}

@font-face {
font-family: 'Old Standard';
src: url('OldStandardTT-Regular.ttf');
}

body {
    font-family: 'Old Standard', serif;
    font-weight: normal;
    background-image: url('groovepaper.png')
}

.spectrum-background {
    background:
        linear-gradient(135deg, rgba(2,0,36,0) 0%, rgba(255,255,0,1) 100%),
        linear-gradient(315deg, rgba(2,0,36,0) 0%, rgba(255,0,255,1) 100%),
        linear-gradient(45deg, rgba(2,0,36,0) 0%, rgba(0,255,255,1) 95%, rgba(0,255,255,1) 100%);
    background-blend-mode: screen;
}

body.dark {
    color: white;
}

h1, h2 {
    text-align: center;
    font-family: "Chomsky", cursive;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 7em;
    margin-bottom: 10px;
    color: black;
    mix-blend-mode: multiply;
    text-shadow: 10px 10px rgba(255, 255, 0, 0.5), -5px -10px rgba(0, 255, 255, 0.5), -10px 5px rgba(255, 0, 255, 0.5);

}

h2 {
    font-size: 14pt;
    font-style: italic;
    font-family: sans-serif;
    font-weight: lighter;
    color: #BBB;
}

.dark h2 {
    color: #666;
}

.header {
    padding-top: 3em;
    padding-bottom: 3em;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100px;
  padding-left: 25px;
  text-align: left;
}

/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
.outerContainer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.container {
    display: block;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 4em;
    border-right-style: double;
    border-left-style: double;
    border-right-color: gray;
    border-left-color: gray;

}

.dark .container {

}

p {
    font-size: 14pt;
    color: black;
    line-height: 1.7em;
    font-weight: normal;
    text-align: justify;
}

.idea {
    color: black;
    text-align: center;
    text-shadow: -2px 2px rgba(0, 255, 255, 0.5), 2px -2px rgba(255, 255, 0, 0.5),
}

.number {
    color: black;
    text-align: center;
    text-shadow: 2px 2px rgba(255, 0, 255, 0.5);
}

.number_learn {
    color: black;
    text-align: center;
    text-shadow: 2px 2px rgba(255, 255, 0, 0.5), -2px -2px rgba(255, 0, 255, 0.5);
}

.quote {
    color: black;
    text-align: center;
    text-shadow: -2px 2px rgba(255, 0, 255, 0.5), 2px -2px rgba(255, 255, 0, 0.5), 2px 2px rgba(0, 255, 255, 0.5);
}

.fact {
    color: black;
    text-align: center;
    text-shadow: -2px 2px rgba(255, 0, 255, 0.5), 2px -2px rgba(0, 255, 255, 0.5);
}

.subtitle {
	font-family: 'Oswald', sans-serif;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

a {
    font-weight: 700;
    color: black;
    font-family: "Old Standard", serif;
    transition: color 0.6s;
    text-decoration: none;
}

.dark a {
    color: #cc8f1a;
    transition: color 0.6s;
}


a:hover {
    color: black;
    text-shadow: 1px 1px cyan, -1px -1px magenta, 0px 1px yellow;
    transition: color 0.1s;
}

.dark a:hover {
    color: white;
}

strong {
    color: black;
    font-weight: bold;
}

.dark strong {
    color: white;
}

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

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container * {
    opacity: 1.0;
    transition: opacity 1.0s;
}

p.choice {
    text-align: center;
    line-height: 1.7em;
}

/* first choice */
:not(.choice) + .choice {
    padding-top: 1em; 
}


p.choice a {
    font-size: 15pt;
}

/* Built in class if you want to write:
     The End # CLASS: end
*/
.end {
    text-align: center;
    font-weight: bold;
    color: black;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dark .end {
    color: white;
}