/* styles.css */
body {
    cursor: url('./link.ani'),auto;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: none;
  }
  .bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.bg-image.active {
    opacity: 1;
}
  header {
    background-color: none;
    color: skyblue;
    padding: 5px 0;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    position: relative;
  }
  .logo img{
    width: 150px;
    border-radius: 90px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: skyblue;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #e0e0e0;
  }
  
  .hero {
    padding: 50px 20px;
    background-color: none;
    text-align: center;
  }
  
  .hero p {
    font-size: 50px;
    font-family: 'wenfeng-hclcks';
    opacity: 0.8;

  }
  .time-container {
    position: relative;
    text-align: center;
    background-color: white;
    opacity: 0.5;
    max-width: 400px;
    width: 50%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
  #clock {
    font-size: 2.5em;
    color: #333;
}
  #date {
    margin-top: 10px;
    color: #666;
}
  .hero h2 {
    font-size: 80px;
    text-align: center;
    font-family: 'wenfeng-qtbfsxt';
    position: relative;
  }
  
  .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .bilibili {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  .cta-button:hover {
    background-color: #004080;
  }
  
  .section {
    padding: 50px 20px;
    text-align: center;

  }
  
  .section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #004080;
    position: relative;
  }
  .email {
    text-decoration: none;
}
  .projects {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .pan {
    text-decoration: none;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: skyblue;
    opacity: 0.5;
  }
  .video {
    text-decoration: none;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: skyblue;
    opacity: 0.5;
  }
  .GPT{
    text-decoration: none;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: skyblue;
    opacity: 0.5;
    backdrop-filter: blur(200px);
  }
  .sousuo{
    text-decoration: none;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    color: skyblue;
    opacity: 0.5;
    backdrop-filter: blur(200px);
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }

footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    height: 20px;
    color: white;
    opacity: 0.5;
    backdrop-filter: blur(10000px);
    
  }
/* 加载中 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background: none;
}

.loading-text {
  font-size: 28px;
  font-family: "Microsoft YaHei", sans-serif;
}

.loading-text span {
  display: inline-block;
  margin: 0 2px;
  animation: bounce 1s ease infinite;
}

.loading-text span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-text span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}