﻿:root {
    --nord-background: #3b4252;
    --nord-font: #eceff4;
    --nord-grey: #d8dee9;
    --nord-highlight: #81a1c1;
    --nord-red: #bf616a;
    --nord-green: #a3be8c;
}

body {
    background-color: var(--nord-background);
    font-family: 'Noto Serif JP', serif;
}

h1 {
    color: var(--nord-font);
    margin-top: 0px;
    margin-bottom: 0px;
}

p   {
    color: var(--nord-font);
    font-size: 18px;
}

#message-box {
    position: absolute;
    top: 5%;
    z-index: 999;
    margin-left: 32.5%;
    width: 35%;
    background-color: var(--nord-highlight);
    color: var(--nord-font);
    font-size: 25px;
    text-align:center;
    transform: 0.5s;
    border: 2px solid var(--nord-grey);
    border-radius: 5px;
    opacity: 0.8;
}

#header {
    height: 40px;
    width: 98%;
    position: fixed;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    background-color: var(--nord-background);
    z-index: 1;
}

.header-left {
    display: inline;
    padding-left: 2px;
    padding-right: 2px;
}

.header-right {
    display: inline-block;
    width: 200px;
    float: right;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 18px;
    margin-top: 5px;
}

input   {
    background-color: var(--nord-background);
    height: 25px;
    border: none;
    color: var(--nord-font);
    text-align: right;
    font-size: 20px;
    border-bottom: 2px solid var(--nord-grey);
    font-family: 'Noto Serif JP', serif;
}

input:focus   {
    border: none;
    border-bottom: 2px solid var(--nord-highlight);
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

input[type=text]   {
    width: 40px;
}

#add    {
    display: inline-block;
    height: 40px;
    width: 40px;
    font-size: 25px;
    text-align: center;
    vertical-align: middle;
    margin-left: 25px;
    margin-top: 0px;
    background-color: var(--nord-highlight);
    transition: 0.5s
}

label   {
    color: var(--nord-font);
    font-size: 18px;
    margin-left: 20px;
}

#selection-panel {
    position: relative;
    display: block;
    top: 60px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
.panel {
    display: inline-block;
    top: 0px;
    width: 32.5%;
    height: 200px;
    border-left: 2px solid var(--nord-font);
}

.panel:hover{
    background-color: rgba(255,255,255,0.3);
}

.number {
    display: block;
    text-align: center;
    font-size: 120px;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
}

.button{
    text-align: center;
    background-color: var(--nord-highlight);
    color: var(--nord-background);
    transition: 0.5s;
    text-decoration: none;
    border-radius: 2px;
}

.button:hover {
    color: var(--nord-font);
    transition: 0.5s;
}

.iobutton{
    display: block;
    text-align: center;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4px;
    margin-bottom: 5px;
    background-color: var(--nord-highlight);
    color: var(--nord-background);
    transition: 0.5s;
}

.unit   {
    text-align: right;
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 5px;
    color: var(--nord-grey);
    font-size: 30px;
}
    
#add:link  {
    text-decoration: none;
    color: var(--nord-background);
    transition: 0.5s;
}

#add:visited {
    text-decoration: none;
}

#add:hover {
    text-decoration: none;
    color: var(--nord-font);
    transform: rotate(90deg);
    transition: 0.5s;
}

#add:active {
    text-decoration: none;
}

a  {
    text-decoration: none;
    color: var(--nord-font);
}



#datadump {
    color: var(--nord-font);
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%;
    text-align:center;
}


.invalid    {
    border-bottom: 2px solid var(--nord-red);
}

#modal{
    display: none;
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.4); 
}

#innerbox{
    position: absolute;
    margin-top: 100px;
    margin-left: 15%;
    width: 70%;
    height: 70%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #4c566a;
    scrollbar-color: var(--nord-highlight) #4c566a;
    scrollbar-width: thin;
}

#close  {
    float: right;
    margin-right: 7px;
    margin-top: 5px;
    font-size: 25px;
    transition: 0.4s;
}

#close:hover    {
    transform: rotate(90deg);
    transition: 0.4s;
}

#remove:hover {
    color: var(--nord-red);
}

textarea{
    width: 100%;
    height: 200px;
    background-color: var(--nord-background);
    color: var(--nord-font);
    border: 1px solid var(--nord-grey);
}

#iodiag{
    margin-left: 10%;
    width: 80%;
}

#plot   {
    position: relative;
    height: 100%;
    width: 80%;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
}

.hidden {
    display: none;
}

.selected{
    background-color: #2e3440;
    border-left: 2px solid var(--nord-highlight);
}

.selected h1{
    color: var(--nord-highlight);
}

.selected span{
    color: var(--nord-highlight);
}
