*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
.header {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 999;
    font-size: 50px;
    font-weight: 600;
 }
.mask {
    display: flex;
    height: 100vh;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, #f4f4f4 100%) ,
    url("../src/bg.png") center center no-repeat;
    background-size: cover; /* 背景覆盖 */
    z-index: -1;
}
.loop {
    border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
    background-color: hsl(0, 0%, 99%);
    animation: loop 10s linear infinite;
    width: 500px;
    height: 500px;
    opacity: 0.3;
    transform: rotate(60deg);
    /* position: absolute; */
    z-index: 10000;
    margin-top: 0px;
    position: fixed;
}
.loop1{
    width: 500px;
    height: 500px;
    opacity: 0.5;
    transform: rotate(60deg);
    position: absolute;
    background-color: transparent;
    top: 0;
    left: 0;
}
.loop1 a{
    position: absolute;
    width: 500px;
    height: 500px;
    top: 0;
    left: 0;
}
.loop2 {
    border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
    background-color: hsl(0, 0%, 99%);
    animation: loop2 20s linear infinite;
    width: 500px;
    height: 500px;
    opacity: 0.5;
    transform: rotate(60deg);
    position: fixed;
    
    margin-top: 0px;
}

.loop3 {
    border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
    background-color: hsl(0, 0%, 99%);
    animation: loop3 15s linear infinite;
    width: 500px;
    height: 500px;
    opacity: 0.5;
    transform: rotate(60deg);
    position: fixed;
    
    margin-top: 0px;
}

.loop4 {
    border-radius: 38% 62% 63% 37%/41% 44% 56% 59%;
    background-color: hsl(0, 0%, 99%);
    animation: loop4 25s linear infinite;
    width: 500px;
    height: 500px;
    opacity: 0.5;
    transform: rotate(60deg);
    position: fixed;
    
    margin-top: 0px;
}
@keyframes loop {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loop2 {
    0% {
        transform: rotate(60deg);
    }

    100% {
        transform: rotate(420deg);
    }
}

@keyframes loop3 {
    0% {
        transform: rotate(120deg);
    }

    100% {
        transform: rotate(480deg);
    }
}

@keyframes loop4 {
    0% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(540deg);
    }
}
@keyframes touxiangb{
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.bigtitle {
    width: 500px;
    height: 500px;
    text-align: center; /* 文字居中 */
    position: absolute;
    top: 50%; /* 垂直中心 */
    left: 50%; /* 水平中心 */
    transform: translate(-50%, -50%);
}
.content{
    display: flex;
    position: relative;
    flex-direction: column;
    margin-top: 0px;
    box-shadow: #4c4b4b 0px 0px 50px;
    border-radius: 10px;
   
    width: 75%;
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
    /* overflow-y: auto; 
    overflow-x: hidden; */
}
.aside{
    width: 25%;
    
}
.article{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 auto;
    width: 80%;
    max-height: 300px;
    margin-bottom: 30px;
    border: rgb(247, 247, 247) 1px solid;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 50px;
    transition: transform 0.5s ease-in-out;
}
.article:hover{
    /* transform: scale(1.05); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px) translateX(-5px);
}

.main{
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 100px;
}
.title {
    font-size: 24px;
    font-weight: bold;
    color: #1b7cdd;
}
.meta {
    margin: 10px 0;
    font-size: 14px;
    color: #888;
}
.cont {
    margin: 15px 0;
    line-height: 3;
    font-weight: 600;
}
.tag {
    background: #e0f7fa;
    color: #00796b;
    border-radius: 3px;
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 14px;
}
.read-more {
    display: inline-block;
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: linear-gradient(20deg, #c76262, #2575fc);
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.read-more:hover {
    background: linear-gradient(180deg, #2575fc, #c76262);
    box-shadow: 0 4px 10px #c76262;
    transform: translateY(-2px) translateX(-2px);
}

.content h2{
    font-size: 36px;
    text-align: center;
    padding: 50px 0;
}

.hidden.active{
    transform: translateX(100px);
    
}
.content.active{
    transform: translateX(100px);
}
.btn.active{
    color: #c9c8c8;
}
.hidden.inactive{
    transform: translateX(-226px);
    
}
.content.inactive{
    transform: translateX(0px);
    
}
.btn.inactive{
    background-color: transparent;
} 
@media(max-width: 1200px){
    .hidden{
        display: none;
    }
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    /* padding: 20px;*/
} 
.avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    /* margin-top: 20px; */
}
.comment-input-header{
    display: flex;
    flex-direction: row;
}
.container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 0 80px;
    margin-bottom: 100px;
}

