* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

body {
    align-items: center;
    background: #f5f6fa;
}

.error-message {
    width: 80%;
    background-color: #ff723b;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 10px auto;
    border-radius: 3px;

}


.container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    margin: auto;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 850px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);

}

.login {
    width: 400px;
}

form {
    width: 300px;
    margin: 60px auto;

}

h1 {
    margin: 20px;
    text-align: center;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 22px;
    padding: 15px 0;
}

hr {
    border-top: 2px solid #00dfc0;
}

.pic img {
    width: 450px;
    height: 100%;
    border-radius: 15px;
}

form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 5px;
}

input {
    width: 100%;
    margin: 2px;
    border: none;
    outline: none;
    padding: 8px 33px 8px 10px ;
    border-radius: 5px;
    border: 1px solid gray;
    color: black;
    font-weight: 400;
    font-size: 16px;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #385a64;
}

button {
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    background: #00dfc0;
}

button:hover {
    background: #385a64;
}



a {
    color: black;
    text-decoration: none;
}

@media (max-width: 768px) {
    body {
        background: #fff;
    }

    .error-message {
        width: 100%;
    }

    .container {
        height: auto;
        display: flex;
        flex-wrap: wrap-reverse;
        gap: 5px;
        align-items: center;
        box-shadow: none;
    }

    .login {
        width: 100%;
        margin: 0;
    }

    form {
        width: 90%;
    }

    h1 {
        margin: 2px;
        text-align: center;
        font-weight: bolder;
        text-transform: uppercase;
        font-size: 22px;
        padding: 1px 0;
    }

    .pic {
        width: 100%;
        text-align: center;
    }

    .pic img {
        width: 300px;
        height: 300px;
        margin: auto;
    }

    button {
        width: 100%;
    }
}
