/* link.css */

/* 匯入字型 */
@import url('./fonts.css');

/* 定義基礎樣式 */
body {
    padding: 20px;
    line-height: 2;
    font-size: 18px;
    cursor: url('../images/Moi-Cursor-1.png'), auto;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding-bottom: 100px;
}

/* 手機版專用 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

@media(max-width:768px) {
  main {
    padding-bottom: 140px;
  }
}

html{
    scrollbar-face-color: transparent;
    scrollbar-3dlight-color: transparent;
    scrollbar-track-color: transparent;
    scrollbar-darkshadow-color: transparent;
    scrollbar-highlight-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-arrow-color: #000000; 
}

::-webkit-scrollbar {width: 5px; height: 0px;}
::-webkit-scrollbar-track, 
::-webkit-scrollbar-button, 
::-webkit-scrollbar-corner {background-color: transparent;}
::-webkit-scrollbar-button, 
::-webkit-scrollbar-corner {height: 0px;}
::-webkit-scrollbar-thumb {background-color: #2cce10; border-radius: 10px 0 0 10px;}
::-webkit-scrollbar-thumb:hover {background-color: #FF3EA5;}

a {
    text-decoration: none;
    border-radius: 10px;
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

a:hover {
    text-decoration: none;
    cursor: url('../images/Moi-Cursor-2.png'), auto;
    border-radius: 10px; 
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

/* 連結專屬樣式 */
/* 表格 */
.table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.table th,
.table td {
    padding: 8px 12px;
    border: none;
    text-align: center;
}

/* 表頭 */
.table th {
    background: transparent;
    text-align: left;
}

.table-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.table-link{
    width: 450px;
    table-layout: fixed;
    border-collapse: collapse;
}

/* 粉專繪帳表格 */
.table-link.tight {
    width: 250px; 
    transform: translateX(10px); 
}

.table-link.tight th,
.table-link.tight td {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* 圖片翻轉 */
.flip-horizontal {
    transform: scaleX(1);
    transition: transform 0.5s ease;
}

.flip-horizontal:hover {
    transform: scaleX(-1);
}

/* 文字與圖片對齊 */
.text-with-icons{
    align-items: center;
    gap: 12px;
}

.icon {
    vertical-align: middle;
    margin-bottom: 5px;
}

.text {
    vertical-align: middle;
}

/* 假搜尋框 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.fake-input {
    display: flex;
    align-items: center;
    border: none;
    padding: 5px 10px;
    width: 250px;
    font-size: 18px;
}

.fake-input .mag {
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
}

.fake-input .fanpage-link {
    flex: 1;
    line-height: 1.5;
    color: #2cce10;
    background-color: #2cce10;
    border-radius: 0px;
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

.fake-input .fanpage-link:hover{
    color: #000;
    background-color: #2cce10;
    border-radius: 0px;
    transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    -moz-transition-duration: 0.6s;
    -webkit-transition-duration: 0.6s;
}

/* 展開收合 */
details {
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

summary {
    font-family: "Balthazar", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    color: #FFF;
    cursor: url('../images/Moi-Cursor-3.png'), auto;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: " +";
    color: #FF3EA5;
}

details[open] summary::after {
    content: " −";
}

/* 洛奇動吃動 */
.link-donate {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: auto;
}

.donate-images {
    width: 100%;
    height: auto;
    content: url('../images/Moi-link-Donate-1.png');
}

.donate-images:hover {
    content: url('../images/Moi-link-Donate-2.png');
}

/* 告示框 */
.note-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 120px;
}

.note {
    font-family: 'Unifont', 'MS Gothic', '新細明體', 'Noto Sans Mono', monospace;
    font-size: 14px;
    color: #e7e547;
    background-color: rgba(255, 248, 231, 0.05);
    overflow-x: hidden;
    overflow-y: hidden;
    width: 500px;
    height: 100px;
    text-align: center;
    border: 1px dashed #000;
    padding: 40px 20px 20px;
    border-radius: 10px;
}

.email {
    font-family: 'Unifont', 'MS Gothic', '新細明體', 'Noto Sans Mono', monospace;
    font-size: 14px;
}

.home-btn a {
    color: #E0E0E0;
}

.home-btn a:hover {
    color: #2cce10;
}
