* {
    margin: 0;
    padding: 0;
}

main {
    margin: auto;
    width: 1000px;
    color: #333;
}

h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

#upload {
    position: relative;
    margin: auto;
    border: 3px dashed #888;
    background-color: #EEE;
    width: 800px;
    height: 200px;
    text-align: center;
}

#upload > p {
    width: 600px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#result {
    margin-top: 50px;
}

select {
    margin-left: 5px;
    padding: 3px 10px;
}

#graphs {
    display: flex;
    flex-wrap: wrap;
}

.graph {
    position: relative;
    padding-top: 50px;
    height: 400px;
}

.graph img {
    width: 500px;
}

.graph .graph-value-text {
    text-align: center;
    height: 52px;
    font-weight: bold;
    font-size: 0.9rem;
}

.graph .current-bei-box .graph-value-text {
    color: #ee7733;
}

.graph .target-bei-box .graph-value-text {
    color: #44aa33;
}

.graph .bei-box {
    height: 255px;
}

.graph .current-bei-box, .graph .target-bei-box {
    position: absolute;
    top: 8px;
    width: 85px;
    height: 255px;
}

.graph .current-bei-box .bei-box {
    border: 2px solid #ee7733;
    background-color: #ee773312;
}

.graph .target-bei-box .bei-box {
    border: 2px solid #44aa33;
    background-color: #44aa3312;
}

#graph_does_not_exist {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 20px;
}

.circle-border {
    margin: 65px auto;
    width: 60px;
    height: 60px;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #888;
    background: linear-gradient(0deg, rgba(150, 150, 150, 0.1) 33%, rgba(150, 150, 150, 1) 100%);
    animation: spin .8s linear 0s infinite;
}

.circle-core {
    width: 100%;
    height: 100%;
    background-color: #EEE;
    border-radius: 50%;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(359deg);
    }
}