* {
    touch-action: manipulation;
  }

body {
    padding: 1%;
    background-color: rgba(30, 29, 29, 0.937);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0 3vw;
    font-size: clamp(0.75em, 2vw, 1em);
    line-height: clamp(1em, 3vh, 2em);
    --pale-white: rgba(255, 255, 255, 0.9);
    color: var(--pale-white);
    box-sizing: border-box;
}

.message{
  font-size: smaller;
  color: aliceblue;
  text-align: center;
}

.logo-container {
    max-width: 1000px;
    padding: 0% 2%;
    margin: 0px auto;
    display: flex;
}

.logo {
    width: 100%;
}

.flex {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.tool-icon {
    margin: 0;
    filter: invert();
}



nav a {
    color: white;
}

nav a:hover {
    color: black;
}

.nav-container a:visited {
    color: aliceblue
}

a {
    text-decoration: none;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
}

.nav-container ul {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    padding: 15px 5px;
    margin-top: 5px;
    border-top: rgba(255, 255, 255, 0.1) 3px solid;
    border-bottom: rgba(255, 255, 255, 0.1) 3px solid;
    list-style: none;
}

.nav-container a {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 5%;
    border: rgba(255, 255, 255, 0.1) 3px solid;
    border-radius: 10px 100px / 120px;
    font-size: small;
}

.nav-container ul li::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "";
    font-size: 7vw;
    transition: 150ms ease-in;
}

.nav-container ul a:nth-child(2) li::before {
    content: "\f24e";
}

.nav-container ul a:nth-child(3) li::before {
    content: "\f11b";
}

.nav-container ul a:nth-child(4) li::before {
    content: "\f3cd";
}

section {
    max-width: 1000px;
    margin: 15px auto;
    border-bottom: rgba(255, 255, 255, 0.1) 3px solid;
    padding: 5px 0px;
}

.famfrenzia-p {
    position: relative;
}

.meet-the-families {
    position: relative;
}

.world-map {
    width: 100%;
    position: relative;
}

.dot {
    width: 15px;
    height: 15px;
    margin-top: -10px;
    border-radius: 50%;
    background-color: red;
    position: absolute;
    /* animation: 5s infinite 0s alternate linear dim; */
}

.dot:hover {
    animation-play-state: paused;
}

@keyframes dim {
    from {
        opacity: 70%;
        scale: 100%;
    }

    100% {
        opacity: 100%;
        scale: 130%;
    }
}

.olddot {
    border: 2px rgba(255, 0, 0, 1) solid;
    /* transition: 1s; */
    transition: 1ms;
}

.flag {
    position: absolute;
    bottom: 12px;
    width: 30px;
    /* overflow: visible; */
    animation: 2s infinite 0s alternate ease-in-out wave;
}


.dot:nth-child(3n) .flag {
    animation: 2s infinite 2s alternate ease-in-out wave;
}

.dot:nth-child(4n) .flag {
    animation: 1.5s infinite 2.5s alternate ease-in-out wave;
}

.dot:nth-child(5n) .flag {
    animation: 2s infinite 3s alternate ease-in-out wave;
}

.dot:nth-child(6n) .flag {
    animation: 1s infinite 1.5s alternate ease-in-out wave;
}

.flag-img {
    width: 50px;
}


@keyframes wave {
    from {
        perspective: none;
        perspective-origin: -170%;
        transform: skew(20deg, 10deg);

    }

    100% {
        perspective-origin: center;
        perspective: 23rem;
        transform: skew(0);
    }
}

.family-details img {
    position: absolute;
    top: 0;
    width: 50px;
}

.show {
    display: flex;
}

.hide, .hidden {
    display: none;
}

.not-clickable {
    pointer-events:none;
    color:black !important;
}

.game-details {
    width: 100%;
    background-color: rgba(30, 29, 29, 0.15);
    color: rgba(255, 255, 255, .7);
}

.game-details-container {
    max-width: 1000px;
    margin: 0 auto;
    color: aliceblue
}

.game-details-container ul {
    display: flex;
    justify-content: first baseline;
    gap: 5px;
    padding: 15px 10px;
    margin-top: 5px;
    border-top: rgba(255, 255, 255, 0.1) 3px solid;
    border-bottom: rgba(255, 255, 255, 0.1) 3px solid;
}

.game-details-container li {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 15px;
    padding: 2%;
    border: rgba(255, 255, 255, 0.1) 3px solid;
    border-radius: 10px 100px / 120px;
    font-size: small;
}

