@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;700&display=swap');

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust:100%
}

body {
    margin:0
    
}

main {
    display:block
}

h1 {
    font-size: 2em;
    margin:.67em 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow:visible
}

pre {
    font-family: monospace, monospace;
    font-size:1em
}

a {
    background-color:transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration:underline dotted
}

b, strong {
    font-weight:bolder
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size:1em
}

small {
    font-size:80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align:baseline
}

sub {
    bottom:-.25em
}

sup {
    top:-.5em
}

img {
    border-style:none
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin:0
}

button, input {
    overflow:visible
}

button, select {
    text-transform:none
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance:button
}

[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner {
    border-style: none;
    padding:0
}

[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring {
    outline:1px dotted ButtonText
}

fieldset {
    padding:.35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space:normal
}

progress {
    vertical-align:baseline
}

textarea {
    overflow:auto
}

[type=checkbox], [type=radio] {
    box-sizing: border-box;
    padding:0
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
    height:auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset:-2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance:none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font:inherit
}

details {
    display:block
}

summary {
    display:list-item
}

template {
    display:none
}

[hidden] {
    display: none
}

html, body {
    min-height: 100vh;
}

@media (hover: none) and(pointer: coarse) {
    /* Viewport height fix for mobile browsers */
    html, body {
        min-height: -webkit-fill-available;
    }/* Specific fix for browsers on devices with screen notches (e.g. iPhone X) */

    html {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}

html {
    box-sizing: border-box;
    color: #eee;
    font-family: "Barlow Semi Condensed", BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #0070eb;
    background: #050e2b url(../images/bg.jpg) no-repeat 50% 50%;
    background-size: cover;
}

*, * ::before, * ::after {
    box-sizing: inherit;
}

body {
    display: flex;
    flex-flow: column wrap;
}

.wrapper {
    max-width: 640px;
    margin-right: auto;
    margin-left: auto;
    padding: 16px;
}

.header {
    flex: 0 1 auto;
    padding-top: 36px;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    height: 36px;
    pointer-events: none;
}

.logo {
    clear: both;
    display: block;
    max-width: 312px;
    margin: 16px auto 32px;
}

.logo > img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.logo > img[src$=".svg"] {
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.67));
}

.login {
    clear: both;
    display: block;
    max-width: 360px;
    margin: 36px auto 24px;
    font-size: 1.125em;
}

.login__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    animation: 1s ease 0s 1 normal both running animatedLoginItem;
    will-change: transform;
}

@keyframes animatedLoginItem {
    0% {
        transform: translateX(-100vw);
    }

    80% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }
}

.login__item + .login__item {
    margin-top: 16px;
}

.login__item:nth-of-type(2) {
    animation-delay: 0.0625s;
}

.login__item:nth-of-type(3) {
    animation-delay: 0.125s;
}

.login__item:nth-of-type(4) {
    animation-delay: 0.1875s;
}

.login__item--error {
    display: none;
    justify-content: center;
    padding: 12px 12px 12px 48px;
    background-color: #f44;
    text-align: center;
}

.login__item--submit {
    color: rgba(0, 0, 0, 0.875);
    fill: rgba(0, 0, 0, 0.875);
}

.login__label {
    position: absolute;
    top: 3px;
    left: 3px;
    order: -1;
    display: block;
    flex: 0 1 auto;
    min-width: 40px;
    padding: 9px 9px 10px;
    color: #000;
    font-weight: bold;
    font-size: 1.25em;
    text-align: center;
    text-shadow: 0 0 1px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .95);
    background-color: #fff;
    cursor: pointer;
    transition: color 0.4s ease, background-color 0.4s ease;
}

.login__input:focus + .login__label {
    color: #fff;
    background-color: #000;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.login__icon {
    display: block;
    margin: auto;
    opacity: 0.8;
}

.login__item--error .login__icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    min-width: 1.25em;
    margin-right: 8px;
    margin-left: 8px;
    color: inherit;
    fill: inherit;
    font-size: 1.25em;
}

.login__description {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    text-indent: 150%;
    white-space: nowrap;
}

.login__input {
    display: flex;
    flex: 1 1 100%;
    min-width: 160px;
    margin: 0;
    padding: 12px 12px 12px 56px;
    color: rgba(0, 0, 0, 0.9);
    background-color: rgba(255, 255, 255, 0.9375);
    border: 2px solid #000;
    transition: background 0.4s ease;
}

.login__input:hover, .login__input:focus, .login__input:active {
    color: #000;
    background-color: rgba(255, 255, 255, 0.9375);
}

.login__input::-webkit-input-placeholder {
    color: rgba(36, 36, 36, 0.4);
}

.login__input:-ms-input-placeholder {
    color: rgba(36, 36, 36, 0.4);
}

.login__input::placeholder {
    color: rgba(36, 36, 36, 0.4);
}

.login__submit {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.875);
    font-size: 1.125em;
    font-weight: bold;
    text-transform: uppercase;
    background: #000 linear-gradient(to bottom, #000 0%, #666 100%) repeat-x 50% 0;
    border: none;
    cursor: pointer;
    transition: color 0.4s ease, background 0.4s ease;
}

.login__submit:hover, .login__submit:focus {
    color: #000;
    background-color: #ddd;
    background-image: linear-gradient(to bottom, #fff 0%, #ddd 100%);
}

.login__submit:active {
    color: #000;
    background-color: #fff;
    background-image: linear-gradient(to bottom, #ddd 0%, #fff 100%);
}

.login label.error {
    flex: 0 1 auto;
    margin-right: auto;
    margin-left: auto;
    padding: 8px;
    font-size: 0.875em;
    text-align: center;
    background-color: #f44;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.main {
    flex: 1 1 auto;
}

.banner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.banner > iframe, .banner > img {
    flex: 0 1 auto;
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
}

.footer {
    flex: 0 1 auto;
    text-align: center;
}

.copyright {
    color: #000;
}
