/*!*****************************************************************************************************************************************!*\
  !*** css ../node_modules/css-loader/dist/cjs.js!../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!./styles/main.scss ***!
  \*****************************************************************************************************************************************/
@charset "UTF-8";
/***
    The new CSS reset - version 1.8.4 (last updated 14.2.2023)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

/* Reapply the pointer cursor for anchor tags */
a, button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

@font-face {
  font-family: "Arial";
  src: url(../fonts/78a52ddac4c57d30e825.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Arial";
  src: url(../fonts/6b6bc1e5456a9734cdf1.woff2) format("woff2");
  font-weight: 400;
  font-style: italic;
}
body,
h1 {
  font-family: "Arial Narrow", "Arial", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
}

#site-title,
#randomiseBtn,
h1,
h2 {
  text-transform: uppercase;
}

strong {
  font-weight: 700;
  font-style: bold;
}

#site-title,
#randomiseBtn {
  font-size: var(--font-size-lg);
  line-height: var(--font-line-height-lg);
}

#randomiseBtn {
  font-style: italic;
}

.center {
  text-align: center;
}

.small,
.excluded-roles {
  font-size: var(--font-size-sm);
  line-height: var(--font-line-height-sm);
  text-transform: uppercase;
}

:root {
  --base: 1.4vw;
}
@media (max-width: 1280px) {
  :root {
    --base: 24px;
  }
}
@media (max-width: 960px) {
  :root {
    --base: 1.8vw;
  }
}
@media (max-width: 600px) {
  :root {
    --base: 3.5vw;
  }
}
:root {
  --font-size-sm: calc(var(--base) * 0.64);
  --font-size-base: var(--base);
  --font-size-md: calc(var(--base) * 1.72);
  --font-size-lg: calc(var(--base) * 3.2);
  --font-line-height-sm: 112%;
  --font-line-height-base: 112%;
  --font-line-height-md: 116%;
  --font-line-height-lg: 84%;
  --font-letter-spacing-base: 0.01em;
  --font-letter-spacing-wide: 0.06em;
  --palette-black: #000;
  --palette-white: #fff;
  --palette-green: #a7cd1d;
  --colour-text: var(--palette-black);
  --colour-bg: var(--palette-white);
  --colour-surface: var(--palette-white);
  --colour-primary: var(--palette-black);
  --colour-secondary: var(--palette-black);
  --colour-accent: var(--palette-green);
  --space-2xs: 0.125rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-base: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  --padding-button: var(--space-sm);
  --padding-button-sm: var(--space-xs);
  --padding-button-back: 1rem;
  --padding-button-sides: var(--space-md);
  --padding-section: var(--space-base);
  --padding-site: var(--space-sm);
  --padding-main: var(--space-xl) var(--space-2xl);
}
@media (max-width: 960px) {
  :root {
    --space-xl: 10rem;
    --space-2xl: 5rem;
  }
}
@media (max-height: 640px) {
  :root {
    --space-xl: 4rem;
  }
}
@media (max-width: 600px) {
  :root {
    --space-xl: 8rem;
    --space-2xl: 3rem;
  }
}
:root {
  --header-logo-width: var(--space-2xl);
  --header-set-height: 4rem;
  --hover-opacity: 0.5;
  --placeholder-opacity: 0.25;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --stroke-base: 0.075rem dashed var(--colour-primary);
}
@media (max-width: 600px) {
  :root {
    --stroke-base: 0.1rem dashed var(--colour-primary);
  }
}
:root {
  --transition-fast: 0.2s;
  --transition-base: 0.3s;
  --transition-slow: 0.6s;
  --shadow-md: 0 0 30px 0 var(--colour-accent);
}
@media (max-width: 600px) {
  :root {
    --shadow-md: 0 0 30px 0 var(--colour-accent);
  }
}

html {
  font-size: var(--font-size-base);
  line-height: normal;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-size: var(--font-size-base);
  line-height: var(--font-line-height-base);
  letter-spacing: var(--font-letter-spacing-base);
  background-color: var(--colour-bg);
  color: var(--colour-text);
}

img {
  height: auto;
  width: 100%;
}

button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

a {
  transition: color var(--transition-fast);
}

.logo {
  fill: var(--colour-primary);
}

::selection {
  background: transparent;
  color: var(--colour-accent);
}

.hide {
  display: none;
}

input {
  width: 8rem;
}

button.disabled {
  opacity: var(--placeholder-opacity);
  cursor: no-drop;
}

header {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
header > div {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}
header #participants li span {
  opacity: 0;
  color: var(--colour-accent);
  margin-left: var(--space-2xs);
}
header #participants li:hover span {
  opacity: 1;
}
header #site-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
header #site-title > * {
  display: flex;
  margin: 0 auto;
  pointer-events: all;
}
@media (max-width: 600px) {
  header #site-title > * {
    word-wrap: break-word;
    width: 50%;
  }
}
header #options {
  display: flex;
  flex-direction: column;
  text-align: right;
  justify-content: flex-end;
  align-items: flex-end;
  row-gap: var(--space-xs);
}
header #options .title {
  display: none;
}
@media (max-width: 600px) {
  header #options .title {
    display: block;
  }
}
header #options .group-name input::placeholder {
  color: var(--colour-accent);
}
header #options .group-size input[type=number]::-webkit-inner-spin-button, header #options .group-size input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
  margin-left: var(--space-xs);
}
header #options .group-roles ul.roles {
  display: flex;
  flex-direction: column;
}

footer .randomise {
  display: flex;
  justify-content: center;
  pointer-events: none;
}
footer .randomise #randomiseBtn {
  pointer-events: all;
}
footer .randomise #randomiseBtn:hover {
  color: var(--colour-accent);
  text-transform: uppercase;
}

body div.site {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--padding-site);
}
body div.site main {
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--padding-main);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
body div.site main #output-container {
  position: relative;
  font-size: var(--font-size-md);
  line-height: var(--font-line-height-md);
  background-color: var(--colour-surface);
  z-index: 100;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  max-height: 100%;
  overflow: scroll;
  pointer-events: all;
}
body div.site main #output-container > * {
  padding: var(--padding-section);
}
body div.site main #output-container .group-name {
  position: sticky;
  top: 0;
  margin: 0 var(--padding-section);
  width: calc(100% - var(--padding-section) * 2);
  padding: var(--padding-section) 0;
  padding-bottom: var(--space-xs);
  background-color: var(--colour-surface);
  border-bottom: var(--stroke-base);
}
body div.site main #output-container .roles {
  padding-top: 0;
}
body div.site main #output-container .roles li {
  padding: var(--space-xs) 0;
}
body div.site main #output-container .roles li:not(:first-of-type) {
  border-top: var(--stroke-base);
}
body div.site main #output-container .roles li:last-child {
  padding-bottom: 0;
}
body div.site main ul {
  width: 100%;
}
body div.site main ul li {
  display: flex;
  column-gap: var(--space-sm);
}
body div.site main ul li p {
  width: 100%;
}