.game-details-container li p {
    margin: 0em;
    font-weight: 800;
}

.game-details-container ul li::before {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "";
    font-size: 3vh;
    transition: 150ms ease-in;
}

.game-details-container .specs li:nth-child(1)::before {
    display: inline-block;

    content: "\f017";
}

.game-details-container .specs li:nth-child(2)::before {
    content: "\f0c0";
}

.game-details-container .specs li:nth-child(3)::before {
    content: "\f3e0";
}

.game-details-container .cards li:nth-child(1)::before {
    display: inline-block;

    content: "\e534";
}

.game-details-container .cards li:nth-child(2)::before {
    content: "\f70c";
}

.game-details-container .cards li:nth-child(3)::before {
    content: "\f0a1";
}

.usa {
    position: absolute;
    top: 30%;
    left: 17%;
}

.mexico {
    top: 40%;
    left: 15%;
}

.cuba {
    top: 42%;
    left: 22%;
}

.brazil {
    top: 65%;
    left: 30%;
}

.morocco {
    top: 34%;
    left: 42.5%;
}

.nigeria {
    top: 50%;
    left: 46.5%;
}

.uk {
    top: 19%;
    left: 44%;
}

.france {
    top: 26%;
    left: 45%;
}

.denmark {
    top: 17.9%;
    left: 47%;
}

.italy {
    top: 28%;
    left: 48.5%;
}

.turkey {
    top: 28%;
    left: 52%;
}

.jordan {
    top: 36%;
    left: 55.3%;
}

.palestine {
    top: 33%;
    left: 54%;
}

.india {
    top: 41%;
    left: 67%;
}

.russia {
    top: 14%;
    left: 67%;
}

.china {
    top: 33%;
    left: 72%;
}

.newzealnd {
    top: 88%;
    left: 90%;
}

.rules-container {
    max-width: 1000px;
    padding: 0% 2%;
    margin: 0px auto;
    display: flex;
    flex-basis: 1;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 2%;
    gap: 2%;
}

.rules-img {
    width: 100px;
    margin: 0 auto;
}

.rules-img-wide {
    width: 90%;
    margin: 0 auto;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.player-summary {
    display: flex;
    flex-basis: 100%;
    justify-content: space-between;
    gap: 15px;
}

.player-stats {
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.player-summary-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.player-summary-element::before {
    font-size: 2rem;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "";
    font-size: 7vw;
    transition: 150ms ease-in;
    /* content: "\f017"; */
}

.player-summary-element:nth-child(1)::before {
    font-size: 2rem;
    content: "\f2c2";
}

.player-summary-element:nth-child(2)::before {
    font-size: 2rem;
    content: "\f091";
}

.player-summary-element:nth-child(3)::before {
    font-size: 2rem;
    content: "\f51e";
}

#scroller-display-image {
    width: 60px;
    padding-top: 20px;
    ;
}

.character-select-container {
    display: flex;
    gap: 7px
}

.scoller-vertical-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(30, 29, 29, 0.15);
    --spacer: 5rem;
    margin: auto;
    /* width: 90%; */
    display: flex;
    /* grid-auto-flow: column; */
    gap: 0.2rem;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    margin: 0;
}

.btn-group {
    width: 100%;
    margin-left: 0%;
    margin-bottom: 10px;
}

.btn-group .btn {
    width: 25%;
    margin-left: 0%;
    margin-bottom: 10px;
}

.form-check-input.check-player-options {
    transform: scale(2);
}

.form-check-label.check-player-options {
    font-size: 14px;
}

.player-cards-scroller {
    display: flex;
    width: 100%;
    border: 1px solid rgb(65, 65, 65);
    --spacer: 5rem;
    margin: auto;
    /* width: 90%; */
    display: flex;
    /* grid-auto-flow: column; */
    gap: 0.2rem;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    margin: 0;
    /* border-bottom: 10px solid rgb(65, 65, 65); */
}

.player-cards-scroller-titles {
    display: flex;
    flex-direction: column;
    width: 10%;
    border: 1px solid rgb(65, 65, 65);
    --spacer: 5rem;
    margin: auto;
    gap: 0.2rem;
    overflow-y: hidden;
    margin: 0;
    /* border-bottom: 10px solid rgb(65, 65, 65); */
}

