﻿body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: darkslateblue;
}

.box {
    width: 350px;
    padding: 40px;
    border: 1px solid black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
    background: #34495e;
    text-align: center;
}

    .box:hover {
        border: 1px solid cyan;
    }

    .box h1 {
        color: white;
        text-transform: uppercase;
        font-weight: 500;
    }

    .box input[type = "text"], .box input[type = "password"] {
        border: 0;
        background: black;
        display: block;
        margin: 20px auto;
        text-align: center;
        border: 3px solid darkcyan;
        padding: 14px 10px;
        height: 40px;
        width: 220px;
        outline: none;
        color: blue;
        border-radius: 24px;
        transition: 0.30s;
    }

        .box input[type = "text"]:focus, .box input[type = "password"]:focus {
            width: 260px;
            border-color: lightblue;
            background: white;
        }
/*
    .box input[type = "submit"] {
        background: orangered;
        height: 40px;
        width: 80px;
        display: block;
        margin: 5px auto;
        text-align: center;
        border: 2px solid #c0392b;
        padding: 10px 15px;
        outline: black;
        color: black;
        border-radius: 12px;
        transition: 0.25s;
        cursor: pointer;
    }

    .box input[type = "submit"]:hover {
        transition: 0.80s;
        color: white;
        background: #c0392b;
        border-color:  blue;
        width: 100px;
    }*/

    .box input[type = "button"] {
        background: orangered;
        height: 40px;
        width: 80px;
        display: block;
        margin: 5px auto;
        text-align: center;
        border: 2px solid #c0392b;
        padding: 10px 15px;
        outline: black;
        color: black;
        border-radius: 12px;
        transition: 0.25s;
        cursor: pointer;
    }

        .box input[type = "button"]:hover {
            transition: 0.80s;
            color: white;
            background: #c0392b;
            border-color: blue;
            width: 100px;
        }

.box2 a {
    cursor: pointer;
    color: lightgray;
}

    .box2 a:hover {
        color: gray;
    }

.box2 p, .box2 a {
    font-family: arabic-indic;
    text-align: center;
    margin: 180px 25px;
}

.Error {
    color: red;
    font-size: 15px;
    font-weight: 600;
}
