.card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.card iframe {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card img {
    height: auto;
}

.text-scale-down h2 {
    font-size: 1.6rem;
}

.text-scale-down p,
.text-scale-down .card {
    font-size: 0.8rem;
}

.text-scale-down .card > *:last-child {
    margin-bottom: 0;
}

.material-group {
    position:relative;
}

.material-group .material-bar {
    left: 0;
    right: 0;
    bottom: 0;
    content: "\00a0";
    position: absolute;
    transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

.material-group input {
    transition: background-color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    padding: 27px 0.75rem 10px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.09);
    border-radius: 4px 4px 0 0;
    border: none;
}

.material-group:hover input {
    background-color: rgba(0, 0, 0, 0.13);
}

.material-group:hover .material-bar {
    border-bottom: 1px solid rgba(0, 0, 0, 0.87);
}

.material-group .material-bar::after {
    left: 0;
    right: 0;
    bottom: -1px    ;
    content: "";
    position: absolute;
    transform: scaleX(0);
    transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    border-bottom: 2px solid #007bff;
    pointer-events: none;
}

.material-group input:focus ~ .material-bar::after {
    transform: scaleX(1);
}

.material-group input ~ .material-label {
    position:absolute;
    pointer-events:none;
    left: 0;
    top: 0;
    transform-origin: top left;
    transform: translate(0.75rem, 20px) scale(1);
    transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}

.material-group input:focus ~ .material-label {
    color: #007bff;
}

.material-group input:focus ~ .material-label,
.material-group input:valid ~ .material-label {
    transform: translate(0.75rem, 10px) scale(0.75);
}

.material-group input.is-invalid ~ .material-label {
    color: #dc3545;
}

.material-group input.is-invalid ~ .material-bar::after {
    transform: scaleX(1);
    border-bottom-color: #dc3545;
}

.goodid-custom-login {
    position: relative;
    display: inline-block;
    height: 56px;
    border-radius: 28px;
    background-color: #084edd;
    color: #ffffff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.25rem;
}

.goodid-custom-login:focus,
.goodid-custom-login:hover {
    background-color: #084edd;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 4px 4px 16px 0 rgba(8, 78, 221, 0.25);
}

.goodid-custom-login:active {
    background-color: #1b3982;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 4px 4px 16px 0 rgba(0, 0, 0, 0);
}

.goodid-custom-login::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #084edd center center no-repeat;
    background-image: url("/images/goodid-icon-white.svg"),  url("/images/goodid-icon-color.svg");
    box-shadow: 3px 13px 26px 0 rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.goodid-custom-login:focus::before,
.goodid-custom-login:hover::before {
    background-color: #ffffff;
    background-image: url("/images/goodid-icon-color.svg");
}

.goodid-custom-login:active::before {
    background-color: #1b3982;
    background-image: url("/images/goodid-icon-white.svg");
}

.goodid-custom-login .button__title {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 24px 0 64px;
}