body {
    background-color: #000;
    color: #fff;
    font-family: "標楷體", sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

h1 {
    font-size: 36px; /* 改變標題大小 */
}

.full-width-img {
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 20px;
    background-color: #888;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin-top: 20px; /* 加上上邊距 */
}

.spacer {
    height: 20px;
}

.map-icon {
    display: inline-block;
    width: 170px;
    height: 40px;
    background-image: url("map_icon.png");
    background-size: cover;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkTextCursor {
    from { border-right-color: white; }
    to { border-right-color: transparent; }
}

.typewriter p {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid white;
    animation: typewriter 2s steps(40, end) 2s 1 normal both, blinkTextCursor 0.75s steps(40) 2s 1 normal both;
}

.typewriter a {
    text-decoration: none;
    color: inherit;
}

.typewriter a:hover {
    color: #ff0;
    text-decoration: underline;
}

@keyframes shake {
    0% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(5px, 5px) rotate(5deg); }
    50% { transform: translate(-5px, -5px) rotate(-5deg); }
    75% { transform: translate(5px, 5px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

.shake-animation {
    animation: shake 0.5s;
}

@keyframes flip {
    0% { transform: translate(-50%, -50%) scale(0.1) rotate(120deg); }
    100% { transform: translate(-50%, -50%) scale(0.2) rotate(240deg); }
}

.contact-section {
    display: flex;
    justify-content: center;
    gap: 55px; /* 增加色塊間距 */
}

.contact-block {
    background-color: #666; /* 更改社群色塊背景色 */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-block:hover {
    background-color: #555; /* 社群色塊懸停時的背景色 */
}

.contact-icon {
    width: 70px;
    height: 70px;
    display: block;
    margin: 0 auto 10px;
}

.contact-block p {
    font-size: 18px;
    margin: 0;
}

footer {
    background-color: #333; /* 底部背景色 */
    padding: 20px;
    color: #fff;
    font-size: 14px;
}
