@font-face {
  font-family: myFont;
  src: url('../fonts/Montserrat-Regular.ttf');
}
@font-face {
  font-family: myFont01;
  src: url('../fonts/Crime Syndicate Rotalic Regular.ttf');
}
@font-face {
  font-family: myFont02;
  src: url('../fonts/Lulo Clean W01 One Bold.ttf');
}
@font-face {
  font-family: myFont03;
  src: url('../fonts/Algebra.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,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a {
  font-family: myFont;
}


.uk-font-crime-syndicate {
  font-family: myfont01;
}
.uk-font-crime-Lulo {
  font-family: myfont02;
}
.x-width {
  min-width: 1600px;
}

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

.uk-back-02 {
  background-color: #F2F7FC;
}
.uk-back-03 {
  background-color:#f1b350;
}
.uk-text-white{ color:#FFF; }
/*导航样式菜单样式*/
.uk-navbar-nav>li>a {

  text-transform: uppercase;
  transition: .1s ease-in-out;
  transition-property: color, background-color;
}

.uk-navbar-item,
.uk-navbar-nav>li>a,
.uk-navbar-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .25em;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 15px;
  font-size: .875rem;
  font-family: myFont;
  text-decoration: none;
  border-radius: 30px;
  color: #eee;
}

.nav-link {
  margin-bottom: 10px;
  transition: all 0.2s ease;
  /* 添加过渡效果 */
}

.x-nav-active>li>a.active {
  font-weight: bold;
  /* 可以根据需要自定义active样式 */
  background-color: bisque;
  color: #7a4b43;
}

.x-nav-active>li>a:hover {
  font-weight: bold;
  /* 可以根据需要自定义active样式 */
  background-color: bisque;
  color: #7a4b43;
}

.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%;
}

.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;
}


/*手机背景样式*/
.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;
  line-height: 100px;
  background-color: rgb(151, 192, 36);
  color: #FFF;
  border-radius: 50px;
  
}
.x-android:hover {background-color: rgb(134, 171, 32); color:#FFF}
.x-border-rounded {
  border-radius: 60px;
  border: solid 10px rgba(205, 180, 98);
}

.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;
}
.uk-menu{ width:45px; line-height:45px; display:block; background-color:#fff; color:rgba(159,128,27); border-radius:50px; text-align:center; margin-bottom:20px; transition: all 0.3s ease;}
.uk-menu:hover{ background-color:#f1b350; text-decoration:none; color:#fff;}
#x-textone p{ line-height:30px!important; margin:0}
#x-textone ul{ margin:0 }