.main{
    background-image: url(bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(1200px, 100vw);
    height: 100vh;
    position: relative;
    margin: -8px;
}
.netflix{
    width: 154px;
    height: 55px;
    position: relative;
   margin: 22px; 
   margin-left: 56px;
    z-index: 10;
    color: red; 
    margin-left: -423px;
}
.box{
    height:100vw;
    background-color: black;
    width:350px;
    margin-left: 475px;
    opacity:0.8;
    border-radius: 9px;
    z-index: 2;
    padding: 43px;
    filter: brightness(110%);
}
.head{
    color: white;
    font-size: 44px;
    z-index: 4;
    font-family: sans-serif;
}
.det{
    margin-top: 23px;
    width:330px;
    height: 56px;
    border: 2px solid white;
    border-radius: 5px;
    z-index: 4;
    background-color: transparent;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body{
    background-image: url(bg.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100vh;
    position: relative;
    overflow: hidden;
}

/* Background Posters */
/* .background{
    background: url('https://assets.nflxext.com/ffe/siteui/vlv3/28b891af-d934-41b4-b4ba-1dfd3a4e6871/a7b4f3fb-5de9-4370-aec0-1cba5d7bac9c/IN-en-20240226-popsignuptwoweeks-perspective_alpha_website_medium.jpg');width:100% ;
    background-position: center;
    filter: blur(4px) brightness(.45);
    position: absolute;
    inset: 0;
} */

/* Login Box */
.login-box{
    width: 360px;
    padding: 40px 32px;
    background: rgba(0,0,0,0.78);
    border-radius: 4px;
    position: relative;
    color: #fff;
    z-index: 1;
}

.login-box h2{
    margin-bottom: 20px;
    font-weight: 600;
}

/* Input fields */
.input-box{
    position: relative;
    margin-bottom: 18px;
}

.input-box input{
    width: 100%;
    padding: 14px 12px;
    border: none;
    outline: none;
    background: #333;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
}

.input-box label{
    position: absolute;
    left: 12px;
    top: 14px;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    transition: .2s;
}

.input-box input:focus + label,
.input-box input:valid + label{
    top: -9px;
    font-size: 11px;
    color: #ccc;
}

/* Buttons */
.btn{
    width: 100%;
    padding: 12px;
    background: #e50914;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    margin: 8px 0 12px;
    cursor: pointer;
    color: #fff;
}

.code-btn{
    width: 100%;
    padding: 11px;
    background: #454545;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.divider{
    text-align: center;
    color: #bbb;
    margin: 10px 0;
}

/* Links */
.forgot{
    display: block;
    margin: 10px 0 12px;
    font-size: 14px;
    color: #bbb;
}

.forgot:hover{
    text-decoration: underline;
}

/* Remember me */
.remember{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #bbb;
    margin-bottom: 18px;
}

/* Signup text */
.signup{
    color: #bbb;
    font-size: 15px;
    margin-bottom: 10px;
}

.signup a{
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.signup a:hover{
    text-decoration: underline;
}

/* Captcha Text */
.captcha{
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}