body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    /* 允许body滚动 */
    overflow: auto;
}

.video-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    /* 视口宽度 */
    height: 100vh;
    /* 视口高度 */
    background: url('./imgs/image-1714292101432-43-transformed-imageonline.co-4443812.webp') no-repeat;
    background-size: cover;
    -o-object-fit: cover;
    object-fit: cover;
}


/* 添加一个包裹元素来居中.content */

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* 限制内容区域高度为视口高度 */
    padding: 1rem;
    /* 可选，为了给内容一些间距 */
    box-sizing: border-box;
    /* 确保padding不会增加元素的总高度 */
    font-family: Arial, 'Times New Roman', 'Microsoft YaHei', SimHei;
}

.content {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content h1 {
    font-size: 2.5rem;
}

@media screen and (max-width: 768px) {
    /* Adjust styles for mobile devices if needed */
    .content {
        margin-top: 15rem;
    }
}

.blinking-cursor {
    font-weight: normal;
    /* 可以根据需要设置为正常或加粗 */
    color: #ffffff;
    /* 光标的颜色，这里设置为黑色，可以根据页面风格调整 */
    opacity: 1;
    /* 初始不透明度 */
    -webkit-animation: blink-animation 0.2s infinite;
    animation: blink-animation 0.2s infinite;
    /* 应用闪烁动画，并设置动画时间为0.2秒，无限循环 */
}


/* 定义闪烁动画 */

@-webkit-keyframes blink-animation {
    0%,
    49% {
        opacity: 1;
        /* 在动画的前49%，光标是完全可见的 */
    }
    50%,
    100% {
        opacity: 0;
        /* 在动画的后50%，光标变为透明，实现闪烁效果 */
    }
}

@keyframes blink-animation {
    0%,
    49% {
        opacity: 1;
        /* 在动画的前49%，光标是完全可见的 */
    }
    50%,
    100% {
        opacity: 0;
        /* 在动画的后50%，光标变为透明，实现闪烁效果 */
    }
}

.content-button {
    width: 11.5rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    background-color: rgba(247, 247, 249, 0.3);
    color: #fff;
    display: inline-block;
    border-radius: 0.5rem;
    text-decoration: none;
    position: relative;
    border: 2px solid #ffffff;
}

.content-button:hover {
    background-color: rgba(247, 247, 249, 0.8);
    transition: background-color .5s, color .5s;
    /* 添加阴影 */
    box-shadow: 3px 1px 1px #ffffff;
}

#output {
    font-size: 1.6rem;
}