.logo-text {
    background-color: rgba(255,235,235, 0.5);
    padding: 0px;
    border-bottom: 1.5px solid rgba(255,168,168, 0.8);
    text-decoration: none; /* 去除下划线 */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease; /* 添加过渡效果 */
}

.logo-text span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-text span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-text:hover span:nth-child(1) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0s;
}

.logo-text:hover span:nth-child(2) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.1s;
}

.logo-text:hover span:nth-child(3) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.2s;
}

.logo-text:hover span:nth-child(4) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.3s;
}

.logo-text:hover span:nth-child(5) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.4s;
}

.logo-text:hover span:nth-child(6) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.5s;
}

.logo-text:hover span:nth-child(7) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.6s;
}

.logo-text:hover span:nth-child(8) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.7s;
}

.logo-text:hover span:nth-child(9) {
    animation: bounce 0.5s ease forwards;
    animation-delay: 0.8s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@font-face {
    font-family: 'PengRanXingDong';
    src: url('font/怦然星动.ttf') format('truetype');
}

.logo-text {
    font-family: 'PengRanXingDong', sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-left: 0px;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('https://www.loliapi.com/acg/');
    background-size: cover;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrolling */
}


.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: url('image/wave1.png') repeat-x;
    animation: wave-animation 10s infinite linear;
}

@keyframes wave-animation {
    from { background-position-x: 0; }
    to { background-position-x: 1000px; }
}

@media (max-width: 1150px) {
    .terminal-stack {
        display: none;
    }

    body .profile {
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
    }
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 0 50px;
}

.profile {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 17%;
    position: absolute;
    left: 17.5%;
}

.terminal-stack {
    position: relative;
    width: 35%;
    margin-left: auto;
    margin-right: 0;
    top: -12.5%;
    right: 12.5%;
}

.terminal {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    height: 300px;
    position: relative;
    cursor: move;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    z-index: 1;
    top: 0;
    right: 0;
}

.terminal + .terminal {
    margin-top: -100px; /* Adjust this value to control the overlap */
    z-index: 0;
    top: 20px;
    right: 100px;
}

.profile {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 60px;
    border-radius: 10px;
    text-align: center;
}

button {
    background-color: rgba(255, 255, 255, 0); /* 使按钮融入背景 */
    color: #ffa8a8;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    text-shadow: 1px 1px #704848; /* 添加字体阴影 */
    text-decoration: underline; /* 添加文字下划线 */
}

button:hover {
    background-color: rgba(255, 235, 235, 0.5);
    text-shadow: 2px 2px 5px #000000; /* 当鼠标悬停时，加深字体阴影 */
}


.profile-pic {
    width: 150px; /* 增大头像尺寸 */
    height: 150px;
    border-radius: 50%;
    position: absolute;
    top: 15%; /* 调整位置以留出空间 */
    left: 50%;
    transform: translate(-50%, -50%) translateY(-75px); /* 确保头像突出一半并居中 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-pic:hover {
    animation: rotate-animation 0.5s linear; /* 旋转动画 */
}

@keyframes rotate-animation {
    from {
        transform: translate(-50%, -50%) translateY(-75px) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) translateY(-75px) rotate(360deg);
    }
}

.terminal {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 10px;
    width: 300px;
    height: auto;
    position: absolute;
    cursor: move;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.terminal-header {
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.terminal-content {
    font-family: monospace;
    margin-top: 10px;
    color: #333;
}

.terminal-content {
    font-family: monospace;
    margin-top: 10px;
    color: #dcdcdc;
    background-color: #2d2d2d;
    padding: 10px;
    border-radius: 5px;
    overflow: auto;
}

.terminal-content p {
    margin: 0;
    padding: 2px 0;
    color: #dcdcdc;
}

.terminal-content p::before {
    content: '>';
    color: #888;
    margin-right: 5px;
}
