.si-buttons-scifi__style-8__button-8 {
  /* == BUTTON SETTINGS == */
  --font-family: Jura, monospace;
  --font-size: 16px;
  --color: white;
  --background-color: #0b28b3;
  --border-width: 1px;
  --border-cut: 22px;
  --button-shape: polygon(100% 0, 100% 100%, 0 100%, 0 var(--border-cut), var(--border-cut) 0);
}

.si-buttons-scifi__style-8__button-8 {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color) !important;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  vertical-align: middle;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  word-spacing: 3px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.3s;
  line-height: initial;
  min-height: 30px;
  min-width: 70px;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  outline: 0;
  padding: 15px 30px;
  background-color: transparent;
}

.siButtonsMoveLeft {
  transition-delay: 500ms;
  transform: translate(0%, -90%);
}
.siButtonsMoveNormal {
  transition-delay: 500ms;
  transform: translate(0%, 0%);
}
.si-buttons-scifi__style-8__button-8:before{
  content: '';
  position: absolute;
  inset: 0 -10px 0 auto;
  width: 5px;
  background: var(--background-color);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8:after{
  content: '';
  position: absolute;
  height: 6px;
  width: 22px;
  background: var(--background-color);
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 100%, 0% 100%);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8 helper-1:before{
  content:'';
  position: absolute;
  inset: 0;
  background: var(--background-color);
  z-index: -1;
  clip-path: var(--button-shape);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

[class*='si-buttons-scifi'].disabled,
[class*='si-buttons-scifi']:disabled{
  pointer-events:none;
  opacity:0.5;
  cursor:default;
}


/* Ripple Animation */
[class*='si-buttons-scifi'] ripple {
  inset: 0;
  position: absolute;
  overflow: hidden;
  -webkit-clip-path: var(--button-shape);
          clip-path: var(--button-shape);
}

[class*='si-buttons-scifi'].disabled ripple,
[class*='si-buttons-scifi']:disabled ripple{
  display:none
}

[class*='si-buttons-scifi'] ripple:after {
  content: '';
  --ripple-gradient: rgb(255, 255, 255);
  position: absolute;
  inset: 0 auto 0 -200%;
  width: 200%;
  transform: skewX(-20deg);
  opacity: 0.5;
  background-image: linear-gradient(to right, transparent, var(--ripple-gradient), transparent);
}

[mode*='light'] ripple:after {
  --ripple-gradient: var(--border-color);
}

[class*='si-buttons-scifi']:hover ripple:after {
  left: 200%;
  transition: 1.6s ease;
}

[class*='si-buttons-scifi'] ripple:before {
  content: '';
  --ripple-color: rgb(255, 255, 255);
  position: absolute;
  inset: 50%;
  transform: skewX(-10deg);
  border-radius: 100vh;
}

[mode*='light'] ripple:before {
  --ripple-color: var(--border-color);
}

[class*='si-buttons-scifi']:focus ripple:before {
  animation: ripple-animation 0.7s ease-in-out forwards;
}

[class*='si-buttons-scifi']:active ripple:before {
  animation: unset;
}

@keyframes ripple-animation {
  0% {box-shadow: 0 0 0 0 var(--ripple-color); opacity:0.6}
  100% {box-shadow: 0 0 0 150px var(--ripple-color); opacity:0}
}


/* Shine Animation */
[class*='si-buttons-scifi'] shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-clip-path: var(--button-shape);
          clip-path: var(--button-shape);
}

[class*='si-buttons-scifi'].disabled shine,
[class*='si-buttons-scifi']:disabled shine {
  display: none;
}

[class*='si-buttons-scifi'] shine:after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -70px;
  width: 30px;
  opacity: 0.8;
  background: rgb(255, 255, 255);
  transition: all .3s linear;
  transform: skewX(-15deg) translateX(0);
  animation: shine 3.5s ease-in-out infinite;
}

[mode*='light'] shine:after {
  opacity: 0.5;
  background: var(--border-color);
}

[class*='si-buttons-scifi']:hover shine:after {
  animation: unset;
}

@keyframes shine {
  70% {left: -70px}
  100% {left: calc(100% + 70px)}
}


