body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif; /* 设置全局字体 */
    font-weight: bold; /* 设置全局字体为粗体 */
    background-color: #19204B;
    color: white;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Night Sky Full Of Stars An Anurora With Vibrant Co.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}

.project-details {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

.project-content {
    display: flex;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.project-text {
    flex: 1;
    padding: 40px;
}

.project-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.project-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-image {
    flex: 1;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
    }

    .project-image {
        order: -1;
    }
}

/* 添加導航欄樣式 */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1600px;
    height: 45px;
    background-color: rgba(232, 232, 232, 0.09);
    padding: 5px 20px;
    border-radius: 21px;
    z-index: 1000;
    box-shadow: 0 0 0 1px rgba(232, 232, 232, 0.17);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .icon {
    background-image: url('COOL DUDE.png');
    background-repeat: no-repeat;
    background-size: 44px 44px;
    width: 44px;
    height: 44px;
}

.navbar .text {
    font-size: 20px;
    font-weight: 700;
    margin-right: auto; /* 將文字推到左側 */
    margin-left: 10px; /* 在圖標和文字之間添加一些間距 */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.nav-link:hover {
    color: #6579ff;
}