* {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
}

@font-face {
    font-family: lato;
    src: url('./lato.regular.ttf');
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #e3ddd4;
    font-family: lato;
}

form {
    width: 250px;
    margin: auto;
}

input {
    box-sizing: border-box;
    background-color: #e3ddd4;
    width: 100%;
    border: none;
    border-bottom: 1px solid #817c89;
    padding: 3px 5px;
}

input:focus {
    outline: none;
    border-bottom: 3px solid #d78864;
}

label {
    position: absolute;
    transform: translate(5px, 6px);
    transition: all 0.3s ease-out;
    color: #817c89;
    cursor: text;
}

label:has(+input:focus), label:has(+input:valid) {
    font-size: 1rem;
    color: #4a4551;
    transform: translate(3px, -21px);
}

button {
    width: 100%;
    margin-top: 10px;
    padding: 5px;
    background-color: #d78864;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.logo {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 64px;
    height: 64px;
}

.logo img {
    width: 100%;
}