html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: rgb(255, 255, 255);

}
.disclaimer-banner {
    background-color: #e50914;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #fff;
}

.header {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/netflixbackground.jpg);
    background-image: cover;
    /* align-items: center; */
    padding: 20px 80px;
    height: 90vh;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    z-index: 1;
    top: 0px;
}


.logo {
    width: 150px;
}

.signin select {
    padding: 10px 15px;
    background-color: #191818;
    color: rgb(255, 255, 255);
    border-radius: 4px;
}

.signin button {
    /* margin-left: 10px; */
    border-radius: 4px;
    padding: 10px 25px;
    font-size: 16px;
    background-color: rgb(229, 9, 20);
    border: none;
    cursor: pointer;
    color: white;
    transition: 0.3s ease;
}

.signin button:hover {
    background-color: rgb(151, 2, 10);
}

.signin button a {
    text-decoration: none;
    color: white;
}

.info-section {
    text-align: center;
    padding: 80px 20px;

}

.info-section h1 {
    font-size: 55px;

}

.info-section h4 {
    font-size: 24px;
}

.info-section p {
    font-size: 16px;
}

.info-section button {
    padding: 15px 25px;
    font-size: 20px;
    background-color: rgb(229, 9, 20);
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: 0.3s ease;
}

.info-section button:hover {
    background-color: rgb(151, 2, 10);
}

.info-section button a {
    text-decoration: none;
    color: white;
}

.info-section input {
    padding: 15px 25px;
    font-size: 18px;
    background-color: #191818;
    color: aliceblue;
    width: 20%;
    border: 1px solid;
    border-radius: 4px;
}



.trending-section {
    padding: 40px 80px;
    text-align: center;
    background-color: black;
}

.trending-section h3 {
    font-size: 32px;
    text-align: left;
    margin-bottom: 20px;
}

.cards {
    display: flex;
    overflow-y: hidden;
    overflow-x: scroll;
    padding: 20px;
    gap: 10px;
}

.card {
    width: 250px;
    height: 270px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    vertical-align: top;
    cursor: pointer;
}

.cards::-webkit-scrollbar {
    display: none;
}


.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 15px 5px rgba(146, 145, 145, 0.5);
}

.more-section {
    padding: 40px 80px;
    text-align: center;
    background-color: black;
}

.more-section h3 {
    font-size: 32px;
    text-align: left;
    margin-bottom: 40px;
    color: white;
    width: 100%;
}

.more-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4,1fr);
    justify-content: space-between;
}

.more-card {
    width: 90%;
    height: 210px;
    padding: 20px;
    border-radius: 10px;
    vertical-align: top;
    text-align: left;
    transition: 0.3s;
    position: relative;
    cursor: pointer;
    background: linear-gradient(149deg, #192247 0%, #210e17 96.86%)
}

.more-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 15px 5px rgba(146, 145, 145, 0.5);
}

.more-card h2 {
    font-size: 20px;
    color: white;
    margin: 0px;
}

.more-card p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 20px;
}

.more-card img {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 10px;
    right: 15px;
}


.lower-section {
    padding: 40px 80px;
    text-align: center;
    background-color: black;
}

.lower-section h3 {
    font-size: 32px;
    text-align: left;
    margin-bottom: 40px;
    color: white;
    width: 100%;
}

.lower-btn {
    display: flex;
    flex-direction: column;
}

.lower-section button {
    width: 80%;
    margin: 5px auto;
    padding: 25px;
    font-size: 20px;
    background-color: rgb(48, 48, 48);
    color: white;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s ease;
}

.lower-section button:hover {
    background-color: rgb(70, 70, 70);
}

.footer {
    background-color: black;
    padding: 40px 80px;
    color: rgb(153, 153, 153);
}

.upper {
    text-align: center;
    margin-bottom: 40px;
}

.upper h4 {
    text-align: left;
}


.footer-info {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.upper button {
    padding: 12px 25px;
    font-size: 16px;
    background-color: rgb(229, 9, 20);
    border: none;
    color: white;
    border-radius: 4px;
    transition: 0.3s ease;
}

.upper button:hover {
    background-color: rgb(151, 2, 10);

}

.upper button a {
    text-decoration: none;
    color: white;
}

.upper input {
    width: 35%;
    padding: 12px 25px;
    font-size: 16px;
    background-color: #191818;
    border: none;
    border-radius: 4px;
}

.footer h4 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    color: white;
}

.footer-column {
    display: inline-block;
    width: 13%;
    vertical-align: top;
    margin-bottom: 30px;
}

.footer-column a {
    display: block;
    color: rgb(153, 153, 153);
    text-decoration: none;
    margin: 8px 0;
    font-size: 14px;
}

.lower {
    margin-top: 30px;
    text-align: left;
}

.footer-select {
    background-color: rgb(25, 24, 24);
    border: none;
    color: white;
    padding: 10px;
    border: none;
}


.lower h5 {
    margin: 15px 0;
    font-size: 16px;
    color: white;
}


@media (max-width: 1400px) {


    .more-cards {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .footer-column {
        width: 22%;
    }
}

@media (max-width: 959px) {

    .header {
        padding: 20px;
        height: auto;
    }

    .info-section h1 {
        font-size: 36px;
    }

    .info-section input {
        width: 80%;
        margin-bottom: 10px;
    }

    .lower-section button {
        width: 100%;
    }

    .more-cards {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    /* .more-card {
        width: 100%;

    } */

    .footer-info {
        flex-wrap: wrap;
    }

    .footer-column {
        width: 45%;
    }
}

@media (max-width: 500px) {


    nav {

        gap: 10px;
    }

    .logo {
        width: 120px;
    }

    .info-section h1 {
        font-size: 26px;
    }

    .info-section h4 {
        font-size: 16px;
    }

    .info-section p {
        font-size: 14px;
    }

    .info-section input,
    .info-section button {
        /* width: 100%; */
        font-size: 14px;
        text-align: left;
    }

    .trending-section {
        padding: 40px 20px;
    }

    .more-section {
        padding: 40px 20px;
    }


    /* .more-card {
        width: 100%;
    } */

    .lower-section {
        padding: 40px 20px;
    }

    .lower-section button {
        width: 100%;
        font-size: 15px;
    }

    .upper {
        text-align: left;
    }

    .upper input {
        width: 80%;
        text-align: left;
        margin-bottom: 10px;
    }

    .footer {
        padding: 40px 20px;
    }


    .footer-column {
        width: 100%;
        text-align: left;

    }

    .lower {
        text-align: left;
    }
}

@media (max-width:370px) {
     nav {
       margin-left: 45px;
    }

}