CSS
.if-brut {
display: grid;
gap: 8px;
width: 100%;
max-width: 280px;
}
.if-brut-label {
font-family: "Courier New", monospace;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.12em;
color: #f0eeff;
}
.if-brut input {
width: 100%;
box-sizing: border-box;
padding: 12px 14px;
background: #f0eeff;
border: 2.5px solid #1a1a2e;
border-radius: 0;
color: #1a1a2e;
font:
700 13px/1 "Courier New",
monospace;
letter-spacing: 0.06em;
outline: none;
box-shadow: 5px 5px 0 #ff6c8a;
transition:
transform 0.1s,
box-shadow 0.1s;
}
.if-brut input::placeholder {
color: rgba(26, 26, 46, 0.5);
}
.if-brut input:focus {
transform: translate(2px, 2px);
box-shadow: 3px 3px 0 #ff6c8a;
}
.if-brut input:invalid:not(:placeholder-shown) {
box-shadow: 5px 5px 0 #ff5d6c;
}