/* Big Questions Quiz */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

.nobreak {
    white-space: nowrap;
}

.hidden {
    display: none;
}

body {
    background: #eeeeee;
    font-family: 'IBM Plex Sans', sans-serif;
}

.puzzle {
    max-width: 800px;
    margin: 10px auto;
    padding: 10px 50px;
    background-color: #ffffff;
    border-radius: 10px;
}

.footer{
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    color: #666;
}

p {
    margin: 3px;
}

h2 {
    text-align: center;
    margin: 10px;
}

.puzzle-question {
    margin: 20px auto;
    text-align: center;
}

.solution {
    max-height: 0px;
    overflow: hidden;
    padding: 0px;
}

.answer {
    background-color: #eee;
    padding: 10px;
    display: inline-block;
    border-radius: 10px;
    margin: 5px;
    border-style: solid;
    border-width: 2px;
    text-decoration: none;
}

.answers {
    text-align: center;
}

.answer-correct {
    background: #bbf99f;
}
.answer-correct::before {
    content: "✔ ";
    font-size: 30px;
    line-height: 0px;
    position: relative;
    top: 4px;
}

.answer-wrong {
    background: #ffaeae;
}
.answer-wrong::before {
    content: "✖ ";
    font-size: 30px;
    line-height: 0px;
    position: relative;
    top: 4px;
}

/* How did it all begin? */

.two-highlight {
    display: inline-block;
    border-radius: 2px;
    background: #ffffff00;
}

.two-circle {
    display: inline-block;
    border-width: 0px;
    border-style: solid;
    border-radius: 5px;
    border-color: #ec9595;
}

.two-pointer {
    display: inline-block;
    background: #ec9595;
    height: 1px;
    width: 0px;
    position: relative;
    top: -5px;
}

.two-meaning {
    font-size: 20px;
    font-weight: bold;
    color: #2654f0;
    margin-top: 1px;
    margin-bottom: 1px;
    background-color: #f5d8d8;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    border-radius: 5px;
    opacity: 0;
}

/* Is there other intelligent life in the universe? */

.alienlettertable {
    table-layout: fixed;
    font-weight: bold;
}
.alienlettertable tr td {
    width: 2%;
    text-align: center;
}

.alienquestions tr td {
    width: 50%;
}

.alientranslate {
    word-spacing: 6px;
    visibility: hidden;
}

.alienletter {
    margin-left: -1.5px;
    margin-right: -1.5px;
    width: 17px;
    display: inline-block;
}

.humanletter {
    width: 0px;
    display: inline-block;
    position: relative;
    top: -5px;
    font-weight: bold;
    color: blue;
    opacity: 0;
}

/* Can we predict the future? */

.four-future {
    font-weight: bold;
    color: blue;
    width: 0em;
    display: inline-block;
    margin-left: 0px;
    opacity: 0;
}
.four-sequence {
    word-spacing: 10px;
}

/* Is time travel possible? */

.six-layer {
    position: absolute;
    top: 0;
    left: 0;
}

.six-container-outer {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.six-container {
    position: relative;
    margin: auto;
    width: 498px;
    height: 498px;
}

.six-keypad {
    margin: auto;
}

.six-keypad table {
    background: #eee;
    border-radius: 8px;
    border-spacing: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: #aaa;
}

.six-keypad table td {
    border-style: outset;
    border-width: 3px;
    border-color: #fff;
    border-radius: 10px;
    background: #ddd;
    font-family: monospace;
    font-size: 24px;
    width: 30px;
    text-shadow: #fff 0px 1px 0px;
}

.six-solution-years {
    text-align: center;
    padding: 2px;
}

.six-solution-show {
    background: #eeeeee;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    padding: 5px;
    margin: 4px;
    font-weight: bold;
    display: inline-block;
}
.six-solution-show:hover {
    cursor: pointer;
}

/* Will we survive on Earth? */

.seven-transmission {
    text-align: left;
    font-family: monospace; 
    font-size: 15px;
}

.seven-indent-1 {
    text-indent: 50px;
}
.seven-indent-2 {
    text-indent: 60px;
}
.seven-indent-3 {
    text-indent: 64px;
}
.seven-indent-4 {
    text-indent: 30px;
}
.seven-indent-5 {
    text-indent: 10px;
}

.seven-red {
    color: red;
}

.seven-blue {
    color: blue;
}

.seven-computer {
    font-size: 18px;
    font-family: monospace;
    text-align: center;
}

.seven-computer table {
    display: inline-block;
}

.seven-computer table td {
    padding-left: 10px;
    padding-right: 10px;
}

.seven-fraction input {
    border: none;
    padding: 8px;
    font-weight: bold;
    text-align: center;
    background: transparent;
}

.seven-fraction td {
    padding: 0;
}

.seven-fraction {
    border-radius: 20px;
    background: #eee;
    display: inline-block;
}

#seven-numerator {
    border-bottom: 3px solid black;
} 

/* Will artificial intelligence outsmart us? */

.nine-board-container {
    position: relative;
    width: 445.183px;
    height: 330.033px;
    margin: 0 auto;
}

#nine-board {
    position: absolute;
    bottom: 0cm;
    left: 0cm;
}

.nine-component {
    position: absolute;
}

/*=================*/

@media only screen and (max-width: 900px) {
    .puzzle {
        border-radius: 0;
    }
}
