body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    background-color: #f4f4f9;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#video-preview {
    margin-top: 20px;
    max-width: 100%;
    max-height: 450px;
    display: none;
}

.info {
    margin-top: 10px;
    color: red;
}

.video-size {
    margin-top: 10px;
    color: green;
}

#uploadButton {
    display: none;
    margin-top: 20px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-direction: column;
}

#status {
    margin-top: 20px;
    font-size: 25px;
    color: white;
}

#tips {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30%;
    display: none;
}

#tips img {
    width: 100%;
}

#content {
    text-align: center;
}

.bg-wrap {
    width: 100%;
    position: relative;
}

.bg-wrap img {
    width: 100%;
}

.upload-box {
    position: absolute;
    width: 100%;
    top: 35%;
    text-align: center;
}

#video-content {
    display: none;
    text-align: center;
}

#video-content video {
    width:100%;
}

#upload-content {
    display: none;
    text-align: center;
}

img {
    pointer-events: none;
}

.progress-box {
    min-width: 80%;
    margin: 0 auto;
    border-radius: 1rem;
    background: #a12324;
    position: relative;
    text-align: center;
    height: 2rem;
    border: 2px solid #d6ab4b;
}

#jd-num {
    text-align: center;
    margin-top: .1rem;
}

.progress-num {
    position: absolute;
    width: 100%;
}

#jd {
    display: block;
    width: 0%;
    background: #f0df9b;
    border-radius: 1rem;
    height: 2rem;
    transition: .5s all;
    min-width: 2rem;
    text-align: right;
}

#jd img {
    width: 2rem;
    height: 2rem;
}