html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}


body {
  font-family: helvetica, arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background-color: #4567b7;
  color: #fff;
  padding: 1em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 24px;
  margin: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1em;
}

nav a:hover {
  color: #ccc;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2em;
}

article {
  background-color: #fff;
  padding: 1em;
  margin: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: calc(33.33% - 2em);
}

article section {
  padding: 1em;
}

article section + section {
  border-top: 1px solid #ddd;
}

button {
  background-color: #4567b7;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background-color: #5678c3;
}

input {
  padding: 0.5em;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input:focus {
  border-color: #4567b7;
}

a {
  color: #4567b7;
  text-decoration: none;
}

a:hover {
  color: #5678c3;
}

h1, h2, h3 {
  color: #333;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: left;
}

th {
  background-color: #f0f0f0;
}

ol, ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
}

li:last-child {
  border-bottom: none;
}

p {
  margin-bottom: 1em;
}

footer {
  background-color: #4567b7;
  color: #fff;
  padding: 1em;
  text-align: center;
  clear: both;
}

footer a {
  color: #fff;
}

/* Responsive design */

@media (max-width: 768px) {
  main {
    flex-direction: column;
  }
  article {
    width: calc(50% - 2em);
  }
}

@media (max-width: 480px) {
  main {
    flex-direction: column;
  }
  article {
    width: 100%;
    margin: 1em 0;
  }
}

article {
  width: 100%;
  margin-bottom: 20px;
}

section {
  width: 100%;
  background-color: #fff !important;
  box-shadow: none !important;
}

img {
  width: 100%;
  height: auto;
}
