@font-face {
  font-family: "Ribbony";
  src: url("./Ribbony-Regular.otf") format("opentype");
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 100%;
  min-height: 100%;
  background-color: rgb(231, 254, 231);
}

#viewport {
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgb(231, 254, 231);
}

#world {
  position: relative;

  width: 3000px;
  min-height: 2600px;

  background-color: rgb(231, 254, 231);
}

h1 {
  margin: 0;
}

.test {
  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;

  color: #045908;
}


/* summer day title */

h2 {
  position: absolute;

  left: 100px;
  top: 70px;

  margin: 0;
  padding: 1px 8px;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;

  color: #045908;

  border: 3px dashed #045908;
}

.ascii {
  position: absolute;

  left: 50px;
  top: 200px;

  margin: 0;

  font-family: monospace;
  font-size: 40px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}

.tree {
  position: absolute;

  left: 100px;
  top: 500px;

  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}

.garden {
  position: absolute;

  left: 1200px;
  top: 350px;

  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}

.poem {
  position: static;
}

.poem pre {
  position: absolute;

  font-family: "Ribbony", Arial, sans-serif !important;
  font-size: 24px;
  line-height: 1.4;

  color: #045908;
  background-color: #f7fff2;

  border: 2px solid #045908;
  padding: 30px;
  margin: 0;

  text-transform: uppercase;

  opacity: 0.25;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    background-color 0.4s ease;
}

/* hover effect with rotation */

.poem pre:hover {
  opacity: 1;
  transform: scale(1.08) rotate(-2deg);
  background-color: rgb(233, 255, 230);
  z-index: 100;
}

.poem pre:nth-child(1) {
  left: 100px;
  top: 600px;
}

.poem pre:nth-child(2) {
  left: 800px;
  top: 750px;
}

.poem pre:nth-child(3) {
  left: 1500px;
  top: 1300px;
}

.poem pre:nth-child(4) {
  left: 500px;
  top: 2300px;
}

.poem pre:nth-child(5) {
  left: 1800px;
  top: 2400px;
}

.ascii-border {
  position: fixed;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  margin: 0;

  font-family: "Ribbony", monospace;
  font-size: 16px;
  line-height: 1;

  white-space: pre;

  z-index: 9999;

  pointer-events: none;
}

.border-top,
.border-bottom,
.border-left,
.border-right {
  position: fixed;
  z-index: 9999;

  font-family: "Ribbony", monospace;
  white-space: pre;

  pointer-events: none;
  margin: 0;
  color: #045908;
}

.border-top {
  top: 0;
  left: 0;

  width: 100vw;

  text-align: center;
  overflow: hidden;
}

.border-bottom {
  bottom: 0;
  left: 0;

  width: 100vw;

  text-align: center;
  overflow: hidden;
}

.border-left {
  top: 0;
  left: 0;

  height: 100vh;
}

.border-right {
  top: 0;
  right: 0;

  height: 100vh;
}

.flower {
  position: absolute;

  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);

  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}

.flower1 {
  position: absolute;

  left: 2500px;
  top: 1500px;

  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}

.flower2 {
  position: absolute;

  left: 1600px;
  top: 2500px;

  margin: 0;

  font-family: "Ribbony", Arial, sans-serif;
  font-size: 80px;
  line-height: 1;

  white-space: pre;

  color: #045908;
}