/**************************/
/* HEADER */
/**************************/

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #fdf2e9;*/
    height: 9.6rem;
    padding: 0 3rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;

}

.header a {
    display: flex;
    align-items: center;
}

.header a img {
    height: 8rem;
    transform: rotate(360deg);
    animation: rotation 15s linear infinite;
    -moz-animation: rotation 15s linear infinite;
    -webkit-animation: rotation 15s linear infinite;
    -o-animation: rotation 15s linear infinite;
}
.header a:hover img {
    animation: none;
}

.header a .logo-text {
    padding-left: 2rem;
    font-size: 3rem;
    font-weight: 600;
    color: #31b4b2;
}

.header.scrolled{
    background-color: rgba(49, 56, 84);
    transition: all 0.3s ease-in-out;
}

@-webkit-keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4.8rem;
    font-size: 2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-nav-link:hover,
.main-nav-link:active {
    color: #31b4b2;
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
    padding: 1.2rem 1.2rem;
    border-radius: 0.8rem;
    color: #fff;
    background-color: #31b4b2;
}

.main-nav-link.nav-cta:hover,
.main-nav-link.nav-cta:active {
    background-color: #0a9895;
}


/* MOBILE */
.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;
    display: none;
}

.icon-mobile-nav {
    height: 4.8rem;
    width: 4.8rem;
    color: #333;
}
.icon-mobile-nav[name="menu-outline"] {
    background: url("../img/menu.svg") no-repeat center center/cover;

}
.icon-mobile-nav[name="close-outline"] {
    background: url("../img/close.svg") no-repeat center center/cover;
    display: none;
}

/* BANNER */
/*chrome 和Safari*/
/*body::-webkit-scrollbar {*/
/*    width: 0 !important*/
/*}*/

/*body {*/
/*    !*IE 10+*!*/
/*    -ms-overflow-style: none;*/
/*    !*Firefox*!*/
/*    overflow: -moz-scrollbars-none;*/
/*}*/

.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #dfdfdf;
}

.banner-container ul {
    overflow: hidden;
}

.banner-container li {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.banner-container li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-container cite {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 80;
    display: block;
    transform: translateX(-50%);
}

.banner-container cite span {
    float: left;
    display: block;
    margin: 0 4px;
    width: 40px;
    height: 8px;
    background-color: #e5e5e5;
    opacity: 0.8;
    cursor: pointer;
}

.banner-container cite span:hover {
    background-color: #f5f5f5;
}

.banner-container cite span.cur {
    background-color: #31b4b2;
    cursor: default;
}

/* FOOTER INDEX */
.footer .copyright{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute; /* 绝对定位 */
    bottom: 0; /* 与容器顶部对齐 */
    width: 100%; /* 宽度为容器宽度的50% */
    font-size: 1.6rem;
    height: 10rem;
    color: #8f8f8f;
}
.footer .copyright a,span{
    color: #8f8f8f;
}

/* FOOTER */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #313854;
    width: 100%;
}

.footer .footer-wrap {
    width: 80%;
}

.footer-logo a {
    display: flex;
    width: 100%;
    height: 8rem;
    line-height: 8rem;
    font-size: 3rem;
    color: #fff;
    margin: 3rem 0;
}

.footer-logo a span {
    margin-left: 3rem;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.footer-content .footer-item h2 {
    font-size: 2rem;
    padding: 1rem 0;
}

.footer-content .footer-item a {
    font-size: 1.6rem;
    margin: 0.4rem 0;
    color: #fff;
}

.footer-content .footer-item .item-more {
    border: 1px solid #fff;;
    padding: 0.6rem 1rem;
    border-radius: 0.1rem;
}

.footer-content .footer-item:first-child h2,.footer-item:first-child a {
    align-self: flex-start;
}

.footer-content .footer-item:nth-child(1),.footer-item:nth-child(2) {
    border-right: 1px dotted #fff;;
}

.foot-copyright {
    margin-top: 2rem;
    border-top: 1px dotted #fff;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.foot-copyright a{
    font-size: 1.4rem;
    margin: 0.4rem 0;
    color: #8f8f8f;
}
