body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    /* 默认背景图片 */
    background-image: url('ain.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 为移动设备设置的背景图片 */
body.mobile {
    background-image: url('11c.png');
	    .container {
        padding: 45vh 2vw;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 55vh 2vw;
    }
}
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 5vh; /* Use viewport height units */
            padding: 0 10px;
        }

        nav {
            display: flex;
            align-items: center;
            height: 100%; /* Make nav the same height as the header */
        }

        nav a {
            color: #fff;
            text-decoration: none;
            font-size: 1.2vw; /* Use viewport width units for font size */
            margin-right: 1.5vw; /* Use viewport width units for spacing */
            padding: 5px 10px; /* Adjust padding for better tap targets on mobile */
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

        .container {
            max-width: 82vw; /* Use viewport width units */
            margin: 0 auto;
            padding: 18vh 2vw; /* Use viewport height and width units */
            flex: 1;
        }

        h1 {
            color: #ffffff;
            text-align: center;
            font-size: 8vw; /* Use viewport width units */
            margin-bottom: 2vh; /* Use viewport height units */
        }

        p {
            color: #999999;
            text-align: center;
            font-size: 3vw; /* Use viewport width units */
            margin-bottom: 2vh; /* Use viewport height units */
        }

        .search-box {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 8vh; /* Use viewport height units */
        }

        .search-input {
            width: 70vw; /* Use viewport width units */
            height: 100%; /* Make the input height the same as the search box */
            border: none;
            border-radius: 5px;
            padding: 0 1vw; /* Use viewport width units for padding */
            font-size: 1.6vw; /* Use viewport width units */
            background-color: #333333;
            color: #ffffff;
        }

        /* Add media queries for specific breakpoints if needed */
        @media (max-width: 600px) {
            nav a {
                font-size: 14px; /* Override the viewport units for smaller screens */
            }

            .search-input {
                width: 80vw; /* Override the viewport units for smaller screens */
            }
        }


        .search-container {
            display: flex;
            justify-content: center;
            align-items: center;
            flex: 1; /* Make the search container take up the remaining space */
            padding: 20px 0; /* Add some padding above and below the search box */
        }

        .search-box {
            display: flex;
            align-items: center;
        }
		    .search-input {
            width: 250px;
            height: 30px; /* Adjust the height of the search input */
            border: none;
            border-radius: 5px;
            padding: 0 10px;
            font-size: 16px;
            background-color: #333333;
            color: #ffffff;
            outline: none;
        }

        .search-button {
            width: 80px;
            height: 30px; /* Adjust the height of the search button to match the input */
            border: none;
            border-radius: 5px;
            background-color: #ff5733;
            color: #ffffff;
            font-size: 16px;
            cursor: pointer;
            outline: none;
            margin-left: 10px;
        }

        .search-button:hover {
            
        }