* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #333;
}

* {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

canvas {
    position: fixed;
    z-index: 1;
    background-color: #1fc8db;
    background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
    top: 0;
}

#bg_grain
{
    background: url(https://www.transparenttextures.com/patterns/45-degree-fabric-light.png);
    width: 100%;
    height: 1000px;
    position: absolute;
    top: 0;
    z-index: 2;
    background-repeat: repeat;
}

#header 
{
    z-index: 2;
    position: relative;
    text-align: center;
    margin-top: 80px;
}

#header h1
{
    font-family: 'Raleway', sans-serif;
    font-size: 54px;
    font-weight: 300;
    line-height: 89px;
    color: #ffffff;
    transition: font-size 0.61s;
    margin-bottom: 0px;
}

#header h2
{
    margin-top: 0px;
    color: #fff;
    font-weight: 200;
    line-height: 42px;
}

#header h2 b
{
    margin-top: 0px;
    color: #fff;
    font-weight: 300;
    line-height: 42px;
    font-size: 36px;
}

#main,#card, .front,.back
{
    z-index: 2;
    position: relative;
}

.main_reg_container, .main_congrats_container
{
    width: 400px;
    margin: auto;
    margin-top: 25px;
    box-shadow:#333 -15px 3px 15px;
}


.main_congrats_container .panel-2
{
    background: #fff;
    height: 620px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #fff;
    background-size: auto 200px;
    background-image: linear-gradient(90deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
    background-repeat: no-repeat;
}

.main_reg_container .panel-1
{
    background: #68D9C7 !important;
    height: 620px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #fff;
    background-size: 50% auto;
}

.main_reg_container .panel-2
{
    background: #2F3F56;
    height: 620px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #fff;
}

.main_reg_container .panel-2 h2{
    margin-bottom: 20px; 
}

.main_reg_container .panel-2 hr
{
    border-top: 1px dashed #fff;
}

label.error
{
    position: absolute;
    bottom: 2px;
    color: #E62117;
    right: 10px;
    font-weight: 400;
    font-size: 11px;
}

.form-group
{
    position: relative;
}

.loading
{
    background-image: url(loading.gif) !important;
    background-size: 40px !important;
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-position-x: 90% !important;
}

.main_congrats_container .content
{
    width: 350px;
    text-align: center;
    height: 250px;
    background: #fff;
    color: #888;
    padding: 10px;
    border-radius: 5px;
    margin: auto;
    margin-top: 115px;
    box-shadow: #000 1px 1px 10px;
}

.main_congrats_container .content h2{
    font-weight: 400;
}

.main_congrats_container .content label{
    font-weight: 300;
}

.main_congrats_container button{
    background: #2cb5e8;
    width: 350px;
    border-radius: 20px;
    margin: auto;
    margin-top: 100px;
    display: block;
}

#header p {
   color: #fff !important; 
}