
    body {
    margin:0px;
    /* background-color: RGB(65, 99, 232);
    color:white; */
}


#section2{
    margin-top: 20px; /* 设置上方 margin */
    margin-bottom: 20px; /* 设置下方 margin */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

    
    .container {
        text-align: center;
    }
    
    .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* 添加 padding */
}

    
    .grid-item {
        border: 1px solid #ddd;
        padding: 20px;
    }
    
    .grid-item img {
        max-width: 100%; /* 限制图片最大宽度 */
        height: auto;
        object-fit: cover; /* 图片填充容器，保持宽高比 */
        margin-bottom: 10px; /* 添加底部边距 */
    }

    /* 媒体查询：针对小于等于768px的屏幕宽度 */

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(1, minmax(0, 1fr)); /* 在小屏幕上使用单列布局 */
        justify-content: center; /* 左右居中 */
    }

    .grid-item {
        width: calc(100% - 40px); /* 让每个项目占据整个宽度，并留出padding的空间 */
    }
}


/* 媒体查询：针对大于768px的屏幕宽度 */
@media (min-width: 769px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 在大屏幕上使用多列布局 */
    }
}

 a {
            text-decoration: none;
        }

a:hover {
    text-decoration: underline;
}

/* p {
    text-transform: capitalize;
} */





p {
/*    text-transform: capitalize;*/
    background-color: rgb(33,33,33);

    color: white;
    border-radius: 15px; 
    padding: 10px;
}

h2 {
    background-color: rgb(33,33,33);




    color: white;
    border-radius: 15px; 
    padding: 10px;
    text-align: center;
}


    .grid-item {
        border: 1px solid #ddd;
        padding: 20px;
       
    border-radius: 20px; /* 设置圆角半径为10像素 */
 
    }
    
    


.no-global-style {
  background-color: black;
  color:white;
}

.grid-item img {
    height: 200px;           /* 设置图片高度 */
    object-fit: cover;       /* 等比例缩放图片 */
    display: block;          /* 将图片设置为块级元素 */
    margin-left: auto;       /* 左右自动外边距 */
    margin-right: auto;      /* 左右自动外边距 */
    border: 2px solid white; /* 添加2px的白色边框 */
    border-radius: 20px;
}



/* 按钮的颜色设置。 */

.glowbutton {
    --glow-color: transparent;
  --glow-spread-color: transparent
  --enhanced-glow-color: transparent;
  --btn-color: transparent;

  border: 0.25em solid white;
  padding: 1em 3em;
  color: rgb(207, 10, 207);
  font-size: 15px;
  font-weight: bold;
  background-color: var(--btn-color);
  border-radius: 1em;
  outline: none;
  box-shadow: 0 0 1em 0.25em var(--glow-color),
    0 0 4em 1em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
  text-shadow: 0 0 0.5em var(--glow-color);
  position: relative;
  transition: all 0.3s;
}

.glowbutton::after {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--glow-spread-color);
  filter: blur(2em);
  opacity: 0.7;
  transform: perspective(1.5em) rotateX(35deg) scale(1, 0.6);
}

.glowbutton:hover {
  color: purple;
  background-color: var(--glow-color);
  box-shadow: 0 0 1em 0.25em var(--glow-color),
    0 0 4em 2em var(--glow-spread-color),
    inset 0 0 0.75em 0.25em var(--glow-color);
}

.glowbutton:active {
  box-shadow: 0 0 0.6em 0.25em var(--glow-color),
    0 0 2.5em 2em var(--glow-spread-color),
    inset 0 0 0.5em 0.25em var(--glow-color);
}


#section1 {
    height: 100vh;    /* 设置高度为视窗的100% */
    width: 100vw;     /* 设置宽度为视窗的100% */
    display: flex;    /* 使用flex布局 */
    justify-content: center; /* 水平居中内容 */
    align-items: center;     /* 垂直居中内容 */

}

.centered-div {
    text-align: center; /* 水平居中内容 */
     margin-top: -20%;
}



#news .container {
    max-width: 95%;
    margin: 20px auto;
    padding: 0 20px;
    background-color: rgb(3, 3, 3);
}

#news .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 自动填充列 */
    gap: 20px;
    height: 70vh;
}

#news .news-item {
    background-color: rgb(33, 33, 33);
    color: white;
    padding: 20px;
    border-radius: 15px;
    /* 不再设置为flex */
    transition: box-shadow 0.3s ease;
}

#news .news-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#news .news-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 10px 0;
    object-fit: contain; /* 图片缩放以适应容器 */
    margin-bottom: 30px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    #news .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* 调整在小屏幕下的列宽 */
    }
}


@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.9; }
    100% { opacity: 1; }
}
        #right-down-corner-skype-logo {
    position: fixed;
    bottom: 260px; /* 图片底部与页面底部的距离 */
    right: 20px; /* 图片右侧与页面右侧的距离 */
    width: 100px;
    height: 100px;
    animation: blink 1s infinite; /* 闪烁动画，持续1秒，无限循环 */
}

