@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*, *::after, *::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ccccbb;
  font-family: Instrument Serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 12rem;
  color: white;
  text-align: center;
}

/* Tablet and smaller */
@media (max-width: 768px) {
  h1 {
    font-size: 8rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 4rem;
  }
}

p {
  font-size: 2rem;
  color: white;
  text-align: center;
}

#main-img {
  position: absolute;
  z-index: -1;
  filter: grayscale() brightness(0.7);
  border: 4px solid black;
  height: 50vh;
}

footer {
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 1rem;
}

@media (max-width: 768px) {
  footer a {
    font-size: 2rem;
  }
}

footer a, footer a:visited {
  text-decoration: none;
  color: black;
  border: 1px solid black;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: 0.2s all;
}

footer a:hover {
  transform: translate(-2px, -2px);
}
