html,
body {
    height: 100%;
}

body {
    display: grid;
    font-family: Avenir;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 280px;
}

.inp .label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 20px;
    color: #f8f2d9;
    font-weight: 500;
    transform-origin: 0 0;
    transition: all 0.2s ease;
}

.inp .border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: #ffce23;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: all 0.15s ease;
}

.inp input {
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    font-family: inherit;
    padding: 12px 0;
    height: 48px;
    font-size: 26px;
    font-weight: 500;
    border-bottom: 2px solid #c8ccd4;
    background: none;
    border-radius: 0;
    color: #fff3ba;
    transition: all 0.15s ease;
    text-align: center;
}

.inp input:hover {
    background: #ffce2308;
}

.inp input:not(:placeholder-shown)+span {
    color: #ffce23;
    transform: translateY(-32px) scale(0.75);
    text-align: center;
}

.inp input:focus {
    background: none;
    outline: none;
    text-align: center;
}

.inp input:focus+span {
    color: #ffce23;
    transform: translateY(-32px) scale(0.75);
    text-align: center;
}

.inp input:focus+span+.border {
    transform: scaleX(1);
    text-align: center;
}

@-webkit-keyframes autofill {
    to {
        color: #ffce23;
        background: transparent;
        text-align: center;
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

.btn,
.btn-two {
    margin: 9px;
    width: 300px;
    height: 60px;
}

.rounded {
    border-radius: 10px;
}

.log-form {
    margin-top: -60px;
    margin-bottom: 100px;
}