@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Fira+Mono:wght@400;500;700&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Emoji:wght@600&display=swap");

body {
  background: url("bg.jpg") top center no-repeat fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem;
  font-family: "Fira Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #111;
  font-size: 1.8rem;
  line-height: 4rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px;
}

h1 {
  font-family: "Fira Mono", monospace;
  font-weight: 500;
  font-style: normal;
  text-transform: lowercase;
  color: orange;
  background-color: #222;
  padding: 0 2.5rem;
  border-radius: 0.5rem;
  font-size: 2.5rem;
  line-height: 5rem;
}

img {
  border-radius: 50%;
  margin: 0 0 2rem 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;
}

.highlighted {
  padding: 0 0.5rem;
  background-color: rgba(238, 238, 238, 0.6);
  color: #333;
}

.footnote {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 2.8rem;
}

.footnote strong {
  color: #444;
}

footer {
  background: rgba(238, 238, 238, 0.8);
  padding: 1rem 2rem;
  width: 96%;
  align-self: center;
  text-align: center;
  font-weight: 600;
  color: #666;
}

a:link,
a:visited {
  color: chocolate;
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: underline;
}

/* MEDIA QUERIES
------------------------------- */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
    line-height: 8rem;
  }
  img {
    max-width: 25%;
    position: relative;
    float: left;
    margin: 0 4rem 0 0;
  }
  footer {
    width: 40%;
  }
}