/* color palette */
:root {
  --tx: #283044;
  --bg: #9dd8df;
  --bg2: #ba9ddf;
  --dw: #f0ffff;
  --it: #266085;
  --ih: #c9e8ee;
  --lo: #00dbdb;
  --pin: #cb1010;
}

.spoiler {
  /* filter: blur(0.25rem); */
  background-color: var(--tx);
  cursor: pointer;

  border-radius: 0.3rem;

  transition: filter 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* .spoiler:active {
  background-color: rgba(0, 0, 0, 0);
  filter: blur(0);
} */

/* DEFAULT VALUES FOR EVERY PAGE */
* {
  margin: 0;
  padding: 0;

  overflow-wrap: break-word;
}

/* most default things */
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  color: var(--tx);
  background: linear-gradient(0deg, var(--bg), var(--bg2));
  background-attachment: fixed;
  background-size: cover;
  overscroll-behavior: none;

  filter: blur(0);
  pointer-events: auto;

  transition: filter 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

html.blur {
  filter: blur(1rem);
  pointer-events: none;

  transition-duration: 0.2s;
}

button {
  cursor: pointer;
}

a {
  color: var(--it);
}

/* element type settings */
/* div,
button,
input {
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);

  transition: transform 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
} */

/* div:hover {
  transform: scale(1.02);
} */

/* button:hover, */
input:hover,
input:focus {
  transform: scale(1.05);
}

h1 {
  text-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.3);
}

/* element class ids */

button#logout {
  padding: 2rem;

  border-radius: 1rem;
  color: var(--it);
  background-color: var(--dw);

  display: none;

  font-weight: bolder;
}

button#logout:hover,
button#logout:active {
  color: rgb(194, 0, 0);

  font-weight: bold;
}
