* {
    padding: 0;
    margin: 0;
}

html {
    background-color: rgb(255, 241, 180);
}

html, body {
    height: 2300px;
    margin: 0;
}

.background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-position: center;
    filter: blur(20px);
    z-index: -1;
}

.page-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
  
main {
    flex: 1; /* 推擠 footer 底部 */
}

.web_title {
    display: none;
}

/* 排版 */
.padding_top_20px {
    padding-top: 40px;
}

/* 導覽條 */

.main_nav {
    z-index: 10000;
    background: rgba(255, 210, 9, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    padding: 0;
    position:fixed;
    top:0px;
    width: 100%;
}

.main_nav_item {
    font-family: 'Noto Sans HK';
    display: block;
    padding: 12px;
}

.main_nav_title_item {
    font-family: 'Noto Sans HK';
    display: block;
    padding: 12px;
    color: #ffffff;
    font-weight: 800;
}

.main_nav_item a {
    font-family: 'Verdana';
    padding-left: 15;
    padding-right: 15;
    text-decoration:none;
    color: #2c99ff;
    font-weight: 800;
}

.main_nav_item :hover {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: rgb(255, 228, 76);
}

.move_to_right {
    margin-left: auto;
}

.packages_list_bar_divider {
    border: 0;
    height: 6;
    background: linear-gradient(to right, rgb(255, 240, 23) 85%, #8dffca);
    /* background-color: ; */
}


/* 內容專用 */
.top_topic {
    padding-left: 30;
    padding-top: 20;
}

.content_topic {
    padding-left: 30;
    padding-top: 20;
    padding-bottom: 7;
}

.list_content {
    padding-left: 50;
    padding-top: 5;
}

.article_container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.article_container .box {
    position: relative;
    padding: 20px;
    width: 85%;
    min-height: 300px;
    background-color: #f2f2f2;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.article_container .box .title {
    font-family: 'Noto Sans HK';
    color: gray;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 5px;
}

.article_container .box a {
    font-family: 'Noto Sans HK';
    color: rgb(0, 0, 0);
    padding-left: 30px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
}

.article_container .box .post_time {
    position: absolute;
    font-family: 'Noto Sans HK';
    color: rgb(43, 43, 43);
    padding-left: 30px;
    font-size: 12px;
    font-weight: 10px;
    top: 35px;
    right: 30px;
}

.article_container .box .content_container {
    margin-top: 10px;
    margin-left: 30px;
}

.article_container .box .content_container li a {
    text-decoration:none;
}

/* LoginBox */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 300px;
    display: flex;
    flex-direction: column;
}

.modal h2 {
    margin-bottom: 20px;
    text-align: center;
}

.modal button {
    padding: 10px;
    background-color: #3498db;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.modal input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.modal_info {
    padding: auto;
}

.close-btn {
    top: 0;
    left: 0;
}

/* login */
.modal input[type="text"],
.modal input[type="password"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}


/* Converter */

.modal-overlay_tools {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal_tools {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.modal_tools_info {
    padding: 20px;
}

.modal_tools h2 {
    margin-bottom: 10px;
}

.modal_tools button {
    padding: 10px;
    background-color: #3498db;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.modal_tools input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 200px;
}


div.scroll-container {
    margin-left: auto;
    background-color: #ffffff;
    width: 200px;
    height: 200px;
    overflow: auto;
    overflow-x: auto;
    white-space: nowrap;
    position: absolute;
    right: 100;
    top: 130;
}

div.scroll-container::-webkit-scrollbar {
    height: 8px;
}
  
div.scroll-container::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
  }
  
div.scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
  
div.scroll-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 施工中 */
.center_img {
    position: fixed;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300;
    height: 300;
    background-image: url("img/yellow_fence.png");
}

.center_img_info {
    position: fixed;
    display: block;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #252525;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
}

/* 圖片監視器 */
.image_viewer {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    left: 300px;
    padding-top: 20;
    height: 1000;
    width: 800;
}

.image_viewer_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 浮水印 */
.footer {
    font-family: 'Noto Sans HK';
    text-align: center;
    padding: 12px;
    font-size: 14px;
    color: #00ffff;
    margin-top: auto;
    bottom: 0;
    font-weight: 400;
}


/* Fonts */
@font-face {
    font-family: 'Rony Siswadi Architect 4';
    src: url('fonts/RonySiswadiArchitect4/RonysiswadiArchitect4-qZmp2.ttf');
}