/* 导航按钮的css */
  nav {
            background-color: transparent;
            color: purple;
            padding: 20px 0;
            text-align: center;
        }
        nav a {
            background-color: #007FFF;
            color: white;
            text-decoration: none;
            padding-top: 10px;
            padding-bottom: 10px;
            padding-left: 20px;
            padding-right: 20px;

        }




        .subscribe-btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }
    
        .subscribe-btn:hover {
            background-color: #45a049;
        }
       

      
.banner-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(33, 33, 33);
    padding: 20px;
}

.banner-box {
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;
    min-width: 100px;
    border: 2px solid white; /* 添加边框样式 */
    border-radius: 30px;
    min-height: 100px;
    background-color: rgb(3, 3, 3) /* 将背景色设置为透明 */

    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* 文字颜色设置为白色 */
    font-weight: bold;
    font-size: 24px;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 添加文字阴影以突出显示 */
}

/* Responsive design */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;

    }

    .banner-box {
        margin-bottom: 10px;
        margin-left: 0;
        margin-right: 0;
    }
}


/* 右下角按钮。 */

#purchase-link-div-1 {
    position: relative;
  }
  #sticky-purchase-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    /* Apply the styles of #purchaseButton1 to the sticky button */
    appearance: button;
    background-color: #1899D6;
    border: solid transparent;
    border-radius: 16px;
    border-width: 0 0 4px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 20px;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 13px 19px;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
    transform: translateZ(0);
    transition: filter .2s;
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    white-space: nowrap;
  }
  #sticky-purchase-button:after {
    background-clip: padding-box;
    background-color: #1CB0F6;
    border: solid transparent;
    border-radius: 16px;
    border-width: 0 0 4px;
    bottom: -4px;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
  }
  #sticky-purchase-button:focus {
    user-select: auto;
  }
  #sticky-purchase-button:hover:not(:disabled) {
    filter: brightness(1.1);
  }
  #sticky-purchase-button:disabled {
    cursor: auto;
  }
  #sticky-purchase-button:active:after {
    border-width: 0 0 0px;
  }
  #sticky-purchase-button:active {
    padding-bottom: 10px;
  }

  #notification {
    display: none;
    font-size: 18px;
    /* background-color: white; 设置通知条的背景颜色 */
    background-color: purple !important;
    color: black; /* 设置文字颜色为白色 */
    padding: 30px; /* 设置内边距 */
    text-align: center; /* 文字居中 */
    position: fixed; /* 固定在页面顶部 */
    top: 0; /* 距离页面顶部0像素 */
    left: 0; /* 距离页面左侧0像素 */
    width: 100%; /* 宽度100% */
    margin: 0px;
    z-index: 9999; /* 确保通知条显示在其他元素之上 */
}


/* 一键调节亮度的css。 */

.light-mode {
    background-color: blue; /* 切换到亮色模式时的背景颜色 */
    color: white; /* 切换到亮色模式时的文字颜色 */
}

.dark-mode {
    background-color: #000; /* 切换到暗色模式时的背景颜色 */
    color: #fff; /* 切换到暗色模式时的文字颜色 */
}

.white-icon {
    color: white;
    position: fixed;
    top: 20px; /* 距离顶部的距离 */
    right: 20px; /* 距离右侧的距离 */
    z-index: 9999; /* 控制按钮的层叠顺序 */
}

/* 举报链接的css。 */
#report-link {
    margin-top: 10px; /* 设置上方距离为 20 像素 */
    display: block; /* 让超链接元素作为块级元素显示，以便设置上下间距 */
    color:#333
}
footer {
    /* background-color: #333; */
    color: #fff;
    text-align: center;
}




.div-contact-info {
    display: flex;
    flex-wrap: wrap; /* 允许子元素换行 */
    justify-content: space-between;
    padding: 20px;
    background-color: #333;
    color: #fff;
    max-width:100%;
}

.div-contact-info > div {
    flex: 1;
    max-width: 100%;
    margin: 0 1px; /* 添加间距以分隔每个column */
}

.div-contact-info h4 {
    text-align: left;
}

.div-contact-info a {
    display: block;
    text-align: left; /* 左对齐 */
    margin-top: 10px; /* 添加顶部间距 */
    color: #fff; /* 设置为白色字体 */
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .div-contact-info > div {
        flex: 0 0 100%; /* 每个column占据整个宽度 */
        margin: 10px 0; /* 更改间距 */
    }
}





        
        /* 聊天按钮的css */
        #contactButton {
            position: fixed;
                      bottom: 20px;
                      right: 20px;
                      background-color:   whitesmoke;
                      color: black;
                      padding: 15px 15px;
                      font-size: 15px;
                      border: none;
                      border-radius: 90%;
                      cursor: pointer;
                      width:100px;
                  }
                  
                  #contactButton:hover {
                      background-color:   white;
                  }
                  
                  #contactFormContainer {
                      display: none;
                      position: fixed;
                      bottom: 70px;
                      right: 20px;
                      width: 250px; /* 修改为较小的数值 */
                      background-color: black;
                      border: 1px solid #ccc;
                      padding: 20px;
                      text-align: left;
          }
          #contactButton.new-message {
              animation: blink 1.5s infinite;
          }
          
          /* #free-design-tool-kit-image{

            display:none;
          } */

/* 回到顶部的css。 */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 200px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    cursor: pointer;
    background-color: black;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}
#scrollToTop:hover {
    background-color: #0056b3;
}
