@import 'https://fonts.googleapis.com/css?family=Fascinate';

/*! 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;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

   
}

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;
}

html {
    box-sizing: border-box;
}

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

body {
    display: flex;
    flex-direction: column;
    background: #1e1710 url(../images/bg.jpg?v=1.3) no-repeat 50% 0;
    background-size: contain;
    min-height: 500px;
    position: relative;
}

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

.header {
    flex: 0 1 auto;
}

.wrapper--header {
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    clear: both;
    display: block;
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
}

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

.main {
    flex: 1 1 auto;
}

.login {
    position: relative;
    z-index: 1;
    clear: both;
    display: block;
    max-width: 180px;
    margin: 24% auto 0;
    padding: 10px;
    font-size: 1.125em;
    border-radius: 3px;
    animation: 1.5s ease 0.25s 1 normal both running loginShow;
}
@media screen and (min-width: 768px) {
    .login {
        margin-top: 32%;
    }
}

@keyframes loginShow {
    0% {
        transform: scale(0.75, 0.75);
        opacity: 0;
    }

    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}

.login > h2 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 0.75em;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}

.login__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

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

.login__item--error {
    display: none;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #f44;
    text-align: center;
}

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

.login__label {
    position: absolute;
    top: 0;
    left: 0;
    order: -1;
    display: flex;
    flex: 0 1 auto;
    min-width: 35px;
    min-height: 48px;
    padding: 4px;
    color: #000;
    fill: #000;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: color 0.4s ease, fill 0.4s ease, background-color 0.4s ease;
}

.login__input:hover ~ .login__label, .login__input:focus ~ .login__label {
    color: #0d10aa;
    fill: #0d10aa;
}

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

.login__icon {
    display: block;
    flex: 0 1 auto;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 1.5em;
}

.login__item--error .login__icon {
    margin-right: 8px;
    font-size: 1em;
}

.login__item--submit .login__icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    margin-right: 12px;
    margin-left: 12px;
    color: inherit;
    fill: inherit;
}

.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 auto;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 12px 12px 36px;
    color: rgba(0, 0, 0, 0.75);
    background-color: rgba(255, 255, 255, 0.875);
    border: 2px solid #c0ccc0;
    border-radius: 3px;
    outline-color: transparent;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out, outline 0.25s ease-in-out;
}

.login__input:hover, .login__input:focus, .login__input:active {
    color: #000;
    background-color: #fff;
}

.login__input:focus {
    outline-color: #000000;
}

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

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

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

.login__submit {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 10px 16px;
    color: inherit;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #1e1710;
    background-image: linear-gradient(to bottom, #43382d 0%, #1e1710 100%);
    border: 2px solid #c0ccc0;
    border-radius: 3px;
    cursor: pointer;
    transition: color 0.4s ease-in-out, background 0.4s ease-in-out;
}

.login__submit:hover, .login__submit:focus {
    color: rgba(0, 0, 0, 0.75);
    background-color: #43382d;
    background-image: linear-gradient(to bottom, #ffc61d 0%, #43382d 100%);
}

.login__submit:active {
    color: rgba(0, 0, 0, 0.75);
    background-color: #ffc61d;
    background-image: linear-gradient(to bottom, #43382d 0%, #ffc61d 100%);
}

.login label.error {
    flex: 1 1 100%;
    padding: 8px;
    color: rgb(255, 255, 255);
    font-size: 0.75em;
    text-align: center;
}

.banner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 3px;
}

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

.intro {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.intro-img {
    position: relative;
    z-index: -1;
    flex: 0 0 auto;
    display: block;
    width: 960px;
    height: 979px;
    margin: auto;
    
    background-size: contain;
    animation: 1.5s ease 0.25s 1 normal both running introFade;
}

@keyframes introFade {
    0% {
        transform: scale(1, 1);
        opacity: 1;
        z-index: 2;
    }

    70% {
        transform: scale(0.475, 0.475);
        opacity: 0.75;
    }

    100% {
        transform: scale(0.5, 0.5);
        opacity: 1;
        z-index: -1;
    }
}

.footer {
    flex: 0 1 auto;
    color: white;
    font-size: 0.75em;
    text-align: center;
   
}

.wrapper--footer {
    padding-bottom: 20px;
}

.copyright {
    margin-top: 0;
    margin-bottom: 0;
}

