:root {
  --text: #333;
  --text-h: #333;
  --bg: #fff;
  --border: black;
  --code-bg: #f4f3ec;
  --accent: #91a357;
  --accent-bg: #f5e6c6;
  --accent-border: #7c8b4a;
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
} */

#root {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  position: relative;
  overflow: hidden;
}
#root::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: url(assets/background.jpg);
  background-size: cover;
  background-position: center;

  filter: blur(4px);
  z-index: -1;
  transform: scale(1.05);
}

body {
  margin: 0;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}

.contentBox {
  background-color: rgba(255,255,255,0.6);
  width: 1200;
  max-width: 95%;
  min-height: 200px;
  margin: auto;
  padding: 20px 0;
}

header {
  width: 100%;
  background-color: rgba(103, 183, 7, 0.27);
  color: #333;
  height: auto;
  padding: 5px 25px;
  margin-bottom: 25px;
  display: flex;
}
header h1 {
  font-size: xx-large;
  font-family: 'Times New Roman', Times, serif;
}

/* -- INSTANCE TABLE */

.instancesBlock {
  background-color: var(--accent-bg);
  max-width: 95%;
  margin: auto;
  padding: 15px;
}

.instancesBlock #startStopButton {
  padding: 5px 15px;
  border-radius: 6px;
  color: var(--text);
} 
.instancesBlock #startStopButton.start{
  background-color: var(--accent);
  border: var(--accent-border) 0px solid;
}
.instancesBlock #startStopButton.stop{
  background-color: red;
  border: #a40000 0px solid;
}

.instancesBlock table {
  width: 95%;
  margin: 20px auto;
  border-collapse: collapse; 
  text-align: left; 
}

.instancesBlock th {
  padding: 10px 12px;
  font-weight: 600;
  border-bottom: 2px solid var(--border); 
  color: var(--text-h);
}

.instancesBlock td {
  padding: 10px 12px; 
  border-bottom: 1px solid var(--border);
}

#statusIndicator {
  padding: 5px 15px;
  border-radius: 10px;

  /* background-color: var(--accent); */
  /* border: var(--accent-border) 3px solid; */
}
#statusIndicator.running {
  color: var(--accent-border);
}
#statusIndicator.stopped {
  color: #a40000;
}
