*{margin:0;padding:0;box-sizing:border-box;}
body{background-color:#222;color:tomato;font-family:helvetica,arial,sans-serif;}

main{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items:center;
    transform: scale(.7);
}
form{
    background-color: rgba(0, 255, 255, 0.35);
    padding: 50px;
    padding-bottom: 60px;
}

input, label{
    text-align: center;
    display: block;
}
label:nth-child(3){
    margin-top: 50px;
}
form input{
    color: lawngreen;
    background-color: darkcyan;
    border: none;
    box-shadow: 
        inset 1px -1px 0 1px rgb(90, 172, 172); 
    font-size: 20px; 
    width: 150px;
    margin: 0 auto;
    margin-top: 10px;
    transition: 
        .6s all ease,
        0s box-shadow ease;
}

input[placeholder="name"]::placeholder { 
  color: #222;
}
::placeholder { 
  color: #222;
}
input:focus{
    outline: none;
    width: 200px;
    transition: 
        .6s all ease,
        0s box-shadow ease;
    
    box-shadow: 
        inset -1px 1px 0 1px rgb(90, 172, 172);
    
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    
    background-color: darkcyan;
    
    box-shadow: inset -1px 1px 0 1px rgb(90, 172, 172),
        0 0 0 30px darkcyan inset !important;
    -webkit-text-fill-color: lawngreen !important;
}

input[type="submit"] {
    margin: 0 auto; 
    margin-top: 50px;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 0px;
    font-weight: 700;
    transition: .3s all ease;
    letter-spacing: 1px;
    cursor: pointer;
    width: 90%;
}
input[type="submit"]:hover{
    background-color: #0bf4f4;
    color: #222;
    transition: .3s all ease;
    box-shadow: 
        inset -1px 1px 0 1px rgb(61, 119, 119);
    
}