@font-face {
  font-family: "Cascadia Code";
  src: url("../fonts/CascadiaCode.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  padding: 0;
  background-color: #F5F5FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  font-family: "Cascadia Code", "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace;
  touch-action: none;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

#message-display {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin: 26px 0;
  min-width: 340px;
  min-height: 66px;
  background-color: #F5F7F8;
  border-radius: 9.36px;
  box-shadow: -15px -15px 30px 0 #fff, 15px 15px 30px 0 rgba(29, 13, 202, 0.0901960784);
}

#date-display {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-left: 70px;
  margin-bottom: -5px;
}

#info {
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
}

.letter, .letter-date {
  display: inline-block;
  font-weight: bold;
  color: #333;
  padding: 10px 0;
  margin: 0;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.letter {
  font-size: 2rem;
}

.letter-date {
  font-size: 1rem;
}

footer {
  margin-top: auto;
  padding: 20px;
  max-width: 500px;
  text-align: justify;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.3;
}
footer p {
  margin: 0;
}

.letter-exit {
  animation: slideOut 0.3s forwards;
}

.letter-enter, .letter-date-enter {
  opacity: 0;
  animation: slideIn 0.3s forwards;
}

.letter-enter {
  transform: translateY(-100%);
}

.letter-date-enter {
  transform: translateY(100%);
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
@media (max-width: 480px) {
  #message-display {
    min-width: 90vw;
    margin: 20px 10px;
  }
  #date-display {
    margin-left: 55px;
    margin-bottom: -8px;
  }
  #info {
    font-size: 1.2rem;
    padding: 0 10px;
  }
  .letter {
    font-size: 1.8rem;
  }
  .letter-date {
    font-size: 0.8rem;
  }
  footer {
    padding: 15px 10px;
    font-size: 0.8rem;
    margin-top: 30px;
  }
}/*# sourceMappingURL=index.css.map */