﻿.text-input {
    position: relative;
    color: var(--klein-blue);
    font-weight: normal;
    margin-bottom: 0;
}
.text-input input {
    background-color: var(--cream);
    border: none;
    padding: 18px 24px 6px 0;
    text-indent: 24px;
    border-radius: 24px;
    width: 100%;
    font: inherit;
    line-height: normal;
}
.text-input > span {
    position: absolute;
    top: 1px;
    left: 24px;
    transform: translateX(-50%) scale(75%) translateX(50%) translateY(0);
    transition: top 0.25s, transform 0.25s;
    pointer-events: none;
}
.text-input input:placeholder-shown:not(:focus) + span {
    position: absolute;
    top: 50%;
    transform: translateX(-50%) scale(100%) translateX(50%) translateY(-50%);
    transition: top 0.25s, transform 0.25s;
}