*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
} 
body{
    background-color: black;
    color: white;
    overflow: auto;
}
.homepage{
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0,0,0,0.7)),url(./netflix/netfliximage/backgroundimage.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px 10%;
    position: relative;
}
.logo{
    width: 150px;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    margin-top: -50px;
}
 .header-right{
display: flex;
flex-direction: row;
gap: 15px;
} 

button{
    background-color: red;
    color: white;
    cursor: pointer;
}
nav button{
    width: 80px;
    padding: 6px;
    border-radius: 6px;
    font-weight: 650;
}

select{
    width: 90px;
    padding: 6px;
    font-weight: 550;
background-color: transparent;
    text-align: center;
    color: white;
    border-radius: 6px;
   
}
.content{
    text-align: center;
    margin-top: 150px;
}
.content h1{
    font-size: 50px;
    font-weight: 700;
}
.content h3{
    margin: 15px;
    font-weight: 500;
}
.content p{
font-weight:400 ;
}
.content input{
    color: white;
    width: 350px;
    background: transparent;
    padding: 15px;
    margin: 15px;
    border-radius: 8px ;
}
.content button{
    width: 190px;
    font-size: 20px;
    padding: 12px;
    border-radius: 8px;
}
 .moviecard{
margin: 0 8%;
} 

.card{
    height: 300px;
    width: 200px;
    border-radius: 10px;
    margin: 0 1%;
    transition: transform 0.3s ease-in-out;
}
.card:hover{
transform: scale(1.15);
}
 .container {
    width: 80%;
    margin: auto;
    padding: 20px 0;
} 
.cards {
    display: flex;
    /* flex-direction: row; */
    flex-wrap: wrap;
    gap: 10px;
    
    
}
.reason-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 15px;
   border-radius: 10px;
    width: 20%;
    height: 40vh;
    min-width: 250px;
    text-align: left;
    margin-bottom: 10px;
    position: relative;
}
.reason-card h3{
    font-size: 1.3rem;
    padding: 10px;
}
.para{
    font-size: 16px;
    color: white;
    padding: 6px;
}
.card-position{
    height: 100px;
    width: 100px;
position: absolute;
right: 0;
bottom: 0;
}
h1{
    font-size: 25px;
    padding: 5px;
    margin-left: 5px;
}
.faq {
    /* margin-top: 40px; */
    color: white;
    position: relative;
}

.faq-item {
    width: 100%;
    background: #333;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between; 
}

.faq-item:hover {
    background: #444;
}

.footer-input{
text-align: center;
margin: 15px;
}
.footer-input p{
    margin: 2%;
}
.footer-input input{
    width: 35vw;
    color: #444;
    padding: 20px;
    background: transparent;
}
.footer-input button{
    width:  15vw;
    padding: 20px;
    border-radius: 6px;
    font-weight: 650;
}
.footer {
    width: 80%;
    margin: auto;
    padding: 40px 0;
}


.footer-question {
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-question a {
    color: white;
    text-decoration: underline;
}


.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px 20px; 
    margin-bottom: 20px;
}

.footer-grid a {
    color: gray;
    text-decoration: none;
    font-size: 14px;
}

.footer-grid a:hover {
    text-decoration: underline;
}

.footer-option{
    text-align: left;
}
.footer p{text-align: left;}

.netflix-india {
    margin-top: 10px;
    font-size: 14px;
    color: gray;
    text-align: left;
}
/* @media screen and (max-width: 1024px) {
    .content h1 {
        font-size: 40px;
    }
    .content input {
        width: 300px;
    }
    .reason-card{
        width: 150px;
        height: 150px;
    }
} */

@media screen and (max-width: 768px) {
    .homepage {
        padding: 20px 5%;
    }
    .content h1 {
        font-size: 30px;
    }
    .reason-card{
        
         width: 250px;
        height: 250px; 
    }
    .content input {
        width: 250px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

  @media screen and (max-width: 480px)
  { 
    .homepage {
        height: auto;
        padding: 20px 5%;
    }
    .content {
        margin-top: 100px;
    }
    .content h1 {
        font-size: 24px;
    }
    .content input {
        width: 100%;
    }
    .footer-input button{
        width: 40%;
    }
    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
    }
 }  

