/*版权所有 (c) 2024 蓝鲨科技有限公司。保留所有权利*/


/*翻页时钟*/

.clock {
    /*页面加载动画*/
    animation: slideInFromLeft 0.5s ease-out forwards;
    display: flex;
    justify-content: center;
    opacity: 0.85;
}


/* 时钟的分隔 */

.clock .divider {
    font-size: 66px;
    line-height: 102px;
    font-style: normal;
    color: rgb(51, 50, 50);
}


/* 时钟的卡片 */

.clock .flip {
    position: relative;
    width: 60px;
    height: 100px;
    margin: 2px;
    font-size: 70px;
    font-weight: 700;
    line-height: 100px;
    text-align: center;
    background: rgb(46, 45, 45);
    border: 1px solid rgb(34, 33, 33);
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(54, 54, 54, 0.5);
}


/* 时钟上的数字 */

.clock .flip .digital::before,
.clock .flip .digital::after {
    position: absolute;
    content: attr(data-number);
    left: 0;
    right: 0;
    color: rgb(51, 50, 50);
    background: white;
    overflow: hidden;
    -webkit-perspective: 160px;
    perspective: 160px;
}


/* 翻页前的数字 */

.clock .flip .digital::before {
    top: 0;
    bottom: 50%;
    border-bottom: 1px solid #666;
    border-radius: 10px 10px 0 0;
}


/* 翻页后的数字 */

.clock .flip .digital::after {
    top: 50%;
    bottom: 0;
    line-height: 0;
    border-radius: 0 0 10px 10px;
}

.clock .flip .back::before,
.clock .flip .front::after {
    z-index: 1;
}

.clock .flip .back::after {
    z-index: 2;
}

.clock .flip .front::before {
    z-index: 3;
}

.clock .flip .back::after {
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
}

.clock .flip.running .front::before {
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation: frontFlipDown 0.6s ease-in-out;
    animation: frontFlipDown 0.6s ease-in-out;
    box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.3);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.clock .flip.running .back::after {
    -webkit-animation: backFlipDown 0.6s ease-in-out;
    animation: backFlipDown 0.6s ease-in-out;
}

@-webkit-keyframes frontFlipDown {
    to {
        -webkit-transform: rotateX(0.5turn);
        transform: rotateX(0.5turn);
    }
}

@keyframes frontFlipDown {
    to {
        -webkit-transform: rotateX(0.5turn);
        transform: rotateX(0.5turn);
    }
}

@-webkit-keyframes backFlipDown {
    to {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
}

@keyframes backFlipDown {
    to {
        -webkit-transform: rotateX(0);
        transform: rotateX(0);
    }
}


/*显示日期*/

.date {
    /*页面加载动画*/
    animation: slideInFromLeft6 1.5s ease-out forwards;
    font-family: "fonts1";
    display: flex;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 25px;
}


/*api随机语录*/

.data {
    /*页面加载动画*/
    animation: slideInFromLeft6 1.5s ease-out forwards;
    font-family: "fonts2";
    display: flex;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: clamp(17px, 3vw, 25px);
    opacity: 0.9;
}


/*大标题：蓝鲨导航页*/

.lsdh {
    font-family: "fonts1";
    /*页面加载动画*/
    animation: slideInFromLeft3 0.4s ease-out forwards;
    width: 50px;
    color: #0284c7;
    line-height: normal;
}

.lss {
    font-family: "fonts1";
    /*页面加载动画*/
    animation: slideInFromLeft2 0.4s ease-out forwards;
    line-height: normal;
}


/*导航页*/

a,
body,
div,
footer,
h1,
h2,
h3,
h4,
h5,
h6,
header,
html,
i,
img,
menu,
nav,
p,
ul,
li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    list-style: none;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    /* For some Androids */
}

