@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg: #401e31;
  --bg2: #26121d;
  --text: #f8f8f2;
  --accent: #bf6d98;
  --shadow: #803c62;
  --cyan: #8be9fd;
  --dkcyan: #68adbd;
  --green: #50fa7b;
  --dkgreen: #3cba5b;
  --orange: #ffb86c;
  --dkorange: #bf8a50;
  --pink: #ff79c6;
  --dkpink: #a75a86;
  --purple: #bd93f9;
  --dkpurple: #8e6eba;
  --red: #ff5555;
  --dkred: #bf3f3f;
  --yellow: #f1fa8c;
  --dkyellow: #cdba68;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: var(--accent) var(--shadow);
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 14px;
  }

  *::-webkit-scrollbar-track {
    background: var(--dkpink);
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--dkpink);
    border-radius: 10px;
    border: 2px solid var(--accent);
  }

/* Page body styles */
body {
  margin: 0; /* Remove the default page margin */
  background: var(--bg2);
}

/* General styles that apply to everything */
* {
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  line-height: 1.5em;
  color: var(--text);
  box-sizing: border-box;
}

html {
  overflow-y: hidden;
}

a {
  color: var(--pink); /* Link color */
}
a:hover {
  color: var(--shadow); /* Hovered link color */
}

#container {
  max-height: 100vh;
}

.form-btn {
  background: var(--cyan);
  border: 3px solid var(--dkcyan);
  color: var(--bg);
  font-size: 22px;
  font-weight: 900;
  height: 50px;
  width: 100px;
}

.form-input {
  margin: 18px 5px;
}

form {
  margin: 10px;
  font-size: 22px;
}

.no-top {
  margin-top: -10px;
}

.v-top {
  vertical-align: top;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid var(--shadow);
  border-bottom: none;
  border-top: none;
  width: 212px;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 1;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: var(--accent);
  border-bottom: 1px solid var(--shadow);
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: var(--dkpink);
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: var(--dkcyan) !important;
  color: var(--text);
}

input, select, textarea {
  background: var(--shadow);
  color: var(--text);
}

textarea {
  width: 325px;
  height: 150px;
}

label {
  font-weight: 800;
}

/* Responsive images */
figure {
  text-align: center;
  margin: 0.5rem 0;
  padding: 0;
}
figure svg,
figure img {
  max-width: 100%;
  height: auto;
}

main {
  overflow-y: auto;
  height: calc(100vh - (256px + 74px));
}

/* BGs */
.header,
.footer {
  background: var(--bg);
}

/* Header */
.header {
  border-bottom: 2px solid var(--shadow);
  padding: 0;
  text-align: center;
  min-height: 16rem;
}
.header figure {
  margin: 0;
  padding: 0;
}
.header figure img,
.header figure svg {
  display: inline-block;
}

/* Horizontal menu links used in the header and footer */
.menu-links {
  list-style: none;
  margin: 0.5em 0;
  padding: 0;
}
.menu-links li {
  display: inline-block;
}
.menu-links a {
  display: block;
  padding: 0.5em;
  white-space: nowrap;
}

/* Main Content Column */
.main-content {
  background: var(--dkpink);
}

/* Left Sidebar Column */
.left-sidebar {
  background: var(--accent);
  padding: 1rem;
}

/* Right Sidebar Column */
.right-sidebar {
  background: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  border-top: 2px solid var(--shadow);
  position: fixed;
  left: 0;
  bottom: 0;
  min-width: 100%;
}

.footer-fix {
  max-height: calc(100vh - (74px + 256px));
}

[data-join] > c1-1 {
  padding: 0.5rem;
}

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

/* ---- grid ---- */

/* clear fix */
.grid:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

/* 5 columns, percentage width */
.grid-item,
.grid-sizer {
  width: 200px;
  margin: 5px;
}

.grid-item {
  float: left;
  height: 200px;
  background: var(--dkcyan);
  border: 2px solid var(--shadow);
}

.grid-item--width2 {
  width: 40%;
}
.grid-item--height2 {
  height: 200px;
}

.green {
  background: var(--dkgreen);
}

.red {
  background: var(--dkred);
}

.orange {
  background: var(--dkorange);
}

.purple {
  background: var(--dkpurple);
}

.pink {
  background: var(--dkpink);
}

.yellow {
  background: var(--dkyellow);
}

.hidden {
  visibility: hidden;
}

.invis {
  display: none;
}

.main-content > h1, #m-container > h1 {
  margin-top: 0;
}

#l-sb-content > h2 {
  margin-top: 16px;
  margin-bottom: 0;
}

.plus {
  text-align: right;
}

/*.button-group > button {
  padding: 0.6rem;
  background: var(--shadow);
  border: 2px solid var(--bg);
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}*/

.button-group > button {
  display: inline-block;
  padding: 0.5em;
  background: var(--shadow);
  min-width: 50px;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: var(--text);
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px var(--bg);
  cursor: pointer;
}

.button-group > button:hover {
  background-color: var(--dkcyan);
  text-shadow: 0 1px var(--shadow);
}

.button-group > button:active,
.button-group > button.is-checked {
  background-color: var(--dkpurple);
}

.button-group > button.is-checked {
  color: var(--text);
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button-group > button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

.button-group-single .button { border-radius: 0.5em!important;}

.ui-group > select {
  background: var(--bg);
  font-size: 16px;
}

.ui-group>h3 {
  margin-bottom: 2px;
}

.ui-group:first-child>h3 {
  margin-top: 4px;
}

.modal-content {
  background: var(--bg);
}

.btn-close {
  background: transparent!important;
  color: var(--text)!important;
  font-weight: 800;
  font-size: 1.8rem;
  opacity: 0.7!important;
  padding-top:0!important;
  position: relative;
  top: -18px;
  left: 10px;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.muse-img {
  height: 300px;
  width: 250px;
  background: var(--accent);
}

.modal-body {
  padding-top: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
}