:root {
  /* PRIMARY */
  --md-sys-color-primary: #6750A4;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #EADDFF;
  --md-sys-color-on-primary-container: #21005D;

  /* SECONDARY */
  --md-sys-color-secondary: #625B71;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #E8DEF8;
  --md-sys-color-on-secondary-container: #1D192B;

  /* SURFACE */
  --md-sys-color-surface: #FFFBFE;
  --md-sys-color-surface-container-low: #F7F2FA;
  --md-sys-color-surface-container: #F3EDF7;
  --md-sys-color-surface-container-high: #ECE6F0;
  --md-sys-color-on-surface: #1C1B1F;

  /* OUTLINE */
  --md-sys-color-outline: #CAC4D0;

  /* SHAPE */
  --md-sys-shape-corner-large: 24px;
  --md-sys-shape-corner-medium: 16px;
  --md-sys-shape-corner-small: 12px;

  /* ELEVATION */
  --md-sys-elevation-1: 0 1px 2px rgba(0,0,0,.15);
  --md-sys-elevation-2: 0 2px 6px rgba(0,0,0,.15);
  --md-sys-elevation-3: 0 4px 8px rgba(0,0,0,.2);

  font-family: "Roboto", system-ui, sans-serif;
}


body {
  margin: 0;
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
}

a {
  text-decoration: none;
  color: var(--primary);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 24px;
}

.container > p {
  text-align: justify;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface-container);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
  border-radius: var(--radius);
}

.hero h1 {
  margin: 0;
  font-size: 2.5rem;
}

.hero p {
  margin-top: 8px;
  color: #49454F;
}

/* BUTTON */
.button {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 500;
}

/* ARTISTA */
.bio {
  background: var(--surface-container);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bio > p {

  text-align: justify;
}

/* OPERE */
.opere {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--surface-container);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 16px;
  margin: 0;
}


/* NAVBAR */
.navbar {
  background: var(--surface-container);
  padding: 16px 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  font-weight: 500;
  margin-left: 16px;
}

/* HOVER MATERIAL */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .container {
    padding: 16px;
  }
}

.opera {
  margin-top: 48px;
  padding: 24px;
  background: var(--surface-container);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.opera img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.opera h3 {
  margin-top: 16px;
  font-size: 1.6rem;
}

.opera .meta {
  color: #625B71;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.opera > p {
  text-align: justify;
}



/* NAVBAR */
.navbar {
  background: var(--md-sys-color-surface-container-high);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--md-sys-elevation-2);
}

.bio,
.opera,
.hero {
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--md-sys-elevation-1);
}

.opera {
  margin-top: 40px;
  padding: 24px;
}

.opera img {
  border-radius: var(--md-sys-shape-corner-medium);
}

.opera .meta {
  color: var(--md-sys-color-secondary);
  font-size: 0.9rem;
}

.opera,
.bio {
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.opera:hover {
  box-shadow: var(--md-sys-elevation-3);
  transform: translateY(-2px);
}

/* ARTISTS GRID */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* ARTIST CARD */
.artist-card {
  display: block;
  background: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-large);
  box-shadow: var(--md-sys-elevation-1);
  overflow: hidden;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--md-sys-elevation-3);
}

.artist-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.artist-info {
  padding: 16px;
}

.artist-info p {
  margin: 4px 0 0;
  color: var(--md-sys-color-secondary);
}



