.name {
  margin: 4px 0px 8px;
  border-radius: 50%;
}

.name-frame {
  position: relative;
  width: fit-content;
  height: 8px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.zone-descr {
  margin: 4px 0px;
}

.empty-acc {
  display: none;
  color: orange;
  animation: fadeInOut 2s;
  font-size: 52px;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes fadeOutIn {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* background color for curr player*/
@keyframes yellowNameFade {
  0% {
    background-color: transparent;
    color: gold;
    border-radius: 50%;
    box-shadow: none;
  }

  50% {
    border-radius: 50%;
    background-color: rgba(255, 255, 0, 0.5);
    box-shadow: 0 0 10px 10px rgba(255, 255, 0, 0.5);
    /* Schimmer-Effekt */
  }

  100% {
    background-color: transparent;
    color: rgb(55, 42, 32);
    border-radius: 0;
    box-shadow: none;
  }
}

.schimmer-text {
  animation: yellowNameFade 3s ease-in-out;
}

.table-content {
  height: auto;
  display: flex;
  padding: 4px;
  position: relative;
}

.table-frame {
  top: 60px;
  /*minus header*/
  height: calc(100vh - 60px);
}

.table-mirror-frame {
  position: absolute;
  left: 28px;
  width: calc(100vh - 60px);
  height: 100vh;
  overflow-y: auto;
}

.table-frame,
.table-mirror-frame {
  /* position: absolute; */
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body.mirror-view .table-top {
  top: 32px;
  position: relative;
}

.inner-table {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 96%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  align-items: center;
  /* background-image: url(./../assets/images/bgr/bgr-slate-brass.png); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.table-top,
.table-bottom {
  width: 100%;
  height: 40%;
  display: flex;
  flex: 0 0 40%;
  justify-content: center;
  align-items: center;
  gap: 40px;
}


.rotated-180 {
  transform: rotate(180deg);
  transform-origin: center center;
}

.table-center {
  width: 100%;
  height: auto;
  margin: 8px 0;
  display: flex;
  flex: 1 0 auto;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  /* z-index: 10; */
}

.left-center-frame {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accord-zone {
  position: relative;
  flex: 0 0 40%;
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
}

.circle-img {
  background-image: url('./../assets/images/bgr/brass-triad.png');
  background-size: 160px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: relative;
  width: 160px;
  height: 160px;
}

.bgr-circle {
  position: absolute;
  top: 0px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, 0%);
  width: 100%;
  height: 100%;
  background-color: rgba(255, 217, 0, 0.3);
  box-shadow: 0px 0px 16px 6px rgba(255, 217, 0, 0.3);
  border-radius: 100%;
  z-index: 0;
}

/*.chain */
.accCard {
  position: absolute;
  left: 46%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 18px;
  background-color: #cdcdcd;
  border-radius: 10px;
  margin: 5px;
}

/*.chain */
.accCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  padding: 20px;
  box-sizing: content-box;
}

/*----------GAME ZONE---------------*/

.bottom-zone,
.top-zone {
  position: relative;
  right: 0;
  /* width: 70%; */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.top-zone {
  top: 32px;
}

.bottom-zone {
  top: -32px;
}

.pl-card-frame {
  display: flex;
  margin: 0 12px;
  width: 8vw;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.card-group {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.card {
  margin: 8px;
  width: 8vw;
  height: auto;
  min-height: 80px;
  box-shadow: 5px 5px 4px -1px rgba(0, 0, 0, 0.8);
}

.card:hover {
  cursor: pointer !important;
  transform: rotate(180deg) !important;
}

img {
  cursor: pointer;
  /* z-index: 10; */
}

.hide-image {
  visibility: hidden;
}

.special {
  position: relative;
}

.special img {
  width: 62px !important;
  height: 62px !important;
}

.card-info-frame {
  cursor: pointer;
  padding: 20px !important;
}

.info-text {
  height: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 12px;
  font-size: 1.3em;
}

.info-text p {
  width: 100%;
  white-space: wrap;
  font-weight: 800;
}

.info-frame {
  position: relative;
  width: min-content;
  height: 132px;
  min-height: fit-content;
  min-width: 300px;
  text-align: center;
}

.sand-clock {
  width: 45%;
}

.helper-frame {
  position: relative;
  left: -24px;
  top: -8px;
}

#infoMellot {
  display: none;
}

#infoGoblin {
  display: none;
}

#infoWizzard {
  display: none;
}

.chain-frame:hover .chain-helper,
.helper-frame:hover .infoMellot,
.helper-frame:hover .infoGoblin,
.helper-frame:hover .infoWizzard {
  display: block;
}

.chain-helper {
  display: none;
  position: relative;
  top: 160px;
  left: 50px;
}

.chain-frame {
  position: absolute;
  right: -10px;
  bottom: -8px;
}



@keyframes yellowFade {
  0% {
    background-color: transparent;
    color: black;
  }

  50% {
    background-color: yellow;
  }

  100% {
    background-color: transparent;
    color: #f2f2f2;
  }
}

.info-animate {
  animation-name: yellowFade;
  animation-duration: 4s;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-group {
  margin: 12px 12px;
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  z-index: 2;
}

.btn-group button:hover {
  animation: shimmer 3s infinite linear;
}

.btn-group img {
  width: 32px;
  height: 32px;
  background-color: unset;
}

.btn {
  padding: 20px;
  max-height: fit-content;
  background-size: 100% 100%;
  background-position: center;
  background-color: unset;
  text-align: center;
}

.no-btn {
  background-size: 100% 100%;
  background-position: center;
  background-color: unset;
  text-align: center;
}

.btn {
  cursor: pointer;
}

/********************* BUTTON STYLE ***************/

  .opt-acc-text {
    color: rgb(255, 232, 100);
    text-shadow:
      /* 1px 1px 2px rgba(255, 255, 255, 0.6), */
      2px 2px 2px rgba(0, 0, 0, 0.7);
  }

  .opt-accord-item {
    display: block;
    margin-bottom: 0.25rem;
  }

  .color {
    color: #767dfd;
    color: #cb9066;
    color: #9efec7;
    color: #fe4a51;
    color: #e3fb8e;
    color: #c5adfc;
    color: #feaf4d;
    color: #8bb7fd;
    color: #fe88b0;
    color: #81ee4a;
    color: #fe42a6;
    color: #ebfe47;
  }

  .brass-long {
    padding: 20px;
    background-image: url('./../assets/images/bgr/brass-long.png');
    background-repeat: no-repeat;
    filter: brightness(1.2);
    font-family: monospace;
    letter-spacing: -0.1;
    word-spacing: -0.4;
    z-index: 1;
    background-image:
      /* 1) Overlay von oben-links nach unten-rechts, deckend */
      linear-gradient(rgba(0, 0, 0, 0.5),
        /* halbtransparentes Schwarz */
        rgba(0, 0, 0, 0.5)),
      /* font-style: italic; */
  }

  .brass-long-high {
    padding: 20px;
    background-image: url('./../assets/images/bgr/brass-long-high.png');
    background-size: cover;
    background-repeat: no-repeat;
    min-width: auto;
    min-height: auto;
    filter: brightness(1.01);
    font-family: monospace;
    /* text-shadow:
    1px 1px 2px rgba(255, 255, 255, 0.6),
    -1px -1px 2px rgba(0, 0, 0, 0.7); */
  }

  .brass-plate {
    padding: 12px;
    background-image: url(./../assets/images/bgr/brass-plate.png);
    text-wrap: nowrap;
    text-align: start;
    font-family: monospace;
    word-spacing: -0.3em;
    letter-spacing: -0.1em;
    background-image:
      /* 1) Overlay von oben-links nach unten-rechts, deckend */
      linear-gradient(rgba(0, 0, 0, 0.5),
        /* halbtransparentes Schwarz */
        rgba(0, 0, 0, 0.5)),
  }

  .small-font {
    color: #ffe864;
    text-shadow: 5px 7px 2px rgb(0 0 0 / 45%);
    font-size: 1.3em;
    white-space: nowrap;
    word-spacing: -0.1em;
    letter-spacing: -0.1em;
    font-weight: 900;
  }

  .brass-gear1,
  .brass-gear2,
  .brass-gear3 {
    background-image: url('./../assets/images/bgr/iron-gear2.png');
    color: rgb(42, 34, 27);
    background-size: 32px 32px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .brass-gear1 {
    position: absolute;
    width: 32px;
    height: 32px;
    bottom: -20px;
    right: 20px;
  }

  .brass-gear3 {
    position: absolute;
    right: -24px;
    top: -18px;
    z-index: 12;
  }

  .iron-circle {
    padding: 0;
    background-image: url(./../assets/images/bgr/iron-circle.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  .iron-long-cross {
    background-image: url('./../assets/images/bgr/iron-long-cross.png');
    /* color: #210808; */
    color: rgb(255, 232, 100);
    font-weight: 900;
    font-size: large;
    text-wrap: wrap;
    width: min-content;
    margin-right: 8px;
    text-shadow: 5px 7px 2px rgb(0 0 0 / 45%);
  }

  .iron-plate {
    background-image: url('./../assets/images/bgr/iron-plate.png');
    color: #000000;
    font-weight: 700;
    text-shadow:
      1px 1px 2px rgba(255, 255, 255, 0.6),
      -1px -1px 2px rgba(0, 0, 0, 0.7);
  }

  /* ------------------------- CIRCLE BOARD --------------------------- */
  .circle-popup {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .board-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .left-board {
    background-color: aqua;
    width: 50%;
  }

  .right-board {
    position: fixed;
    bottom: 150px;
    background-color: rosybrown;
    width: 50%;
  }

  /*changes for accCard*/
  .big {
    position: absolute;
    width: 40px;
    height: 60px;
    background-color: rgb(198, 29, 29);
    border-radius: 10px;
    margin: 5px;
  }

  @media (max-width: 1400px) {
    .small-font {
      font-size: 1.3em;
    }

    .table-top,
    .table-bottom {
      width: 90%;
    }
  }