@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&display=swap');

body {
  background: url('./tree-bg.webp'), url('./tree-bg-low.webp'), #252a0a;
  background-size: cover;
  background-repeat: repeat;
  color: white;
  padding: 0;
  margin: 0;
}

#background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

h1 {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  /* font-size: 25.5vw; */
}

p {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding: 0 10px;
  margin-top: 0;
  text-align: center;
}

.fancy, .fancy > * {
    font-family: 'Imperial Script', cursive;
    font-weight: bold;
}

.letter {
  border-radius: 15px;
  background-image: url('./letter.webp'), url('./letter-low.webp');
  background-size: cover;
  background-repeat: repeat;
  margin: 10px;
  padding: 20px;
  /* background-color: #f0f0f0; */
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 30px;
  color: black;

  & p {
    color: black;
    font-size: 30px;
    text-align: start;
    @media (max-width: 600px) {
      font-size: 25px;
    }
  }

  &.fancy p {
    color: black;
    font-size: 40px;
    text-align: start;
    @media (max-width: 550px) {
      font-size: 30px;
    }
  }
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

#word {
  text-align: center;
  font-size: 1rem;
  margin-top: 5rem;
  margin-bottom: 2rem;
  color: rgb(100, 150, 100);
}

@font-face {
  font-family: 'Elvish';
  src: url('/fonts/tngan.ttf');
}

.elvish {
  font-family: 'Elvish';
}

.uncopyable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;
}

a {
  color: #0d96c2;
}
