@font-face {
  font-family: cera-pro;
  src: url("/styles/CeraProRegular.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: cera-pro;
  font-weight: bold;
  src: url("/styles/CeraProBlack.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu Mono";
  src: url("/styles/UbuntuMono.woff2");
  font-display: swap;
}
* {
  margin: 0px;
  padding: 0px;
}

body {
  background-image: linear-gradient(
    130deg,
    hsl(75deg, 21%, 95%) 0%,
    hsl(75deg, 21%, 95%) 30%,
    hsl(75deg, 30%, 80%) 100%
  );
  font-family: "cera-pro", sans-serif;
  color: hsl(76, 89%, 14%);
  font-size: calc(14px + 0.7vw);
  height: 100%;
}
.content-wrapper {
  position: relative;
  height: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  padding-bottom: 20vw;
}
h1 {
  font-size: 1.75em;
  margin-top: 1vw;
  line-height: 1.3em;
}
h2 {
  font-size: 1.25em;
  margin-top: 1em;
}
h3 {
  margin-top: 2em;
}
p {
  margin-top: 0.5em;
}
p + p {
  margin-top: 2em;
}
h1 + .post {
  margin-top: 2em;
}
h1.greeting:hover span {
  display: none;
}
h1.greeting:hover::after {
  content: "Welcome";
}
article ul {
  margin: 2em 0;
}
input,
label {
  display: block;
}
main,
article,
.to-blog-link,
nav {
  line-height: 2em;
  margin-left: 15vw;
  width: 70vw;
  max-width: 800px;
}
a {
  color: hsl(76, 100%, 20%);
}
a:active {
  color: hsl(76, 100%, 10%);
}
.contact-label {
  display: inline;
}
.copy-button {
  margin-left: 1vw;
  font-weight: bold;
  width: fit-content;
  margin-bottom: 1.4em;
  padding: 0 0.5vw;
  font-family: inherit;
  border: inherit;
  font-size: 1em;
  cursor: pointer;
  line-height: 1.4em;
  text-align: inherit;
  text-indent: inherit;
  padding: 0.16em 0.75em;
}

pre {
  border-radius: 0.5em;
  font-family: "Ubuntu Mono", monospace;
  background-color: rgb(210, 216, 196);
  overflow-x: overlay;
  font-size: 0.9em;
  line-height: 1.25em;
  margin: 2em 0;
  font-weight: bold;
}
code::before {
  content: "\A";
}
code::after {
  content: "\A";
}
code {
  font-family: "Ubuntu Mono", monospace;
}

*::selection {
  color: rgb(183, 194, 154);
  background-color: rgb(51, 68, 4);
}

a > h3 {
  background-color: inherit;
  color: inherit;
}

.publish-date {
  margin-top: -0.5em;
  color: rgb(98, 105, 74);
}
.trees {
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  position: absolute;
  z-index: -10;
}
.tree {
  position: absolute;
  top: 15vh;
  left: 70vw;
  width: 35vw;
  transform: rotate(-20deg);
}
.tree2 {
  position: absolute;
  top: 100vh;
  left: -5vw;
  width: 35vw;
  transform: scaleX(-1) rotate(-20deg);
}

.greeting-wrapper {
  display: flex;
  justify-content: space-between;
}
.picture-wrapper {
  margin-top: 0.4em;
  height: 5em;
  width: 5em;
  border-radius: 50%;
  object-fit: cover;
}
.profiles {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin-block-start: 0.83em;
}

.profiles a,
.rss {
  background-color: hsl(76, 25%, 72%);
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  display: flex;
  border-radius: 50%;
  padding: 0px;
}
.rss {
  margin-left: 1em;
  height: 1em;
  width: 1em;
  display: inline-flex;
}
nav ul {
  display: flex;
  margin: 0 -2rem;
}
nav li {
  list-style-type: none;
}
nav a {
  padding: 0 2rem;
  text-decoration: none;
}
nav a:hover,
nav a:focus {
  text-decoration: underline;
}

.profiles a:hover,
.rss:hover {
  background-color: rgb(121, 139, 67);
}
.profiles a:focus,
.rss:focus {
  background-color: rgb(121, 139, 67);
}
.profile-link-image {
  height: 70%;
  margin: auto;
  width: 70%;
}
.rss img {
  height: 50%;
  margin: auto;
  width: 50%;
}
.back-to-blog-link {
  margin-top: 2em;
  display: block;
  width: fit-content;
}

.list-wrapper {
  margin: 0 -0.5em;
}
.block-link {
  margin: 2em 0.5em;
  position: relative;
}
.block-link--home-post {
  margin: 1em 0.5em 1.75em 0.5em;
}

.block-link__overlay {
  color: transparent;
  border-radius: 2em;
  background-color: hsl(75deg, 21%, 86%);
  position: absolute;
  left: -2em;
  top: -0.5em;
  bottom: -0.5em;
  right: -2em;
  transition: background-color 0.1s linear;
}

.block-link__overlay:hover {
  color: transparent;
  background-color: hsl(75deg, 24%, 81%);
}
.block-link__overlay:active {
  color: transparent;
  background-color: hsl(75deg, 30%, 75%);
}

.block-link__content {
  position: relative;
  pointer-events: none;
  z-index: 1;
  margin-left: -0.5em;
}

.block-link__content--transparent {
  display: flex;
}
.block-link__content--home-post {
  display: flex;
}
.block-link__content img {
  height: 8em;
  width: auto;
  margin-right: 2em;
  margin-top: 1.25em;
  border-radius: 2em;
}

.block-link__content a {
  text-decoration: underline;
  pointer-events: all;
}
.block-link__content a:hover {
  color: hsl(76, 100%, 15%);
}

.block-link__overlay.block-link__overlay--transparent {
  background-color: hsla(75deg, 24%, 81%, 0%);
  color: transparent;
}
.block-link__overlay.block-link__overlay--transparent:hover {
  background-color: hsl(75deg, 21%, 86%);
}
.block-link__overlay.block-link__overlay--transparent:active {
  background-color: hsl(75deg, 30%, 75%);
}

.heading-wrapper {
  display: flex;
}
.heading-wrapper img {
  height: 5em;
  margin-right: 1em;
  margin-top: 1em;
  border-radius: 1em;
}

.block-link__content--home-post h2 {
  margin-top: 0.5em;
}
.block-link__content--home-post img {
  margin-top: 0.5em;
}
@media only screen and (min-width: 1500px) {
  main,
  article,
  .to-blog-link,
  nav {
    max-width: 1000px;
  }
}
@media only screen and (max-width: 800px) {
  .rss {
    margin-left: 0;
  }
}

@media only screen and (max-width: 600px) {
  main,
  article,
  .to-blog-link,
  nav {
    margin-left: 5vw;
    margin-right: 5vw;
    width: 90vw;
  }
  h1 {
    width: 70vw;
  }
  .contact {
    flex-direction: column;
  }
  .contact-label {
    display: block;
  }
  .contact-link {
    display: block;
  }
  .copy-button {
    margin-left: 0;
  }
  .block-link {
    margin: 0.5em 0em;
  }
  .block-link__overlay {
    left: 0;
    right: 0;
  }
  .block-link__content {
    flex-direction: column;
    margin-left: 1em;
    margin-right: 1em;
  }

  .block-link__content--home-post {
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 2em;
  }
  .block-link__content h2 {
    margin-top: 0.5em;
  }
  .block-link__content img {
    height: auto;
    width: 50%;
    margin-top: 0.5em;
  }
  .heading-wrapper {
    flex-direction: column;
    align-items: start;
  }
}
.home-rss-wrapper {
  display: flex;
  justify-content: flex-end;
  height: 2rem;
  font-size: 1.5em;
  margin-top: 1rem;
}