/* .header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */

.comments-count {
    margin: 10px 0;
    color: #777;
}

.comment {
    border-top: 1px solid #eee;
    padding: 10px 0;
    position: relative;
    height: auto;
    
}

.comment-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    
    font-size: 40px;
}

.author-name {
    font-weight: bold;
    margin-top: 14px;
}

.comment-date  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    font-size: 14px;
    color: #666;
}
.comment-delete {
    margin-left: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #666;
    cursor: pointer;
}
.comment-delete:hover {
    color: #000000;
}
.comment-text {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    margin-left: 58px;
}
.comment-actions{
    display: flex;
    flex-direction: row;
    margin-left: 8px;
    
}
.comment-actions button {
    background-color: transparent;
    border: none;
    margin-right: 10px;
}
.comment-reaction {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comment-input {
    margin-top: 20px;
}

.comment-input textarea {
    width: 100%;
    height: 60px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

.submit-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 50px;
}

.submit-button:hover {
    background-color: #218838;
}
.actives{
    display: none;
}
.inactives{
    display: block;
}
.footer{
   
    margin: 100px 0;
    
}
.scene {
    width: 150px;
    height: 150px;
    perspective: 600px;
    margin: 0 auto;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(30deg) rotateY(30deg);
    animation: rotates 5s infinite linear;
}

@keyframes rotates {
    from {
        transform: rotateX(30deg) rotateY(0deg);
    }
    to {
        transform: rotateX(30deg) rotateY(360deg);
    }
}
.face {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(115, 159, 179, 0.8);
    /* border: 1px solid #ccc; */
    box-shadow: rgba(77, 143, 174, 0.8) 0px 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #333;
}

.front  { transform: translateZ(75px); }
.back   { transform: rotateY(180deg) translateZ(75px); }
.left   { transform: rotateY(-90deg) translateZ(75px); }
.right  { transform: rotateY(90deg) translateZ(75px); }
.top    { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }
.info{
    
    margin:50px auto ;
   text-align: center;
   font-weight: 600;
}
.btn{
    height: 50px;
    width: 50px;
    position: absolute;
    top: 20px;
    left: 20px;
    border: 2px solid ;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    font-size: 40px;
    font-weight: bold;
    z-index: 9;
}
.btn:hover{
    color: #c9c8c8;
}

.hidden{
    display: flex;
    flex-direction: column;
    width: 250px;
    position: sticky;
    z-index: 999;
    top: 100px;
    left:-226px;
    justify-content: center;
    align-items: center;
    /* padding: 0 auto; */
    margin: 0;
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
    border-radius: 10px;
    box-shadow: #4c4b4b 0px 0px 20px;
}
.hidden img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    /* box-shadow: #000000 0px 0px 10px; */
    border: 5px solid #f4f4f4; 
}
.hidden h2{
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
}
div ul li:hover .article-list{
    display: block;
}

.article-list{
    display: none;
    flex-direction: column;
    background-color: #f4f4f4;
    box-shadow: #4c4b4b 0px 0px 5px;
    border-radius: 5px;
    height: auto;
    width: auto;
    position: absolute;
    left: 190px;
    top: 250px;
}
.hidden h3{
    font-size: 14px;
    text-align: center;
    margin: 30px 0;
    margin-top: 20px;
}

div.hidden li {
    
    list-style: none;
    width: 100%;
    margin-bottom: 10px;
}
div.hidden li a {
    display: block;
    width: 100%;
    color: #000000;
 
    text-align: center;
   
    padding: 10px 32px;
    width: 160px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
}
div.hidden li a:hover {
  
    background-color: skyblue;
    color: rgb(255, 255, 255);
    /* border-right: 3px solid rgb(0, 0, 0); */
    /* transition: all 0.3s ease-in-out; */
}
.hidden.active{
    transform: translateX(50px);
    
}
.content.active{
    transform: translateX(40px);
}
.btn.active{
    color: #c9c8c8;
}
.hidden.inactive{
    transform: translateX(-600px);
    
}
.content.inactive{
    transform: translateX(-170px);
    
}
.btn.inactive{
    background-color: transparent;
}
@media(max-width: 1200px){
    .hidden{
        display: none;
    }
}