/* 前導頁 */
@charset "utf-8";
/****************** 基本 ******************/
* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #323232;
    background-color: #fff;
    padding-top: 70px;
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

/****************** 導覽列 navbar ******************/
.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.navbar-brand {
    margin-right: 50px;
    margin-left: 20px;
    width: 250px;
    height: 70px;
    background: url(https://activity.ubot.com.tw/include/images/UBLogo.png) no-repeat 0 50%;
    background-size: contain;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        width: 180px;
        height: 60px;
        margin-left: 10px;
    }
}

/* 主視覺區塊 */
.hero-section {
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 600px;
    background-image: url(https://activity.ubot.com.tw/activity/20201111/images/top.jpg);
    background-position: center center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .hero-section {
        background-image: url(https://activity.ubot.com.tw/activity/20201111/images/top_m.jpg);
        height: auto;
        min-height: 500px;
        padding: 60px 20px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 40px 10px;
    }
}

/* 
        ctn01 2行-字少
        ctn02 4行-字多
        */
.ctn01 {
    color: #fff;
    font-size: 48px;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.ctn02 {
    color: #fff;
    font-size: 48px;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1400px) {
    .ctn02 {
        font-size: 36px;
    }
}

@media screen and (max-width: 992px) {
    .ctn02 {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .ctn01 {
        font-size: 20px;
    }

    .ctn02 {
        font-size: 20px;
    }
}

/* 按鈕樣式 */
.btn-group-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-outline-white {
    width: 100%;
    max-width: 420px;
    background: transparent;
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    border: 2px solid #fff !important;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

@media screen and (max-width: 576px) {
    .btn-outline-white {
        font-size: 18px;
        min-height: 60px;
    }
}

/*
--- 版權宣告footer ---*/
#footer {
    background-color: #eeeeee;
}

.copyright a {
    color: #7f7f7f;
    outline: none;
    text-decoration: none;
}

.copyright h4,
.copyright h5 {
    margin-top: 15px;
}

.copyright h4 {
    font-size: 26px;
    text-align: right;
}

.copyright h5 {
    font-size: 12px;
    text-align: left;
    color: #777;
    margin-left: 70px;
}

.copyright p {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.copyright .list-inline {
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .copyright h4 {
        font-size: 20px;
        text-align: center;
    }

    .copyright h5 {
        font-size: 12px;
        margin-left: auto;
    }

    .copyright p {
        font-size: 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    #footer {
        padding: 10px 0;
        color: #7f7f7f;
        background-color: #eeeeee;
    }

    #footer .copyright {
        margin-bottom: 0px;
        padding-bottom: 0;
    }

    .copyright h5 {
        text-align: center;
    }

    .copyright a {
        color: #7f7f7f;
        outline: none;
        text-decoration: none;
    }
}