* {
    box-sizing: border-box;
}

body {
    background-color: #0f172a; /* Dark sleek background */
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: rgba(30, 41, 59, 0.7);
    padding: 40px 60px;
    border-radius: 10px;
    border: 1px solid #334155;
    box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}

.container h1 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: 2px;
}

.form-control {
    position: relative;
    margin: 20px 0 40px;
    width: 300px;
}

.form-control input {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #475569;
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
}

.form-control input:focus,
.form-control input:valid {
    outline: 0;
    border-bottom-color: #38bdf8; /* Highlight color */
}

.form-control label {
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
}

.form-control label span {
    display: inline-block;
    font-size: 18px;
    min-width: 5px;
    color: #94a3b8;
    /* This is the animation timing */
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* THE TRIGGER: When input is focused or has text, move the spans up */
.form-control input:focus + label span,
.form-control input:valid + label span {
    color: #38bdf8;
    transform: translateY(-30px);
}

.btn {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    background: #0284c7;
    padding: 15px;
    font-family: inherit;
    font-size: 16px;
    color: #fff;
    border: 0;
    border-radius: 5px;
    transition: 0.2s;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn:hover {
    background: #38bdf8;
}