*, *::before, *::after{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    box-sizing: border-box;
}

body, html{
    width: 100%;
    height: 100%;
}

:root{
    --primaryColor: #0055ff;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    font-size: .95em;
}

body.loading #form-block form > *,
body:not(.loading) .loading--string,
body.loading .header--title{ display: none }

body.loading #form-block form{
    position: relative;
    overflow: hidden;
    width: 2em;
    height: 2em;
}

body.loading #form-block form::before{
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 2em 2em;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/media/loader.svg);
    animation: spin 2s linear infinite 0s;
}

@keyframes spin{
    from{ transform: rotate(0deg) }
    to{ transform: rotate(359deg) }
}

main{
    display: flex;
    justify-content: space-between;
    max-width: 150em;
    max-height: 84em;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

main > .block{
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-block{
    position: relative;
    flex: unset;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    animation: heroBlockEntry 1s ease 1 .5s forwards;
    height: 100%;
}

#hero-block::after{
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .3) 0%,
        rgba(0, 0, 0, .3) 75%,
        rgba(0, 0, 0, .4) 100%
    );
    position: absolute;
}

@keyframes heroBlockEntry{
    from{ width: 0 }
    to{ width: 38% }
}

#hero-block .hero--block--content{
    position: absolute;
    top: 0;
    left: 0;
    padding: 1em;
    width: 100%;
    height: 100%;
    z-index: 2;
    font-size: 1.3em;
}

#hero-block .hero--block--content .back ion-icon{ transform: translateY(.15em) }
#form-block{
    flex-direction: column;
    overflow-y: auto;
    padding: 2em;
}

#form-block .header{
    text-align: center;
    margin-bottom: 2em;
}

#form-block .header .logo{ height: 100% }

#form-block .header .logos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 3em;
    margin-bottom: 2em;
}

form .form--text{
    margin-bottom: 1em;
    text-align: center;
}

#form-block .header .logos .logo:not(:first-child){
    border-left: 1px solid #222;
    padding-left: 1em;
    margin-left: 1em;
}

#form-block .header h1{
    margin-top: .3em;
    font-weight: 500;
    font-size: 2em;
    opacity: .8;
}

form .form--group{ margin-bottom: 1.5em }

form .form--group label{
    font-weight: 500;
    display: block;
    padding-left: .3em;
    margin-bottom: .7em;
}

@media (min-width: 151em){
    main{
        overflow: hidden;
        border-radius: 4em;
    }
}

form{
    transition: .2s all;
    width: 30em;
    max-width: 100%;
}

form-status-container{
    display: flex;
    align-items: center;
    margin-bottom: 2em;
    border: 1px solid #eee;
    border-radius: 1em;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, .1) 0px 7px 29px 0px;
    padding: 1em;
}

form-status-back::before{
    content: '<';
    display: block;
    margin-right: .5em;
}

form-status-back[disabled]{
    pointer-events: none;
    opacity: .4;
}

form-status-back{
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    color: #222;
    display: flex;
    background-color: #fafafa;
    border: 1px solid #eee;
    padding: .5em;
    border-radius: .5em;
    margin-right: 1em;
    align-items: center;
    cursor: pointer;
}

form-status-bar{
    width: 100%;
    background-color: #eee;
    border-radius: .5em;
    height: .5em;
    display: block;
    overflow: hidden;
}

form-status-tile{
    width: 0%;
    transition: .5s all;
    display: block;
    height: 100%;
    background-color: #222;
}

form h1{
    text-align: center;
    font-size: 2em;
    margin-bottom: .5em;
    margin-bottom: 1em;
}

input, button, select{
    padding: 1em;
    display: block;
    width: 100%;
    border-radius: 1em;
    border: 1px solid #c4dcdf;
    font-size: 1em;
    outline: 0;
    background-color: #fff;
}

select{
    background-color: #fcfcfc;
}

button{
    color: #fff;
    font-weight: 700;
    background-color: var(--primaryColor);
    border: 0;
    cursor: pointer;
}

button[data-importance="secondary"]{
    background-color: transparent;
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
}

form .form--alert{
    width: 100%;
    padding: 1.5em;
    color: #fff;
    font-weight: 500;
    border-radius: .4em;
    margin-bottom: 1.5em;
}

form.fade{ opacity: .2 }

form .form--alert[data-type="danger"]{ background-color: #ff4444 }
form .form--alert[data-type="warning"]{ background-color: #be6c00 }
form .form--alert[data-type="success"]{ background-color: #2aa13a }

a{
    color: var(--primaryColor);
    text-decoration: none;
}

a:hover{ text-decoration: underline }
.hidden{ display: none !important }

@media (max-width: 930px){
    #hero-block{
        display: none;
    }
}

#verification-alert{
    font-size: 1.1em;
    text-align: center;
    padding: 2em;
    border: 1px solid #eee;
    border-radius: 2em;
    width: 30em;
    max-width: 100%;
}

#verification-alert h3{
    font-weight: 600;
    margin-bottom: .5em;
    font-size: 2em;
    color: var(--primaryColor);
}

#verification-alert.verified ion-icon{
    font-size: 3em;
    margin-bottom: .5em;
    color: #2aa13a;
}

#verification-alert.verified button{ margin-top: 2.5em }

#verification-alert.verified p{
    margin-bottom: 0;
    opacity: .7;
}

#verification-alert button{ margin-top: 1em }

.signup--alert{
    max-width: 100%;
    width: 30em;
    padding: 0;
    margin-top: 1em;
    text-align: center;
}

.signup--alert > span{
    margin-bottom: 1em;
    display: block;
}

button[data-type="gray"]{
    background-color: #eee;
    color: #222;
}

#verification-alert p{
    font-size: 1.2em;
    margin-bottom: 2em;
    font-weight: 500;
}

#verification-alert .other--contact--link{
    margin-top: .6em;
    display: block;
}

.contact--method--card{
    background-color: #fafafa;
    padding: 1em;
    font-weight: 400;
    border-radius: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1em 0;
}

.contact--method--card input[type="radio"]{
    width: 2em !important;
    height: 2em !important;
    margin-left: 1em;
}

.contact--method--card input:not([type="radio"]){
    width: unset !important;
    flex: 1;
}

button.loading{
    opacity: .6;
    pointer-events: none;
    color: transparent;
    overflow: hidden;
    position: relative;
}

button.loading::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 1em 1em;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(/media/loader-white.svg);
    animation: spin 2s linear infinite 0s;
}

.error{ border: 2px solid #ff4444 }

.form--digits--group{ display: flex }

.form--digits--group input{
    padding: .5em 0;
    flex: 1;
    font-size: 1.8em;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.form--digits--group input::placeholder{ color: #eaeaea }
.form--digits--group input:not(:last-child){ margin-right: .5em }