/* Variables */

:root {
  --background-color: #f0e9eb;
  --foreground-color: #7a0b45;
}

/* Use box-sizing */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */

* {
  margin: 0;
}

/* Add accessible line-height and improve text rendering */

body {
  line-height: 1.5;
  font-family: sans-serif;
  display: flex;
  background-color: var(--background-color);
  color: var(--foreground-color);
}

/* Remove built-in form typography styles */

input,
button,
textarea,
select {
  font: inherit;
  color: var(--foreground-color);
}

/* Avoid text overflows */

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Links */

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

/* Typography */

small {
  font-size: 0.75rem;
}

.text-decoration-none {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

/* Flex */

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

/* Display */

.d-block {
  display: block;
}

/* Borders */

.rounded {
  border-radius: 0.5rem;
}

.border {
  border: 1px solid var(--foreground-color);
}

.border-2 {
  border: 2px solid var(--foreground-color);
}

.border-3 {
  border: 3px solid var(--foreground-color);
}

.inner-border {
  box-shadow: inset 0 0 0 1px var(--foreground-color);
}

.inner-border-hover:hover {
  box-shadow: inset 0 0 0 1px var(--foreground-color);
}

.border-top {
  border-top: 1px solid var(--foreground-color);
}

.border-bottom {
  border-bottom: 1px solid var(--foreground-color);
}

.border-right {
  border-right: 1px solid var(--foreground-color);
}

/* Sizing */

.w-100 {
  width: 100%;
}

.w-50 {
  width: 50%;
}

.w-33 {
  width: 33.333%;
}

/* Backgrounds */

.bg-black {
  background-color: var(--foreground-color);
  color: var(--background-color);
}

.bg-white {
  background-color: var(--background-color);
}

.bg-striped-outer {
  background: repeating-linear-gradient(
    45deg,
    var(--foreground-color) 0px,
    var(--foreground-color) 1px,
    transparent 2px,
    transparent 9px
  );
}

.bg-striped-inner {
  background: repeating-linear-gradient(
    -45deg,
    var(--background-color) 0px,
    var(--background-color) 1px,
    transparent 3px,
    transparent 10px
  );
}

/* Circle */

.circle {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid var(--foreground-color);
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Border styles */
.border-dashed {
  border-style: dashed;
}

/* Cursor */

.cursor-pointer {
  cursor: pointer;
}

/* Icons */

.icon {
  fill: var(--foreground-color);
}

.bg-black .icon {
  fill: var(--background-color);
}

/* SortableJS styling for the element about to be dropped */

.card {
  user-select: none;
}

.ghost-class {
  border-style: dashed;
}

.ghost-class * {
  visibility: hidden;
}

.dragged-item {
  opacity: 1 !important;
  transform: rotate(5deg);
}
