@font-face {
    font-family: GlosaDisplay-Roman;
    src: url('assets/GlosaDisplay-Roman.otf');
}

@font-face {
    font-family: GlosaText-Roman;
    src: url('assets/GlosaText-Roman.otf');
}

@font-face {
    font-family: GrotesqueMTStd Light;
    src: url('assets/GrotesqueMTStd Light.otf');
}

@font-face {
    font-family: GrotesqueMTStd LightItalic;
    src: url('assets/GrotesqueMTStd LightItalic.otf');
}

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

@font-face {
    font-family: GrotesqueMTStd Italic;
    src: url('assets/GrotesqueMTStd Italic.otf');
}

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-size: 100%; font: inherit; vertical-align: baseline;
}
html {
    font-size: 16px;
}
body {
    width: 100%;
    margin: 0px auto;
    background-color: aliceblue;
}

h1 {
    font-family: "GlosaDisplay-Roman", serif;
    font-size: 100px;
    color: black;
    line-height: .75em;
    text-transform: uppercase;
    padding-bottom: 36px;
}

h2 {
    font-family: "GrotesqueMTStd Light", sans-serif;
    font-size: 36px;
    color: black;
    padding-bottom: 24px;
}

#credit {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "GGrotesqueMTStd", sans-serif;
    position: fixed;
    left: 20px;
    bottom: 20px;
}

#credit a {
    color: magenta;
    text-decoration: none;
}

#credit a:hover {
    text-decoration: underline;
}

input {
    border: none;
    background: white;
    padding: 10px;
/*    border-bottom: 1px black solid;*/
    font-size: 18px;
    font-family: "GlosaText-Roman", sans-serif;
/*    transform: translate(-50%, -50%);*/
    width: 80%;
}

button {
    border: 2px solid #000;
    background-color: transparent;
    padding-top: 11px;
    padding-bottom: 7px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 36px;
    font-size: 12px;
    letter-spacing: 2px;
    border-radius: 30px;
    color: #000;
    font-family: "GrotesqueMTStd", sans-serif;
    text-transform: uppercase;
}

.disabled {
    border: 2px solid lightgray;
    color: lightgray;
    pointer-events: none;
    cursor: default;
}

button.enter {
    transform: translate(0%, 0%);
}

button:hover {
    border: 2px solid magenta;
    color: magenta;
    cursor: pointer;
}

.fullScreenDiv{
    width: 95%;
    height: auto;
    bottom: 0px;
/*
    top: 30px;
    left: 50px;
    right: 50px;
*/
    position: absolute;
}

.center{
    position: fixed; /* or absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
}

#bottomButton {
    position: fixed;
    top: 90%;
    transform: translate(-50%, -50%);
/*    display: inline;*/
}

#bottomButton button {
    transform: none;
    margin: 10px;
    color: #fff;
    border: 2px solid #fff;
/*    display: inline-block;*/
}

p {
    font-family: "GrotesqueMTStd Light", sans-serif;
    color: black;
    font-size: 60px;
    margin-bottom: 10px;
    padding-top: 30px;
    text-align: center;
}

.center p {
    margin: 0 auto;
}

.prompt {
/*    transform: translate(-50%, -50%);*/
/*    text-align: right;*/
    line-height: 48px;
    font-size: 60px;
/*    letter-spacing: 3px;*/
    padding-bottom: 18px;
}

#input {
    transform: none;
}

#answer {
/*
    position: fixed;  or absolute 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
*/
/*    background: cyan;*/
}

.answer {
    font-family: "GlosaDisplay-Roman", serif;
    font-size: 48px;
    color: aliceblue;
}

.question {
    font-family: "GrotesqueMTStd Light", sans-serif;
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#attribution {
    color: aliceblue;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-top: 24px;
}

.title {
    font-family: "GrotesqueMTStd Italic", sans-serif;
}

.author {
    font-family: "GrotesqueMTStd", sans-serif;
}

.fadein {
    -webkit-animation: fadeIn 4s;
    animation: fadeIn 4s;
}

.fadeindelay {
    -webkit-animation: fadeInOut 4s 5s;
    animation: fadeInOut 4s 5s;
    opacity: 0;
}

.fadeout {
    -webkit-animation: fadeOut 2s;
    animation: fadeOut 2s;
    opacity: 0;
}

.fadeinout1 {
    -webkit-animation: fadeInOut 4s 2s;
    animation: fadeInOut 4s 2s;
    opacity: 0;
}

.fadeinout2 {
    -webkit-animation: fadeInOut 5s 4s;
    animation: fadeInOut 5s 4s;
    opacity: 0;
}

.fadeinout3 {
    -webkit-animation: fadeInOut 5s 7s;
    animation: fadeInOut 5s 7s;
    opacity: 0;
}

.fadeinout4 {
    -webkit-animation: fadeInOut 5s 9.5s;
    animation: fadeInOut 5s 9.5s;
    opacity: 0;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

body.welcome {
/*    background-image: url("library-full.jpg");*/
    background-color: aliceblue;
    background-size: cover;
}

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: auto;
    height: 100%;
  }
}

.prompt-type {
    color: lightgray;
    text-align: center;
}

.question-type {
    color: black;
    text-align: left;
}

@media (min-width: 600px) {
    input {
        width: 500px;
    }
}

@media (min-width: 750px) {
    h1 {
        font-size: 150px;
    }
    
    h2 {
        font-size: 48px;
        padding-bottom: 48px;
    }
    .answer {
        font-size: 60px;
    }
    #attribution {
        font-size: 18px;
    }
    button {
        font-size: 16px;
    }
}
@media (min-width: 1000px) {
    h1 {
        font-size: 200px;
    }
}

@media (min-width: 1200px) {
    .answer {
        font-size: 80px;
    }
}