/*
 * Copyright (C) 2010 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/** Reference Local Fonts **/
@font-face {
    font-family: 'Lobster Two';
    font-style: normal;
    font-weight: 400;
    src: local('Lobster Two'), local('LobsterTwo'), url('../fonts/Lobster_Two/LobsterTwo-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Londrina Shadow';
    font-style: normal;
    font-weight: 400;
    src: local('Londrina Shadow'), local('LondrinaShadow-Regular'), url('../fonts/Londrina_Shadow/LondrinaShadow-Regular.ttf') format('truetype');
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-size: 26px;

    overflow: hidden;
}

body {
    position: relative;
    font-family: 'Lobster Two', cursive;

    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Londrina Shadow', cursive;
}

button {
    display: block;
    width: 100%;
    background-color: #f39c12;
    color: #fefefe;
    font-family: inherit;
    font-size: inherit;
    padding: 16px;
    margin: 0 auto;
    border-radius: 6px;
    border-style: none;
    border-bottom-style: solid;
    border-color: #E68F05;
    border-width: 4px;

    /**
     * Remove any touch feedback from WebView since
     * We handle the :active state
     */
     outline: 0;
     -webkit-tap-highlight-color: rgba(0,0,0, 0.0);

     -webkit-user-select: none; 
     user-select: none;
}

button:focus {
    background-color: #E68F05;
    border-color: #DA8300;
}

button:active {
    background-color: #FFA91F;
    border-color: #E68F05;
}

@media screen and (min-width: 500px) {
    button {
        width: 60%;
    }
}

@media screen and (min-width: 750px) {
    button {
        width: 40%;
        max-width: 400px;
    }
}

.hiddenFileInput {
    width: 0;
    height: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.center {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    padding: 8px;

    box-sizing: border-box;
}

img {
    max-width: 100%;
    max-height: 60%;
    margin-bottom: 8px;
}