/* 基本样式重置 */
body { margin: 0; padding: 0; }
img { display: block; width: 100%; z-index: 2; }

/* 布局 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #141715;
    padding-bottom: 10px; 
}

.language-selector {
    position: relative;
}

.lang-btn {
    border: none;
    color: #999999;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    padding-right:50px;
    padding-top: 0px; 
    background-color: #141715;
    top: 0px;
    right: 130;
}
.btn-group{
     display: flex;
     padding-right:14px;
    padding-top: 0px; 
     margin-left: auto; 
}
.down-btn{
    border: none;
    color: #00CC4B;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    background-color: #141715;
    top: 0px;
}
.down-btn-icon{
    height: 16px;
    width: 16px;
    cursor: pointer;
    padding-right:2px;
    padding-top: 3px; 
}
.dropdown {
    display: none;
    position: absolute;
    top: 30px;
    left: 10px;
    text-align: center;
    background-color: #141715;
    border: 1px solid #04f360;
    border-radius: 5px;
    overflow: hidden;
    z-index: 3;
}

.dropdown a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

.dropdown a:hover {
    background-color: #555;
}

.logo {
    max-height: 45px;
    max-width: 120px;
    padding-left:100px;
    padding-bottom: 10px; 
    padding-top: 10px; 
}
.button {
    background-color: #00CC4B; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    width: 144px;
    height: 50px;
    z-index: 1000;
    padding-bottom: 20px; 
    position: relative;
    bottom: 40px;
}
main {
    display: grid;
}
.text1 {
    position: relative;
    bottom: 30px;
    color: #00CC4B; 
    font-size: 32px;
    font-weight: bold;  
    padding-left: 0px; 
    padding-right: 30px;
    width: auto;
    height: auto;
}
.part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative; /* 定义相对定位 */
    z-index: 2;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 30px; 
    padding-top: 30px; 
    background-color: white;
}

.black-background {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative; /* 定义相对定位 */
    z-index: 2;
    padding-left: 100px;
    padding-right: 100px;
    overflow: hidden; /* 防止内容溢出容器 */
}

.hello1 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上  你好，世界*/
    left: 80px; 
    top: 120px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    z-index: 1; /* 保证位于其他内容之下 */
    overflow: hidden;
    font-size: 96px;
    color: #999999;
    opacity: 0.1;
}
.hello2 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上  Hello World */
    left: 80px;
    top: 50px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    z-index: 1; /* 保证位于其他内容之下 */
    overflow: hidden;
    font-size: 48px;
    color: #999999;
    opacity: 0.1;
}
.hello3 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上 こんにちは世界 */
    left: 130px;
    top: 430px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 48px;
    color: #999999;
    opacity: 0.1;
}
.hello4 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上  안녕하세요 세계 */
    left: 80px;
    top: 250px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 36px;
    color: #999999;
    opacity: 0.1;
}
.hello5 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上 Olá Mundo */
    left: 400px;
    top: 250px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 42px;
    color: #999999;
    opacity: 0.1;
}
.hello6 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上   Hallo Welt*/
    left: 420px;
    top: 90px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 42px;
    color: #999999;
    opacity: 0.1;
}
.hello7 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上 Bonjour le monde*/
    left: 30px;
    top: 291px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 48px;
    color: #999999;
    opacity: 0.1;
}
.hello8 {
    position: absolute;
    z-index: 1; /* 确保文字和图片在底层图片之上 Hola Mundo*/
    left: 370px;
    top: 350px;
    grid-area: 1 / 1 / -1 / -1; /* 覆盖整个网格 */
    overflow: hidden;
    font-size: 55px;
    color: #999999;
    opacity: 0.1;
}
.text {
    padding: 10px;
    z-index: 2; /* 确保文字和图片在底层图片之上 */
}

.foot {
    background-color: #080808;
    color: #BABABA;
    padding-left:100px;
    padding-right: 100px;
    padding-bottom:40px;
    overflow: hidden; /* 防止内容溢出容器 */
}
.video-container {
    position: relative;
    width: 100%;
    height: auto;
  }
.video-container video{
    display: flex;         /* 启用 Flexbox */
    align-items: right;  /* 将 flex 项靠右对齐 */
    height:auto;           /* 如果需要，可以设置容器高度 */
    width: 100%;            /* 如果需要，可以设置容器宽度 */
    z-index: 2;
    bottom: 0;
    pointer-events: none; /* Disable user interaction */
}

.right-aligned-container {
    display: flex;         /* 启用 Flexbox */
    flex-direction: column; /* 设置 flex 项垂直排列 */
    align-items: left;  /* 将 flex 项靠右对齐 */
    justify-content: center; 
    height: 100%;           /* 如果需要，可以设置容器高度 */
    width: 100%;            /* 如果需要，可以设置容器宽度 */
    z-index: 500;
    position: relative;
}

