﻿@keyframes slidein {
    0% {
        padding: 0px;
        height: 0px;
    }

    90% {
        padding: 0px;
        height: 0px;
    }

    100% {
        padding: 20px;
        height: 333px;
    }
}

@keyframes reboteancho {
    0% {
        margin-top: -50px;
        width: 300px;
        -moz-opacity: 0;
        opacity: 0;
    }

    30% {
        margin-top: 20px;
    }

    50% {
        margin-top: 0px;
        width: 330px;
        -moz-opacity: 1;
        opacity: 1;
    }

    100% {
        width: 300px;
    }
}

@keyframes incmargen {
    0% {
        margin-bottom: 0px;
    }

    85% {
        margin-bottom: 0px;
    }

    100% {
        margin-bottom: 8px;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page {
    background: #1111111a;
    width: 300px;
    margin: auto;
    border-radius: 0.4em;
    border: 1px solid #1919191a;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
    animation-timing-function: ease-in;
    animation-duration: 1s;
    animation-name: reboteancho;
}

    .page:after {
        content: "";
        display: block;
        position: absolute;
        height: 1px;
        width: 100px;
        left: 20%;
        background: linear-gradient(to right, #1111111a, #4444441a, #b6b6b81a, #4444441a, #1111111a);
        top: 0;
        z-index: 21;
    }

    .page:before {
        content: "";
        display: block;
        position: absolute;
        width: 8px;
        height: 5px;
        border-radius: 50%;
        left: 34%;
        top: -7px;
        box-shadow: 0 0 6px 4px #fff;
        z-index: 21;
    }

.inset {
    animation-timing-function: ease-in;
    animation-duration: 2s;
    animation-name: slidein;
    padding: 20px;
    border-top: 1px solid #19191a1a;
}

.main {
    margin-top: 0px;
    animation-timing-function: linear;
    animation-duration: 2s;
    animation-name: incmargen;
}

.page h2 {
    font-size: 1.9em;
    text-shadow: 0 1px 0 black;
    text-align: center;
    padding: .3em .5em;
    border-bottom: 1px solid #0000001a;
    position: relative;
    color: white;
    margin: 0px -22px;
    background: #39b299; /* Old browsers */
    background: -moz-linear-gradient(top, #39b299 0%, #015d58 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #39b299 0%,#015d58 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #39b299 0%,#015d58 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39b299', endColorstr='#015d58',GradientType=0 ); /* IE6-9 */
}

    .page h2:after {
        content: "";
        display: block;
        width: 250px;
        height: 100px;
        position: absolute;
        top: 0;
        left: 51px;
        pointer-events: none;
        transform: rotate(70deg);
        background: linear-gradient(50deg, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0));
    }

label {
    color: #666;
    display: block;
    padding-bottom: 9px;
}

input[type=email],
input[type=password] {
    width: 95%;
    padding: 8px 5px;
    background: linear-gradient(#1f21242a, #27292c1a);
    border: 1px solid #2222221a;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 0.3em;
    margin-bottom: 20px;
    color: #666;
}

.p-container {
    padding: 0 20px 20px 20px;
}

    .p-container:after {
        clear: both;
        display: table;
        content: "";
    }

    .p-container span {
        display: block;
        float: left;
        color: #0d93ff;
        padding-top: 8px;
    }

button[type=submit] {
    padding: 5px 20px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 10px 10px rgba(255, 255, 255, 0.1);
    border-radius: 0.3em;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.25em;
    width: 100%;
    font-family: "BebasNeue", 'Helvetica Neue', sans-serif;
    background: #39b299; /* Old browsers */
    background: -moz-linear-gradient(top, #39b299 0%, #015d58 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #39b299 0%,#015d58 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #39b299 0%,#015d58 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39b299', endColorstr='#015d58',GradientType=0 ); /* IE6-9 */
}

    button[type=submit]:hover {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -10px 10px rgba(255, 255, 255, 0.1);
    }

input[type=text]:hover,
input[type=password]:hover,
label:hover ~ input[type=text],
label:hover ~ input[type=password] {
    background: #27292c1a;
}