
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f8fb;
    color: #333;
}
header {
    background: linear-gradient(90deg, #e0f7fa, #b2ebf2);
    color: #004d40;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}
header .logo img {
    height: 40px;
    margin-right: 8px;
}
header .title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
header .title .main-title {
    font-size: 20px;
    color: #004d40;
    margin: 0;
}
header .title .sub-title {
    font-size: 12px;
    color: #00796b;
    margin: 0;
}
header .lang-switch a {
    color: #004d40;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
nav {
    background-color: #005580;
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 10px 15px;
    font-size: 14px;
    cursor: pointer;
}
nav a:hover {
    text-decoration: underline;
}

main {
  /*  padding: 40px 20px;*/

  margin: 10px auto;
  padding-top: 20px;
  padding-bottom: 20px;

    max-width: 900px;
 /*   margin: 10px auto; */
    background-size: cover;
    background-position: center;
    min-height: 400px;
   /* color: white;*/
    border-radius: 15px;
    position: relative;
}

        .content-box {
            background: rgba(0, 0, 0, 0.6);
            padding: 20px;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            position: absolute;
            top: 50%;
            left: 1cm;
            transform: translateY(-50%);
            text-align: left;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }
        .content-box h2 {
            margin: 0 0 10px 0;
            font-size: 24px;
            color: #fff;
        }
        .content-box p {
            margin: 0;
            font-size: 16px;
            color: #fff;
            line-height: 1.8;
        }


@media (max-width: 768px) {
    .content-box {
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
    }
    .content-box h2 {
        font-size: 20px;
    }
    .content-box p {
        font-size: 14px;
    }
}

/*
.content-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
}*/

footer {
    background: #005580;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
       
.qr-code {
    margin-top: 20px;
    text-align: center;
}
.qr-code img {
    width: 150px;
    height: auto;
}
.qr-code a {
    display: block;
    margin-top: 10px;
    color: #00c300;
    font-weight: bold;
    text-decoration: none;
}
#designImage {
  display: block;
  margin: 24px auto;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  transition: transform 0.3s ease;
}
#designImage:hover {
  transform: scale(1.02); /* 微微放大效果 */
}
/*
h1#pageTitle {
  color: #005580;
  font-size: 24px;
  margin-top: 4px;   */   /* 幾乎沒有上方空白 */
 /* margin-bottom: 4px; */  /* 幾乎沒有下方空白 */
 /* line-height: 1.2;
}*/

main h1, main p {
  color: #003344; /* 深藍或深灰，看起來更清楚 */
  margin-top: 0px;
  margin-bottom: 0px;
}
