
.home-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.home-content {
    width: calc(100vh - 40px);
    height: calc(100vh - 40px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.home-circle-bg {
    width: 100%;
    height: 100%;
}

.home-bg {
    width: 100vw;
    height: 100vh;
}

.category-item {
    position: absolute;
    width: 6vw;
}

.child-category-container {
    position: absolute;
}

.category-item:nth-child(1) {
    left: 6.2%;
    top: 13.9%;
}

.category-item:nth-child(2) {
    left: 69.1%;
    top: 20.1%
}

.category-item:nth-child(3) {
    left: 22.7%;
    top: 65.6%;
}

.category-item:nth-child(4) {
    left: 84.2%;
    top: 72.2%
}

.category-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.child-category-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.child-category-container {
    position: absolute;
}

/* 左上分类 */
.category-item:nth-child(1) .child-category-container {
    left: -200%;
    top: -3.3vh;
}

.category-item:nth-child(1) .child-category-item {
    position: relative;
    right: calc(var(--index) * 30px);
    margin-bottom: 5.1vh;
}

/* 右上分类 */
.category-item:nth-child(2) .child-category-container {
    left: 47.3%;
    top: -15vh;
}

.category-item:nth-child(2) .child-category-item {
    position: relative;
    margin-bottom: 2.2vh;
}

.category-item:nth-child(2) .child-category-item:nth-child(2) {
    /*left: 4.3vw;*/
    left: 4vw;
}

.category-item:nth-child(2) .child-category-item:nth-child(3) {
    /*left: 7.6vw;*/
    left: 7vw;
}

.category-item:nth-child(2) .child-category-item:nth-child(4) {
    /*left: 9.3vw;*/
    left: 9vw;
}

.category-item:nth-child(2) .child-category-item:nth-child(5) {
    /*left: 9.3vw;*/
    left: 9vw;
}

.category-item:nth-child(2) .child-category-item:nth-child(n+6) {
    /*left: 8.8vw;*/
    left: 8vw;
}

/* 左下分类 */
.category-item:nth-child(3) .child-category-container {
    left: -16.4vw;
    top: -3.7vh;
}

.category-item:nth-child(3) .child-category-item:nth-child(n+2) {
    position: relative;
    left: 2.1vw;
    margin-top: 5.1vh;
}

/* 右下分类 */
.category-item:nth-child(4) .child-category-container {
    left: 8.3vw;
    top: 4.8vh;
}

/*左侧分类*/
.category-item:nth-child(odd) .child-category-container .child-category-title {
    margin-left: 12px;
}

.category-item:nth-child(odd) .child-category-container .child-category-title .en-name {
    text-align: left;
}

/*右侧分类*/
.category-item:nth-child(even) .child-category-container .child-category-title {
    margin-right: 10px;
}

.category-item:nth-child(even) .child-category-container .child-category-title .en-name {
    text-align: right;
}

.category-item:nth-child(even) .child-category-container .child-category-item {
    flex-direction: row-reverse;
    justify-content: flex-end;
}


.category-img {
    width: 5.8vw;
}

.child-category-img {
    width: 3.75vw;
}

.category-title {
    text-align: center;
}

.category-name {
    color: #ffffff;
    font-size: 1.6vw;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(21, 44, 78, 0.56);
}

.en-name {
    color: #ffffff;
    font-size: 0.8vw;
    text-align: center;
    margin-top: -8px;
    text-shadow: 0 2px 4px rgba(21, 44, 78, 0.56);
    font-weight: 500;
    white-space: nowrap;
}


.child-category-name {
    font-size: 1.25vw !important;
    text-shadow: 0 2px 4px rgba(21, 44, 78, 0.56);
}

.child-en-name {
    font-size: 0.7vw !important;
}


.center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.center-logo-title {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 4px 4px 4px #1d4359;
    white-space: nowrap;
    font-size: 2vw;
    margin: 0 0 10px 0;
}

.center-logo-img {
    width: 14vw;
}

.login-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 4px 1px rgba(169, 186, 203, 0.32), inset 0px 0px 32px 0px rgba(255, 255, 255, 0.56);
    border-radius: 999px 999px 999px 999px;
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.32)) 1 1;
    padding: 5px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    color: #73a7df;
    white-space: nowrap;
    cursor: pointer;
}
