/*
Theme Name: Zakra
*/

@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
}


body {
    color: #222;
    /* background-color: #fafafa; */
    background-color: #ffffff;
    /* background-color: #f3f6f8; */
    /* font-family: "Work Sans", Arial, sans-serif; */

    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: #333
}

a:hover {
    color: #08c
}

a:focus {
    outline: 0
}

ol,
ul {
    list-style: none
}

table {
    border-spacing: 0;
    border-collapse: collapse
}

textarea {
    resize: none
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
dl,
dt,
dd,
form,
img,
p {
    margin: 0;
    padding: 0;
    border: none;
    list-style-type: none;
}



.both {
    clear: both;
}

.share-active {
    overflow: hidden;
    background-color: #f5f7fa;
}

.header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, .15);
    z-index: 100;
}

.dropdown-menu {
    display: none;
}

.navbar-nav {
    display: flex;
    align-items: center;
}



.error {
    text-align: center;
    font-size: 16px;
    color: rgb(252, 5, 5);
}



.flex {
    display: flex;
}

.between {
    display: flex;
    justify-content: space-between;
}

.flex_center {
    display: flex;
    justify-content: center;
}

.around {
    justify-content: space-around;
}

.start {
    justify-content: flex-start;
}


.w1200 {
    max-width: 1200px;
    margin: 0 auto;
}

.w1100 {
    max-width: 1100px;
    margin: 0 auto;
}


.header .top {
    display: flex;
    justify-content: space-between;
    padding: 5px 40px;

}

.header .logo {
    padding-top: 0px;
}

/* Dropdown menu styles */
.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown-toggle {
    cursor: pointer;
    transition: color 0.2s;
}

.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle:hover {
    color: #6e4c97;
}

.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(110, 76, 151, 0.08), 0 1.5px 4px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
}

.navbar-nav .dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu li {
    list-style: none;
}

.navbar-nav .dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 24px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.18s, color 0.18s;
    border: none;
    background: none;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background: #f3f0fa;
    color: #6e4c97;
    border-radius: 4px;
}


