@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,500&display=swap');

:root {
  --bg: #0f1320;
  --panel: #161b2e;
  --text: #e6ebff;
  --muted: #9aa4c3;
  --up: #19c37d;
  --down: #ff5c5c;
  --unknown: #8a8fa3;
  --warn: #ffb020;
  --maintence: #004c99;
  --grid-gap: 10px;
  --tile-size: 70px;
  --radius: 5px;


    --font-family: 'Exo 2', sans-serif;
  --font-weight: bold;

  --textcolor: #253c6a;
  --textcolor2: #656e81;
  --textcolor3: #eaebef;
  --box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1);
  --borderradius1: 5px;
  --borderradius2: 2.5px;
}

* { box-sizing: border-box; font-family: 'Exo 2', sans-serif;}
html, body { height: 100%; }

.okvir {
  width: 90%;
  margin-left: 5%;
  margin-top: 125px;
  margin-bottom: 10px;
  color: hsl(220, 48%, 28%)
  ;padding: 3.5%;
  box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1); 
  border-radius: 5px;
  background-color: hsl(220, 100%, 99%);
  color: hsl(220, 48%, 28%);  
  box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1);
  border-radius: 5px

}

/* Wrapper */
.wrapper { margin: 10px auto; padding: 0 10px; }

/* Legend */
.legend {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 10px 0 18px 2px;
  color: hsl(220, 48%, 28%);  
}
.legend-item { display: flex; gap: 8px; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.up { background: var(--up); }
.dot.down { background: var(--down); }
.dot.unknown { background: var(--unknown); }
.dot.warn { background: var(--warn); }

/* Rack grid */
.rack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--grid-gap);
}
.rack {
  color: hsl(220, 48%, 28%);  
  padding: 10px;
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
}
.rack-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: hsl(220, 48%, 28%);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: .75rem;
}

.tile-grid {
  display: grid;   
  grid-template-columns: repeat(2, var(--tile-size));
  grid-auto-rows: var(--tile-size);
  gap: 5px;
  justify-content: center;
}

.tile {
  border-radius: 5px;
  position: relative;
  cursor: default;
  transition: transform .08s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  text-align: center; 
  color: #fff;
}

.tile .name {
  width: 100%;
  text-align: left;
  margin-left: -2.5px;
}

.tile.up { background: var(--up); }
.tile.down { background: var(--down); }
.tile.unknown { background: var(--unknown); }
.tile.warn { background: var(--warn); }
.tile.maintence {background: var(--maintence);}
.tile:hover { transform: translateY(-2px); }

.tile .host,.tile .meta { display: none;}

.badge.up {background: var(--up);border-radius: 50%;width: 12px;height: 12px;display: inline-block;}
.badge.warn {background: var(--warn);border-radius: 50%;width: 12px;height: 12px;display: inline-block;}
.badge.down {background: var(--down);border-radius: 50%;width: 12px;height: 12px;display: inline-block;}
.badge.maintence {background: var(--maintence);border-radius: 50%;width: 12px;height: 12px;display: inline-block;}

.legend {display: flex;gap: 16px;padding: 8px 16px; font-size: 13px;}
.legend-item {display: flex;align-items: center;gap: 6px;}


@media (max-width: 540px) {
  :root { --tile-size: 74px; }
  .tile-grid { grid-template-columns: repeat(2, var(--tile-size)); }
}






































/*==============================================================
  --font-family: "Poppins", sans-serif;
*/
/*==============================================================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,500&display=swap');
/*==============================================================*/
/*==============================================================*/
:root {
  --header-height: 3.5rem;
  --body-color: hsl(220, 100%, 99%);
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;


  --font-family: 'Exo 2', sans-serif;
  --font-weight: bold;

  --textcolor: #253c6a;
  --textcolor2: #656e81;
  --textcolor3: #eaebef;
  --box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1);
  --borderradius1: 5px;
  --borderradius2: 2.5px;
}
/*==============================================================*/
/*==============================================================*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}
/*==============================================================*/
/*==============================================================*/
::-webkit-scrollbar-track {background-color: var(--textcolor3);}
::-webkit-scrollbar {width: 7px;background-color: var(--textcolor3);}
::-webkit-scrollbar-thumb {width: 7.5px;background: var(--textcolor); border-radius: var(--borderradius2);box-shadow: var(--box-shadow);}
/*==============================================================*/
/*==============================================================*/
* {box-sizing: border-box;padding: 0;margin: 0;}
/*==============================================================*/
/*==============================================================*/
body {
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--textcolor2);
}
body::before {
  --size: 60px;
  --line: hsl(0 0% 10% / 0.5);
  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(-15deg, transparent 50%, white);
  top: 0;
  transform-style: flat;
  pointer-events: none;
  z-index: -1;
}
/*==============================================================*/
/*==============================================================*/
ul {list-style: none;}
a {text-decoration: none;}
/*==============================================================*/
/*==============================================================*/
.container {
  max-width: 93%;
  margin: 0 auto; 
  padding: 0 1.5rem; 
}
.header {
  position: fixed;
  top: 15px;
  left: 5%;
  width: 90%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: var(--z-fixed);
  padding: 0 1.5rem; 


  background-color: hsl(220, 100%, 99%);
  color: var(--textcolor);
  box-shadow: var(--box-shadow);
  border-radius: 5px;
}
.nav {height: var(--header-height);}
.nav__data {height: 100%;display: flex;justify-content: space-between;align-items: center;}
.nav__logo {display: inline-flex;align-items: center;column-gap: 0.25rem;color: var(--textcolor);font-weight: var(--font-semi-bold);transition: color 0.3s;}
.nav__logo i {font-size: 1.25rem;}
.nav__logo:hover {color: var(--textcolor);}
.nav__toggle {position: relative;width: 32px;height: 32px;}
.nav__toggle-menu, .nav__toggle-close {font-size: 1.25rem;color: var(--textcolor);position: absolute;display: grid;place-items: center;inset: 0;cursor: pointer;transition: opacity 0.1s, transform 0.4s;}
.nav__toggle-close {opacity: 0;}