.buttonDashboardCommon {
  /* --font-family: Jura, monospace;*/
  --font-family: 'Cascadia';
  --font-size: 14px;
  --border-width: 1px;
  --border-cut: 22px;
  --button-shape: polygon(100% 0, 100% 100%, 0 100%, 0 var(--border-cut), var(--border-cut) 0);
  
  --color-collection: white;
  --background-color-collection: #0b28b3;
  
  --color-factions: white;
  --color-evacuation: white;
  --color-colonization: white;
  --background-color-factions: #0BB381;
  --background-color-evacuation: #B3170B;
  --background-color-colonization: #0BB34C;
  
  /* red collection : #B3170B */
  /* tile collection : #0BB381 */
  /* green collection : #0BB34C */
  /*  darker writing
  --color-factions: #2F2C2C;
  --color-evacuation: #2F2C2C;
  --color-colonization: #2F2C2C;
  --background-color-factions: #FFA457;
  --background-color-evacuation: #FF5E57;
  --background-color-colonization: #74FF57;
  */
}

.si-buttons-scifi__style-8__button-8_collection {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-collection) !important;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  vertical-align: middle;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  word-spacing: 3px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.3s;
  line-height: initial;
  min-height: 30px;
  min-width: 70px;
  min-height: 30px;
  min-width: 285px;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  outline: 0;
  padding: 15px 30px;
  background-color: transparent;
}

.si-buttons-scifi__style-8__button-8_collection:before{
  content: '';
  position: absolute;
  inset: 0 -10px 0 auto;
  width: 5px;
  background: var(--background-color-collection);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_collection:after{
  content: '';
  position: absolute;
  height: 6px;
  width: 22px;
  background: var(--background-color-collection);
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 100%, 0% 100%);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_collection helper-1:before{
  content:'';
  position: absolute;
  inset: 0;
  background: var(--background-color-collection);
  z-index: -1;
  clip-path: var(--button-shape);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_evacuation {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-evacuation) !important;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  vertical-align: middle;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  word-spacing: 3px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.3s;
  line-height: initial;
  min-height: 30px;
  min-width: 70px;
  min-height: 30px;
  min-width: 285px;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  outline: 0;
  padding: 15px 30px;
  background-color: transparent;
}

.si-buttons-scifi__style-8__button-8_evacuation:before{
  content: '';
  position: absolute;
  inset: 0 -10px 0 auto;
  width: 5px;
  background: var(--background-color-evacuation);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_evacuation:after{
  content: '';
  position: absolute;
  height: 6px;
  width: 22px;
  background: var(--background-color-evacuation);
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 100%, 0% 100%);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_evacuation helper-1:before{
  content:'';
  position: absolute;
  inset: 0;
  background: var(--background-color-evacuation);
  z-index: -1;
  clip-path: var(--button-shape);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_factions {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-factions) !important;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  vertical-align: middle;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  word-spacing: 3px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.3s;
  line-height: initial;
  min-height: 30px;
  min-width: 70px;
  min-height: 30px;
  min-width: 285px;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  outline: 0;
  padding: 15px 30px;
  background-color: transparent;
}

.si-buttons-scifi__style-8__button-8_factions:before{
  content: '';
  position: absolute;
  inset: 0 -10px 0 auto;
  width: 5px;
  background: var(--background-color-factions);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_factions:after{
  content: '';
  position: absolute;
  height: 6px;
  width: 22px;
  background: var(--background-color-factions);
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 100%, 0% 100%);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_factions helper-1:before{
  content:'';
  position: absolute;
  inset: 0;
  background: var(--background-color-factions);
  z-index: -1;
  clip-path: var(--button-shape);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}


.si-buttons-scifi__style-8__button-8_colonization {
  font-family: var(--font-family);
  font-size: var(--font-size);
  color: var(--color-colonization) !important;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  vertical-align: middle;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  word-spacing: 3px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: 0.3s;
  line-height: initial;
  min-height: 30px;
  min-width: 70px;
  min-height: 30px;
  min-width: 285px;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  outline: 0;
  padding: 15px 30px;
  background-color: transparent;
}

.si-buttons-scifi__style-8__button-8_colonization:before{
  content: '';
  position: absolute;
  inset: 0 -10px 0 auto;
  width: 5px;
  background: var(--background-color-colonization);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_colonization:after{
  content: '';
  position: absolute;
  height: 6px;
  width: 22px;
  background: var(--background-color-colonization);
  clip-path: polygon(5px 0%, calc(100% - 5px) 0%, 100% 100%, 0% 100%);
  transform: rotate(-45deg);
  top: 3px;
  left: -5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.si-buttons-scifi__style-8__button-8_colonization helper-1:before{
  content:'';
  position: absolute;
  inset: 0;
  background: var(--background-color-colonization);
  z-index: -1;
  clip-path: var(--button-shape);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5);
}
