.a {
    transition: color 0.2s;
    text-decoration: none;
    color: rgb(var(--mdui-color-surface));
}

.a:visited {
    text-decoration: none;
    color: rgb(var(--mdui-color-surface));
}

.a:hover {
    color: rgb(var(--mdui-color-surface-dim));
}

#cover {
    z-index: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 40%;
    height: 100%;
}

#cover-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/img/test.jpg);
    background-position: center;
    background-size: cover;
    filter: brightness(50%);
}

#head {
    position: relative;
    text-align: center;
    margin-top: 40%;
    font-size: 70px;
    color: rgb(var(--mdui-color-surface));
}

#footer {
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
    color: rgb(var(--mdui-color-surface));
}

#control {
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background-color: rgb(var(--mdui-color-background));
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.6);
}

#img-list {
    position: relative;
    display: block;
    margin-top: 20%;
    padding: 0;
    width: 100%;
    height: 50%;
    white-space: nowrap;
}

.img-item {
    transition: transform 0.3s, height 0.3s, width 0.3s;
    bottom: 0;
    left: 50%;
    transform: translate(calc(-50%));
    position: absolute;
    display: flex;
    align-items: flex-end;
    border-radius: 13px;
    overflow: hidden;
    height: 100%;
}

#view-item {
    height: 140%;
    z-index: 2;
}

.img {
    display: inline-block;
    vertical-align: bottom;
    border-radius: 13px;
    max-height: 100%;
    max-width: 48vw;
    object-fit: contain;
}

#upload-img {
    height: 100%;
}

#upload {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    color: rgb(var(--mdui-color-primary));
    background-color: rgb(var(--mdui-color-primary-container));
}

#upload-icon {
    position: absolute;
    width: 50%;
    height: auto;
    left: 25%;
    top: 25%;
    fill: rgb(var(--mdui-color-primary));
}

#upload-text {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 15%;
}

#upload-input {
    opacity: 0;
    z-index: 10;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

#submit {
    display: block;
    margin: auto;
    margin-top: 7%;
    text-align: "center";
    left: calc(50% - 100px);
    background-color: rgb(var(--mdui-color-primary));
    color: rgb(var(--mdui-color-surface));
    width: 200px;
    height: 50px;
    border-style: none;
    border-radius: 25px;
    font-size: 20px;
}

.add-img {
    animation-name: add-anime;
    animation-duration: 0.4s;
    opacity: 1;
}

@keyframes add-anime {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#progress-list {
    display: block;
    position: relative;
    text-align: center;
    padding: 0;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}

.progress-item {
    transition: top 0.15s, opacity 0.15s;
    position: absolute;
    display: block;
    top: 40px;
    left: 30%;
    width: 40%;
    height: 10px;
    border-radius: 5px;
    background-color: rgb(var(--mdui-color-primary-container));
    opacity: 0;
}

#view-progress {
    top: 0;
    opacity: 1;
}

.progress-bar{
    width: 50%;
    height: 100%;
    background-color: rgb(var(--mdui-color-on-primary-container));
    border-radius: 5px;
}

.progress-num {
    position: absolute;
    display: block;
    width: 30px;
    margin-left: calc(100% + 10px);
    margin-top: -5px;
}

.sp-progress-item
{
    transition: top 0.15s, opacity 0.15s;
    position: absolute;
    display: block;
    top: 40px;
    left: 30%;
    width: 40%;
    height: 10px;
    border-radius: 5px;
    opacity: 0;
}

.True{
    background-color: green;
    display: none;
}

.False{
    background-color: red;
    display: none;
}