* {
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

*::selection {
    background-color: #dd4c39;
    color: white
}

.login {
    direction: ltr;
    width: 100%;
    height: 100vh;
    background-color: #dd4c39;
    position: relative;
    z-index: 200;
    display: grid;
    place-content: center;
    overflow: hidden;
}

.login .container {
    min-height: 450px;
    width: 300px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.login .container .img-text-container,
.login .container form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login .container form .user-name-input,
.login .container form .password {
    position: relative;
}

.login .container .img-text-container img {
    width: 150px;
    height: 150px;
    border-radius: 0;
    box-shadow: 1px 1px 6px #ddd,
        -1px -1px 6px #ddd;
    padding: 5px;
    margin-bottom: 15px;
    ;
}

.login .container .img-text-container .text {
    font-size: 18px;
    font-weight: bold;
    margin: 5px;
    margin-bottom: 15px;
}

.login .container form input {
    outline: none;
    border: 1px solid #ddd;
    padding: 8px;
    margin: 5px;
    text-align: left;
    width: 275px;
    direction: ltr;
}

.login .container form i {
    color: #555;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.login .container form .wrong {
    font-size: 13px;
    color: #dc3545;
    display: block;
}

.login .container form .submit-button {
    outline: none;
    border: none;
    padding: 10px 20px;
    display: flex;
    margin: 8px 3px 0 auto;
    background-color: #dd4c39;
    color: white;
    cursor: pointer;
}

@media (max-width: 320px) {
    .login .container {
        width: 270px;
    }

    .login .container form input {
        width: 250px;
    }
}

@media (max-width: 280px) {
    .login .container {
        width: 250px;
    }

    .login .container form input {
        width: 230px;
    }

    .login .container form .wrong {
        font-size: 12px;
    }
}