/* styles.css */

@import url("https://fonts.googleapis.com/css?family=Lato:300,300italic");

* {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: default;
}

html {
  font-size: 62.5%;
  color: #c1c6cb;
  background-color: #1a1a1a;
}

body {
  font-family: "Lato", sans-serif;
  padding: 20px 50px;
}

body::before {
  --size: 105px;
  --line: rgba(247, 247, 247, 0.08);
  content: '';
  height: 100vh;
  width: 100vw;
  position: fixed;
  background: linear-gradient(
        90deg,
        var(--line) 1px,
        transparent 1px var(--size)
      )
      50% 50% / var(--size) var(--size),
    linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% /
      var(--size) var(--size);
  mask: linear-gradient(-25deg, transparent 30%, white);
  top: 0;
  left: 0;
  transform-style: flat;
  pointer-events: none;
  z-index: -1;
}

.dashboard {
  min-width: 250px;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 50px!important;
}

.dashboard-header {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.dashboard-title {
  flex: 1;
  font-weight: bolder;
  color: #F48120!important;
}

.dashboard-clock {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push to the right */
  font-size: 2.5rem;
}

.server {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
}

.server-icon {
  font-size: 30px!important;
  margin-right: 10px;
  margin-left: 5px;
}

.server-details {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}

.server-details a{
  color: #c1c6cb;
  transition: color 0.6s;
}

.server-details a:hover{
  color: #F48120;
}

.server-details li {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #7e8794;
}

.status {
  display: inline-block;
  float: right;
  height: 1em;
  line-height: 1em;
  text-indent: 0;
  font-family: 'Monaco','Consolas', 'Courier', monospace;
  font-weight: bold;
  font-size: 0.750em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 3px;
  padding: 1px 2px;
}

.green {
  color: #2ecc71;
  border-color: #2ecc71;
}

.red {
  color: #e74c3c;
  border-color: #e74c3c;
}

.orange {
  color: #e67e22;
  border-color: #e67e22;
}

.checking {
  animation: alertblink 1s infinite;
}

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

footer {
    position: fixed;
    bottom: 20px; /* Adjust according to body padding-top */
    left: 50px; /* Adjust according to body padding-left */
    right: 50px; /* Adjust according to body padding-right */
    text-align: center;
    padding: 10px 0;
}
