body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.snowflake {
  position: absolute;
  top: -50px;
  font-size: 1.5rem;
  color: white;
  animation: snow 10s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.snowflake:nth-child(1) { left: 15%; animation-duration: 6s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 50%; animation-duration: 7s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 5%; animation-duration: 9s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 80%; animation-duration: 5s; animation-delay: 3s; }
.snowflake:nth-child(5) { left: 35%; animation-duration: 8s; animation-delay: 4s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 6s; animation-delay: 0.5s; }
.snowflake:nth-child(7) { left: 10%; animation-duration: 7s; animation-delay: 1.5s; }
.snowflake:nth-child(8) { left: 70%; animation-duration: 9s; animation-delay: 2.5s; }
.snowflake:nth-child(9) { left: 20%; animation-duration: 5s; animation-delay: 3.5s; }
.snowflake:nth-child(10) { left: 90%; animation-duration: 8s; animation-delay: 4.5s; }
.snowflake:nth-child(11) { left: 25%; animation-duration: 6s; animation-delay: 1s; }
.snowflake:nth-child(12) { left: 55%; animation-duration: 7s; animation-delay: 2s; }
.snowflake:nth-child(13) { left: 40%; animation-duration: 9s; animation-delay: 3s; }
.snowflake:nth-child(14) { left: 75%; animation-duration: 5s; animation-delay: 4s; }
.snowflake:nth-child(15) { left: 30%; animation-duration: 8s; animation-delay: 5s; }
.snowflake:nth-child(16) { left: 65%; animation-duration: 6s; animation-delay: 1.5s; }
.snowflake:nth-child(17) { left: 45%; animation-duration: 7s; animation-delay: 2.5s; }
.snowflake:nth-child(18) { left: 95%; animation-duration: 9s; animation-delay: 3.5s; }
.snowflake:nth-child(19) { left: 85%; animation-duration: 5s; animation-delay: 4.5s; }


@keyframes snow {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translate(10px, 25vh) rotate(45deg);
  }
  50% {
    transform: translate(-10px, 50vh) rotate(90deg);
  }
  75% {
    transform: translate(10px, 75vh) rotate(135deg);
  }
  100% {
    transform: translate(0, 100vh) rotate(360deg);
    opacity: 0;
  }
}

.img {
  width: 10vw;
  max-width: 100px;
  min-width: 75px;
  padding: 0;
  align-self: flex-start;
  z-index: 1;
}

.message {
  display: flex;
  flex-direction: column;
  margin-left: 10px; 
}

.user {
  display: flex;
  align-items: flex-end;
}

.name {
  margin: 0;
  color: white;
}

#hour {
  margin: 0;
  color: rgb(140, 140, 140, 1);
  margin-left: 10px;
}

.textcontainer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: rgb(61, 64, 70, 0.8);
  position: relative;
  border-radius: 15px;
  margin-top: 5px;
  align-self: flex-start;
}

.text {
  word-break: break-word;
  color: rgb(255, 255, 255, 0.8);
  font-weight: 350;
  margin-left: 15px;
  margin-right: 15px;
  font-family: 'Times New Roman', Times, serif;
}

.buttonscontainer {
  display: flex;
  align-items: flex-end;
  margin-top: 5px
}