.player-card-header {
    min-width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 5px;
    border-radius: 2%;
    align-items: flex-start;
    /* inline-size: 100%; */
    /* object-fit: cover; */
    gap: 2px;
    box-shadow: 5px;
    /* background-color: black; */
    /* border-left: 2px solid rgb(65, 65, 65); */
    border-right: 2px solid rgb(65, 65, 65);
}

.card-title {
    color: var(--pale-white);
    text-align: center;
}

.card-title-grow {
    color: var(--pale-white);
    text-align: center;
    flex-grow: 1;
    font-size: larger;
    margin-inline: 11px;
    margin-bottom: 0;
}

.card-title-almost-transparent {
    color: rgb(65, 65, 65)
}

.item-card-title {
    color: var(--item-text-color);
    text-align: center;
    white-space: nowrap;
}

.card-title-green {
    color: greenyellow;
    text-align: center;
}

#scoller-vertical-container {
    /* border-left: 1px solid rgb(68, 67, 67); */
    padding-inline: 0px;
}

.name-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    color: rgb(47, 217, 255);
}

.name-div p {
    flex-shrink: 1;
    writing-mode: vertical-lr;
    text-orientation: sideways;
    transform: rotate(-180deg);
    /* color: rgb(47, 217, 255); */
    color: var(--item-text-color);
    font-size: larger;
}

.player-card-elements {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    justify-items: flex-start;
    padding: 4px;
    border-radius: 2%;
    align-items: center;
    /* inline-size: 100%; */
    /* object-fit: cover; */
    gap: 2px;
    box-shadow: 5px;
    /* background-color: rgb(75, 42, 165); */
}

.snaps-inline {
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1px;
}

.snaps-inline>* {
    scroll-snap-align: start;
}

.card-img {
    padding: 0px;
    border-radius: 5%;
    width: 90px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
}

.card-img-murder {
    padding: 0px;
    border-radius: 5%;
    width: 90px;
    height: 90px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
}

.event-img {
    padding: 0px;
    border-radius: 5%;
    width: 50px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
}

.event-img-height {
    padding: 0px;
    border-radius: 5%;
    width: 50px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
}

.item-img {
    padding: 0px;
    border-radius: 5%;
    width: 60px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
    margin-top: 10px;
}

.item-img-collected {
    /* filter:invert(30%); */
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(var(--hue-rotate)) brightness(119%) contrast(119%);
}

.black-white-clear {
    filter: grayscale(100%);
}

.black-white {
    filter: blur(1px) grayscale(100%);
}

.black-white-blurry {
    filter: blur(0px) grayscale(100%);
}

.profile-container {
    min-height: 100px;
    min-width: 100px;
    border-radius: 50%;
    border: 3px rgba(255, 255, 255, 0.3) solid;
    background: url("../images/heads/anonymous.jpg");
    background-position: bottom 50% right 50%;
    background-size: 250px;
}

.centered {
    margin: 0 auto;
    text-align: center;
    color: var(--pale-white);
}

.block {
    display: inline-block;
}

.section-header {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.section-header .section-title {
    margin: 0;
}

.section-header .section-icon {
    scale: 2;
}

.button-container {
    display: flex;
    flex-basis: 100%;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    align-content: center;
    padding-block: 15px;
    padding-inline: 10px;
}

/* TOOLS CSS */
.amount-container {
    display: flex;
    flex-basis: 100%;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    align-content: center;
    padding-block: 15px;
    padding-inline: 10px;
}

.amount-p {
    flex-grow: 2;
    /* max-width: 5rem; */
    border: 2px whitesmoke solid;
    border-radius: 5%;
    height: 4rem;
    padding-block: 3px;
    padding-inline: 5px;
    margin: 0 !important;
    text-align: center;
    font-size: 2rem;
    color: var(--pale-white)
}

.vertical-centered {
    margin-top: 12px;
}

button.increment {
    flex-grow: 1;
    width: clamp(1rem, 350px, 3rem);
    border: 2px var(--pale-white) solid;
    font-size: 2rem;
}

.action {
    flex-grow: 2;
    width: clamp(1rem, 350px, 3rem);
    border: 2px whitesmoke solid;
    font-size: 1.25rem;
    color: var(--pale-white);
}

.cardMurderImg {
    padding: 0px;
    border-radius: 5%;

    width: 95px;
    /* aspect-ratio: 17/10; */
    object-fit: cover;
}

.green-border {
    border: 2px solid greenyellow;
}

.red-border {
    border: 2px solid red;
}

.murder-card-container {
    display: flex;
    gap: 2px;
    justify-content: space-around;
}