#body {
#    font-family: 'Arial', sans-serif;
#    margin: 0;
#    padding: 0;
#    background-color: #f5f5f5;
#    color: #333;
#}

header {
    background-color: #00b8fb;
    color: white;
    text-align: center;
    padding: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: #111;
}

section.content {
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.center {
  display: table-cell;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
}

section h2 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}

section img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
}

footer {
    text-align: center;
    background-color: #999;
    color: white;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}



/* 手機版本樣式 */
@media screen and (max-width: 768px) {
    nav ul li {
        float: none;
        width: 100%;
    }

    nav ul li a {
        text-align: left;
        padding: 10px;
    }

    header {
        padding: 15px;
    }

    section.content {
        padding: 15px;
        margin: 10px auto;
    }

    section h2 {
        font-size: 1.5em;
    }
}

/* 平板與桌面版本樣式 */
@media screen and (min-width: 768px) {
    nav {
        display: flex;
        justify-content: center;
    }

    nav ul li {
        width: auto;
    }

    section.content {
        padding: 20px;
        margin: 20px auto;
    }

    section h2 {
        font-size: 2em;
    }
}
