@import url('https://fonts.googleapis.com/css?family=Oswald:700|PT+Mono');

:root {
  --white: ivory;
  --opacity-1: rgba(0, 0, 0, 0.1);
  --opacity-2: rgba(0, 0, 0, 0.2);
  --opacity-5: rgba(0, 0, 0, 0.5);
  --opacity-6: rgba(0, 0, 0, 0.6);

  font-family: "PT Mono", monospace;
}

body {
  background: hsl(200, 40%, 35%);
  margin: 0;
  text-align: center;
}

h1, h2 {
  color: var(--white);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
}

h1 {
  font-size: 3em;
  letter-spacing: 0.5em;
  margin: auto;
  opacity: 0.95;
  white-space: nowrap;
}

h2 {
  background: var(--opacity-2);
  box-shadow: 0px 1px 3px var(--opacity-5);
  font-size: 2em;
  opacity: 0.8;
  padding: 10px;
}

textarea {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  box-sizing: border-box;
  color: var(--white);
  flex: 1;
  font-size: 1.4em;
  margin: auto;
  outline: none;
  padding: 10px 15px;
  resize: none;
  text-align: justify;
  text-transform: uppercase;
  width: 100%;
}

textarea::placeholder {
  color: var(--white);
  opacity: 0.6;
}

#main {
  display: flex;
  flex-flow: column wrap;
  min-height: 100vh;
}

#header {
  background: var(--opacity-1);
  box-shadow: 0px 1px 15px var(--opacity-5);
  display: flex;
  padding: 20px;
}

#content {
  display: flex;
  flex-flow: row wrap;
  flex: 1;
  justify-content: space-evenly;
  align-content: center;
  align-items: center;
  margin: 30px 0px;
  text-transform: uppercase;
}

.textarea-card {
  border: 1px solid var(--opacity-5);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  width: 40vw;
  min-width: 400px;
  height: 60vh;
  box-shadow: 0px 0px 10px var(--opacity-6);
}

#incrementer {
  color: var(--white);
  display: flex;
  flex-flow: column nowrap;
  flex: 0 1;
  justify-content: center;
  align-items: center;
  font-size: 5em;
  padding: 10px;
  width: 50px;
  user-select: none;
}

#incrementer button {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  outline: none;
  transition: all 250ms;
  margin: 10px;
}

#incrementer button:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

#footer {
  background: var(--opacity-1);
  box-shadow: 0px -1px 15px var(--opacity-5);
  color: var(--white);
  display: flex;
  font-size: 0.8em;
  height: 50px;
  text-transform: lowercase;
  user-select: none;
}
#footer p { margin: auto; }
#footer i { color: lightgreen }
#footer a { text-decoration: none; color: inherit; }

@media (max-width: 1000px) {
  h1 { font-size: 5vw; }
  #content { flex-flow: column wrap; }
  .textarea-card { width: 80vw; }
}
