xx* {
    outline: 1px solid red;
}

#four-hands {
    border: 1px solid;
    height: 50%;
    font-family: monospace;
    display: grid;
    grid-template-columns: 25em 25em 25em;
}

/* from https://www.perplexity.ai/search/in-bootstrap-how-can-i-use-the-Tp82tQ57R3emdSxPG.c79g */
.inactive-button {
  pointer-events: none;
  cursor: default;
}

.inactive-button:hover,
.inactive-button:focus,
.inactive-button:active {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* from https://www.perplexity.ai/search/using-css-or-bootstrap-how-can-A5U0WSQKTdS172ms6crEdQ */
@keyframes throb {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

.throb-div {
  animation: throb 1s infinite;
}

:root {
  --navbar-height: 100px;
}

.navbar {
  height: var(--navbar-height);
}

caption {
    font-size: 2em;
}

body {
  padding-top: var(--navbar-height);
}

.humanize-me {
    font-family: monospace;
}

/* From https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_overflow/CSS_carousels#carousel_with_single_pages */
ul.carousel {
  width: 90%;
  height: 90%;
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  anchor-name: --myCarousel;
}

ul.carousel::scroll-button(*) {
  border: 0;
  font-size: 2rem;
  background: none;
  color: rgb(0 0 0 / 0.7);
  cursor: pointer;
  position: absolute;
  position-anchor: --myCarousel;
}

ul.carousel::scroll-button(*):hover,
ul.carousel::scroll-button(*):focus {
  color: rgb(0 0 0 / 1);
}

ul.carousel::scroll-button(*):active {
  translate: 1px 1px;
}

ul.carousel::scroll-button(*):disabled {
  color: rgb(0 0 0 / 0.2);
  cursor: unset;
}

ul.carousel::scroll-button(left) {
  content: "◄";
}

ul.carousel::scroll-button(right) {
  content: "►";
}

ul.carousel::scroll-button(*) {
  position: absolute;
  position-anchor: --myCarousel;
  align-self: anchor-center;
}

ul.carousel::scroll-button(left) {
  right: calc(anchor(left) - 45px);
}

ul.carousel::scroll-button(right) {
  left: calc(anchor(right) - 45px);
}

li.carousel {
  list-style-type: none;
  background-color: #eee;
  border: 1px solid #ddd;
  padding: 20px;

  flex: 0 0 100%;
  scroll-snap-align: center;
}

.bigfont {
    font-family: monospace;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;

    font-size: 8cqh;
}

.mediumfont {
    font-size: 5cqh;
}

.spades, .hearts, .diamonds, .clubs {
    display: flex;
    flex-direction: row;
    align-items: center;
    div { span, button {width: 2em; }}
}
.hearts, .diamonds {
    color: red;
}
.spades, .clubs {
    color: black;
}

.hand {
    display: grid;
    grid-template-rows: 25% 25% 25% 25%;
}
.btn {
    --bs-btn-font-size: revert;
}

li h2 {
    text-align: center;
}

.three-by-three-trick-display {
    display: grid;
    height: 50cqh;
    grid-template-columns: 1fr 1fr 1fr;

    div {
        border: 1px dotted;
        text-align: center;
        display:flex;
        flex-direction: column;
        align-items: center;
    }

    div span {
        font-family: monospace;
        font-optical-sizing: auto;
        font-weight: 100;
        font-style: normal;

        font-size: 8cqh;
        justify-self: center;
    }
    div.grid-column {
        width: 100px;
        height: 100px;
    }
}

.active {
    background-color: lightgreen;
}
