.login {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-image: url("../assets/lunch_ilustracija.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.login .overlay {
    position: absolute;
    top: calc(50% + 9px);
    left: calc(50% + 8px);
    max-width: 495px;
    width: 100%;
    height: 323px;
    transform: translate(-50%, -50%);
    background-color: #DCDCDC;
    border-radius: 6px;
}
.login__form {
    font-weight: 500;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    padding-bottom: 48px;
    transform: translate(-50%, -50%);
    border: 1px solid black;
    border-radius: 6px;
    /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
}
.login__form img {
    width: 60%;
    margin-bottom: 30px;
}
.login__form__box input {
    width: 290px;
    padding: 8px 12px;
    font-size: 16px;
    color: #303030;
    margin-bottom: 12px;
    border: 1px solid #303030;
    border-radius: 16px;
    outline: none;
    background: transparent;
}
.login__form__submit input {
    width: 290px;
    color: #303030;
    background-color: transparent;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #303030;
    border-radius: 16px;
    margin-top: 16px;
    padding: 8px 0;
    letter-spacing: 4px;
    transition: 0.2s;
}  
.login__form__submit input:hover {
    color: #E6E6E6;
    background-color: #303030;
}

@media screen and (max-width: 768px) {
    .login {
        background-image: url("../assets/lunch_ilustracija_mobitel.jpg");
    }
    .login .overlay {
        background-color: transparent;
    }
    .login__form {
        width: 90%;
        top: 190px;
        transform: translate(-50%, 0%);
    }
    .login__form__box input {
        font-size: 15px;
    }
    .login__form__submit input {
        font-size: 15px;
        margin-top: 18px;
    } 
}