*,
 :after,
 :before {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #ffffff;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: color .1s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

html,
body {
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

header {
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 1);
}

main {
    width: 100%;
    padding: 10px;
}

.max {
    max-width: 750px;
    margin: 0 auto;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    justify-content: center!important;
}

.shadow {
    background-color: #fff;
}

.header {
    height: 60px;
}

.header h1 {
    font-family: "fonts1";
    font-size: 18px;
}

.notice {
    /*页面加载动画*/
    animation: slideInFromLeft 0.5s ease-out forwards;
    width: 100%!important;
    margin: 0 auto 10px!important;
    padding: 10px;
    border-radius: 5px!important;
    background-color: rgba(254, 168, 2, .15)!important;
    font-family: "fonts3";
}

.notice i {
    font-size: 15px;
    color: #FEA802;
}

.notice marquee {
    width: calc(100% - 25px);
}

.notice h2 {
    font-size: 15px;
    color: #FEA802;
}


/*大板块*/

.app1 {
    /*页面加载动画左*/
    animation: slideInFromLeft4 0.2s ease-out forwards;
    display: none;
    width: 100%;
    padding: 0px 10px 10px;
    margin: 0 auto 10px;
    background-color: #fff;
    border-radius: 5px;
    opacity: 0.9;
    font-family: "fonts1";
}

.app2 {
    /*页面加载动画右*/
    animation: slideInFromLeft5 0.2s ease-out forwards;
    display: none;
    width: 100%;
    padding: 0px 10px 10px;
    margin: 0 auto 10px;
    background-color: #fff;
    border-radius: 5px;
    opacity: 0.9;
    font-family: "fonts1";
}

.app-meta {
    padding: 10px 0 25px;
}

.app-meta h1 {
    font-size: 16px;
    color: #000;
}

.app-meta h1 i {
    font-size: 16px;
    color: #06f;
    margin: 0 5px 0 0;
}

.app-meta h2 {
    font-size: 14px;
    color: #999;
}

.app1 ul {
    flex-wrap: wrap;
    justify-content: flex-start!important;
}

.app2 ul {
    flex-wrap: wrap;
    justify-content: flex-start!important;
}

.app-item {
    font-family: "fonts3";
    width: calc(50% - 5px);
    margin: 0 10px 15px 0;
    padding: 10px;
    background-color: #f3f5f7;
    border-radius: 5px;
    overflow: hidden;
}

.app-item img {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    overflow: hidden;
}

.app-item h1 {
    width: calc(100% - 56px);
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    cursor: pointer;
    /* 鼠标悬停时显示指针 */
    outline: none;
    /* 移除焦点时的轮廓 */
    transition: color 0.3s;
    /* 颜色变化的过渡效果 */
}

.app-item h1:hover {
    color: #007bff;
    /* 鼠标悬停时的文字颜色，根据需要调整 */
}

.app-item i {
    font-size: 20px;
    color: #ccc;
}

.app-item:nth-child(2n) {
    margin: 0 0 15px 0;
}


/*备案号*/

body,
html {
    margin: 0;
    font-family: Arial, sans-serif;
}

.footer {
    display: none;
    bottom: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-family: "fonts2";
}

.footer p {
    margin: 0;
}


/*页面动画*/

@keyframes slideInFromLeft {
    /*时间/公告/日期*/
    from {
        transform: translateY(-50%);
        /* 从屏幕上方开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateY(0);
        /* 移动到原位置 */
        opacity: 0.85;
        /* 结束时透明度为0.85 */
    }
}

@keyframes slideInFromLeft1 {
    /*播放器*/
    from {
        transform: translateY(30%);
        /* 从屏幕上方开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateY(0);
        /* 移动到原位置 */
        opacity: 0.9;
        /* 结束时透明度为0.9 */
    }
}

@keyframes slideInFromLeft2 {
    /*导航页标题*/
    from {
        transform: translateX(100%);
        /* 从屏幕右侧开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateX(0);
        /* 移动到原位置 */
        opacity: 1;
        /* 结束时透明度为1 */
    }
}

@keyframes slideInFromLeft3 {
    /*蓝鲨标题*/
    from {
        transform: translateX(-100%);
        /* 从屏幕左侧开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateX(0);
        /* 移动到原位置 */
        opacity: 1;
        /* 结束时透明度为1 */
    }
}

@keyframes slideInFromLeft4 {
    /*大标题左*/
    from {
        transform: translateX(-20%);
        /* 从屏幕左侧开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateX(0);
        /* 移动到原位置 */
        opacity: 0.85;
        /* 结束时透明度为0.85 */
    }
}

@keyframes slideInFromLeft5 {
    /*大标题右*/
    from {
        transform: translateX(20%);
        /* 从屏幕左侧开始 */
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        transform: translateX(0);
        /* 移动到原位置 */
        opacity: 0.85;
        /* 结束时透明度为0.85 */
    }
}

@keyframes slideInFromLeft6 {
    /*大标题右*/
    from {
        opacity: 0;
        /* 开始时透明度为0 */
    }
    to {
        opacity: 1;
        /* 结束时透明度为1 */
    }
}