* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 15px;
  height: 60px;
}

header h1 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 50px;
}

section {
  width: 100%;
  max-width: 1200px;
  margin: 20px;
  padding: 20px;
  border: 1px solid #ddd;
}

section h2 {
  margin: 0;
}

textarea,
pre {
  width: 100%;
  height: 300px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: monospace;
  overflow: auto;
}

.comment {
  color: #888;
}

.number {
  color: #008000;
}

.string {
  color: #e6194b;
}

.boolean {
  color: #0000ff;
}

.null {
  color: #a9a9a9;
}

.bracket {
  color: #333;
}

.colon {
  color: #333;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
}

.seo-content {
  max-width: 1000px;
  margin: 0 auto;
}

.seo-content h3 {
  font-size: 24px;
  margin: 30px 0 20px;
}

.seo-content ul {
  list-style: disc;
  margin-left: 40px;
  margin-bottom: 20px;
}

.seo-content li {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.seo-content li:last-child {
  margin-bottom: 0;
}

/* Copy button style */
.copy-btn {
  background-color: #f9f9f9;
  border: none;
  color: #333;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 10px;
}

.copy-btn:hover {
  background-color: #ddd;
}

.copy-btn:active {
  background-color: #ccc;
}

/* Landscape tablet/desktop styles */
@media screen and (min-width: 768px) {
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .json-input {
    width: 50%;
    margin-right: 10px;
    resize: vertical;
  }

  .json-output {
    width: 50%;
    resize: vertical;
  }

  .error {
    margin-top: 10px;
  }
}

/* Portrait tablet/mobile styles */
@media screen and (max-width: 767px) {
  .container {
    padding: 10px;
  }

  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }

  .json-input,
  .json-output {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    resize: none;
  }
  .seo-content {
    max-width: 700px;
    padding: 50px;
    margin: 0 auto;
  }
}
