/** Magic Link styles for this services **/
@import './auth.css';

/*
html, body {
    background: #008989;
}
*/

.splash-container {
    border-radius: 40px;
    background: #55ffff;
    min-height: 500px;
    max-width: 912px;
    min-width: 360px;
    margin-left: calc(50% - 456px);
    margin-top: calc(50vh - 250px);
    box-shadow: 0px 0px 7px 4px rgba(0,0,0,0.15);
    overflow: hidden;
}

.splash {
    border-radius: 40px;
    background: rgb(183,253,255);
    background: linear-gradient(347deg, rgba(183,253,255,1) 0%, rgba(85,255,255,1) 33%, rgba(0,212,255,1) 100%);
    position: relative;
    min-height: 500px;
    max-width: 1000px;
}

.splash .left {
    float: left;
    width: 60%;
    position: relative;
    min-height: 500px;
    z-index: 3;
}

.splash .right {
    float: right;
    width: 40%;
    position: relative;
    min-height: 500px;
    z-index: 3;
}

.splash .rect {
    background: #59ff00;
    width: 600px;
    height: 420px;
    transform: rotate(-45deg);
    display: block;
    bottom: -120px;
    left: -150px;
    position: absolute;
    box-shadow: 0px 0px 7px 4px rgba(0,0,0,0.05);
}

.splash .circle {
    background: #fff;
    width: 40px;
    height: 40px;
    display: block;
    top: 40px;
    right: 40px;
    border-radius: 40px;
    position: absolute;
    box-shadow: inset 0px 0px 4px 2px rgba(0,0,0,0.15);
    border: 1px solid #00d4ff;
}

p, h1, h2, h3, h4, h5, h6, em, label, input, button {
    font-family: 'Montserrat', 'san-serif';
}

.splash h2 {
    color: #fff;
    font-weight: 800;
    font-size: 70px;
    text-transform : uppercase;
    display: inline-block;
    position: absolute;
    bottom: 140px;
    left: 50px;
    z-index: 3;
}

.splash h4 {
    color: #00d4ff;
    background: #fff;
    font-weight: 800;
    font-size: 26px;
    padding: 10px;
    display: inline-block;
    position: absolute;
    bottom: 100px;
    left: 50px;
    z-index: 3;
}

.splash h6 {
    background: #ec4b96;
    padding: 16px;
    color: #fff;
    display: inline-block;
    position: absolute;
    font-size: 18px;
    font-weight: 400;
    bottom: 20px;
    left: 0px;
    text-indent: 40px;
    z-index: 3;
}

p.copyright {
    color: #aeaeae;
    position: absolute;
    display: inline-block;
    text-align: right;
    bottom: 20px;
    font-size: 11px;
    text-transform: uppercase;
    left: calc(50% - 60px);
    z-index: 4;
}

/** Register **/

form#register {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 284px;
    border: none;
}

form#register fieldset{
    border: none;
    margin: 0;
    padding: 0;
}

form#register fieldset label {
    clear: right;
    display:inline-block;
    margin-right: 30%;
    margin-bottom: 14px;
    color: #fff;
    text-transform: uppercase;
    margin-top: 0;
    font-size: 18px;
    font-weight: 800;
}

a {
    color: #ec4b96;
    text-decoration: none;
    border-bottom: 1px dotted #ec4b96;
    padding-bottom: 2px;
    font-weight: 800;
}

a:hover {
    border: none;
}

form#register fieldset input {
    display:inline-block;
    border: none;
    line-height: 30px;
    font-size: 14px;
    width: 70%;
    border-bottom: 3px solid #ec4b96;
    text-indent: 10px;
    color: #008989;
}

form#register fieldset input:focus {
    outline: none; 
}

form#register fieldset button {
    width: 18%;
    line-height: 30px;
    border:none;
    border-bottom: 3px solid #ec4b96;
    background: #ec4b96;
    color: #fff;
}

form#register fieldset button:hover {
    border-bottom: 3px solid #b10053;
    cursor: pointer;
}

form#register p {
    font-size: 13px;
    line-height: 18px;
    color:#008989;
    width: 90%;
}

form#register p.success {
    font-size: 13px;
    line-height: 18px;
    background: #fff;
    padding: 10px;
    color:#008989;
    width: 90%;
}

form#register p.error {
    font-size: 13px;
    line-height: 18px;
    background: #fff;
    padding: 10px;
    color:#ec4b96;
    width: 90%;
}


/** Bubbles **/

.bubble {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius: 200px;
    position: absolute;
    z-index: 2;
}

.x1 {
    right: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0.2;
    animation: moveclouds 15s linear infinite, sideWays 4s ease-in-out infinite alternate;
}

.x2 {
    right: 200px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.5;
    animation: moveclouds 25s linear infinite, sideWays 5s ease-in-out infinite alternate;
}
.x3 {
    right: 350px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.3;
    animation: moveclouds 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
}
.x4 {
    right: 470px;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
    opacity: 0.35;
    animation: moveclouds 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
}
.x5 {
    right: 150px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.3; 
    animation: moveclouds 7s linear infinite, sideWays 1s ease-in-out infinite alternate;
}
.x6 {
    right: 560px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.3; 
    animation: moveclouds 7s linear infinite, sideWays 1s ease-in-out infinite alternate;
}
.x7 {
    right: 700px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.5;
    animation: moveclouds 25s linear infinite, sideWays 5s ease-in-out infinite alternate;
}

p.copyright-mobile {
    display: none;
}

/** Loader **/

.lds-ring {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    top: 6px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    margin: 2px;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveclouds {
    0% { 
        top: 500px;
    }
    100% { 
        top: -500px;
    }
}

@keyframes sideWays {
    0% {
        margin-left:0px;
    }
    100% {
        margin-left:50px;
    }
}


@media only screen and (max-width: 912px) {  /* 720px */

    body {
        margin: 0;
    }

    .splash-container {
        height: auto;
        width: auto;
        margin-left: 0;
        margin-top: 0;
        border-radius: 0;
        background: #55ffff;
        overflow: hidden;
        padding-bottom: 50px;
        min-height: calc(100vh - 50px);
    }

    .splash {
        border-radius: 40px;
        background: transparent;
        position: relative;
        width: 100%;
        margin-top: 20px;
    }

    .splash .left,
    .splash .right  {
        width: 100%;
        margin: 0;
        text-align: center;
        height: 300px;
        min-height: auto;
    }

    .splash h2 {
        font-size: 60px;
        bottom: auto;
        top: 0px;
        left: 20px;
        right: 20px;
        text-align: center;
    }

    .splash h4 {
        font-size: 22px;
        bottom: auto;
        top: 120px;
        left: 20px;
        right: 20px;
        text-align: center;
    }

    .splash h6 {
        margin: 0;
        font-weight: 600;
        font-size: 16px;
        padding: 10px;
        bottom: auto;
        top: 220px;
        left: 20px;
        right: 20px;
        line-height: 30px;
        text-indent: 0;
    }

    form#register {
        text-align:center;
        background: #008989;
        margin: 20px;
        margin-top: 34px;
        padding: 20px;
        width: auto;
    }

    form#register label {
        width: 100%;
    }

    form#register button {
        min-width: 80px;
    }

    form#register p {
        color: #fff;
        width: 100%;
    }

    p.copyright {
        display: none;
    }

    p.copyright-mobile {
        display: inline-block;
        color: #fff;
        font-weight: 600;
        margin : 20px;
        font-size: 13px;
        text-align:center;

    }

    .splash .rect {
        opacity: 0.8;
        z-index: 0;
    }
}

