html {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: #e2f9e0;
}

a {
  color: #387c7e;
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: #5fc8cb;
}

h1 {
  text-align: center;
}

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

.error {
  padding: 1rem;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  color: white;
  background-color: #fc5776;
}

.error mark {
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  color: white;
  background-color: #387c7e;
}
/*Search Section*/
.search-form {
  margin: auto;
  text-align: center;
}

.search-form input {
  display: block;
  margin: auto;
  padding: 0.25rem;
  border: none;
  border-radius: 0.2rem;
  font-size: 1rem;
  background-color: #eefcef;
}

.grid-fluid {
  margin: 1rem auto;
  max-width: 90%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.header {
  padding: 0.25rem;
  position: sticky;
  top: 0;
  text-align: center;
  background-color: #e2f9e0;
}

.header > * {
  margin: 1rem auto;
}

.loader {
  margin: 1rem auto;
  display: block;
  width: auto;
  height: 4rem;
}
/*Posts Section*/
.post-card {
  margin: 1rem auto;
  padding: 1rem;
  width: 80%;
  background-color: #eefcef;
}

.post-card p {
  display: flex;
  justify-content: space-between;
}

.post-page {
  margin: 1rem auto;
  padding: 1rem;
  width: 80%;
  background-color: #eefcef;
}

.post-page h2,
h3,
h4 {
  color: #387c7e;
}

.post-page > aside {
  margin: auto;
  width: 60%;
  text-align: center;
}

.post-page > hr {
  border: thin solid #387c7e;
  margin: 2rem auto;
  width: 80%;
}

.post-page video,
.post-page figure,
.post-page audio,
.post-page img,
.post-page iframe {
  display: block;
  margin: auto;
  width: 100%;
}

.post-page code {
  font-size: 12px;
}

.post-page time {
  margin: 1rem auto;
  display: block;
}

.post-page > article {
  padding: 0 2rem;
}
/*Contact Section*/
/* .contact-form {
  --form-ok-color: #387c7e;
  --form-error-color: #fc5776;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.contact-form > * {
  padding: 0.5rem;
  margin: 1rem auto;
  display: block;
  width: 100%;
  border: 0px;
  border-radius: 8px;
}

.contact-form textarea {
  resize: none;
}

.contact-form legend,
.contact-form-response {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.contact-form input {
  height: 25px;
  padding: 10px;
}

.contact-form input,
.contact-form textarea {
  font-size: 1rem;
  font-family: sans-serif;
}

.contact-form input[type="submit"] {
  font-weight: bold;
  cursor: pointer;
  background-color: #387c7e;
  color: white;
  height: 35px;
}

.contact-form input[type="submit"]:hover {
  transform: translateY(-1.5px) scale(1.05);
  background-color: #5fc8cb;
}

.contact-form *::placeholder {
  color: #131648;
}

.contact-form [required]:valid {
  border: thin solid var(--form-ok-color);
}

.contact-form [required]:invalid {
  border: thin solid var(--form-error-color);
}

.contact-form-error {
  margin-top: -1rem;
  font-size: 80%;
  background-color: var(--form-error-color);
  color: #fff;
  transition: all 800ms ease;
}

.contact-form-error.is-active {
  display: block;
  animation: show-message 1s 1 normal 0s ease-out both;
}

.none {
  display: none;
}

@keyframes show-message {
  0% {
    visibility: hidden;
    opacity: 0;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
} */
