* {
  box-sizing: border-box;
  font-family: 'Allerta', sans-serif;
}

::selection {
  background-color:rgba(128, 128, 128, 0.15);
}

:root {
  --body-bc: #fff;
  --text-color: rgb(1, 49, 1);
  --primary-color: rgb(1, 49, 1);
  --secondary-color: #37e288;
  --extra-color: rgba(196, 255, 196, 0.384);
  --extra-bc: rgba(128, 128, 128, 0.164);
  --donate-bc: #37e288;
  --pre-color: #f5f5f5;
  --hot-color: #e4e4e4;
  --hotter-color: #dadada;
  --overlay-color: #adadad;
  --holder-color: #d5d5d5;

  --invert-scale: 0%;

  --line-width: 0%;
  --translate-value: 40px;
}

body {
  background-color: var(--body-bc);
  margin: 0;
  overflow-x: hidden;
  margin: 0;
  transition: 0.4s ease-in-out;
}

body.dark-mode {
  --body-bc: rgb(22, 37, 51);
  --text-color: rgb(234, 235, 236);
  --extra-color: rgb(31, 141, 77);
  --donate-bc: rgb(31, 141, 77);
  --pre-color: #15202b;
  --hot-color: #22303c;
  --hotter-color: #15202b;
  --overlay-color: #192734;
  --holder-color: #757575;

  --invert-scale: 100%;
  
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

.disabled, 
.non-active {
  pointer-events: none;
}

.non-active {
  opacity: 0.4;
}

.header .mode {
  margin-left: 0.8rem;
}

/* toggle page mode button styling */

.header .mode button {
  background-color: var(--extra-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 41px;
  height: 41px;  
}

.header .mode button i {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--secondary-color);
  pointer-events: none;
}