@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    display: flex;
    height: 100vh;
    background-image: url("../images/blob-scene-haikei.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
}
.login-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 20px;
    border-radius: 6px;
    background-color: #fcffff;
    background-image: url("../images/wave-haikei.png");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    max-width: 340px;
    height: 490px;
    flex-direction: column;
}
.login-header {
    width: 100%;
    font-size: 45px;
    position: relative;
    margin-top: 0;
    color: white;
    margin-bottom: 80px;
}
.login-form {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
.date-input, .form-element {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.date-input {
    padding-top: 15px;
}
#user {
    width: 100%;
    font-size: 16px;
    padding: 12px;
    padding-left: 40px;
    border: none;
    outline: 2px solid #42A5F5;
    text-transform: uppercase;
}
#user+span {
    position: absolute;
    font-size: 14px;
    color: #767676;
    pointer-events: none;
    top: 13px;
    left: 20px;
    font-weight: 600;
}
#user:focus {
    border: none;
    outline: 2px solid #42A5F5;
}
#user:focus+span, #user:valid+span {
    
    border-radius: 12px;
    background: #fff;
    font-size: 11px;
    left: 10px;
    top: -10px;
    padding: 0 5px;
    letter-spacing: 1px;
    transition: all 300ms ease-in-out;
}
.login-btn {
    background-color: #333;
    border-radius: 6px;
    border: none;
    color: white;
    width: 100%;
    padding: 12px 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
}
.login-btn:hover {
    background-color: #444;
}
.date-input>input {
    text-align: center;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    outline: 2px solid #42A5F5;
}
.date-input>input:focus {
    outline: 2px solid #42A5F5;
}
#day {
    max-width: 15%;
}
#month {
    max-width: 15%;
}
#year {
    max-width: 35%;
}
.date-input:after {
    content: 'Date of Birth';
    color: #767676;
    font-weight: 600;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    position: absolute;
    background-color: white;
    left: 15px;
    top: 0;
}
.date-input:before {
    content: '';
    width: 100%;
    height: 2px;
    background-color: #42A5F5;
    position: absolute;
    width: 100%;
    top: 10px;
}
.dash {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 28px;
    text-align: center;
    vertical-align: middle;
    

}