:root {
    --bs-base-color: #053d9e;
    --bs-sub-color: #f5bf63;
    --bs-secondary-color: #264653;
    --bs-secondary-sub-color: #e9c46a;
    --bs-third-color: #2c7da0;
    --bs-third-sub-color: #8ecae6;
}

html {
    font-size: 15px;
}

@media (min-width: 38em) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 52em) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 72em) {
    html {
        font-size: 16px;
    }
}

@font-face {
    font-family: "Noto Sans TC";
    src: url("/static/fonts/NotoSansTC-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "NaikaiFont";
    src: url("/static/fonts/NaikaiFont-Regular.ttf") format("truetype");
}


body {
    background-color: #f1f1f1;
    font-family: 'Noto Sans TC', 'NaikaiFont', sans-serif;
    padding-top: 52px;
    overflow-y: scroll;
    /* 調整為 navbar 的高度 */
}

.home_cover {
    background-image: url('/static/images/wrestling_banner.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* .banner-container {
    position: relative;
    text-align: center;
    background-color: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 18vh;
} */

.banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #000; /* optional background */
    overflow: hidden;
}

.banner-container img.banner-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: wheat;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.banner-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.banner-text p {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 0;
}

.footer {
    font-size: 0.9rem;
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}