/* styles for statistics visualisation */
@keyframes growing {
    from {height: 10px;}
    to {height: var(--wdh)}
}
:root {
    --this: 1px;
    --this-width: 50px;
}
html {
    height: 100%;
    letter-spacing: 1px;
    scroll-behavior: smooth;
}
body {
    height: 100%;
}
.hidden {
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.LDW {
    --this-gap: 20px;
    --this-clr: grey;
    display: flex;
    gap: var(--this-gap);
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-family: 
    'Open Sans', 
    'Gill Sans',
    'Verdana', 
    'FF', 
    'Exo', 
    sans-serif;
}
.LDW__button {
    padding: var(--this-gap);
    font-weight: 700;
    color: rgba(256,256,255,0.5);
    background-color: black;
}
.LDW__header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    padding: var(--this-gap);
}
.LDW__title {
    --bdr: calc(var(--this-gap)/3);
    --pdg: calc(var(--this-gap)/2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--bdr) rgba(255,255,255,0.25);
    border-radius: 50%;
    padding: calc(var(--this-gap) / 2);
    aspect-ratio: 1/1;
    font-size: 24px;
    color: rgba(255,255,255,0.75);
    background-color: black;
}
.LDW__boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--this-gap);
    
}
.LDW__section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.LDW__subtitle {
    --bdr: calc(var(--this-gap)/3);
    --pdg: calc(var(--this-gap)/2);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    order: 2;
    border: var(--bdr) rgba(255,255,255,0.25);
    border-radius: 50%;
    width: var(--this-width);
    aspect-ratio: 1/1;
    /* padding: calc(var(--this-gap) / 2); */
    font-size: 24px;
    color: rgba(255,255,255,0.75);
    background-color: black;
    overflow: hidden;
}
.LDW__subtitle--avatar {
    /* --wdh: calc(var(--this-gap)*2); */
    display: block;
    flex-wrap: nowrap;
    /* width: var(--wdh); */
    justify-content: flex-start;
    overflow: hidden;
}
.LDW__avatar {
    display: block;
    width: var(--this-width);
    height: var(--this-width);
}
.LDW__ul {
    --rds: calc(var(--this-gap)/4);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: calc(var(--this-gap)/5);
}
.LDW__element {
    --this-gap: calc(var(--this-gap)/5);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: var(--this-gap);
}
.LDW__li {
    --pdg: calc(var(--this-gap)/5);
    --wdh: calc(var(--this-gap)*2);
    width: calc(var(--this-gap)/2);
    height: 10px;
    background-color: var(--this-clr);
    background-image: linear-gradient(
            to bottom,
            rgba(0,0,0,0.25) var(--pdg),
            transparent calc(100% - var(--pdg)),
            rgba(0,0,0,0.25)
        )
    ;
    transition: width, 0.5s linear;
    animation: growing 0.5s ease forwards;
}
.LDW__ul--w { 
    --this-clr: green; 
    position: absolute;
    bottom: calc(var(--this-width) + var(--this-gap));
    order: 1;
}
.LDW__ul--l { 
    --this-clr: red; 
    position: absolute;
    top: calc(var(--this-width) + var(--this-gap));
    flex-direction: column-reverse;
    order: 3;
}