/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #141414;
    color: white;
}

/* NAVBAR */
.navbar {
    background-color: #000000;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: white;
    font-weight: bold;
}

/* CONTENUTO PRINCIPALE */
.main-content {
    margin-top: 70px;
    padding: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    margin-bottom: 20px;
}

section {
    margin-bottom: 40px;
}

/* GRIGLIA DELLE CARD */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* SINGOLA CARD */
.movie {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

.movie:hover {
    transform: scale(1.03);
    transition: 0.3s;
}

.movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.movie-title {
    font-size: 14px;
    font-weight: bold;
    padding: 10px 10px 5px;
}

.movie-info {
    font-size: 12px;
    color: #aaaaaa;
    padding: 0 10px 10px;
}

/* PAGINA PROFILO */
.profile-card {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
}

.profile-card h2 {
    margin-bottom: 5px;
}

.profile-card h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 16px;
}

.profile-card p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.profile-card a {
    color: #e50914;
    text-decoration: none;
}

.profile-card a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: #000000;
    text-align: center;
    padding: 20px;
    color: #aaaaaa;
    font-size: 13px;
    margin-top: 40px;
}

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