body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 50px;
}

.artistic-text {
    font-size: 24px;
    font-family: 'Cursive', sans-serif;
    margin-left: 10px;
    color: #ff69b4;
}

.nav-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-right: 20px;
}

.nav-container span {
    margin-right: 10px;
}

.nav-container a {
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    margin-left: 10px;
}

.scroll-indicator-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.scroll-indicator {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    margin: 5px 0;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.scroll-indicator.active {
    background-color: #333;
}

main {
    padding-top: 80px;
}

.scroll-section {
    height: 100vh;
    display: none; /* Hide all sections initially */
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    overflow: hidden;
}

.scroll-section.active {
    display: flex; /* Show the active section */
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-item {
    text-align: center;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-around; /* Distribute space between text and image */
    height: 100%; /* Ensure the item takes full height of the section */
}

.text-content {
    max-width: 45%; /* Adjust width as needed */
    margin-bottom: 10px;
}

.image-content {
    max-width: 45%; /* Adjust width as needed */
}

.description {
    font-size: 1.5em; /* Increased font size for description text */
    text-align: left;
    margin-bottom: 20px;
}

.feature-image {
    height: auto;
    width: 25rem;
}

footer {
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
    bottom: -100px;
    transition: bottom 0.5s;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container p {
    margin: 5px 0;
    color: #333;
}

.beian-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.beian-link:hover {
    color: blue;
}

@media (max-width: 768px) {
    .artistic-text {
        font-size: 1.5em;
    }

    .nav-container a {
        margin-right: 5px;
    }

  .scroll-item {
        justify-content: center; /* Align items to the start of the section */
        flex-direction: column; /* Stack content vertically */
        align-items: center;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
        height: 100%;
  }

    .text-content,
    .image-content {
        max-width: 100%; /* Full width for content on small screens */
        margin: 5px 0; /* Add spacing between elements on small screens */
    }

    .feature-image {
        width: 10rem;
        max-width: 100%; /* Full width for content on small screens */
    }
}
