﻿@import url("https://fonts.googleapis.com/css?family=Open+Sans|Oswald");
/** Variables
 ---------------------------------------------------------*/
body,
html {
    margin: 0;
    height: 100%;
    font-family: "Open Sans";
    font-size: 1em;
    overflow: hidden;
}

body {
    background-image: url("/Content/images/Banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.content-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 20px 0 rgba(0, 0, 0, 0.25);
}

    .content-wrapper .sing-in-panel,
    .content-wrapper .sing-up-panel {
        position: absolute;
        right: 0;
        width: 55%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10;
    }

        .content-wrapper .sing-in-panel form,
        .content-wrapper .sing-up-panel form {
            text-align: center;
        }

        .content-wrapper .sing-in-panel.active,
        .content-wrapper .sing-up-panel.active {
            pointer-events: auto;
            opacity: 1;
            visibility: visible;
            transform: translateX(0px);
        }

        .content-wrapper .sing-in-panel .button-wrapper,
        .content-wrapper .sing-up-panel .button-wrapper {
            margin-top: 15px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }

    .content-wrapper .sing-in-panel {
        right: 0;
        transform: translateX(100px);
    }

    .content-wrapper .sing-up-panel {
        left: 0;
        transform: translateX(-100px);
    }

    .content-wrapper img {
        width: 300px;
        margin-bottom: 50px;
    }

    .content-wrapper .floating-content {
        position: absolute;
        left: 0;
        width: 55%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        background-color: #6bb0c7;
    }

        .content-wrapper .floating-content::before {
            display: block;
            content: "";
            position: absolute;
            z-index: 1;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            background: linear-gradient(to top, rgba(140, 189, 224, 0.15) 0%, #6bb0c7 100%);
        }

        .content-wrapper .floating-content.active {
            margin-left: 40%;
        }

/** Input
 ---------------------------------------------------------*/
.input {
    position: relative;
    width: 300px;
    margin: 0 auto 25px;
}

    .input input {
        background: transparent;
        outline: none;
        font-size: 1em;
        padding: 10px 10px 10px 5px;
        display: block;
        box-sizing: border-box;
        width: 100%;
        border: none;
        color: white;
        border-bottom: 1px solid #DDDDDD;
        height: auto;
        max-height: 30px;
    }

    .input label {
        color: #DDDDDD;
        font-size: 0.85em;
        font-weight: normal;
        position: absolute;
        pointer-events: none;
        left: 5px;
        top: 0;
        font-family: "Open Sans";
        transition: 0.195s ease all;
        text-transform: uppercase;
    }

.bar {
    position: relative;
    display: block;
    width: 0;
    height: 2px;
    width: 0;
    bottom: 1px;
    left: 0;
    transition: all 0.195s ease;
}

input:focus ~ .bar input:valid ~ .bar {
    width: 100%;
}

input:focus ~ label,
input:valid ~ label,
textarea:focus ~ label,
textarea:valid ~ label,
input:-internal-autofill-selected ~ label {
    top: -15px;
    font-size: 0.55em;
    color: #DDDDDD;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: initial !important;
    background-image: none !important;
    color: #FFF !important;
    -webkit-box-shadow: inset 0 0 0px 9999px #FFF;
}

/** Buttons
 ---------------------------------------------------------*/
.button-square,
.button-transparent,
button {
    font-family: "Oswald";
    position: relative;
    display: inline-block;
    padding: 12px 25px;
    margin: 20px 0;
    background-color: #e6e6e6;
    color: #696969;
    border-radius: 0;
    transition: all 0.3s;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85em;
    outline: none;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

    .button-square:hover,
    .button-transparent:hover,
    button:hover {
        background-color: #fafafa;
    }

.button-transparent {
    justify-content: center;
    align-items: center;
    color: #e6e6e6;
    margin-right: 5px;
    background-color: transparent;
}

    .button-transparent a {
        color: #e6e6e6;
        text-decoration: none;
        font-family: "Oswald";
        position: relative;
        display: inline-block;
        margin: 2px 0;
        border-radius: 0;
        transition: all 0.3s;
        letter-spacing: 2px;
        font-weight: 700;
        font-size: 0.85em;
        outline: none;
        cursor: pointer;
        border: none;
        text-transform: uppercase;
    }

    .button-transparent:hover {
        background-color: rgba(221, 221, 221, 0.15);
    }
