@media (min-width: 768px) {
    .navbar-brand.abs
    {
        position: absolute;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

html {
  font-size: 20px;
}

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

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

body {
  margin-bottom: 60px;
  /* background-image: url('/image/body.jpg');
  background-position: center center; */
}

.container-xxxl {
  width: 100%;
  max-width: 1440px;
  padding-left: var(--bs-gutter-x, .75rem);
  padding-right: var(--bs-gutter-x, .75rem);
  margin-left: auto;
  margin-right: auto;
}

.w-15{
  width: 15% !important;
}
.w-20{
  width: 20% !important;
}
.w-30{
  width: 30% !important;
}
.w-35{
  width: 35% !important;
}
.w-40{
  width: 40% !important;
}
.w-45{
  width: 45% !important;
}

.fs-7 {
    font-size: 0.9rem !important;
}
.fs-8 {
    font-size: 0.8rem !important;
}
.fs-9 {
    font-size: 0.75rem !important;
}
.fs-10 {
    font-size: 0.7rem !important;
}

.finance-navbar {
    background: linear-gradient(#0000007f, #001547d5);
    border-bottom: 1px solid #aaa;
    font-size: 1.1rem;
}

.navbar-header.pull-left {
    position: relative;
    left: 10px;
}

/* 品牌文字 */
.finance-navbar .navbar-brand {
    color: #eee;
    font-size: 1.5rem;
    font-weight: bold;
}

.finance-navbar .navbar-brand:hover {
    color: #fff;
}

/* 一般連結 */
.finance-navbar .nav-link {
    color: #eee !important;
    padding: 8px 14px;
    margin: 4px 5px;
    transition: all 0.3s ease;
}

.finance-navbar .nav-link:hover {
    color: #fff !important;
    background-color: #0c8304;
    border-radius: 6px;
}

/* Active 狀態 */
/* .finance-navbar .nav-link.active {
    background-color: #0c8304;
    color: #fff;
    border-radius: 6px;
} */

/* Dropdown */
.finance-navbar .dropdown-menu {
    background: linear-gradient(#001547dd, #000000dd);
    border: 1px solid #334155;
}

.finance-navbar .dropdown-item {
    color: #eee;
    font-size: 1.2rem;
}

.finance-navbar .dropdown-item:hover,
.finance-navbar .dropdown-item:focus {
    background-color: #109406;
    color: #fff;
    border-radius: 6px;
}


@media (max-width: 1600px) {
    .couplet-left,
    .couplet-right {
        display: none;
    }
}

.container {
    position: relative;
}

.couplet-left,
.couplet-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    
    writing-mode: vertical-rl; /* 直排 */
    text-orientation: upright; /* 文字正向 */
    white-space: nowrap;

    font-size: 64px;
    letter-spacing: 8px;
    font-weight: bold;
    color: gold;
    padding: 20px 10px;
    border-radius: 8px;

    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    border: 2px solid gold;
    background: linear-gradient(#b30000, #7a0000);
}

.couplet-left {
    left: calc((100vw - 1320px) / 2 - 250px);
}

.couplet-right {
    right: calc((100vw - 1320px) / 2 - 250px);
}

