@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

html {
  font-size: 18px;
}
body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  color: #222;
}
main {
  max-width: 700px;
  margin: 3rem auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem;
  text-align: center;
}
h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: #007acc;
}
h2 {
  font-size: 1.2rem;
  margin-top: 2em;
  margin-bottom: 0.7em;
  color: #007acc;
  font-weight: 700;
  text-align: left;
}
button, a#homelink {
  background: #e3f2fd;
  color: #007acc;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: background 0.2s;
  text-decoration: none;
  margin-top: 1em;
  cursor: pointer;
  display: inline-block;
}
button:hover, a#homelink:hover {
  background: #bbdefb;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 2em;
}
thead tr {
  background: #e3f2fd;
}
th, td {
  padding: 1em;
  text-align: left;
  font-size: 1rem;
}
th {
  font-weight: 700;
  color: #007acc;
  border-bottom: 2px solid #bbdefb;
}
tr:nth-child(even) {
  background: #f4f8fb;
}
details {
  margin-top: 2rem;
  font-size: 1.1rem;
  background: #e3f2fd;
  border-radius: 6px;
  padding: 1em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: inline-block;
}
summary {
  font-weight: 700;
  cursor: pointer;
  color: #388e3c;
}
#punchline {
  margin-top: 1em;
  color: #d32f2f;
  font-weight: 700;
}
/* Demo page specific styles */
.demo-section {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1.5px solid #bbdefb;
  margin-bottom: 2em;
  padding: 1em 1em 1.5em 1em;
}
#textelements {
  margin-bottom: 2em;
}
ul.demo-links {
  text-align: left;
  max-width: 400px;
  margin: 2em auto;
  background: #e3f2fd;
  border-radius: 8px;
  padding: 1em 1.5em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  border: 1.5px solid #bbdefb;
  list-style: none;
}
ul.demo-links li {
  margin-bottom: 0.5em;
  font-size: 1.05em;
  padding-left: 0;
}
ul.demo-links a {
  color: #007acc;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
ul.demo-links a:hover {
  color: #388e3c;
  text-decoration: underline;
}
#textelements button {
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 1em;
  margin-right: 0.5em;
  cursor: pointer;
  transition: background-color 0.2s;
}
#textelements button:hover {
  background-color: #005fa3;
}
