:root {
    --palette-dark-blue: #002859;
    --palette-light-blue: #8ec4eb;
    --palette-lighter-blue: rgba(142, 196, 235, 0.3);
    --palette-lightest-blue: rgba(142, 196, 235, 0.1);
}

* {
    box-sizing: border-box;
}
body {
    color: var(--palette-dark-blue);
    background: white;
    font-size: 1rem;
    font-family: "Open Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

main {
    max-width: 480px;
    margin: auto;
    padding: 3rem 0.75rem;
}

main a {
    text-decoration: underline;
}

.container {
}

.btn  {
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    width: 100%;
    display: block;
    color: var(--palette-dark-blue);
    background: var(--palette-light-blue);
    border: 1px solid var(--palette-dark-blue);
}

.btn:hover {
    background: var(--palette-dark-blue);
    color: var(--palette-light-blue);
}

select,
input {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--palette-dark-blue);
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    cursor: pointer;
    color: var(--palette-dark-blue);
    background: var(--palette-light-blue);
    border: 1px solid var(--palette-dark-blue);
}

.card {
    display: none;
}

.card h1 {
    margin-top: 1rem;
    padding-top: 0;
    font-variant: petite-caps;
}

body:not(.has-camera) [data-target=settings-scan] {
    display: none;
}

body:not(.has-flash) #flash-toggle {
    display: none;
}

body:not(.has-ticket) .with-ticket {
    display: none;
}

body.has-ticket .without-ticket {
    display: none;
}

body.is-installed .uninstalled {
    display: none;
}

#flash-toggle {
    width: unset;
}

video {
    width: 100%;
}

canvas {
    width: 100%;
}

header {
    background: var(--palette-light-blue);
    letter-spacing: -3px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3rem;
    z-index: 1000;
}

header .header-logo {
    height: 2.5rem;
    width: 2.5rem;
    margin: 0.25rem 0.75rem;
    border-radius: 50%;
    background: white;
    display: inline-block;
    position: absolute;
}

header .header-logo img {
    height: 1.5rem;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

header h1 {
    margin: 0 0.75rem 0 3.75rem;
    line-height: 3rem;
    display: inline-block;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--palette-dark-blue);
    color: var(--palette-light-blue);
    transform: translateY(-100%);
    transition: transform 0.2s;
    list-style: none;
    padding-top: 4rem;
    z-index: 10;
}

.nav-icon {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border-width: 0;
    background: transparent;
    cursor: pointer;
}

nav ul {
    list-style-type: square;
    margin-top: 0;
}

nav a {
    cursor: pointer;
    font-size: 1.1rem;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
    display: block;
}

nav a:hover {
    font-weight: 700;
}

nav.open {
    transform: translateY(0);
}

.nav-icon.open {
    background: var(--palette-dark-blue);
}

.nav-icon .handles {
    fill: var(--palette-dark-blue);
}

.nav-icon.open .handles {
    fill: var(--palette-light-blue);
}

#fixtures table {
    width: 100%;
    border-collapse: collapse;
}

#fixtures table tr:nth-child(odd){
    background: var(--palette-lighter-blue);
}

#fixtures table tr:nth-child(even){
    background: var(--palette-lightest-blue);
}

#fixtures .home {
    font-weight: 700;
}



