/* BODY */
body {
    background: linear-gradient(135deg, #e3f2fd, #fce4ec, #e8f5e9);
    color: #222;
    font-family: Arial, sans-serif;
    margin: 10px;

    animation: fadeIn 0.8s ease-in;
}

/* FADE */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* HEADER */
h1 {
    text-align: center;
    font-size: 2.4em;
    background: linear-gradient(90deg, #2196f3, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

/* NAV */
nav {
    text-align: center;
    margin-bottom: 25px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* NAV LINKS */
nav a {
    color: #333;
    text-decoration: none;
    margin: 0 18px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

/* NAV HOVER */
nav a:hover {
    background: linear-gradient(90deg, #2196f3, #9c27b0);
    color: white;
}

/* MAIN CARD */
main {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* HEADINGS */
h2 {
    color: #673ab7;
    margin-bottom: 8px;
}

/* PARAGRAPHS */
p {
    line-height: 1.6;
}

/* IMAGES */
img {
    display: block;
    margin: 20px auto;
    border-radius: 12px;
    transition: 0.4s;
}

/* IMAGE HOVER */
img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(156,39,176,0.4);
}

/* FIGCAPTION */
figcaption {
    text-align: center;
    color: #555;
}

/* AUDIO + VIDEO */
audio, iframe {
    display: block;
    margin: 25px auto;
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 25px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #444;
}