/* 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." */
* {
  font-family: monospace;
  font-size: 14px;
}

p {
  text-shadow: black 2px 2px;  
}

h2 {
  font-family: Georgia;  
  font-size: 1.5rem;
  position: absolute;
  top: -1.65em;
  left: 2em;
  z-index: 5;
}

body {
  background-color: #222;
  color: white;
  font-family: Verdana;
  margin-bottom: 100px;
}

a {
  color: #88f; 
}

.pane {
  border: 2px green solid; 
  margin: 2em;
  border-radius: 10px;
  flex: 1 1;
  position: relative;
}

.padded {
  padding: 1em;
}

.subpane {
  border: 2px purple solid; 
  border-radius: 2px;
  padding: 0.3em;
  flex: 1 1;
  position: relative;
}

.trans-black {
  background-color: #00000040; 
}

.image-on-top-left-corner {
 position: absolute; 
 transform: translate(-60%, -60%);
}

.bg1 {
  background: url(https://64.media.tumblr.com/90d14bc3c54a3daabd04bc8e61cc295a/tumblr_inline_n258ovpRe81qhwjx8.gif);
  background-repeat: repeat;
  animation: scroll-bg-ur 60s linear infinite;
}

.bg2 {
  background: url(https://64.media.tumblr.com/4f3cbb1b66a76a19a9794a162373abc5/tumblr_inline_n258pbAEBc1qhwjx8.png);
  background-repeat: repeat;
  animation: scroll-bg-dl 60s linear infinite;
}

.bg3 {
  background: url(https://64.media.tumblr.com/39a128c0ee788f8378f01634d5a28e58/tumblr_inline_mwbs3qMgW91qkc0d3.gif);
  background-repeat: repeat;
  animation: scroll-bg-ul 60s linear infinite;
}

.bg4 {
  background: url(https://64.media.tumblr.com/e70a0da214e04e0451d7fdbe92bea124/tumblr_inline_mwbruq68nk1qkc0d3.png);
  background-repeat: repeat;
  animation: scroll-bg-dl 60s linear infinite;
}

.bg5 {
  background: url('https://64.media.tumblr.com/c7ac00108bcf4e60e51e62fdd82b3bba/tumblr_inline_n25dzn5Ebd1qhwjx8.jpg');
  background-size: auto;
  background-size: cover;
}

@keyframes scroll-bg-ur {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 1000px -1000px;
  }
}

@keyframes scroll-bg-dl {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -2000px 500px;
  }
}

@keyframes scroll-bg-ul {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 500px 2000px;
  }
}

.box-container {
  display: flex;
}

.box {
  flex: 1;
}

@media (max-width: 1000px) {
  .box-container {
    flex-direction: column;
  }
  .box { 
  }

}


#rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.raindrop {
  position: absolute;
  width: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100px);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

