html {
    --highlight-color: #d1d1d1;
    --progress-background-color: #B4B7BF;
    --progress-color: #1194F6;
    --confirm-color: #7cb342;
    --alert-color: #F42828;

    --spinner-size: 60px;

    background-color: #262834;
    color: var(--highlight-color);
    font-family: Helvetica, sans-serif;
}
button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    line-height: 21px;
    font-size: 16px;
    text-transform: uppercase;
    padding: 8px 12px;
    margin: 0 20px;
}
button:hover {
    border-color: #cdff7d;
    color: #cdff7d;
    background-color: rgba(205, 255, 125, 0.25);
}
button i {
    padding-right: 12px;
}
#droptarget {
    position: absolute;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 3px dotted var(--highlight-color);
    border-radius: 10px;
    padding: 5px;
    margin: 5px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.hint {
    margin: 10px 20px;
    font-size: 32px;
}
.mobile_hint {
    margin: 10px 20px;
    font-size: 20px;
}
#processing, #result, #alert {
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
#file {
    display: none;
}
.spinner {
    border: 3px solid var(--progress-background-color);
    border-top-color: var(--progress-color);
    border-radius: 50%;
    width: var(--spinner-size);
    height: var(--spinner-size);
    animation: spinner 600ms linear infinite;
}
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
.progress_bar {
    visibility: hidden;
    width: 100px;
    height: 4px;
    border-radius: 2px;
    border: none;
    margin: 10px;
    color: var(--progress-color);
    background-color: var(--progress-background-color);
    overflow: hidden;
}
.progress_bar::-webkit-progress-bar {
    background-color: var(--progress-background-color);
}
.progress_bar::-webkit-progress-value {
    background-color: var(--progress-color);
}
.progress_bar::-moz-progress-bar {
    background-color: var(--progress-color);
}
.progress_text {
    font-size: 12px;
    margin: 10px;
}
.total_length {
    font-size: 17px;
    color: #fff;
    margin: 15px;
    font-weight: bold;
}
.file_info_1,.file_info_2 {
    font-size: 15px;
    margin: 2px;
}
#result .checkmark {
    width: var(--spinner-size);
    height: var(--spinner-size);
    font-size: var(--spinner-size);
    line-height: var(--spinner-size);
    color: var(--confirm-color);
}
#alert .checkmark {
    width: var(--spinner-size);
    height: var(--spinner-size);
    font-size: var(--spinner-size);
    line-height: var(--spinner-size);
    color: var(--alert-color);
}
#alert .message {
    font-size: 15px;
    color: #fff;
    margin: 15px;
    text-align: center;
}
.buttons {
    display: flex;
    width: 100%;
    max-width: 430px;
    margin-top: 30px;
    flex-direction: row;
    justify-content: space-between;
}
