
main {
  /* width: 100%; */
  /* height: 400px; */
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  /* padding: 50px; */
  padding: 2rem 4rem 2rem 4rem;
  /* border-left: none; */
}

h1 {
    margin-bottom: 0.25em;
}

h2 {
    margin-top: 0.25em;
}

#tree {
    position: relative;
    margin-top: 2em;
    margin-bottom: 2em;
}

#node-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 3em;
    row-gap: 3em;
}

.node {
    display: flex;
    flex-direction: column;
    /* position: absolute; */
    border: 1px solid #333;
    text-align: center;
    /* width: 400px; */
    width: 100%;
    /* width: fit-content; */
    /* min-width: none; */
    padding: 0.5em 0.5em 0.5em 0.5em;
    /* margin: auto; */
    z-index: 10;
}

.node#saber {
    background-color: rgba(255, 217, 0, 0.8);
}

.node img {
    margin-left: auto;
    margin-right: auto;
    height: 72px;
    width: 72px;
    border: 1px solid #333;
    
}

.node .name {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.2em;
    /* margin-bottom: 0em; */
}

.node .qualifier {
    font-size: 0.7em;
    font-weight: 600;
}

.node .qualifier::before {
    content: "(";
}

.node .qualifier::after {
    content: ")";
}

.node .aka {
    font-size: 0.666em;
    font-weight: 400;
}

.node .aka::before {
    font-weight: 500;
    font-size: 0.75em;
    content: "a.k.a. ";
}

.node .origin-block {
    margin-top: auto;
}

.node .origin {
    font-weight: 600;
    font-size: 0.8em;
}
.node .origin-2 {
    font-weight: 600;
    font-size: 0.6em;
}

.node .year {
    font-size: 0.8em;
}

.drawing {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    /* pointer-events: none;
    z-index: 1; */
}

.drawing svg {
  width: 100%;
  height: 100%;
  /* max-width: 100%; */
}

.note {
    text-align: left;
}