* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

.title {
    height: 100px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-top: 20px;
    text-align: center;
    align-items: center;
    background-color: white;
}

#icon {
    padding-left: 80px;
    padding-top: 2px;
    text-align: center;
    font-size: 15px;
}

.title .engine {
    font-size: 30px;
}

.title .engine a {
    color: black;
    text-align: center;
    text-decoration: none;

}

.title .engine {
    color: black;
    text-align: center;
    text-decoration: none;
}

.title .engine a:hover {
    background-color: #ddd;
    color: black;
}

.title .engine a.active {
    background-color: #ddd;
    color: white;
}

.title .engine:hover {
    background-color: #ddd;
    color: black;
}

.title .engine:active {
    background-color: #ddd;
    color: white;
}

.title input[type=text] {
    font-size: 30px;
    border: none;
}

.title .search-container input {
    width: 250px;
    height: 50px;
    font-size: 25px;
    right: 50px;
}

.title .search-container button {
    padding: 5px 5px;
    background-color: white;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.title .search-container button:hover {
    background: #ccc;
}

.title input[type=text] {
    border: 1px solid #ccc;
}

/* 幻燈片容器 */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 25px auto;
}

.slideshow-container img {
    width: 100%;
    height: 600px;
    object-fit: contain;
}

/* 文字 */
.text {
    color: rgb(25, 19, 19);
    letter-spacing: 0.5em;
    font-size: 50px;
    padding: 0px;
    position: absolute;
    top: 25px;
    left: 50px;
    width: 100%;
    text-align: center;
}

/* 標記符號 */
.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* 淡出 */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

footer {
    background-color: #bbb;
    width: 100%;
    height: 120px;
}

.socialbuttons {
    width: 300px;
    height: 100px;
    margin-left: 42%;
    margin-top: 50px;
    margin-bottom: 10px;
}

.socialbuttons p {
    color: #696969;
    text-align: center;
}

.fa {
    padding-top: 17px;
    font-size: 40px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: solid;
    margin: 5px 5px;
    color: white;
    border: 2px solid #737373;
    border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}


table {
    border-collapse: collapse;
    margin: auto;
    position: relative;
}

table img {
    width: 500px;
    height: 300px;
    object-fit: contain;
    display: block;
}

table .content {
    height: 50px;
}


table tr .txt {
    text-align: center;
    text-justify: distribute;
    padding: 20px;
    color: #f1f1f1;
    background-color: rgba(36, 33, 33, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s .1s;
}

.txt:hover {
    opacity: 2;
}



th {
    height: 90px;
    font-size: 40px;
}

table tr .line {
    background-color: #717171;
    width: 8px;
}


.chosetable {
    margin-top: 5%;
    margin-left: 19%;
}

/* 大標題 */
.chosetable .chosetitle b {
    margin-left: 28%;
    font-size: 40px;
}

/* 小標題 */
.chosetable .chosetitle p {
    margin-left: 33%;
    font-size: 18px;
}


/*上面按鈕面板 */
.btn {
    width: 80%;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* 按鈕 */
.btn button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 20px;
}

.btn button:hover {
    background-color: #ddd;
}

.btn button.active {
    background-color: #ccc;
}

/* 文字 */
.btncontent {
    width: 80%;
    height: 450px;
    display: none;
    padding: 6px 12px;
    border-top: none;
    text-align: center;

}

/* 內容圖片 */
.btncontent img {
    width: 500px;
    height: 300px;
    object-fit: contain;
}

.btncontent b {
    font-size: 40px;
}

.btncontent p {
    font-size: 25px;
}


#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color:#717171;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: .5s .1s;
  }

#myBtn:hover {
    background-color: #555;
}