@charset "utf-8";

.partition-h{
    position: relative;
    width: 100%;
    height: 2px;
    margin-bottom: 0.5rem;

    opacity: 0;
    background-color: #333;
}

div.chart-area{
    position: relative;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}


/* svg.chart ////////////////////////////////////////////////// */

div.chart-area svg.canvas {
    position: absolute;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);

    pointer-events: none;
}

div.chart-area svg.canvas text, .lines {
    pointer-events: none;
}

div.chart-area svg.canvas text {
    fill:#eee;
    font-size: 1em;
}

/* title ////////////////////////////////////////////////// */

div.chart-area .title {
    position: absolute;
    pointer-events: none;
    width: 50%;
    padding: 1rem;

    top:1rem;
    right:1rem;

    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
}

.chart-area .title h3{
    text-align: left;
    line-height: 1;

    font-size: 4rem;
    color: #294913;

    font-family: din-condensed, sans-serif;
    font-kerning: normal;
    -moz-font-feature-settings: "kern";
    -webkit-font-feature-settings: "kern";
    font-feature-settings: "kern";
}

.chart-area .title h2,.chart-area .title p{
    text-align: left;

    font-weight: 400;
    font-size: 14px;
    color: #333;
}

.chart-area p{
    pointer-events: auto;
}

.chart-area p a:link { text-decoration: underline; }


/* annotation ////////////////////////////////////////////////// */

.chart-area #annotation {
    position: absolute;
    opacity: 0;

    width: 25%;
    bottom:1rem;
    right:1rem;
    padding:1rem;

    border-left: 0.5rem solid #294913;

    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
}

.chart-area #annotation ul {
    list-style-type: none;
    /* display: none; */
}

.chart-area #annotation li {
    line-height: 1;
    margin-bottom: 1rem;
}
.chart-area #annotation li:last-child {
    margin-bottom: 0;
}

.chart-area #annotation li.label1 {font-size: 1rem; font-weight: bold; cursor: default; margin-bottom: 0;}
.chart-area #annotation li.label2 {width: 100%; font-size: 2rem;}
.chart-area #annotation li.label3 {font-size: inherit;}

.chart-area #annotation li input {
    max-width: 70%;
    border: none;
    outline: none;
}
.chart-area #annotation li input#change-name { color: #294913;}


.chart-area #annotation li .button {
    display: block;
    width: 100%;
    line-height: 1.2;
    text-align: center;
    padding: 10px;

    text-decoration: none;
    border-radius: 3px;
    background: #294913;
    color: #FFF;

    cursor: pointer;
}

@media (max-width: 1050px){
    .chart-area .title h3{ font-size: 2rem; }
    .chart-area #annotation {width: 50%;}

}

@media (max-width: 700px){
    .chart-area .title h3{ font-size: 2rem; }
    .chart-area #annotation {
        width: 50%;
        bottom: 18vh;
        bottom: calc(var(--vh, 1vh) * 18);
    }
    .chart-area #annotation li.label2 {font-size: 1rem;}
}
