* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: #141414;
    color: white;
}

nav {
    display: flex;
    gap: 32px; 
    padding: 24px 64px; 
}
nav h3{
    font-size: 1.5rem; 
    font-weight: bold; 
    margin-right: auto; 
    color: #e50914;
}
nav a {
    color: white;
    text-decoration: none;
    font-size: 14px; 
}

.main-content {
    padding: 2%;
}

.main-content {
    width: 95%;
    height: 90vh;
    background-image: url(./netflix/netfliximage/kn\ background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation-name: image;
    opacity: 0.65;
    animation: image infinite ease-in-out 10s;
}

@keyframes image {
    0% {
        background-image: url(./netflix/desktop/desk1.jpg);
    }

    10% {
        background-image: url(./netflix/desktop/desk2.jpg);
    }

    20% {
        background-image: url(./netflix/desktop/desk3.jpg);
    }

    30% {
        background-image: url(./netflix/desktop/desk4.jpg);
    }

    40% {
        background-image: url(./netflix/desktop/desk5.jpg);
    }

    50% {
        background-image: url(./netflix/desktop/desk6.jpg);
    }

    60% {
        background-image: url(./netflix/desktop/desk7.jpg);
    }

    70% {
        background-image: url(./netflix/desktop/desk8.jpg);
    }
    80%{
        background-image: url(./netflix/desktop/desk9.jpg);
    }
    90%{
        background-image: url(./netflix/desktop/desk10.jpg);
        
    }
    100%{
        background-image: url(./netflix/desktop/desk1.jpg);
    }
}

.background-content {
    animation-name: content;
    animation: content 2s ease-in 1s;
}

@keyframes content {
    from {
        transform: translateY(-100px);
    }
    to {
        transform: translateY(200px);
    }
}

.text {
    animation-name: text;
    animation: text 2s ease-in 1s;
}

@keyframes text {
    from {
        transform: translateY(-100px);
    }
    to {
        transform: translateY(200px);
    }
}


h2 {
    margin-bottom: 16px; 
    letter-spacing: 6px;
    font-size: 42px; 
    font-weight: 700;
    position: absolute;
    top: 25%;
    left: 8%;
}

.text {
    font-weight: 1000;
    color: #141414;
    position: absolute;
    top: 40%;
    left: 4%;
    margin: 10px;
}

.ranking {
    color: #fa0606;
    font-weight: bold;
    font-size: 20px;
    top: 35%;
    left: 3.9%;
    margin-bottom: 10px; 
}

.description {
    color: white;
    max-width: 600px;
    margin: 0 auto 32px auto; /
    /* text-align:center; */
 
}

.buttons {
    display: flex;
    gap: 16px; 
    justify-content: center;
}

.play-button {
    background-color: #e50914;
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.info-button {
    background-color: rgba(109, 109, 110, 0.7);
    color: white;
    padding: 12px 32px; 
    border: none;
    border-radius: 4px;
    font-size: 18px; 
    cursor: pointer;
}

 h1 {
    padding: 20px;
}

.moviecard {
    margin: 0 64px; }

.card {
    height: 300px;
    width: 200px;
    border-radius: 10px;
    margin: 0 16px;
    padding: 8px;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.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;
}

/* @media (max-width: 1024px) {
    nav {
        flex-direction: row;
        
        gap: 16px; 
        padding: 16px 32px; 
    }

    .main-content {
        height: 60vh;
        background-size: cover;
    }

    h2 {
        font-size: 24px; 
        top: 25%;
    }

    .text {
        font-size: 16px;
        top: 35%;
    }

    .movie-title {
        font-size: 40px; 
    }

    .description {
        max-width: 500px;
    }

    .card {
        height: 250px;
        width: 180px;
    }

    .footer {
        width: 90%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */

