@font-face {
    font-family: 'allerregular';
    src: url('../assets/aller_rg-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background: #53adde;
    font-family: 'Aller', 'allerregular';
    overflow-y: hidden;
}

.vd_header {
    height: 3rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--vd_separator);
    background: white;
    box-shadow: 0 3px 4px 0 rgba(0,0,0,0.14), 0 3px 3px -2px rgba(0,0,0,0.12), 0 1px 8px 0 rgba(0,0,0,0.20);
    position: sticky;
    top: -1px;
    z-index: 110;
}

    .vd_header > a > svg {
        height: 2rem;
        padding-right: 0.5rem;
        border-right: 2px solid var(--vd_separator);
    }

#vd_canvas {
    mix-blend-mode: soft-light;
}

.hidden {
    display: none;
}

.text-danger {
    color: red;
}

#msg {
    color: red;
    position: relative;
    top: -2rem;
}

section {
    position: fixed;
    left: 0;
    top: 3rem;
    height: calc(100vh - 3rem);
    width: 25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    display: flex;
    flex-direction: column;
}

form {
    align-self: center;
    position: relative;
    top: 10rem;
}

/ https://codepen.io/chrisoncode/pen/IdGKH /
/ form starting stylings ------------------------------- /
.group {
    position: relative;
    margin-bottom: 45px;
    font-family: 'Aller', 'allerregular';
}

input {
    font-size: 18px;
    padding: 10px 0;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 1px solid #757575;
    color: #2f68ad;
    background: transparent;
}

    input:focus {
        outline: none;
    }

/ LABEL ======================================= /
label {
    color: #707070;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/ active state /
input:focus label, input:valid label {
    top: -20px;
    font-size: 14px;
    color: #2f68ad;
}

/ BOTTOM BARS ================================= /
.bar {
    position: relative;
    display: block;
    width: 300px;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #2f68ad;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/ active state /
input:focus .bar:before, input:focus .bar:after {
    width: 50%;
}

/ HIGHLIGHTER ================================== /
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/ active state /
input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/ ANIMATIONS ================ /
@-webkit-keyframes inputHighlighter {
    from

{
    background: #2f68ad;
}

to {
    width: 0;
    background: transparent;
}

}

@-moz-keyframes inputHighlighter {
    from {
        background: #2f68ad;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #2f68ad;
    }

    to {
        width: 0;
        background: transparent;
    }
}

button {
    font-family: 'Aller', 'allerregular';
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
    font-size: 1rem;
    overflow: hidden;
    cursor: pointer;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    background-color: #2f68ad;
    color: #ecf0f1;
    transition: background-color .3s;
}

    button > svg {
        fill: #ecf0f1;
    }

    button:hover, button:focus {
        background-color: #27568e;
    }

    button > * {
        position: relative;
    }

    button span {
        display: block;
        padding: 12px 24px;
    }

    button:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: 0;
        padding-top: 0;
        border-radius: 100%;
        background-color: rgba(236, 240, 241, .3);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    button:active:before {
        width: 120%;
        padding-top: 120%;
        transition: width .2s ease-out, padding-top .2s ease-out;
    }

.group > svg {
    fill: #2f68ad;
    width: 2rem;
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    height: 2rem;
}

.login_buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

#vd_svg_bgd {
    position: fixed;
    right: 0;
    top: 1rem;
}

.vd_header nav a {
    font-family: 'Aller', 'allerregular';
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.5rem;
    font-size: 1rem;
    overflow: hidden;
    cursor: pointer;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 60%);
    background-color: #2f68ad;
    color: #ecf0f1;
    transition: background-color .3s;
    text-decoration: auto;
}
