body {
  background-color: #222222;
}

* {
  color: #ececec;
}

.modal * {
  color: black;
}

h1, h2, h3{
    font-family: 'Cinzel Decorative', serif;
    font-weight: bold;
}

footer {
  p, em {
    color: grey;
  }
}

.form-check-input{
    margin-right:20px;
    border-width: 2px;
}

.form-check-input:checked{
    border-color: black;
}

input.form-check-input + label{
   color: rgb(126, 126, 126) !important;
}

input.form-check-input:checked + label{
   color: rgb(0, 0, 0) !important;
   font-weight: bold;
}

li+li{
    margin-top: 10px;
}


.child-right-margin > * {
    margin-right: 2rem;
}
.child-bottom-margin > * {
    margin-bottom: 2rem;
}  


.overlay {
  position: fixed;
  top: 25%;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.9);
/* Above Bootstrap's modal overlay */
  display: none; /* Hidden by default */
  opacity: 0;
}

.overlay.active {
    display: block; /* Show overlay */
    opacity: 1;
    z-index: 1051;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ensure .btn-close is visible on the dark background */
.btn-close {
  filter: invert(1);
}

@media screen and (max-width: 768px) {
 .player-card {
    font-size: small;
      min-width: 200px;
      box-shadow: 5px 5px 5px #000;
      background: white;
      background-size: 400% 400%;
      border-width: 0.2rem;
      border-image: linear-gradient(to bottom right, #ffffff, #919191);
      border-image-slice: 1;
      
      h3{
        font-size: 1.2rem;
        color: #0D6EFD;
        text-shadow: 0px 0px 10px #2f00ff;
      }

  }
  .card-header {
    background-color: #0D6EFD;
    color: white;
    text-align: center;
    font-size: 1rem;
  }
  .player-card-content {
    display: flex;
    flex-direction: row;
    padding: 2.5%;
    max-height: 150px;
 
  }
  .player-card-body {
    width: 100%;

    overflow-y: scroll;
    scroll-margin: 0%;
    #restrictions-text * {
      color:  #000000 ;
      text-decoration-color:  black;
    }
    #restrictions-text  ul,p {
      margin-top: 0;
      padding-left: 5%;

    }
  }
    
  .player-card-avatar {
    align-self: center;
    border-right: solid;
    border-width: 1px;
    border-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1), rgba(0,0,0,0));
    border-image-slice: 1;
    padding-right: 5%;

  }

  .child-bottom-margin > * {
    margin-bottom: 1rem;
}  
}

@media screen and (min-width: 768px) {
  .player-card {
      min-width: 200px;
      box-shadow: 5px 5px 5px #000;
      background: white;
      background-size: 400% 400%;
      border-width: 0.2rem;
      border-image: linear-gradient(to bottom right, #ffffff, #919191);
      border-image-slice: 1;

      h3{
        color: #0D6EFD;
        text-shadow: 0px 0px 10px #2f00ff;
      }
  }
  .card-header {
    background-color: #0D6EFD;
    color: white;
    text-align: center;
    font-size: 1rem;
  }
  .player-card-body {

    #restrictions-text  *{
      color:  #000000 ;
      text-decoration-color:  black;
    }

  }
}



.accordion *{
  color: #222222 ;
}


@keyframes fade-in {
  from {transform: scale(1.00); opacity: 0;}
  20% {transform: scale(1.10);}
  to {transform: scale(1.00); opacity: 1;}
}

.fade-in-fast {
  animation: fade-in;
  animation-duration: .5s;
}
.fade-in-medium {
  animation: fade-in;
  animation-duration: 0.6s;
}
.fade-in-slow {
  animation: fade-in;
  animation-duration: 1s;
}

@keyframes squeeze {
  from {transform: scale(1.00)}
  20% {transform: scale(0.95)  }
  to {transform: scale(1.00) }
}
@keyframes pop {
  from {transform: scale(1.00)}
  20% {transform: scale(1.05)  }
  to {transform: scale(1.00) }
}

#roll-button:disabled{
  animation-name: squeeze;
  animation-duration: 0.2s;

}
#roll-button {
  font-size:large;
  width: 80%; height: 90%;
  animation-name: pop;
  animation-duration: 0.2s;
}
