@charset "utf-8";


html,
body {
    width: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}


h2 {
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.ad-container {
    margin: 15px auto;
}


.ad-slot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    min-height: 250px;
    width: 300px;
    max-width: 350px;
    margin: 0 auto;
}


.ad-label {
    color: rgb(70, 70, 70);
     text-align: center;
}


header {
    position: relative;
    background: #181A17;
}


.navbar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    height: 56px;
    padding: 0 12px;
    color: #fff;
    overflow-y: hidden;
    overflow-x: auto;
}


.nav-left,
.nav-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 16px;
}


.nav-item {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    padding: 20px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}


.home {
    position: relative;
    font-weight: 700;
}


.home::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: rgba(0, 255, 0, 0.9);
}


.nav-item:hover {
    background-color: green;
}


.search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}


.category-dropdown {
    display: none;
    position: absolute;
    top: 56px;
    background: #ffffff;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgb(0, 0, 0);
    z-index: 100;
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}


.category-dropdown a {
    display: inline-block;
    padding: 12px;
    color: #fff;
    background: green;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}


.category-dropdown a:hover {
    background: #005013;
}


.site-footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 16px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-size: 14px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}


.site-footer a {
    color: #333;
    text-decoration: none;
    padding: 10px;
}


.site-footer a:hover {
    text-decoration: underline;
}


.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
    min-height: 300px;
}


.card-wrapper {
    position: relative;
    margin: 25px 0;
}


.card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    z-index: 2;
}


.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.card-content {
    padding: 10px;
}


.card-category {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}


.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}


@media screen and (max-width:480px) {

    .category,
    .random {
        display: none;
    }

    .logo {
        font-size: 16px;
    }

    .nav-item {
        font-size: 12px;
    }

}


@media screen and (max-width:320px) {

    .category-wrapper {
        display: none;
    }
}
.section-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;

    padding: 20px 16px 0 16px;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    background: #EFEFEF;
    border-bottom: 1px solid #ddd;
}

.section-header--transparent {
    background-color: transparent;
    border-bottom: none;
    padding: 20px;
}

.section-header--align-center {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    border-bottom: none;
    padding-top: 30px;
    color: #000;
}

.section-header--white {
    color: white;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin: 0;
    letter-spacing: 2px;
}

.section-one {
    background-color: #EBE8E5;
}

.section-two {
    background: -webkit-gradient(linear,
            left top, left bottom,
            from(#668E6F),
            color-stop(50%, #668E6F),
            color-stop(70%, #EEEEEE),
            to(#EEEEEE));
    background: -webkit-linear-gradient(top,
            #668E6F 0%,
            #668E6F 50%,
            #EEEEEE 70%,
            #EEEEEE 100%);
    background: linear-gradient(to bottom,
            #668E6F 0%,
            #668E6F 50%,
            #EEEEEE 70%,
            #EEEEEE 100%);
}

.section-3 {
    background-color: #EEEEEE;
}

/* .section-four h2 {
    color: white;
} */

/* .section-five .card-title {
    color: white;
} */

.middle-title {
    font-size: 28px;
    color: black;
}

.section-title-outline {
    color: transparent;
    -webkit-text-stroke: 1px black;
}

.section-link {
    font-size: clamp(14px, 2.5vw, 16px);
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.section-link:hover {
    -webkit-transform: translateX(4px);
            transform: translateX(4px);
}

.card-container {
    margin-top: 20px;
}

/* .card-wrapper .section-link,
.card-wrapper .section-title {
    color: white;
} */

.card-wrapper:nth-child(2n) .card,
.card-wrapper:nth-child(2n) .card-number {
    -webkit-transform: translateY(20px);
            transform: translateY(20px);
}

.card-number {
    position: absolute;
    top: -55px;
    right: 10px;
    font-size: 64px;
    font-weight: bold;
    color: rgb(247, 247, 247);
    z-index: 1;
    pointer-events: none;
}

/* 轮询 */

.carousel-container {
    position: relative;
    max-width: 95%;
    margin: 0px auto;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;

}

.carousel-track {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background: rgb(255, 255, 255);
    border: none;
    font-size: 28px;
    cursor: pointer;
    width: 50px;
    height: 80px;
    z-index: 100;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

#carouselWrapper {
    margin-top: 20px;
}

#carouselWrapper .card {
    /* max-width: 50%; */
    /* height: 1; */
    text-align: center;
    -webkit-transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
    transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
    transition: transform 0.45s ease, opacity 0.45s ease;
    transition: transform 0.45s ease, opacity 0.45s ease, -webkit-transform 0.45s ease;
    will-change: transform;
    border-radius: 0;
    z-index: 10;
}

#carouselWrapper .card img {
    width: 600px;
    height: 400px;
    object-fit: cover;
}

.text-area {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
            flex-direction: row;
    background-color: #262626;
    margin: 0 5%;
    z-index: 0;
}

.text-area::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 180px;
    background-color: #262626;
    border-radius: 100% 100% 0 0;
    z-index: -1;
    pointer-events: none;
}

.text-area button {
    margin: 80px 5%;
}

#carouselText {
    position: relative;
    color: white;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    width: 70%;
    margin: auto;
}

#carouselText p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    line-height: 1.4em;
    height: -webkit-calc(1.4em * 3);
    height: calc(1.4em * 3);
}

#carouselText h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    color: white;
    -webkit-line-clamp: 1;
    line-height: 2.4em;
    height: -webkit-calc(2.4em * 1);
    height: calc(2.4em * 1);
}

#stackCarousel .card {
    margin: 0 -100px;

    border: 3px solid rgb(255, 255, 255);
    border-radius: 12px;
    -webkit-transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
    transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
    transition: transform 0.45s ease, opacity 0.45s ease;
    transition: transform 0.45s ease, opacity 0.45s ease, -webkit-transform 0.45s ease;
    will-change: transform;
}

#stackCarousel .card img {
    height: 500px;
    width: 400px;
}

.card-wrapper-horizontal {
    position: relative;
    -webkit-transform: skewX(-5deg);
            transform: skewX(-5deg);
}

.card-wrapper-horizontal .card img {
    height: 300px;
}

.card-wrapper-horizontal .card-title {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.card-wrapper-horizontal .card-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #fff;
    font-size: 12px;
    background-color: green;
    border-radius: 25px;
    padding: 5px;
    font-size: bolder;
}

#section4Container {
    margin-top: 0;
}

@media screen and (max-width:480px) {
    .section-header {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        text-align: center;
    }

    .section-title,
    .section-link {
        width: 100%;
        margin: 4px 0;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .card-wrapper:nth-child(2n) .card,
    .card-wrapper:nth-child(2n) .card-number {
        -webkit-transform: none;
                transform: none;
    }


    .carousel-container {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .text-area {
        margin: 0;
    }


    #carouselWrapper .card {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 180px;
           -moz-box-flex: 0;
                flex: 0 0 180px;
    }

    #carouselWrapper .card img {
        width: 100%;
        height: 150px;
    }

    .carousel-btn {
        width: 30px;
        height: 50px;
        font-size: 24px;
    }

    #stackCarousel {
        padding: 50px 0;
    }

    #stackCarousel .card {
        margin: 0 -30px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: 300px;
        overflow: hidden;
    }

    #stackCarousel .card img {
        height: 100px;
        width: 100px;
        margin: auto;
    }

    .card-wrapper-horizontal {
        -webkit-transform: skewX(-3deg);
                transform: skewX(-3deg);
    }

    .section-five .card-wrapper {
        margin-top: 0;
    }



}
