@font-face {
  font-family: "SunBatang-Light";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_eight@1.0/SunBatang-Light.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: chocolate;
  background-image: url("");
  font-family: "SunBatang-Light", serif;
  overflow-x: hidden;
}
#space {
  width: 100vw;
  height: 20vh;
  position: relative;
}
#container {
  position: absolute;
  width: 100vw;
  padding-bottom: 150px;
  top: 100vh;
  overflow-x: visible;
}
h1 {
  font-weight: normal;
  font-size: 15px;
  margin-top: 50px;
  left: 50%;
  max-width: 800px;
  position: fixed;
  z-index: 99;
  bottom: 0;
  text-align: center;
  transform: translate(-50%, 0px);
  margin: 10px 0;
}
.paper {
  position: absolute;
  left: 50%;
  width: 100%;
  max-width: 800px;
  min-height: 600px;
  background: white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
  transform-origin: center;
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
  word-wrap: break-word;
  transition: transform 0.2s ease, background 0.2s ease;
}
.paper:hover {
  transform: translateX(-50%) scale(1.05);
}
.paper.released:hover {
  cursor: pointer;
  z-index: 99999999999;
}
.dateAndtitle {
  position: absolute;
  bottom: 10px;
  left: 50%;
  padding: 0 15px;
  width: 100%;
  font-size: 15px;
  transform: translateX(-50%);
  background-color: white;
}
.releasedPaper {
  background-color: rgb(240, 241, 232);
  background-color: white;
}
.unreleased {
  color: lightgray;
}
.unreleasedPaper {
  pointer-events: none;
  background-color: white;
}
.unreleasedPaper .date-title {
  color: lightgray;
}
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0px 0px 10px chocolate;
  z-index: 100;
  width: 92vw;
  height: 92vh;
  line-height: 1.6;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}
#modal-title,
#modal-date {
  font-size: 15px;
  font-weight: normal;
  position: absolute;
  bottom: 20px;
  padding-left: 150px;
}

#modal-date {
  padding-left: 0px;
}

.credit {
  bottom: 0;
  position: absolute;
  z-index: 9999;
}

@media only screen and (max-width: 1200px) {
  .paper {
    max-width: 700px;
    min-height: 600px;
  }
}

@media only screen and (max-width: 900px) {
  .paper {
    max-width: 500px;
    min-height: 600px;
  }
}

@media only screen and (max-width: 600px) {
  #container {
    top: 50vh;
  }
  .paper {
    max-width: 300px;
    min-height: 400px;
  }
  .modal {
    width: 85vw;
    height: 75vh;
  }
}