.header .share {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .share .text-light {
    color: #718ebf;
}

.main {
    width: 1100px;
    margin: 0 auto;
    clear: both;
}

.introduce {
    padding: 30px 20px 20px 20px;
}

.introduce h1 {
    font-size: 28px;
    text-align: center;
    line-height: 46px;
    color: #333333;
}

.introduce .text {
    font-size: 16px;
    text-align: center;
    color: #666;
    line-height: 26px;
}

.introduce .quick-input {
    position: relative;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    margin: 10px 0;
}


.introduce .text_input {
    width: 100%;
    line-height: 26px;
    border-radius: 6px;
    padding: 10px 30px 10px 10px;
    box-sizing: border-box;
    border: 2px solid #4e6ef2;
    font-size: 18px;
}



.introduce .text_input:focus {
    border-color: #1438c9;
    box-shadow: 0 0 0 2px rgba(110, 76, 151, 0.15);
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.introduce .Generator {
    position: absolute;
    right: 0;
    top: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.introduce .Generator i {
    font-size: 24px;
    color: #4e6ef2;
}

.introduce .Generator i.icon-clear {
    color: #999;
    cursor: pointer;
}


.fontBox {
    display: flex;
    flex-wrap: wrap;
    padding: 0 15px;
}




.fontBlock {
    border-radius: 10px;
    width: calc(100% - 10px);
    box-sizing: border-box;
    margin: 12px 5px 10px 5px;
    border: 1px solid #aebbf3;
    overflow: hidden;
}




.fontBlock .label {
    line-height: 20px;
    background: linear-gradient(135deg, #e9f2fa 0%, #f2f5f8 100%);
    border-bottom: 1px solid #d9def7;
}



.fontBlock .label-text-alt {
    color: #666;
    font-weight: 400;
    font-size: 14px;
    padding: 0px 5px;
}

.fontBlock .group {
    padding: 15px 10px;
    /* border: 1px solid #ddd; */
    background: #fff;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;

}



.fontBlock .fancyFont {
    flex-grow: 1;
    font-size: 22px;
    font-weight: 400;
    color: #000000;
    white-space: pre-wrap;
    word-wrap: break-word;
    width: calc(100% - 80px);
    text-align: center;
}

.fontBlock .btn_copy {
    width: 60px;
    /* 固定宽度 */
    height: 26px;
    border: 0;
    line-height: 26px;
    border-radius: 8px;
    padding: 0 8px;
    display: inline-block;
    cursor: pointer;
}


.fontBlock .btn_copy span {
    color: green;
}


.wave-animate {
    position: relative;
    overflow: hidden;
}

.wave-animate::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(110, 76, 151, 0.10) 0%, rgba(127, 78, 187, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
    animation: wave-animate-bg 0.6s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes wave-animate-bg {
    from {
        width: 0%;
        opacity: 0.7;
    }

    to {
        width: 100%;
        opacity: 0;
    }
}


.content {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 18px;
}

.content strong {
    line-height: 30px;
    border-bottom: 1px solid #e3e5e8;
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}


.content p {
    line-height: 30px;
    font-size: 16px;
    padding: 8px 0;
}


.content img {
    max-width: 95% !important;
    text-align: center;
    display: block;
    margin: 5px auto;
    height: auto;
}

.content table {
    width: 100%;
}

.content table tr td,
.content table tr th {
    border: 1px solid #ddd;
    line-height: 22px;
    padding: 10px;
    background-color: #fff;
}

.about {
    width: 100%;
    padding: 30px 15px;
    box-sizing: border-box;
}

.about h2 {
    width: 100%;
    text-align: center;
    line-height: 50px;
    font-size: 26px;
}

.about p {
    line-height: 26px;
    margin-bottom: 10px;
    font-size: 16px;
}


#copy-success-tip {
    position: fixed;
    left: 50%;
    bottom: -60px;
    transform: translateX(-50%);
    background: rgba(28, 156, 23, 0.75);
    color: #fff;
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 26px;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: bottom 0.3s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#copy-success-tip i {
    font-style: normal;
    font-size: 20px;
    font-weight: 600;
    margin-right: 5px;
}



.news {
    padding: 30px 0;
}

.news .left {
    width: 350px;
    float: right;
}

.news .left h2 {
    font-size: 20px;
    line-height: 40px;
    border-bottom: 4px solid #11309c;
}



.swiper {
    width: 800px;
    height: 430px;
    float: left;
}

.swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-list {
    padding: 0px 0;
}

.card-list .item {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.card-list .item .title {
    flex: 1;
    font-size: 16px;
    line-height: 22px;
    margin-right: 10px;
    height: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}


.page-header {
    text-align: center;
    padding: 20px 0;
}

.page-header h1 {
    font-size: 36px !important;
    line-height: 40px;
}

.page-header p {
    font-size: 16px;
    line-height: 30px;
}



#backToTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 999;
    background: #000000;
    border: 1px solid #ccc;
    color: #ffffff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    transition: opacity 0.2s;
}


.font_links {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 15px;
    box-sizing: border-box;
    justify-content: space-between;
}

.font_links a {
    background-color: #fff;
    border-radius: 30px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 5px 10px;
    width: calc(20% - 10px);
    box-sizing: border-box;
    line-height: 30px;
    /* 不换行 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.footer {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    width: 100%;
    padding: 10px 0;

}

.footer .wrapper {
    width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer .wrapper .copyright {
    text-align: center;
    line-height: 26px;
    padding: 20px;
}

.footer .wrapper .copyright a {
    color: #000;
}

.footer .wrapper .foot_nav {
    padding: 20px 20px;
    font-size: 14px;
    box-sizing: border-box;
    display: flex;
}

.foot_nav a {
    color: #000;
}

.foot_logo {
    margin-bottom: 10px;
}

.foot_nav .item {
    line-height: 30px;
}

.foot_nav .item a {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.foot_nav .item a img {
    margin-right: 10px;
}

.foot_nav .item.text {
    line-height: 22px;
}

.foot_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 36px !important;
}



.loading-spinner {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 254, 254, 0.8);
    border-radius: 50%;
    border-top-color: #09f;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}




@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



.btn-outline-secondary {
    color: #343C6A !important;
    text-transform: uppercase;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.fade:not(.show) {
    opacity: 0;
}

.fade {
    transition: opacity .15s linear
}

.d-none {
    line-height: 36px;
    text-align: center;
    color: green;

}

.text-center {
    text-align: center !important;
}

@media screen and (max-width: 992px) {
    .header {
        width: 100%;
    }

    .header .top {
        padding: 10px 15px 5px 15px;
    }

    .header .logo {
        padding: 5px 0px !important;
    }

    .header .login {
        display: none;
    }

    .header .share {
        display: flex;
    }

    .main {
        width: 100%;
    }

    .introduce {
        padding: 30px 15px 20px 15px;
    }

    .fontBox {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;

    }

    .fontBlock .fancyFont {
        font-size: 16px;
    }

    .fontBlock {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .about {
        padding: 0 15px;
        box-sizing: border-box;
    }


    .font_links a {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
        padding: 5px 15px;
        line-height: 26px;
    }


    .footer {
        width: 100%;
        overflow: hidden;

        border: 0;
        margin-top: 0;
        padding: 0;
        border-top: 5px solid #e7e7e7;
    }

    .footer .wrapper {
        width: 100%;
        flex-wrap: wrap;
    }

    .foot_nav {
        width: 100%;
        min-height: auto;
        border-bottom: 5px solid #e7e7e7;
        display: flex;
        flex-wrap: wrap;
    }

    .foot_nav .item {
        width: 50%;
        line-height: 36px;
    }

    .foot_nav .item a {
        display: block;
    }

    .foot_nav .foot_title {
        line-height: 40px;
        display: block;
    }

    .foot_nav .foot_title,
    .foot_nav .foot_logo,
    .foot_nav .text {
        width: 100%;
    }
}