body {
  background: #5a4634; /* dark backdrop for contrast */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Georgia", serif;
}

/* --- old --- */
/*.scroll-1 {*/
/*  background: transparent;*/
/*  background-image: url("res/scroll-v-2.png");*/
/*  background-repeat: no-repeat;*/
/*  background-position: center 0;*/
/*  padding: 45px 10px 40px 10px;*/
/*  width: 270px;*/
/*  height: 330px;*/
/*  border-radius: 8px;*/
  
/*  box-shadow: 20px 20px 20px 1px rgba(0,0,0,0.25),*/
/*   -5px -10px 5px 1px rgba(0,0,0,0.25) inset;*/
/*}*/

/*.chat-old {*/
/*  position: absolute;*/
/*  z-index: 10;*/
  
/*  width: 270px;*/
/*  height: 330px;*/
  
/*  margin-top: 50px;*/
/*  margin-left: 87px;*/
  
/*  filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.4));*/
/*}*/
/* ---     --- */

/* --- Scroll ---*/
.shadow {
  filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.4));
}

.chat {
  display: none;
  position: absolute;
  z-index: 10;
  
  width: 270px;
  height: 330px;
  
  top: 0;
  
  margin-top: 50px;
  margin-left: 87px;
  
  opacity: 0;
}

.scroll-wrapper {
  position: relative;
  width: 300px;
  height: 370px;
}

.handle-top {
  position: relative;
  z-index: 20;
}

.handle-bot {
  position: relative;
  bottom: 30px;
  z-index: 20;
}

.page {
  position: relative;
  left: 87px;
  bottom: 12px;
  width: 275px;
  height: 20px;
  z-index: 1;
}
/* -------------- */

/* --- Animations --- */
.anim-grow {
  animation: grow 2s;
  animation-fill-mode: forwards;
}
.anim-shrink {
  animation: shrink 2s;
  animation-fill-mode: forwards;
}

.anim-fadein {
  animation: fadein 0.5s;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}
.anim-fadeout {
  animation: fadeout 0.15s;
  animation-fill-mode: forwards;
}

@keyframes grow {
    0%{height:20px}
    100%{height:345px}
}
@keyframes shrink {
    0%{height:345px}
    100%{height:20px}
}

@keyframes fadein {
    0%{opacity:0}
    100%{opacity:1;}
}
@keyframes fadeout {
    0%{opacity:1}
    100%{opacity:0}
}
/*---------------------*/


