 
/* RESET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY */
body {
    background-color: #111;
    color: #fff;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #1c1c1c;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff3366;
}

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

nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff3366;
}

/* HERO */
.hero {
    padding: 50px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 36px;
}

/* GRIGLIA CARD */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    display: block;
}

.card h3 {
    padding: 10px 15px 0 15px;
    font-size: 20px;
}

.card p {
    padding: 0 15px 10px 15px;
    font-size: 14px;
    color: #ccc;
}

.buttons {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

button {
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button.watch {
    background-color: #ff3366;
    color: #fff;
}

button.tip {
    background-color: #333;
    color: #fff;
}

button:hover {
    opacity: 0.8;
}

/* FOOTER */
footer {
    background-color: #1c1c1c;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

footer ul li a {
    color: #ccc;
    text-decoration: none;
}

footer ul li a:hover {
    color: #ff3366;
}

/* RESPONSIVE */
@media(max-width: 768px){
    header {
        flex-direction: column;
        gap: 10px;
    }
    .hero h1 {
        font-size: 28px;
    }
}