/* static/nativeComponents/CubeNav/index.wxss */
.clearfix:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.clearfix {
    zoom: 1;
}
.cube-nav{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 16rpx;
}
.cube1,.cube2,.cube3{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.cube-item{
  float: left;
}
.cube-item .item-img{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}
.cube-item .item-img image{
  width: 100%;
  height: 100%;
  position: absolute;
  margin: auto;
  top: -9999px;
  right: -9999px;
  bottom: -9999px;
  left: -9999px;
  object-fit: contain;
}
.cube-item .item-bg {
  background-image: linear-gradient(#8bd3fb, #4e98f8);
  background-image: -webkit-linear-gradient(#8bd3fb, #4e98f8);
}
.item-title {
  width: 100%;
  text-align: center;
  margin-top: 16rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cube2::-webkit-scrollbar {
    display: none;
}

.nav-wrap {
    width: 100%;
    position: absolute;
    text-align: center;
    bottom: 8rpx;
}
 .nav {
      width: 120rpx;
      height: 8rpx;
      border-radius: 4rpx;
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      background-color: #ccc;
      
    }
    .inner-nav {
        width: 60rpx;
        height: 8rpx;
        border-radius: 4px;
        position: absolute;
        background-color: var(--main-color);
        top: 0;
      }