@font-face {
    font-family: Chromatophore;
    font-style: normal;
    font-weight: 300;
    src: url('./Chromatophore-Light.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: Chromatophore;
    font-style: normal;
    font-weight: 500;
    src: url('./Chromatophore-Medium.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: Chromatophore;
    font-style: normal;
    font-weight: 700;
    src: url('./Chromatophore-Bold.woff2') format('woff2');
    font-display: swap;
}

body {
    background-color: #100030;
    color: azure;
    font-family: Chromatophore, helvetica, arial, sans-serif;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 300;
    line-height: 2.7rem;
}

object {
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

button,
input {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.reveal-button {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0.4rem;
    width: 3.4rem;
    height: 3.4rem;
    padding: 0;
    text-indent: -9999px;
    background-color: transparent;
    background-image: url('eye.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    opacity: 0.7;
    transform: translateY(-35%);
    transition: opacity 0.15s ease;
}

.reveal-button:active,
.reveal-button:hover {
    opacity: 1;
}

.reveal-button.is-active {
    background-image: url('eye-closed.svg');
    background-position: center 60%;
    background-size: 85%;
}

input:invalid {
    box-shadow: none;
}

.auth-header {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 3.8rem;
    letter-spacing: -0.2rem;
    padding-bottom: 3rem;
}

.logo {
    width: 28rem;
    height: calc(100% - 2.8rem);
    translate: (-50%, -50%);
    padding: 2rem;
}

.card {
    padding: 0;
    margin-left: 1rem;
    margin-right: 1rem;
}

.card-wrap {
    height: auto;
}

.card-design {
    background-color: #100030;
    border: none;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group > label {
    position: absolute;
    top: 2px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1rem;
    letter-spacing: 0.05rem;
    color: #c3bfdb;
    text-align: left;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease-out;
}

.form-group.populated > label {
    opacity: 1;
}

.form-control {
    color: white !important;
    background-color: #100030 !important;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #809298;
    border-radius: 0;
    transition: all 0.1s linear;
    height: 4.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    font-size: 2.2rem;
    font-weight: 300;
    appearance: none;
}

.form-control::placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control:focus {
    border-bottom: 2px solid white;
    outline: none;
    box-shadow: none;
}

.button-group {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.button--primary {
    border-color: #f050f8;
    background-color: #f050f8;
    color: #100030;
    padding: 2.2rem 0;
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 3.2rem;
    letter-spacing: 0;
    box-shadow: none;
    transition: 0.15s linear;
}

.button--primary:active {
    border-color: #bb00d4;
}

.button--primary:focus {
    box-shadow: 0 0 0 2px #60f0f8;
    background-color: #f050f8;
    color: #100030;
}

.button--primary:hover {
    background-color: #ee37f7;
}

a,
.link,
.btn-link {
    color: #60f0f8;
    background-color: inherit;
}

.button--outlined.button--primary {
    background-color: #330099;
    border-color: #330099;
    color: azure;
}

.authorize-form-wrap {
    max-width: none;
}
