@import url("https://fonts.googleapis.com/css2?family=Palette+Mosaic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

body {
  /* light-mode */
  background-color: #1b1b1b;

  font-family: "Montserrat", sans-serif;
}

::selection {
  background: #28a745;
  color: #000000;
}

.bg-dark {
  background-color: #1b1b1b !important;
}

.dropdown-item{
  border-bottom: 1px solid white;
  padding-block: 0.5rem;
}

.dropdown-item:last-child{
  border-bottom: none;
}

.dropdown-item:hover{
  background-color: rgba(50, 50, 50, 0.5) !important;
}
.dropdown-item:hover > a{
  color: white !important;

}

input[type="radio"]:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #d1d3d1;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

input[type="radio"]:checked:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #0bb758;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

.form-check-label {
  position: relative;
  top: 2px;
}

input[type="radio"]:checked + label {
  color: #0bb758;
}

.modal {
  user-select: none !important;
}

lord-icon {
  transition: all ease 300ms;
  border-radius: 10px;
}

.btn:focus {
  outline: none;
  box-shadow: none;
}
.close:focus {
  outline: none;
}

.internet-status-container {
  display: none;
}

#dice-loader {
  animation: spin 3s backwards infinite;
  transition: all ease 300ms;
}

@keyframes spin {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#play-area {
  position: relative;
  height: 60vh;
  width: 100%;
  user-select: none;
  overflow: hidden;
  cursor: url("./img/Skyrim-normal.cur"), auto;
  z-index: 10;
}

#score {
  min-height: 10vh;
  height: auto;
  width: 100%;
}

#buttons-container {
  position: relative;
  z-index: 10 !important;
}
.live-score {
  display: none;
  position: relative;
  z-index: 10 !important;
}
.play-area-container {
  transition: all ease 300ms;
}
.play-area-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background: rgb(124, 116, 93, 0.5);
  background: -webkit-linear-gradient(
    to right,
    rgb(123, 198, 204, 0.5),
    rgba(124, 116, 93, 0.5)
  );
  background: linear-gradient(
    to right,
    rgb(123, 198, 204, 0.5),
    rgb(124, 116, 93, 0.5)
  );

  backdrop-filter: blur(8px);
  background-attachment: fixed;
  z-index: 1;
  overflow: hidden !important;
  visibility: hidden;
  transition: visibility ease 300ms;
}
.play-area-container.show-before::before {
  visibility: visible;
  transition: visibility ease 300ms;
}

.info-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all ease 300ms;
}

#dots:after {
  content: ".";
  animation: dots 1s steps(5, end) infinite;
}

#random {
  width: 30px;
  height: 30px;
  display: block;
  position: absolute;
  z-index: 2;
  background-color: #007bff;
  cursor: url("./img/Skyrim-normal.cur"), auto;
}

#random:active {
  transform: scale(1.05);
  border: 1px solid #007bff;
  box-shadow: 1px 2px 0px #007bff;
}

#stop {
  opacity: 0;
  display: none;
  transition: all ease 300ms;
}

@keyframes dots {
  0%,
  20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: white;
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  80%,
  100% {
    text-shadow: 0.25em 0 0 white, 0.5em 0 0 white;
  }
}