@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;

      background-color: var(--body-color);
  color: hsl(220, 48%, 28%);  
  box-shadow: var(--box-shadow);
  border-radius: 5px;
  }
  .nav__menu::-webkit-scrollbar {width: 0.5rem;}
  .nav__menu::-webkit-scrollbar-thumb {background-color: hsl(220, 12%, 70%);}
}
.nav__link {
  color: var(--textcolor);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--textcolor);
}

.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

.dropdown__button {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}
.dropdown__content, .dropdown__group, .dropdown__list {
  display: grid;
}
.dropdown__container {
  background-color: var(--textcolor);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}
.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--textcolor);
}
.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--textcolor);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--textcolor2);
  transition: color 0.3s;
}
.dropdown__link:hover {
  color: var(--textcolor);
}

.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}
/* For large devices */
@media screen and (min-width: 1118px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 0 1.5rem; /* Add padding to prevent touching screen edges */
}

  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--body-color);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1020px;
    margin-inline: auto;
  }
  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }
  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
  }
  .dropdown__list {
    row-gap: 0.75rem;
  }
  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: hsl(220, 100%, 99%);color: hsl(220, 48%, 28%);  padding: 5px;box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1);border-radius: 5px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }
  .dropdown__icon i {
    font-size: 2rem;
  }
  .dropdown__title {
    font-size: var(--normal-font-size);
  }
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__link:hover {
    color: var(--textcolor);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}
@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}
/*==============================================================*/
/*==============================================================*/
.footer {
  background-color: hsl(220, 100%, 99%);color: hsl(220, 48%, 28%);  padding: 5px;box-shadow: 0 0 8px 4px hsla(220, 68%, 12%, 0.1);border-radius: 5px;}
.footer .footer-row {display: flex;flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;padding: 60px; width: 100%;}
.footer-row .footer-col h4 { color: hsl(220, 48%, 28%);   font-size: 1.2rem;font-weight: 400;}
.footer-col .links {margin-top: 20px;}
.footer-col .links li {list-style: none;margin-bottom: 10px;}
.footer-col .links li a {text-decoration: none;color: hsl(220, 48%, 28%);  }
.footer-col .links li a:hover {color: hsl(220, 48%, 28%);  }
.footer-end {text-align: center;color: hsl(220, 48%, 28%);  }
.footer-col p {margin: 20px 0;color: hsl(220, 48%, 28%);  max-width: 300px;}
.footer-col .icons {display: flex;margin-top: 30px;gap: 30px;cursor: pointer; }
.footer-col .icons a {color: hsl(220, 48%, 28%);  font-size: 20px;}
.footer-col .icons i {color: hsl(220, 48%, 28%);  }
.footer-col .icons i:hover {color: hsl(220, 48%, 28%);  }
@media (max-width: 768px) {
  .footer {position: relative;bottom: 0;left: 0;transform: none;width: 100%; margin-bottom: 5px;}
  .footer .footer-row { padding: 20px;gap: 1rem;}
}
@media (max-width: 449px) {
  footer {
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .4); 
    position: relative;
    width: 150%;
    margin-left: 0%;
    height: 400px;
    border-radius: 0rem;
    margin-top: 10px;
    padding-top: 10px;
    background-color: #ffffff;
    margin-bottom: 5px;
  }
  
  footer .container {
    width: 125%;
    max-width: 125%;
    margin: 0 auto;
    padding: 0 12px;
  }
}
@media (max-width: 992px) {
  footer .container {max-width: 960px;}
  footer .wrapper .footer-widget,footer .wrapper .footer-widget:nth-child(1) {width: calc(50% - 30px);}
}
@media (max-width: 768px) {
  footer .container {max-width: 720px;}
  footer .wrapper .footer-widget,footer .wrapper .footer-widget:nth-child(1) {width: 100%;margin: 0 10px 50px;}
}
















