* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
}

.login {
    position:absolute;
    width: 400px;
    height:280px;
    background-color: red;
    box-shadow: 0 0 9px 0 rgba(188, 182, 182, 0.3);
    border: 2px dotted white;
    top: 37%;
    left: 37%;
    justify-content: center;
}
.login h1 {
    text-align: center;
    color: white;
    font-size: 18px;

}
.login h2 {
    text-align: center;
    color: black;
    font-size: 12px;
    font-style: italic;
    border-bottom: 1px solid #dee0e4;
    padding-bottom:50px;
}

.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: red;
    color: white;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid white;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: red;
    border: 1px solid white;
    border-bottom:none;
    cursor: pointer;
    font-weight: bold;
    color: white;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
    color: black;
    transition: background-color 0.2s;
}

.password-eye {
    position: absolute;
    right: 30px;
    top: 58%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-eye i {
    font-size: 18px;
    color: #666;
}

.password-eye i.fa-eye-slash {
    color: #333;
}

