.btn:focus {
  box-shadow: initial;
}

#ok {
  width: 100px;
}

#Restart {
  width: 100px;
  background-color: #4aae71;
  border-color: #4aae71;
}

#hours,
#minutes,
#seconds,
#audio:focus {
  box-shadow: none;
  outline: none;
  border-color: #ced4da;
  border-radius: 0 !important;
}

@font-face {
  font-family: myFirstFont;
  src: url(/fonts/digital-7mono.ttf);
  font-display: swap;
}

.timer_wrapper {
  width: 100%;
  display: grid;
  place-items: center;
  font-family: myFirstFont;
  color: #fff;
  font-size: 170px;
}

.btn {
  color: #fff;
}

.btn:hover {
  color: #fff;
}

.cancelButton {
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000;
}

#startTimerBtn,
#resetTimer {
  border: 3px solid #ffff;
}

@media (max-width: 768px) {
  .timer_wrapper {
    font-size: 80px;
    margin: 1rem 0;
  }
}

.alarm_result {
  background: #0000005c;
  width: 100%;
  display: none;
  color: white;
  padding: 20px;
  text-align: center;
  font-family: sans-serif;
}

/* Modal css */

.modal__wrapper {
  padding: 15px;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  width: 100%;
  display: none;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 99;
}

h2 {
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal__container button.close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 32px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.modal__container button.close:hover {
  color: #6b46c1;
}

.active {
  display: block;
  pointer-events: auto;
}

.modal__wrapper.active .modal__container {
  transform: translateY(0px);
}

.modal-header {
  color: #fff;
}

.modal-body {
  text-align: center;
  font-size: 20px;
}

.modal-footer #close {
  background: #fff !important;
  font-size: 15px !important;
  padding: 10px !important;
  border: none;
}

.close {
  color: white !important;
  opacity: 1;
}

.close:focus {
  outline: none !important;
}

.modal-backdrop {
  z-index: 0 !important;
}

.time {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  #editTimer2,
  #resetTimer,
  .btnCss {
    width: 100%;
  }
  .result_timer_wrapper {
    font-size: 70px;
  }

  .setAlarm {
    font-size: 18px !important;
  }

  .alarm_alert_modal {
    width: 80%;
    left: 8%;
  }

  .playbtnEdit {
    /* margin-top: 1rem !important; */
  }
}

/* chess timer css */

.chess-timer-wrapper {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

@media (max-width: 700px) {
  .chess-timer-wrapper {
    display: grid;
    justify-content: unset;
  }
}

.animated-div {
  color: rgb(255, 255, 255);
  animation: border-flash 0.9s ease-in-out infinite;
}

@keyframes border-flash {
  0% {
    color: rgb(255, 255, 255);
  }
  50% {
    color: rgba(255, 255, 255, 0);
  }
  100% {
    color: rgb(255, 255, 255);
  }
}
.chessplayers {
  position: relative;
  top: 35px;
  left: 30px;
  color: white;
}
