@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Noto Sans SC', sans-serif;
    background-image: url('https://api.imlazy.ink/img?type=#/') !important;
    background-size: cover;
    background-attachment: fixed;
}

.search-bar, .personal-info, .music-player, .site-navigation, .info-panel {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
}

.search-bar {
    text-align: center;
}

.search-bar input {
    width: 60%;
    padding: 10px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.search-bar button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: rgba(30, 136, 229, 0.8);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.info-card {
    width: 30%;
    display: flex;
    /*align-items: center;*/
}

.info-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
}

.info h1 {
    margin: 0;
    font-size: 36px;
}

.info p {
    margin: 10px 0;
    font-size: 18px;
}

.contact a {
    margin-right: 10px;
    color: #1e88e5;
    text-decoration: none;
}

.personal-info {
    display: flex;
    align-items: center;
}

.info-card {
    width: 30%;
}

#particle-canvas {
    width: 70%;
    height: 200px; /* 根据需要调整高度 */
}

.new-card {
    width: 100%;
    height: 284px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.new-card-container {
    display: flex;
    /*justify-content: space-between;*/
    margin: 20px;
}

.moving-snake {
    width: 85%;
	height: 90%;
}

.moving-snake img {
    width: 80%;
    height: 100%;
    object-fit: cover;
}

/*/.personal-info, .new-card-container {
    display: flex;
    justify-content: space-between;
    margin: 20px;
}*/

.content {
    display: flex;
}

.music-player {
    width: 30%;
}

.site-navigation {
    width: 70%;
    padding-left: 20px;
}

.site-navigation h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
}

.glass-btn {
    padding: 10px 20px;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #1e88e5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    text-decoration: none;
}

.info-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#click-effect {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.effect {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(30, 136, 229, 0.3);
    animation: clickEffect 0.5s ease-out;
}

@keyframes clickEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.music-player {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#player-controls {
    margin-bottom: 10px;
}

#player-controls button {
    margin: 0 5px;
    padding: 5px 10px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #1e88e5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#player-controls button:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

#player-controls button:active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(0.95);
}

#song-info {
    font-size: 18px;
}

.search-bar button,
.glass-btn {
    margin: 0 5px;
    padding: 5px 10px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #1e88e5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover,
.glass-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.search-bar button:active,
.glass-btn:active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(0.95);
}