* {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}
img {
    border: 1px solid #000;
    max-width: 90%;
    height: 110px;
    margin: 0.5em;
}
p {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}
div.wrapper {
    background-color: #f7f7ff;
    text-align: center;
    margin: auto;
}
div.content {
    overflow: auto;
}
div.header h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.2em;
    font-weight: 900;
    padding: 0.1em;
}
div.header a {
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    color: #000;
}
div.header h2 {
    font-size: 1em;
    padding-bottom: 0.3em;
}
div.nav {
    border: 1px solid black;
    border-radius: 0.5em;
    width: 96%;
    margin: auto;
    height: 20px;
    background-color: #ddf;
    padding: 0.1em;
    font-weight: bold;
    font-size: 0.9em;
}
div.nav li {
    line-height: 20px;
    float: left;
    list-style: none;
    width: calc(100% / 11);
    font-family: 'Quicksand', sans-serif;
}
div.nav a{
    border-radius: 0.5em;
    display: block;
    text-decoration: none;
    text-align: center;
    background-color: #ddf;
    color: #000;
}
div.nav a:hover {
    text-decoration: underline;
}
div.column {
    width: 33.3%;
    float: left;
}
div.section {
    margin: 0.3em;
    padding: 0.5em;
    margin-bottom: 0.6em;
    margin-top: 0.6em;
    border: 1px solid black;
    background-color: #fff;
    border-radius: 0.2em;
    box-shadow: 4px 4px 5px #ccd;
    text-align: center;
    font-size: 1.2em;
}
div.section input, .answerButton {
    padding: 0.25em;
    margin: 0.1em;
    border: 1px solid #334;
    border-top: 1px solid #99a;
    border-bottom: 1px solid #001;
    background-color: #dde;
    border-radius: 0.4em;
}
div.section input:hover, .answerButton:hover {
    background-color: #eef;
    cursor: pointer;
}
div.section input:active, .answerButton:active {
    background-color: #ccf;
}
div.section p {
    margin-top: 0.1em;
    margin-bottom: 0.4em;
}
div.section h3 {
    font-size: 1em;
    margin-bottom: 0.5em;
}
div.section h4 {
    margin: 0.2em;
}
div.footer {
    border: 1px solid black;
    border-radius: 0.5em;
    width: 96%;
    margin: 0.6em auto;
    background-color: #ddf;
    text-align: center;
    padding: 0.3em;
}
div.footer small {
    display: block;
    padding: 0.1em;
}
div.footer a {
    text-decoration: none;
}
div.footer a:hover {
    text-decoration: underline;
}
div.social {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    color: #667;
    width: 190px;
    position: absolute;
    top: 15px;
    right: 1%;
}
div.social div {
    padding: 1px;
}
div.date {
    font-family: 'Quicksand', sans-serif;
    font-weight: bold;
    color: #667;
    width: 160px;
    position: absolute;
    top: 15px;
    left: 1%;
}
div.contactForm {
    margin: auto;
    padding: 1%;
    text-align: center;
}
div.contactForm label {
    margin: 0.4em;
    font-size: 1.3em;
    display: inline-block;
    width: 80px;
    text-align: right;
}
div.contactForm input, div.contactForm select {
    font-size: 1.3em;
    width: 280px;
}
div.contactForm textArea {
    width: 400px;
    height: 200px;
    font-size: 1.3em;
    margin-bottom: 0.5em;
}
div.about {
    margin: auto;
    padding: 1%;
    width: 75%;
    max-width: 800px;
    text-align: left;
}
div.about h3 {
    font-size: 1em;
    margin-top: 0.6em;
}
div.ad {
    padding-top: 0.3em;
    margin-top: 0.3em;
}
#jokeAnother, #elementAnother, #wordAnother, #nounAnother, #verbAnother, #adjectiveAnother, #quoteAnother, #teaserAnother, #mathsAnother, 
#flagAnother, #grammarAnother, #easyScrambleAnother, #hardScrambleAnother, #scrambleAnother, #firstLastAnother, #mathsWordAnother {
    display: none;
}
.answerSpace {
    height: 130px;
}
.answer {
    display: none;
    color: #a00;
}
.answer em {
    font-weight: bold;
}
.element {
    font-size: 2.8em;
    font-weight: bold;
    color: #070;
}
.word {
    font-size: 1.5em;
    font-weight: bold;
    color: #00a; 
}
.sum {
    font-size: 1.5em;
    color: #00a;
    margin-bottom: 0.5em;
}
.written {
    font-size: 1.3em;
}
.grammar {
    color: #00a;
    font-weight: bold;
}
.answerButton {
    font-size: 1.2em;
    margin-bottom: 0.3em;
}
@media (max-width: 900px){
    div.column {
        width: 48%;
    }
    div.column:nth-child(3) {
        width: 98%;
    }
    div.social, div.date {
        display: none;
    }
}
@media (max-width: 780px) {
    div.nav {
        height: 40px;
    }
}
@media (max-width: 430px) {
    div.nav {
        height: 60px;
    }
}
@media (max-width: 640px){
    div.column {
        width: 98%;
    }
    div.social, div.date {
        display: none;
    }
}
@media (max-device-width: 480px){
    body {
        font-size: 2.6em;
    }
    div.header h1 {
        font-size: 2.6em;
    }
    div.header h2 {
        font-size: 0.94em;
    }
    div.social, div.date {
        display: none;
    }
    input {
        font-size: 1em;
    }
    div.column {
        width: 98%;
    }
    div.contactForm label {
        width: 30%;
    }
    div.contactForm input {
        width: 50%;
    }
    div.contactForm textarea {
        width: 90%;
    }
    div.nav {
        font-size: 0.8em;
        height: 80px;
    }
    div.nav li {
        line-height: 40px;
    }
}
@media print {
    div.column {
        width: 31.3%;
    }
    div.column:nth-child(3) {
        width: 31.3%;
    }
    div.section h3 {
        font-size: 1em;
    }
    div.footer {
        padding: 0;
    }
}
