:root {
  --ui-rounding: 1rem;
  --padding: 2rem;
  --atmox-color-primary: #0A0C20;
  --outer-spacing: 2.5rem;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: color-mix(in srgb, var(--atmox-color-primary) 85%, transparent);
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.contact{
  opacity: 0;
  transition: 300ms;

  color: #fff;
  font-size: .75rem;

  width: fit-content;
  height: fit-content;
  padding-left: calc(var(--padding) * 1.2);
  padding-right: calc(var(--padding) * 1.2);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: var(--ui-rounding);
  background: #1e1e1e;
  border: none;

  z-index: 2;
  position: absolute;
  right: var(--outer-spacing);
  bottom: var(--outer-spacing);
}

.logo {
  height: 5.2vmin;
}

.atmoX-logo {
  position: absolute;
  left: var(--outer-spacing);
  top: var(--outer-spacing);
  height: 80px;
  z-index: 2;
}

.service-logo {
  position: absolute;
  left: var(--outer-spacing);
  bottom: var(--outer-spacing);
  height: 90px;
  z-index: 2;
}

.background-image {

  height: 100%;
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0px;

  background: url("./api/v1/pics?imageOnly=true");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  filter: blur(4px) grayscale(30%);
}

.container {
  width: 75%;
  height: calc(70% - var(--padding));

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}

.sidepanel {
  width: 32%;
  height: 100%;
  background: color-mix(in srgb, var(--atmox-color-primary) 85%, transparent);
  border-radius: var(--ui-rounding);
  padding: var(--padding);

  position: absolute;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10%;
}

.diagram {
  width: calc(100% - 32% - var(--padding));
  height: 14%;
  background: color-mix(in srgb, var(--atmox-color-primary) 85%, transparent);
  border-radius: var(--ui-rounding);
  padding: var(--padding);

  position: absolute;
  right: 0;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10%;
}

.connection-line{
  width: calc(100% - var(--padding));
  height: 5px;
  background: #fff;
  border-radius: var(--ui-rounding);
}

.line-green { background: lime; }
.line-yellow { background: yellow; }
.line-red { background: red; }
.line-gray { background: gray; }

.icon{
  position: relative;
  top: -7.5px;
}

.node{
  text-align: center;
  white-space: nowrap;
  line-height: 10px;
}

.node:nth-child(1){
  text-align: left;
}


.node:nth-child(5){
  text-align: right;
}

.label {
  font-size: .65rem;
}

.sub-label{
  opacity: .5;
  position: relative;
  top: 5px;
}

.information {
  width: calc(100% - 32% - var(--padding));
  height: calc(100% - 14% - var(--padding));
  background: color-mix(in srgb, var(--atmox-color-primary) 85%, transparent);
  border-radius: var(--ui-rounding);
  padding: var(--padding);

  position: absolute;
  bottom: 0;
  right: 0;

  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 20%;

  font-size: .75rem;

  overflow: hidden;
}

.field {
  text-align: center;
}

.key {
  font-size: .75rem;
  opacity: .75;
}

.value {
  font-weight: 800;
  font-size: 1.25rem;
}


.error-container {
  position: absolute;
  right: var(--outer-spacing);
  top: var(--outer-spacing);
  text-align: right;
  z-index: 2;
}

.error-container * {
  margin-top: -20px;
  letter-spacing: 0.28em;
}

.code {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  background: linear-gradient(120deg, #6f93ff, #8fffe9);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: initial;
}

.name {
  margin-top: 5px;
  font-family: 700;
  font-size: 0.85rem;
  opacity: .75;
}