body {
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100%;
    padding: 0;
    background-color: #1f1f1f;
    color: #fff;
    overflow: hidden;
    padding-top: 60px;
}

img {
    pointer-events: none;
}

svg {
    background-color: transparent;
}

#navbar {
    width: 100%;
    max-width: 100vw; /* 限制导航栏的最大宽度为视口宽度 */
    background: #000;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 40px;
    height: 60px;
    box-sizing: border-box; /* 确保内边距和边框不会增加总宽度 */
}

/* Navigation Logo Style */
.navbar_logo img {
    max-height: 35px; /* 限制 logo 的最大高度以适应导航栏的高度 */
    width: auto; /* 保持 logo 的宽高比 */
    height: 100%; /* 如果需要，添加右边距以避免 logo 和导航项之间的紧贴 */
}

#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Align the items vertically in the middle */
}

#navbar li {
    margin-left: 30px;
}

#navbar li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    position: relative;
    transition: opacity 0.3s ease;
}

#navbar li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
}

#navbar li a:hover {
    opacity: 0.7; /* Makes the button slightly transparent */
}

#navbar li a:hover::after {
    width: 100%; /* Full width underline on hover */
}

#navbar li a.active {
    color: rgb(15, 216, 196); /* 高亮显示的文字颜色 */
    opacity: 1; /* 保持不透明 */
}

#navbar li a.active::after {
    width: 100%; /* 始终显示全宽度下划线 */
    background: white; /* 下划线颜色 */
}

.logo {
    max-height: 100px;
    opacity: 0;
    transition: opacity 1s ease-in;
    filter: drop-shadow(5px 5px 5px #222);
}

.social-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
    padding: 5px;
    border: 3px solid transparent;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    margin: 2px;
    background-color: transparent;
    border-radius: 50%;
    position: relative;
}

.social-link img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
}

.button {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.button-visible {
    opacity: 1;
}

.welcome-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 60px; /* 考虑到导航栏的固定位置 */
    box-sizing: border-box;
}

/* Demo Embed Section Style */
.demo-embed {
    flex: 1;
    margin-right: 20px; /* Add some space between the demo embed and contact info */
    padding: 20px;
    background-color: #2a2a2a; /* Slightly different background for contrast */
    border-radius: 10px;
}

/* Contact Info Section Style */
.contact-info {
    background-color: #2a2a2a; /* Or any color that fits your design */
    padding: 20px;
    border-radius: 10px;
    margin-left: 20px; /* Ensure it doesn't overlap with the left section */
    flex: 1;
    max-width: 50%; /* Adjust based on your layout preference */
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-info .contact-section {
    margin-bottom: 20px;
}

.contact-info h3 {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.contact-info p {
    color: #bbb; /* Lighter text color for contrast */
    margin: 0;
}

.contact-info a {
    color: rgb(15, 216, 196); /* Use a color that stands out, matching your theme */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


.section:nth-child(1) {
    background-image: url('../images/path-to-image-1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.section:nth-child(2) {
    background-image: url('../path-to-image-2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.section:nth-child(3) {
    background-image: url('../path-to-image-3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.section:nth-child(4) {
    background-image: url('../path-to-image-4.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.section:nth-child(5) {
    background-image: url('../path-to-image-5.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
