

body {
    background-color: rgb(56, 56, 56);
}

.main-link {
  transition: all 0.2s ease-in-out;
  color: aqua;
}

.main-link:hover {
  color: azure;
}


.counters {
  padding: 1rem;
  background-color: black;
  border: 1px solid white;
  border-radius: 1rem;
  width:30%;
  box-shadow: 10px 10px 19px 0px rgba(0,0,0,0.2);
}

#message-counter, #last-refresh {
    color: white;
  }
  
  #counter, #refresh-time, #message-counter, #message-count, #max-timestamp {
    color:rgb(155, 194, 192);
    font-weight: 400;
  } 
  
  #json-display {
    line-height: 1rem;
  }

  .top-bar-nav {
    border-bottom: 2px solid lightcyan;
  }

  .main-header {
    color: lightcyan;
  }

  #dynamic-display-container, .gauges-container {
    border:2px solid white;
    border-radius: 1.1rem;
  }

  .grid-wrapper {
    display: flex;
    justify-content: center;
  }

  @keyframes placeholderPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
  
  .data-point-loading {
    animation: placeholderPulse 1.5s ease-in-out infinite;
  }

  .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure content is centered */
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: 1px solid lightgray;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 10px 10px 19px 0px rgba(0,0,0,0.2);
}

.my-custom-col {
  margin-right:1.1rem;
  /* margin-bottom: 1.1rem; */
  background-color: #222222;
  color:white;
}

/* .row.d-flex > .my-custom-col:last-child {
  margin-right: 0;
} */

h5 {
    margin-bottom: 2rem;
}

.data-point-value {
    font-size:1.6rem;
    font-weight: 600;
    color: lightseagreen;
}

.gauge-container {
  height:300px;
}

.gauges-container {
  position:relative;
}

.settings-button-container {
  text-align: center;
  margin-bottom: 3.5rem;
}

.settings-button {
  background-color: black;
  color: #fff;
  padding: 0.5em 1.75em;
  transition: all 0.4s ease-in-out;
  border-radius: 1rem;
}

.settings-button:hover {
  background-color: lightslategray;
  color: lightcyan; 
}

.popup-title {
  font-size: 1rem;
}

.settings-content h2 {
  font-size: 1.2rem;
}

.popup-btns {
  margin-top: 1rem;
}

.settings-popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.settings-content {
  position: relative;
  width: 300px;
  margin: 10% auto;
  padding: 20px;
  background: #d1d1d1;
  border-radius: 1.2rem;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.status-indicator {
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  border-radius: 50%; /* Makes it a circle */
  display: flex;
  align-items: center;
  justify-content: center;
}

.green {
  background-color: green;
}

.red {
  background-color: red;
}

.status-tile {
  padding: 10px;
  margin-bottom: 5px;
  border: 1px solid #ddd;
  text-align: center;
}

.status-tiles h5 {
  color:#d1d1d1;
}

.banner-image {
  border-radius: 2rem;
}

.clock {
  height: 20vh;
  color: white;
  font-size: 8vh;
  font-family: sans-serif;
  line-height: 20.4vh;
  display: flex;
  position: relative;
  /*background: green;*/
  overflow: hidden;
}

.clock::before, .clock::after {
  content: '';
  width: 7ch;
  height: 3vh;
  background: linear-gradient(to top, transparent, black);
  position: absolute;
  z-index: 2;
}

.clock::after {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, black);
}

.clock > div {
  display: flex;
}

.tick {
  line-height: 17vh;
}

.tick-hidden {
  opacity: 0;
}

.move {
  animation: move linear 1s infinite;
}

@keyframes move {
  from {
    transform: translateY(0vh);
  }
  to {
    transform: translateY(-20vh);
  }
}

.bkg-img {
  background-image: url('/images/karanis-installation.jpg');
  background-size: cover;
  overflow: hidden;
}
