@font-face {
  font-family: myFont;
  src: url('../fonts/Montserrat-Regular.ttf');
}
html,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
.uk-navbar-nav>li>a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a {
  font-family: myFont;
}

.x-width {
  min-width: 1600px;
}

.uk-back-01 {
  background-color: rgba(159,128,27);
}

.uk-back-02 {
  background-color: #F2F7FC;
}




.dropdown-menu {
  display: none;
  /* 默认隐藏下拉菜单 */
  position: absolute;
  background-color: bisque;
  z-index: 1;
  padding: 5px;
}

.dropdown:hover .dropdown-menu {
  display: block;
  /* 鼠标悬停时显示下拉菜单 */
}

.dropdown-menu li {
  display: block;
  width: 100%;
}
.uk-radius{ border-radius:50px; }
.dropdown-menu li a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #000;
}

.x-position {
  position: absolute !important;
  bottom: 30%;
  left: 0;
  right: 0;
}

.dropdown-menu li a:hover {
  background-color: #222;
  /* 鼠标悬停时下拉菜单项的背景颜色 */
  color: #FFF;
}

.uk-text-01 {
  color: rgb(225, 205, 38);
  ;
}

.uk-fontSize-01 {
  font-size: 5rem;
}

.x-video {
  width: 100%;
  max-height: 70vh;
  /* 保持高度按比例缩放 */
  object-fit: cover;
  /* 保持视频比例并覆盖整个容器 */
}

/*导航栏下拉颜色自适应样式*/
.xnavbar {
  transition: background-color 0.3s ease, color 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

#xnavbar h2 {
  color: #eee;
  font-weight: bold;
  /*初始h2颜色*/
}

#xnavbar span {
  color: #eee;
  /*初始span颜色*/
}

/* 滚动后导航栏变为深色背景时的样式 */
.xnavbar.scrolled {
  background-color: #FFF;
  border-bottom: solid 1px #ccc;
  color: #333;
}
#xnavbar.scrolled a{ color:#888; }
#xnavbar.scrolled h2 {
  color: #333;
  /* 滚动后设置为深色字体 */
}

#xnavbar.scrolled span {
  color: #666;
  /* 滚动后设置为深色字体 */
}

.x-ulist {
  list-style-type: none;
}

.x-ulist>li {
  margin: 0 5px;
}

.x-ulist>li>a {
  font-size: 12px;
  text-decoration: none;
  color: #888;
}

.x-ulist>li>a:hover {
  color: #3fce9e;
}

.background-circles {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 205, 38);
}

.circle--small {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 10%;
  opacity: 0.5;
}

.circle--medium {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 15%;
  opacity: 0.7;
}

.circle--large {
  width: 250px;
  height: 250px;
  bottom: 10%;
  right: 8%;
  opacity: 0.4;
}

.circle--xlarge {
  width: 320px;
  height: 320px;
  bottom: 70%;
  right: 3%;
}

/*手机背景样式*/
.phone-frame {
  width: 300px;
  height: 600px;
  background-color: #333;
  border-radius: 30px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.phone-frame.horizontal {
  width: 600px;
  height: 300px;
}

.screen {
  width: 90%;
  height: 80%;
  background-color: #fff;
  position: absolute;
  top: 10%;
  left: 5%;
  border-radius: 20px;
  overflow: hidden;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-button {
  width: 40px;
  height: 40px;
  background-color: #555;
  border-radius: 50%;
  position: absolute;
  bottom: 10px;
  left: calc(50% - 20px);
}

.phone-frame.horizontal .screen {
  width: 94%;
  height: 90%;
  top: 5%;
  left: 3%;
  bottom: 5%;

}

.phone-frame.horizontal .home-button {
  display: none;
  /* 调整横向背景时按钮的位置 */
  /* (bottom: auto;)取消 bottom 设置 */
  /* (top: 80%;)使用 top 让按钮垂直居中 */
  /* (left: 50%;) 将按钮放到更右边，或者适当的位置 */
  /* transform: translate(-50%, -50%); */
}

/*my style*/
.x-android {
  width: 400px;
  background-color: rgb(151, 192, 36);
  color: #FFF;
  border-radius: 60px;
}

.x-border-rounded {
  border-radius: 60px;
  border: solid 10px rgba(46, 161, 39);
}

.x-border-rounded01 {
  border-radius: 50px;
}
.x-border-rounded02 {
  border-radius: 20px;
}

.x-uk-button-primary {
  background-color: rgb(151, 192, 36);
  color: #fff;
  border: 1px solid transparent
}

.x-uk-button-primary:focus,.x-uk-button-primary:hover {
  background-color: rgb(133, 169, 32);
  color: #fff
}

.x-uk-button-primary.uk-active,.x-uk-button-primary:active {
  background-color: rgb(151, 192, 36);
  color: #fff
}
#backgroundCanvas {
  width: 100%;
  height: 80vh; /* 设置为视口高度的75% */
  display: block;
}
.x-uk-position-center {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}




/* 当视口宽度小于等于 768px 时（常见的移动端设备尺寸范围） */
@media (max-width: 768px) {
  .x-media-text {
    text-align: center;
  }

  .x-position {
    position: absolute !important;
    top: 50%;
    left: 0;
    right: 0;
  }
    
  .x-position h1 {
    font-size: 1.25rem;
  }

  .uk-fontSize-01 {
    font-size: 3.5rem;
  }

  .circle--xlarge {
    display: none;
  }

  .circle--large {
    bottom: 25%;
    right: 5%;
    opacity: 0.4;
  }
    
}

/* 当视口宽度小于等于 1024px 时（常见的移动端设备尺寸范围） */
@media (max-width: 1024px) {
  .x-media-text {
    text-align: center;
  }

  .x-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .x-position {
    position: absolute !important;
    bottom: 10%;
    left: 0;
    right: 0;
  }

  .circle--xlarge {
    display: none;
  }

  .circle--large {
    bottom: 25%;
    right: 5%;
    opacity: 0.4;
  }

}