
/* Common to App */

* {
    box-sizing: border-box;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    background-color: white;
}

body {
    max-width: 420px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #222;
    color: white;
}

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

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

.unselectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/bg.jpg");
    height: 100vh;
}

.main-content {
    padding: 25px;
}

img.header {
    max-width: 100%;
    border-radius: 14px;
    padding: 0px;
}

.btn {
    display: block;
    border-radius: 18px;
    width: 100px;
    margin: 0 auto 10px auto;
    padding: 0.4em 0.5em;
    border: solid 1px #f9e74e;
    background-color: rgba(249, 231, 78, 1);
    color: #150000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition-duration: 0.2s;
    transition-property: background-color;
    font-size: 1em;
    user-select: none;
}

.btn:hover {
    background-color: rgba(249, 231, 78, 0.7);
}

.btn-skip {
    border: solid 0px;
    background-color: transparent;
    color: #f9e74e;
    margin-left: auto;
    margin-right: auto;
}
.btn-skip:hover {
    background-color: transparent;
    color: #f9e74e;
}

.questions-container{
    position: relative;
}
.questions-overlay {
    display: block;
    position: absolute;
    top: 67px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.word-instruction {
    text-align: center;
    margin-top: -20px;
}

.word {
    display: block;
    text-align: center;
}

input[type=text] {
    width: 40px;
    height: 40px;
    padding: 6px 6px;
    margin: 8px 2px;
    border: 0px solid transparent;
    border-radius: 4px;
    background-color: #f9e74e;
    font-size: 20px;
    font-weight: bold;
    text-align: center; 
    outline: none;
    color: #150000;
}

input[type=text]:focus {
    border: 0px solid transparent;
}
.hint-box {
    background-color: #f9e74e;
    padding: 2px 16px;
    border-radius: 10px;
}

@media only screen and (min-width: 302px) and (max-width: 400px) {

    input[type=text] {
        width: 32px;
        height: 32px;
        padding: 4px 4px;
        margin: 6px 2px;
        font-size: 18px;
    }
    .questions-overlay {
        top: 60px;
    }
    .word-instruction p {
        font-size: 0.9em;
    }
}