* {
    padding: 0;
    margin: 0;
}

body {
    background-color: black;
}

.main {
    position: relative;
    background-image: url("./assets/images/bg.jpg");
    /* min-height: 100vh; */
    /* width:100vw; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
box-sizing: border-box;
}

.bar {

    padding: 15px;
    gap: 12px;
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.bar p {
    color: rgba(255, 255, 255);
    font-weight: bold;
    font-size: 18px;

}

.bar img {

    filter: brightness(0) invert(1);
    width: 26px;


}

.logo {
    margin: 16px 0px 0px 170px;
}

.logo img {

    width: 165px;
    position: relative;
    z-index: 10;
        opacity: 0.9;

}

.nav {

    justify-content: space-between;

    padding-top: 50px;

}

.navbuttons {
    display: flex;
    gap: 30px;
    margin: 0px 140px 0px 0px;
    position: relative;
    z-index: 10;
}

.hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
    font-size: 20px;
    position: relative;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    margin-top: 110px;
    gap: 25px;
}

.hero h1 {
    font-size: 56px;
}

.herobuttons p {
    margin: 10px 0px 20px 0px;
}

.herobuttons {
    position: relative;
}

.h-btn-section {
    gap: 20px
}

.container {
    position: relative;
}

.container h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 6px 110px;
}

.top-movies-cards {

    width: 80vw;
    margin: auto;


    gap: 50px;



    /* Sirf container ke andar cards dikhenge */
    overflow: hidden;

    justify-content: flex-start;

    padding: 20px 0;
    scroll-behavior: smooth;

}


.top-movies-cards>.cards:first-child {
    margin-left: 45px;
}

.cards {
    flex: 0 0 auto;
    transition: transform 400ms ease-in-out;
    position: relative;
    box-shadow: 0 4px 15px rgb(56 43 43 / 45%);
}

.cards h1 {
    position: absolute;
    left: -40px;
    bottom: -5px;
    font-size: 130px;
    -webkit-text-stroke: 2px white;
}

.cards img {
    border-radius: 6px;
}

.previous {
    height: 7.5rem;
    width: 1.5rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    border-style: none;
    transition: opacity 400ms ease-in-out;
    position: absolute;
    top: 50%;
    left: 90px;
    transform: translateY(-50%);
}

.next {
    height: 7.5rem;
    width: 1.5rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    border-style: none;
    transition: opacity 400ms ease-in-out;
    position: absolute;
    top: 50%;
    right: 90px;
    transform: translateY(-50%);

}

.section {
    margin-top: 60px;
}

.section h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px 160px;
}

.section-cards {
    gap: 10px;
}

.r-cards {
    height: 318px;
    width: 251.75px;
    background: linear-gradient(149deg, #192247 0%, #210e17 96.86%);
    position: relative;
    border-radius: 20px;



}

.r-cards h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin: 20px;


}

.r-cards p {
    color: rgba(255, 255, 255, 0.7);

    font-weight: 400;
    margin: 20px;
}

.r-cards img {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.faq {
    margin-top: 60px;
    font-size: 24px;
}

.faq h2 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 -20px 172px;
}

.q-box {
    padding: 24px;
    background-color: #414141;
    max-width: 74vw;
    margin: 34px auto;
      justify-content: space-between;
    cursor: pointer;
    color: white;
    transition: all 1s ease-out;
    box-sizing: border-box;
}
.a-box{
    padding:0px 24px;
    box-sizing: border-box;
   max-width: 74vw;
    margin: -33px auto;
    background-color: #414141;
    color: white;
    box-sizing: border-box;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.5s ease;
}

.q-box:hover {

    background-color: rgb(102, 99, 99)
}

.faq .faq-answer p {

    color: white;
    font-size: 24px;
    padding: 0 0 10px 0;
   
}









.last-section{
    margin-top:100px;
}

.last-sec-btn{
    position:relative;
}
.last-section h3{
    text-align: center;
    color: #ededed;
    margin: 0px 0px 20px 0px;
    font-size: 16px;
}
.last-section p{
       margin: 20px auto;
    color: #b3b3b3;
    width: 80vw;
  
    font-weight: 500;

}
.footer {
    
    color: #fff;
    padding: 70px 0 50px;
}

.footer-container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

.footer-question {
    color: #b3b3b3;
    font-size: 16px;
    margin-bottom: 30px;
}

.footer-links {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px 30px;

    margin-bottom: 35px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-column a {
    color: #b3b3b3;
    font-size: 14px;
    text-decoration: underline;
}

.footer-column a:hover {
    color: #fff;
}

.language button {
    background-color: transparent;

    border: 1px solid #777;
    border-radius: 3px;

    color: #fff;

    padding: 10px 14px;

    font-size: 14px;

    cursor: pointer;
}

.netflix-country {
    color: #b3b3b3;
    font-size: 14px;

    margin-top: 25px;
}

.footer-lang{
    position: relative;
}

.footer-lang img{
    filter: brightness(0) invert(1);
    width: 17px;
    position: absolute;
    left: 10px;
    top: 7px;
}
.footer-lang select{
        padding:3px 60px 3px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #e6e6e6;
    background: #0f0f0f
}
 select option{
    background:white;
    color:black;
}




.last-p {
    color: #b3b3b3;
    opacity: 0.9;
    margin-top: 30px;
    font-size: 14px;
}


