:root {
  --border: #ccc;
  --line-width: 1px;
  --saperater-height: 30px;
}

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

ol {
  list-style: none;
}

.container-tree {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.container-tree * {
  text-align: center;
}
.rectangle {
  position: relative;
  padding: 10px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: white;
  z-index: 1;
  font-weight: bold;
  font-size: 16px;
}

/* LEVEL-1 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.level-1 {
  width: 50%;
  margin: 0 auto;
}

.level-1::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: var(--line-width);
  height: var(--saperater-height);
  background: var(--border);
}
.level-1\.5::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: var(--line-width);
  height: calc(var(--saperater-height) * 3 + 2px);
  background: var(--border);
}

/* LEVEL-2 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.level-2-wrapper {
  position: relative;
}

/* .level-2-wrapper::before {
        content: "";
        position: absolute;
        top: calc(var(--saperater-height) * -1);
        left: 25%;
        width: 50%;
        height: var(--line-width);
        background: var(--border);
      } */

.level-2-wrapper li {
  position: relative;
}

/* .level-2-wrapper > li::before {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: var(--line-width);
        height: calc(var(--saperater-height)) ;
        background: var(--border);
      } */

.level-2 {
  width: 90%;
  margin: 0 auto var(--saperater-height);
}

/* LEVEL-3 STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.level-3-wrapper {
  position: relative;
  width: 80%;
  margin-inline-start: auto;
}

.level-3-wrapper > li {
  max-width: 90%;
}

.level-3-wrapper::before {
  content: "";
  position: absolute;
  top: calc(var(--saperater-height) * -1);
  right: -20px;
  width: var(--line-width);
  height: calc(100% + var(--saperater-height));
  background: var(--border);
}

.level-3-wrapper li + li {
  margin-top: 20px;
}

.level-3 {
  font-weight: normal;
}

.level-3::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0%;
  transform: translate(100%, -50%);
  width: 20px;
  height: var(--line-width);
  background: var(--border);
}
ol,
ul {
  padding-left: 0;
}
@media screen and (min-width: 700px) {
  .level-3-wrapper {
    width: 80%;
  }
  .level-2 {
    width: 80%;
    margin: 0 auto var(--saperater-height);
  }
  .level-3-wrapper > li {
    max-width: 80%;
  }
}
