html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Arial, sans-serif;
    margin: 20px;
    background-image: url('/images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* 背景圖片固定 */
    background-position: center;
}

.container {
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Arial', sans-serif;
    color: white;
    padding: 20px;
    text-align: center;
}

.logo {
    background: none;
}

    .logo img {
        max-width: 200px;
        height: auto;
    }

.title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

    .title img {
        width: auto;
        height: 80px;
    }

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lead {
    font-size: 18px;
    margin-bottom: 30px;
}

.shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.submit-button {
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .submit-button img {
        max-width: auto;
        height: 50px;
        vertical-align: middle;
    }

    .submit-button:hover {
        transform: scale(1.2);
    }

.result {
    margin-top: 20px;
    font-weight: bold;
    background-color: rgba(248, 249, 250, 0.5);
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 20px;
    color: white;
}

/* 美化錄音按鈕 */
.recordButton {
    width: auto;
    height: 60px;
    border: none;
    background: none;
    margin-bottom: 20px;
    cursor: pointer; /* 指針 */
    transition: background-color 0.3s ease; /* 背景色過渡效果 */
}

    .recordButton img {
        max-width: auto;
        height: 50px;
        pointer-events: none; /* 使圖片忽略點擊事件 */
    }

/* 美化複製按鈕 */
#copyButton {
    background: none; /* 淺灰色背景 */
    border: none; /* 灰色邊框 */
    cursor: pointer; /* 指針 */
    transition: background-color 0.3s ease; /* 背景色過渡效果 */
}

    #copyButton img {
        max-width: auto;
        height: 30px;
    }

    #copyButton:hover {
        opacity: 0.6;
    }

.alert-success {
    background-color: #f0f8ff;
    border-color: #c3e6cb;
}

select {
    width: 250px;
    text-align: center;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="gray" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 20px;
}