@font-face {
  font-family: myFont;
  src: url('../fonts/Leggibilmente.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-breadcrumb,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
span
{
  font-family: myFont!important;
}


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

.uk-back-01 {
  background: #323a59;
}

.uk-back-02 {
  background-color: #F2F7FC;
}
.uk-color-01{
   color: #323a59; 
}
/*导航样式菜单样式*/
.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: #FFF;
  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: #222;
}

.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;
  padding: 30px;
}

#xnavbar h2 {
  color: #eee;
  font-weight: bold;
  font-family: myFont;
  /*初始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; float: right;
}

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

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

.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-border-rounded {
  border-radius: 20px;
  border: solid 6px rgba(0, 0, 0);
}

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

.x-uk-button-primary {
    
  background-color: #1e87f0;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 50px;
}

.x-uk-button-primary:focus,.x-uk-button-primary:hover {
  background-color: #3e94e9;
  color: #fff
}

.x-uk-button-primary.uk-active,.x-uk-button-primary:active {
  background-color: #1e87f0;
  color: #fff
}
.uk-game-list{ display:block; width:320px; height:200px; }
.uk-dotnav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: -12px
}

.uk-dotnav>* {
    flex: none;
    padding-left: 12px
}

.uk-dotnav>*>* {
    display: block;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: 0 0;
    text-indent: 100%;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #FFF;
    transition: .2s ease-in-out;
    transition-property: background-color,border-color
}

.uk-dotnav>*>:focus,.uk-dotnav>*>:hover {
    background-color: rgba(102,102,102,.6);
    outline: 0;
    border-color: transparent
}

.uk-dotnav>*>:active {
    background-color: #FFF;
    border-color: transparent
}

.uk-dotnav>.uk-active>* {
    background-color: #FFF;
    border-color: transparent
}

.uk-dotnav-vertical {
    flex-direction: column;
    margin-left: 0;
    margin-top: -12px
}

.uk-dotnav-vertical>* {
    padding-left: 0;
    padding-top: 12px
}
.x-textone p,span{ line-height:30px; margin:0; font-family:myFont!important;}
.x-textone ul{ margin:0 }
.x-footer-logo{ font-family:myFont!important; }
.x-uk-overlay-primary {
    background: rgba(34,34,34,.5)
}
.x-text-small{ font-size:12px; }