.right-aligned-container button {
    background-color: #00CC4B;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    width: 144px;
    height: 50px;
    z-index: 1000;
    padding-bottom: 20px; 
    position: relative;
    bottom: 40px;
}

.bottom-image {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 1; /* 设置底层图片的层级为低 */
    object-position: center;
}

.whitebackground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0px;
    z-index: 1; /* 设置底层图片的层级为低 */
    background-color: white;
}
.bottomtext{
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px;
}
.line{
    width: calc(100% - 200px); /* 减去左右的间距 */
    height: 1px;
    border-bottom: 1px solid #CCCCCC;
    margin: 0 100px; /* 设置左右间距 */
    opacity: 0.5;
    z-index: 2; 
}
/* Hide the mobile image by default */
.mobile-image {
    display: none;
}

/* Show the PC image by default */
.pc-image {
    display: block;
}
.footp{
    margin-top: 3px;
    margin-bottom: 3px;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}
.back-to-top img {
    width: 56px; /* Adjust size as needed */
    height: 56px;
}

.download-bar {
    position: fixed;
    height: 80px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    border: 0.5px solid rgba(62, 62, 62, 0.2);
    color: #fff;
    padding: 10px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.download-bar img {
    width: 50px;
    height: 50px;
    border-radius: 8%;
}

.download-bar .solgo-text {
    font-size: 16px;
    margin-left: 12px;
    margin-right: 12px;
    font-weight: bold;
    color: #333;
}

.download-bar button {
    background-color: #00CC4B; /* Green */
    color: white;
    font-size: 14px;
    border: none;
    width: 80px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
}

.download-bar button:hover {
    background-color: #00CC4B; /* Green */
}
/* 浮层样式 */
#overlay {
    position: fixed;  /* 固定定位，覆盖全屏 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    z-index: 2000;
}
/* 引导文本样式 */
#guide-text {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white; /* 白色文字 */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7); /* 轻微透明的背景加强对比 */
    border-radius: 5px; /* 圆角 */
    font-size: 18px;
    z-index: 2000;
}
#overlay img {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 209px;
    height: 80px;
    z-index: 2000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-bar {
        display: flex;
    }
    .lang-btn {
        right: 30;
    }
    .down-btn{
        right: 100;
    }
    .btn-group{
           padding-right:10px;
    }
    .back-to-top {
        bottom: 115px;
        right: 12px;
    }
    .back-to-top img {
        width: 36px; /* Adjust size as needed */
        height: 36px;
    }
    .mobile-image {
        display: block;
    }
    .pc-image {
        display: none;
    }
    .footp{
        padding-left: 35px;
        padding-right: 35px;
    }
    .part {
        grid-template-columns: 1fr;
        padding-left: 35px;
        padding-right: 35px;
    }
    .black-background {
        grid-template-columns: 1fr;
        padding-left: 35px;
        padding-right: 35px;
    }
    .image {
        order: -1; /* 图片在文字上方 */
    }
    .text1 {
        padding-bottom: 5px; 
        padding-left: 0px; 
        padding-right: 0px; 
    }
    .bottom-image {
        position: absolute;
        bottom: 0px;
        width: 100%;
        z-index: 1; /* 设置底层图片的层级为低 */
        object-position: center;
    }
    .whitebackground{
        bottom: 0;
        width: 100%;
        height: 201px;
    }
    .right-aligned-container {
        align-items: center; /* 在小屏幕上居中对齐 */
    }
    .logo {
        padding-left:35px;
    }    
    .hello1 {
        font-size: 44px;
        left: 80px; 
        top: 200px;
    }
    .hello2 {
        font-size: 36px;
        left: 30px; 
        top: 280px;
    }
    .hello3 {
        font-size: 24px;
        right: 10px; 
        top: 50px;
    }
    .hello4 {
        font-size: 18px;
        left: 80px; 
        top: 120px;
    }
    .hello5 {
        font-size: 30px;
        left: 140px; 
        top: 150px;
    }
    .hello6 {
        font-size: 28px;
        left: 180px; 
        top: 20px;
    }
    .hello7 {
        font-size: 26px;
        left: 240px; 
        top: 50px;
    }
    .hello8 {
        font-size: 30px;
        left: 250px;
        top: 250px;
    }
    .foot {
        padding-left:10px;
        padding-right: 10px;
    }
    .bottomtext{
        text-align: center;
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .line{
        width: calc(100% - 70px); /* 减去左右的间距 */
        height: 1px;
        border-bottom: 1px solid #CCCCCC;
        margin: 0 35px; /* 设置左右间距 */
        opacity: 0.5;
        z-index: 2; 
    }
}