body {
    margin: 0px;
    padding: 0px;
    background-color: #2d0f00;
    background-color: black;
    /*background: url(/static/images/background.png);*/
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
}

svg {
    width: 99vw;
    height: 98vh;
}

.node {
    /*clip-path: circle(50px at center);*/

    /*width: 100px;*/
    /*height: 100px;*/
    z-index: 100;
    /*opacity: 0;*/
}

#pseudo-node-0, #pseudo-node-0 img {
    border-radius: 100px;
    /*width: 125px;*/
    /*height: 125px;*/
    /*transform: scale(1.25);*/
}

#pseudo-node-0 {
    transform: scale(1.5);
}

#pseudo-node-0:hover {
    transform: scale(2);
}

/*#node-0 {*/
    /*width: 125px;*/
    /*height: 125px;*/
/*}*/



.pseudo-node {
    position: absolute;
    width: 100px;
    height: 100px;
    /*object-fit: cover;*/
    /*border-radius: 10px;*/
    /*pointer-events: none;*/
    transition: transform 0.3s;
    /*box-shadow: 10px 10px 20px 0px #000000b3;*/
    /*border: solid 2px white;*/

    border-radius: 10px;
    transition: transform 0.3s;
    /*box-shadow: 10px 10px 20px 0px #000000b3;*/
    overflow: hidden;
    background-color: black;

    user-select: none;
}

.pseudo-node:hover {
    transform: scale(2);
    transition: transform 0.3s;
    z-index: 1;
}

.pseudo-node img {
    width: 100%;
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: solid 2px white;

    width: calc(100% - 4px);
    height: calc(100% - 4px);
    object-fit: cover;
    border-radius: 10px;
    border: solid 2px white;

     pointer-events: none;
}

.pseudo-node .species-name {
    display: none;
}

.pseudo-node:hover .species-name {
    position: absolute;
    display: inline;
    color: white;
    bottom: 7px;
    left: 7px;
    right: 7px;
    text-align: center;
    text-shadow: 0px 0px 20px black, 0px 0px 20px black, 0px 0px 20px black, 0px 0px 20px black;
    display: flex;
    justify-content: center;
}

.pseudo-node:hover .children-count {
    position: absolute;
    color: white;
    top: 5px;
    left: 7px;
    text-align: center;
    text-shadow: 0px 0px 20px black, 0px 0px 20px black, 0px 0px 20px black, 0px 0px 20px black;
    display: flex;
    justify-content: center;
}

.pseudo-node .info-button {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 4px;
    right: 4px;
    background: url(http://naszknurow.pl/wp-content/uploads/2017/03/ck.png);
    z-index: 2;
    background-size: contain;
    opacity: 0;
}

.pseudo-node:hover .info-button {
    opacity: 0.5;
    transition: tranform, 0.3s;
}

.pseudo-node:hover .info-button:hover {
    opacity: 1;
    transform: scale(1.2);
    transition: tranform, 0.3s;
}



.node img {
    max-width: 100px;
    max-height: 100px;
    margin: auto;
}

.nodes circle {
    /*stroke: #fff;*/
    /*stroke-width: 1.5px;*/
    /*fill: none;*/
    opacity: 0;
}

.link {
    fill: none;
    stroke: rgb(112, 99, 64);
    stroke-width: 1px;

    stroke: rgb(193, 193, 191);
    stroke-width: 1.3px;

    stroke: #0a0300;
}

.animal-details {
    width: 100px;
    height: 100px;
    display: flex;
}

.info-box-outer {
    background-color: #00000063;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 2;
}

.info-box {
    position: absolute;
    left: 20px;
    top: 50px;
    right: 20px;
    bottom: 50px;
    background-color: #eae9df;
    width: 500px;
    max-height: 500px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 15px 20px 0px #00000047;
}

.info-box > img {
    object-fit: cover;
    margin: auto;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    /*filter: brightness(0.2);*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    border-radius: 20px;
}

.info-box .species-name > a, .info-box .species-rank {
    text-align: center;
    font-size: 40px;
    margin-top: 20px;
    position: absolute;
    bottom: 27px;
    color: white;
    width: 100%;
    text-shadow: 0px 0px 80px black, 0px 0px 80px black, 0px 0px 80px black, 0px 0px 80px black;
    text-decoration: none;
}

.info-box .species-rank {
    bottom: 75px;
}

.info-box .close-button {
    background: url(http://naszknurow.pl/wp-content/uploads/2017/03/ck.png);
    position: absolute;
    right: 17px;
    width: 50px;
    height: 50px;
    top: 16px;
    background-size: contain;
}

/*.info-box::visible {*/
    /*transform: scale(1.5);*/
/*}*/