:root{
  --background: linear-gradient(
    0deg,
    hsla(0, 0%, 0%, 0.952),
    hsl(0, 0%, 11%)
  );
  --bg: linear-gradient(
    0deg,
    hsla(0, 0%, 0%, 0.952),
    hsl(0, 0%, 11%)
  );
  --bg-color: #ffffff;
  --text-color: #ffffff;
  --destaque: #ff8800;
  --button-text: #ffffff;
  --box-bg: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.486);
}

body[data-theme="dark"] {
  --background: #ffffff;
  --text-color: #000000;
  --line: rgba(0, 0, 0, 0.459);
  --button-bg: #333333;
  --button-text: #f0f0f0;
  --box-bg: rgba(0, 0, 0, 0.03);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  color: var(--text-color);
}

#board-container {
  width: 100%;
  height: 100%;
  background-image: var(--background);
  cursor: grab;
  touch-action: none;
  position: relative;
}

#board {
  transform-origin: 0 0;
  transition: transform 0.1s ease;
  position: relative;
  width: 10000px;
  height: 10000px;
}

#connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.block {
  position: absolute;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}


.block img {
  display: block;
  border-radius: 8px;
  pointer-events: none;
}

.image-block {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.block-button {
  margin-top: 8px;
  display: inline-block;
  background: #ff9800;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.block-button:hover {
  background: #ffc107;
}

p {
  font-size: 20px;
  margin: 15px 0;
  color: var(--text-color);
}

h1 {
  font-size: 40px;
  margin-bottom: 8px;
  color: var(--text-color);
}

h2 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text-color);
}

h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text-color);
}

button{
    background-color: rgba(255, 255, 255, 0.048);
    backdrop-filter: blur(10px) saturate(180%);
    color: var(--text-color);
    border: none;
    margin: 15px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 13px;
    border: 0.05px solid rgb(199, 199, 199);

     transition: all 0.3s ease-in-out;
}

button:hover{
    background-color: rgba(255, 255, 255, 0.1);
    scale: 1.05;
}