* {
  box-sizing: border-box;
  margin: 0;
}
body {
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  width: 100vw;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  touch-action: none;
  color: white;
}

.nav-group {
  width: 100%;
  margin-top: 15px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.nav {
  color: yellow;
  text-align: center;
}
#statusC,
#statusControlOK {
  color: yellowgreen;
}
#statusD,
#statusControlError {
  color: red;
}

.hide {
  display: none;
}
.container {
  text-align: center;
  width: 100%;
  margin: auto 20px;
}

.input-container {
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.flex-group {
  display: flex;

  gap: 12px;
}

input {
  border: 1px solid white;
  color: white;
  font-size: 16px;
  padding: 12px;
  background-color: black;
  width: 200px;
  margin: 0 5px;
  text-align: center;
}
/* For Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


#minutes,
#seconds {
  width: 100px !important;
}

button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  height: 44px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  max-width: 100vw;
}
button:disabled {
  opacity: 0.5;
}

.dropDown {
  display: flex;
  /* flex-direction: column; */
}

select {
  padding: 0px 12px;
  -webkit-appearance: none;
  border: 0;
  flex-grow: 1;
  font-size: 16px;
  -moz-text-align-last: left;
  text-align-last: left;
  border: 1px solid white;
  color: white;
  background-color: black;
  height: 44px;
  transition-duration: 0.2s;
  cursor: pointer;
  width: 100%;
}

select:disabled {
  opacity: 0.3;
  pointer-events: none;
}
select:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: #c6c6c6;
}

select:focus {
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffff;
  box-shadow: 0px 0px 0px 2px #ffff inset;
}

.end {
  background-color: #007200;
  color: white;
}

.timer {
  font-size: 32vw;
  color: white;
}

.timerC {
  font-size: 15vw;
}

.msg-container {
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  padding: 15px;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.textFitted {
  opacity: 0;
  background-color: tomato;
  -webkit-animation: fadeInOut 1s infinite;
  animation: fadeInOut 1s infinite;
}

footer {
  flex: 0 0 auto;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 12px;
  column-gap: 12px;
  color: #cccccc;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 16px;
}
footer a {
  color: #cccccc;
}

.footer-image {
  margin: 0;
  width: 20px;
}

/* Modal CSS */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-table {
  border-collapse: collapse;
}
.modal-content {
  background-color: hsla(0, 0%, 0%, 0.5); /* fallback for older browsers */
  margin: 15% auto;
  padding: 20px;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  width: 500px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-width: 70vw;
  line-height: 1.5;
  color: white;
}
.modal-table tr {
  vertical-align: top;
}
.modal-table tr:not(:last-child) {
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}
.modal-table td {
  padding: 20px 0px;
}
.modal-table td:not(:first-child) {
  padding-left: 10px;
}
.modal-table td:not(:first-child) {
  padding-left: 10px;
}
.modal-table ol,
.modal-table p {
  margin: 0;
}

.close {
  color: #cccccc;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #77d3fb;
  text-decoration: none;
  cursor: pointer;
}
