/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@keyframes falling {
  0% {
    transform: translateY(0);
  }
  99%{
    content: url('images/plueyrain/spr_mike_raindrop.png');
  }
  100% {
    content: url('images/plueyrain/spr_mike_raindrop_land.gif');
    transform: translateY(110vh);
  }
}

body {
  background: linear-gradient(#ffaec9,#fff200);
  color: black;
  font-size:16px;
  padding:0;
  margin:0;
}

div.box {
  color:white;
  background-color:#000000;
  min-width:150px;height:auto;
  max-width:200px;
  border: 50px solid;
  border-image: url("images/fat border with background.png") 42;
  border-image-outset:35px;
  margin:40px auto;padding:0;
}


#rainbox{
  position:fixed;
  z-index:-2;
  background-color:#00000000;
  margin:0;padding:0;
  left:0;bottom:0;
  width:100vw;height:100vh;
}

.rain {
  content: url('images/plueyrain/spr_mike_raindrop.png');
  image-rendering: pixelated;
  max-width:500%;
  height:40px;
  position: absolute;
  bottom:110vh;
  animation:1.2s falling cubic-bezier(.42,0,1,1) forwards;
  z-index:-1;
}