html, body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
  background-color: var(--color-background);
  font-family: "Arbutus Slab", serif;
  color: #1e1e1e;
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */   
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.container div{
  min-height: 100vh;
}

.container .logo{
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.1em;
  width: 10vw;
  height: 10vh;
}

span#tui::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 135px;
  background: url('/assets/creative-sanctuary-logo-tui-white-stroke-100x135.png') 0 0 no-repeat;
  background-size: contain;
  position: absolute;
  width: 100%;
  white-space: pre;
  top: -42px;
}

.container .splash{
  min-height: 100vh;
  width: 60vw;
  font-size: 12.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.container .notepad{
  min-width: 100vw;
  max-width: 100vw;
}

.arbutus-slab-regular {
  font-family: "Arbutus Slab", serif;
  font-weight: 400;
  font-style: normal;
}

/* ///// Title ///// */

:root {
  --color-background: #31037d;
  --axis-x: 1px;
  --axis-y: 1rem;
  --delay: 10;
  --color-black: #000;
  --color-white: #fff;
  --color-orange: #d49c3d;
  --color-red: #d14b3d;
  --color-violet: #cf52eb;
  --color-blue: #44a3f7;
  --color-green: #5acb3c;
  --color-yellow: #debf40;
  --color-foreground: var(--color-white);
}

.c-rainbow {
  counter-reset: rainbow;
  position: relative;
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}
.c-rainbow__layer {
  --text-color: var(--color-foreground);
  counter-increment: rainbow;
  color: var(--text-color);
  text-shadow: -1px -1px 0 var(--color-black), 1px -1px 0 var(--color-black), -1px 1px 0 var(--color-black), 1px 1px 0 var(--color-black), 4px 4px 0 rgba(0, 0, 0, .2);
  animation: rainbow 1.5s ease-in-out infinite;
}
.c-rainbow__layer:nth-child(1) {
  animation-delay: calc(1 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 1);
  z-index: -10;
}
.c-rainbow__layer:nth-child(2) {
  animation-delay: calc(2 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 2);
  z-index: -20;
}
.c-rainbow__layer:nth-child(3) {
  animation-delay: calc(3 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 3);
  z-index: -30;
}
.c-rainbow__layer:nth-child(4) {
  animation-delay: calc(4 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 4);
  z-index: -40;
}
.c-rainbow__layer:nth-child(5) {
  animation-delay: calc(5 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 5);
  z-index: -50;
}
.c-rainbow__layer:nth-child(6) {
  animation-delay: calc(6 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 6);
  z-index: -60;
}
.c-rainbow__layer:nth-child(7) {
  animation-delay: calc(7 / var(--delay) * 1s);
  left: calc(var(--axis-x) * 7);
  z-index: -70;
}
.c-rainbow__layer:not(:first-child) {
  position: absolute;
  top: 0;
}
.c-rainbow__layer--white {
  --text-color: var(--color-white);
}
.c-rainbow__layer--orange {
  --text-color: var(--color-orange);
}
.c-rainbow__layer--red {
  --text-color: var(--color-red);
}
.c-rainbow__layer--violet {
  --text-color: var(--color-violet);
}
.c-rainbow__layer--blue {
  --text-color: var(--color-blue);
}
.c-rainbow__layer--green {
  --text-color: var(--color-green);
}
.c-rainbow__layer--yellow {
  --text-color: var(--color-yellow);
}
@keyframes rainbow {
  0%, 100% {
    transform: translatey(var(--axis-y));
 }
  50% {
    transform: translatey(calc(var(--axis-y) * -1));
 }
}

/* ///// Background ///// */

.fading {
  background: #bae1ff;
  animation: fading 10s infinite;
  -webkit-animation: fading 10s infinite;
}

@keyframes fading {
  0%   { background: #bae1ff; }
  20%  { background: #baffc9; }
  40%  { background: #ffffba; }
  60% { background: #ffdfba; }
  80% { background: #ffb3ba; }
  100% { background: #bae1ff; }
}

@-webkit-keyframes fading {
  0%   { background: #bae1ff; }
  20%  { background: #baffc9; }
  40%  { background: #ffffba; }
  60% { background: #ffdfba; }
  80% { background: #ffb3ba; }
  100% { background: #bae1ff; }
}
@keyframes opacityfading {
  0%   { opacity: 0; }
  33%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes opacityfading {
  0%   { opacity: 0; }
  33%  { opacity: 1; }
  66%  { opacity: 0; }
  100% { opacity: 1; }
}

/* ///// Notepad ///// */

p{
  margin: 0;
}

/* styling paper */
#paper {
  max-width: 100%;
  position: relative;
  margin: 20px auto;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: white;
  box-shadow: 0px 0px 10px 0px rgba(44, 44, 44, 0.444);
  -webkit-box-shadow: 0px 0px 6px 1px rgba(44, 44, 44, 0.444);
  -moz-box-shadow:    0px 0px 6px 1px rgb(44, 44, 44, 0.444);
  box-shadow:         0px 0px 6px 1px rgb(44, 44, 44, 0.444);
}

/* styling red vertical line */
#paper::before {
  content: '';
  width: 2px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 40px;
  background-color: rgba(255,0,0,0.6);
}

/* styling blue horizontal lines */
#pattern {
  height: 100%;
  background-image: repeating-linear-gradient(white 0px, white 24px, teal 25px);
}

/* styling text content */
#content {
  min-height: 100vh;
  padding-top: 6px;
  padding-left: 56px;
  padding-right: 16px;
  line-height: 25px;
  font-size: 19px;
  letter-spacing: 1px;
  word-spacing: 5px;
}

textarea{
  min-height: 100vh;
  min-width: 100%;
  line-height: 25px;
  font-size: 19px;
  letter-spacing: 1px;
  word-spacing: 5px;
  background-color: transparent;
  border: none;
  padding: 0;
  resize: none;
  outline: none;
  overflow: hidden;
}

textarea div{
  max-height: 100%;
  text-align: left;
}
