* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  font-style: normal;
  background-image: url("lab.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: hsla(204, 100%, 20%, 0.555);
  color: hsl(320, 100%, 40%);
  padding: 10px 20px;
  border-bottom: 4px solid hsla(204, 100%, 20%, 0.555);
  overflow: hidden;
  height: 50px;
}

.scrolling-text {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
  position: absolute;
  left: 100%;
  animation: scroll 10s linear infinite;
  font-size: 1.2rem;
  color: hsl(320, 100%, 80%);
}

.top-buttons {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  right: 10px;
  top: 35px;
}

.top-buttons button {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  font-style: normal;
  margin-left: 10px;
  padding: 10px 15px;
  background-color: hsl(320, 100%, 30%);
  color: hsl(320, 100%, 80%);
  border: 2px solid hsl(320, 100%, 40%);
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  box-shadow: 0 0 10px hsl(320, 100%, 40%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-buttons button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px hsl(320, 100%, 50%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.container {
  position: static;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  height: 100vh;
  align-items: center;
  padding-top: 50px;
  align-items: start;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: hsla(204, 100%, 20%, 0.555);
  color: hsl(0, 0%, 100%);
  font-size: 1.2rem;
  line-height: 2;
  border: 4px solid hsl(207, 100%, 30%);
  border-radius: 10px;
}

.block {
  background-color: hsla(204, 23%, 17%, 0.836);
  border: 4px solid hsl(207, 100%, 30%);
  border-radius: 10px;
  height: 100%;
}

.column p {
  margin: 10px 0;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.square {
  position: relative;
  width: 70vmin;
  height: 70vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #111;
}

#canvas-container {
  background-color: hsla(204, 23%, 17%, 0.555);
  position: relative;
  width: 100%;
  height: 100%;
}

#center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

canvas {
  background-color: hsla(204, 23%, 17%, 0.555);
  display: block;
  width: 100%;
  height: 100%;
}

.text-below {
  margin-top: 0.5rem;
  font-size: 1em;
  text-align: center;
}

.text-below {
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 37px;
}

#timer {
  margin-left: 20px;
  font-size: 37px;
}

.text-below p {
  color: hsl(320, 60%, 57%);
  font-weight: 600;
  font-size: 37px;
}

.dg {
  display: none;
}
.left {
  max-width: 600px;
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 16px;
  color: white;
  background-color: #1e1e1e;
  border-radius: 10px;
  border: 1px solid #333;
  height: 100%;
  max-height: 100%;
  overflow: auto;
}

pre {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 16px;
}

pre[class*="language-"] {
  background: #1e1e1e;
  color: white;
}

.token.keyword {
  color: #ff79c6;
}

.token.comment {
  color: #6272a4;
}

.token.string {
  color: #f1fa8c;
}

.token.number {
  color: #bd93f9;
}

#population {
  font-family: "Lacquer", system-ui;
  font-weight: 400;
  color: white;
  font-size: 18px;
  margin-top: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.rightH {
  font-size: 20px;
}

.rightHP {
  margin: 5px 0;
  color: #fff;
  font-size: 35px;
}

.rightp {
  font-size: 16px;
}

.right {
  height: 100%;
}

.img {
  width: 80px;
  height: 80px;
}

.img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
