
body {
    margin: 0;
    padding: 0;
    background-image: url('netflix clone background.jpg'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 80vh;
    position: relative;
    font-family: sans-serif;
}


body::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    
    z-index: 0;
}


.navcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.Hlogo {
    width: 132px;
    height: auto;
}

.hbt {
    color: white;
    background-color: red;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
.hbt a{
    text-decoration: none;
    color: white;
}

.hbt:hover{
    opacity: 0.7;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.container {
    margin: 100px auto 0;
    max-width: 90%;
    text-align: center;
    z-index: 10;
    position: relative;
}

.container h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.container p {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.container span {
    color: white;
    font-size: 1rem;
    display: block;
    margin-bottom: 20px;
}


.input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.inputemail {
    padding: 15px;
    font-size: 1rem;
    width: 300px;
    border: none;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
}

.input button {
    background-color: red;
    color: white;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    width: 200px;
    cursor: pointer;
}


.Poster {
    background-color: black;
    padding: 40px 0;
}

.heading {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.Movies {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.plist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
}

.poster {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


.ab {
    background-color: black;
    padding: 20px;
    text-align: center;
}

.con {
    background-color: black;
    padding: 30px 0;
}

.join {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.reason {
    background-color: #2a3441;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 220px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reason span {
    margin-top: 10px;
    font-size: 0.9rem;
}

.img img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-top: 20px;
}


@media (max-width: 992px) {
    .container h1 {
        font-size: 2.5rem;
    }

    .inputemail, .input button {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container h1 {
        font-size: 2rem;
    }

    .container p, .container span {
        font-size: 1rem;
    }

    .Hlogo {
        width: 100px;
    }

    .join {
        flex-direction: column;
        align-items: center;
    }

    .reason {
        width: 90%;
    }

    .input {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 1.5rem;
    }

    .container p, .container span {
        font-size: 0.9rem;
    }

    .inputemail, .input button {
        font-size: 0.95rem;
        padding: 12px;
    }

    .navcontainer {
        flex-direction: row;
        gap: 10px;
    }

    .Movies {
        width: 100%;
        gap: 10px;
    }

    .poster {
        width: 100%;
        max-width: 150px;
    }
}
