﻿html, body, input {
    background-color: #fff;
    font-family: "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

body {
    -webkit-box-align: center;
    align-items: center;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    min-height: 100vh;
}

main {
    margin-top: -110px;
    padding: 20px;
}

h1 {
    font-size: 1.5em;
    margin-top: 0;
}

.cta {
    display: block;
}

.button {
    background-color: #00a5b5;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    margin-top: 2em;
    padding: 1em 1.25em;
    text-decoration: none;
    border: 0px;
}

    .button:hover, .button:focus {
        background-color: #ee0000;
    }

footer {
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    font-size: 0.95em;
    padding: 1em 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

    footer h2 {
        color: #333;
        font-size: 1.25em;
        font-weight: 700;
        margin: 0;
    }

    footer h3 {
        margin: 0;
        padding: 0;
    }

        footer h3 a {
            color: #333;
            font-size: 0.75em;
            font-weight: 600;
            font-style: italic;
            line-height: 1;
            margin: 0;
            padding: 0;
            text-decoration: none;
        }

    footer p {
        color: #aaa;
        margin: 0;
        font-size: 0.85em;
    }

#footer-logo {
    display: block;
    width: 100px;
    height: auto;
    margin: 0em auto;
}

@-webkit-keyframes scaleAnimation {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaleAnimation {
    0% {
        opacity: 0;
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes drawCircle {
    0% {
        stroke-dashoffset: 300px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCircle {
    0% {
        stroke-dashoffset: 300px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes drawCheck {
    0% {
        stroke-dashoffset: 35px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    0% {
        stroke-dashoffset: 35px;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes drawLine {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

#successAnimationCircle {
    stroke-dasharray: 300px 300px;
    stroke: #00a5b5;
}

#successAnimationCheck {
    stroke-dasharray: 35px 35px;
    stroke: #00a5b5;
}

#failureAnimationCircle {
    stroke-dasharray: 300px 300px;
    stroke: #CD0000;
}

#failureAnimationCheck {
    stroke-dasharray: 35px 35px;
    stroke: #ee0000;
}

#successAnimation.animated, #failureAnimation.animated {
    -webkit-animation: 1.5s ease-out 0s 1 both scaleAnimation;
    animation: 1.5s ease-out 0s 1 both scaleAnimation;
}

    #successAnimation.animated #successAnimationCircle, #successAnimation.animated #failureAnimationCircle, #failureAnimation.animated #successAnimationCircle, #failureAnimation.animated #failureAnimationCircle {
        -webkit-animation: 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle;
        animation: 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle;
    }

    #successAnimation.animated #successAnimationCheck, #failureAnimation.animated #successAnimationCheck {
        -webkit-animation: 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck;
        animation: 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck;
    }

    #successAnimation.animated .failureAnimationCheckLine, #failureAnimation.animated .failureAnimationCheckLine {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        -webkit-animation: drawLine 1.5s cubic-bezier(1, 0.2, 0.1, 1) forwards;
        animation: drawLine 1.5s cubic-bezier(1, 0.2, 0.1, 1) forwards;
    }

#animate {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    bottom: 100px;
    color: #00a5b5;
    left: 50%;
    outline: 0;
    padding: 10px 30px;
    position: absolute;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

    #animate:active {
        background: rgba(255, 255, 255, 0.1);
    }

footer {
    display: block;
    clear: both;
}

div.fadeMe {
    opacity: 0.5;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    position: fixed;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
    width: 145px;
    /* Whatever width you want */
}

.hide{
    display:none;
}