:root {
  font-size: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #2A2D3C;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  background-color: #80ADC6;
}

header,
header a,
main,
main > article {
  display: flex;
  flex-direction: column;
}

header img {
  width: 100%;
  max-width: 200px;
}

main {
  width: 100%;
  max-width: 800px;
  padding: 1rem;
  border: solid 1px #2A2D3C;
  border-radius: 0.5rem;
  box-shadow: 0 0 25px rgba(52, 54, 72, 0.65);
  background-color: #F1F6F9;
}

main > *,
main > article > *:not(h1) {
  margin-bottom: 1rem;
}

main >:last-child,
main > article >:last-child,
main > h1 {
  margin-bottom: 0;
}

article time {
  margin-bottom: 2rem !important;
}

h1,
p {
  line-height: 1.45em;
}

article > p:first-of-type::first-letter {
  font-size: 3rem;
}

h1 {
  color: #A51246;
  font-family: sans-serif;
  font-size: 1.5rem;
}

ul {
  padding-left: 1rem;
}

a {
  color: #E72367;
  font-family: sans-serif;
}

blockquote {
  padding: 1rem;
  border-left: solid 2px #2A2D3C;
}

.newsletter-form-container,
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.newsletter-form-container {
  margin-top: 2rem;
}

.newsletter-form {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 25px rgba(52, 54, 72, 0.65);
}

.newsletter-form header {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: #A51246;
}

.newsletter-form input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: 16px;
  border: solid 1px #2A2D3C;
}

@keyframes bounce {
  from {
    color: #95EED7;
    border-color: #21D4A4;
  }
  to {
    color: #F1F6F9;
    border-color: #137C60;
  }
}

.newsletter-form button {
  margin-top: 1rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  border: solid 3px #21D4A4;
  box-shadow: 0 0 15px rgba(52, 54, 72, 0.65);
  background-color: #137C60;
  color: #F1F6F9;
  font-weight: bold;
  font-size: 18px;

  animation-name: bounce;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
}

.newsletter-success,
.newsletter-error {
  margin-top: 1rem;
  font-family: sans-serif;
  font-size: 15px;
  text-align: center;
}

.postlist a {
  font-weight: bold;
}

.postlist a.read {
  font-weight: normal;
}