* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-image: url("scenery_with_logo.png");
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    font-family: "Open Sans", sans-serif;
    direction: rtl;
}

body::before {
        content: "";
        position: absolute;
        inset: 0;        
        background: #000;
        opacity: .75;
        z-index: 1;
}

p {
    text-align: center;
    color: #030303;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* כל האזור השמאלי */
.login-wrapper {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;   /* אמצע אנכי */
    justify-content: center;
    flex-direction: column;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: white;
    text-align: center;
    padding: 10px;
}

.footer p {
    margin-bottom:0px;
    font-size:0.9rem;
}

/* הטקסט + טופס */
.content-box {
    background-color: #fff;
    border: 1px solid #2A193F;
    border-radius: 3px;
    margin: 0 auto;
    max-width: 650px;  
    margin-top: -50px;
}

.login-center {
    padding: 20px 65px 35px 65px;
}

.logo-top {
    background-color: #f7f7fb;
    padding: 20px 0 10px;
    text-align: center;    
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

h1 {
    text-align: center;
    color: #2A193F;
    font-size: 1.55rem;    
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

input {
    font-family: "Open Sans", sans-serif;
    background-color: #e3e3e3;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    height: 50px;
    text-align: center;
    color: #495057;
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.3333;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 10px;
    width: 100%;
}

form {
    width: 387px;
    margin: 0 auto;
    align-items: center;
}

button {   
   font-weight: 700;
    height: 50px;
    width: 200px;
    font-family: 'Open Sans Hebrew', sans-serif;
    background-color: #2A193F;
    border-color: #fff;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 1.3125rem;
    font-size: 1.3rem;
    line-height: 1.3333;
    padding: .375rem .75rem;
    text-align: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    vertical-align: middle;
    cursor: pointer;
}

.login-error{
    margin-bottom: 15px;
    color: #000;
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    text-align: center;   
    margin-top: 20px;
}

.login-bottom p {
    text-align: left;
    font-size: 0.9rem;
    padding-left: 10px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    body {
        background-position: 97% top;        
    }

    .login-wrapper {        
        align-items: center;
        height: 100vh;
    }

    .content-box {
        width: 95%;
        margin-top: -40px;
    }

    .login-center {
        padding: 15px 35px 15px 35px;
    }

    h1 {
        font-size: 20px;
        line-height: 40px;      
    }

    p {
        font-size: 15px;
        line-height: 20px;
    }
    
    .footer p {
        font-size: 14px;
        line-height: 18px;
    }

    form {
        margin-top: 10px;
        width: 287px;
    }

    input {
        font-size: 15px;
        height: 40px;
    }

    button {
        margin-top: 0px;
        font-size: 15px;
        height: 40px;
    }

    .logo-top {
        padding: 10px 0px 10px;
    }

}