@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus { outline: none; }
body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('./assets/house.webp');
    background-size: cover;
    font-family: 'Roboto';
}
.container { 
    width: 800px; 
    height: 500px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: #FFF; 
    box-shadow: 0 0 10px rgba(0, 0, 0, .1); 
    overflow: hidden; 
    position: relative; 
    border: 10px solid #FFF; 
    border-radius: 10px; 
}
.bg { 
    width: 50%; 
    height: 100%; 
    background-image: url('./assets/house2.jpg'); 
    background-size: cover; 
    background-position:center;
    border-top-left-radius: 5px; 
    border-bottom-left-radius: 5px; 
    position: relative; 
}
    .bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 140, 0, .5) 100%);
    }
form { min-width: 250px !important; width: 50%; height: 100%; padding: 30px 20px; }
.heading { font-size: 40px; text-transform: capitalize; margin-bottom: 60px; text-align: center; }
label { font-size: 16px; display: block; margin: 10px 0; text-transform: capitalize; }
input {font-size: 16px; display: block; width: 90%; border: none; border-bottom: 1px solid #000; margin-bottom: 20px; }
.login-btn {
    width: 130px;
    height: 30px;
    text-transform: capitalize;
    border-radius: 50px;
    border: none;
    background: #0C4580;
    color: #FFF;
    display: block;
    cursor: pointer;
    margin: 50px auto;
}
.register-btn { font-size: 14px; color: rgb(117, 117, 117); text-transform: capitalize; position: absolute; bottom: 20px; right: 20px; cursor: pointer; }

@media screen and (max-width: 750px) {
    .container { width: 350px; }
    .bg { display: none; }
    form { display: 100%; }
}