@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

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

html,
body {
  height: 100%;
  min-height: 100%;
}

body {
  background-color: white;
  font-family: 'Nunito', sans-serif;
}

.container {
  display: flex;
  flex-flow: column;
  height: 100%;
}

a {
  text-decoration: none;
}

#header {
  width: 100%;
  flex: 0 1 70px;
  height: 70px;
  overflow: hidden;
  background-color: #31363F;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

#title {
  font-size: 27px;
  color: #fff;
  font-weight: bold;
}

#OperationContainer {
  display: flex;
  gap: 15px;
}

.button {
  width: 80px;
  padding: 10px 15px;
  border: none;
  background-color: #8469fe;
  color: #f8f8f8;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
}

.button:hover {
  background-color: #6b4cf0;
  transform: translateY(-2px);
}

#InsertNodeField,
#DeleteNodeField {
  width: 140px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto Condensed', sans-serif;
}

.Canvas {
  width: 100%;
  flex: 1 1 auto;
  background-color: #212833;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.indicator {
  position: absolute;
}

.indicator text {
  font-size: 20px !important;
}

svg {
  margin-top: 5px;
  width: 100%;
  height: 100%;
  overflow: scroll;
}

.node circle {
  fill: #29e703;
  stroke: #168700;
  stroke-width: 1px;
}

.node text {
  font-size: 22px;
  fill: #ffffff;
}

.highlightedNode circle {
  fill: red;
  stroke: red;
  stroke-width: 1px;
}

.null-node,
.null-link {
  visibility: hidden;
}

line {
  stroke: #099b96;
}

.LinkAnimation {
  stroke: red;
  stroke-dasharray: 500;
  animation: filling 1s linear forwards;
}

@keyframes filling {
  from {
    stroke-dashoffset: 500;
  }
  to {
    stroke-dashoffset: 0;
  }
}
