:root {
    /*主色輔色 改色*/
    --main-color: #FF8A00;
    --sub-color: #2B48B3;
    --sub2-color: #003CFF;


    /*勿動*/
    --white-color: #fff;
    --black-color: #1e1e1e;
}

*{
    scroll-padding-top: 60px;
}

/* nav ---------- */
.navbar {
    background-color: #F7FDFF;
    box-shadow: 0px 5px 12px #bec1c3;
}

.nav-item a {
    color: var(--black-color);
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 1px;
}

.nav-item a:hover {
    color: var(--sub2-color);
    font-weight: 700;
}

.btn-ticket {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem !important;
}

.btn-ticket:hover,
nav .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
}

nav .nav-link {
    margin-top: 0;
    margin-bottom: 0;
}

nav .mainlogo {
    display: flex;
    align-items: center;
}

nav .mainlogo img {
    max-width: 160px;
    text-align: left;
    padding-right: 5px;
}

nav .mainlogo img.school {
    max-width: 180px;
}

@media (max-width: 768px) {
    nav .navbar-collapse {
        display: flex;
    }

    nav .navbar-collapse .navbar-nav {
        width: 100%;
    }

    nav .nav-item {
        justify-content: center;
    }

    .nav-item a {
        font-size: 1rem;
        line-height: 1rem;
        padding: 1.25rem 0;
    }

    .nav-item a .sm-txt,
    .nav-item p .sm-txt {
        font-size: 13px;
    }

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        padding: 2px;
        border: 0px;
    }

    .navbar img {
        width: 130px;
    }

    nav .mainlogo img.school {
        max-width: 130px;
    }

    nav .mainlogo img {
        max-width: 90px;
        height: auto;
    }

}


/* main ---------- */
#main {
    background: url(../../images/info-bg-top.png), url(../../images/main-bg.jpg) #C7ECFE;
    background-repeat: no-repeat, no-repeat;
    background-position: left bottom, center bottom;
    background-size: contain, cover;
    padding-top: 80px;
    /* aspect-ratio: 1280 / 580 ; */
}

#main .main-area {
    min-height: 560px;
    position: relative;
}

#main .main-title {
    font-size: 96px;
    font-weight: 900;
}

#main .main-sub-title {
    font-size: 68px;
    font-weight: 700;
}

/* #myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
} */

.img-main-square {
    position: absolute;
    right: 5%;
    bottom: 0;
    animation: 3s infinite alternate fly;
}

@keyframes fly {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 5%;
    }

    100% {
        bottom: 0%;
    }
}

@media (max-width: 768px) {
    #main {
        background: url(../../images/info-bg-top-sm.png), url(../../images/main-bg-sm.jpg) #C7ECFE;
        background-repeat: no-repeat, no-repeat;
        background-position: left bottom, center bottom;
        background-size: contain;
        padding-top: 30px;
        /* aspect-ratio: 1280 / 580 ; */
    }

    #main .main-area {
        min-height: 460px;
    }

    #main .main-title {
        font-size: 58px;
    }

    #main .main-sub-title {
        font-size: 48px;
    }

    .img-main-square {
        position: absolute;
        right: 0%;
        bottom: 0;
        animation: 3s infinite alternate fly;
        z-index: 0;
    }
}


#info {
    background: url(../../images/info-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* position: relative; */
    /* height: 100vh; */
}

/* #info::before {
    content: '';
    position: absolute;
    width: 100vw;
    min-height: 330px;
    max-height: 700px;
    background: url(../../images/info-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
} */

/* suitable ---------- */
#suitable {
    background: url(../../images/info-bg-bottom.png), url(../../images/suitable-bg.jpg) #EFF0EF;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain, cover;
    padding-top: 80px;
}

#suitable .card1 {
    background: linear-gradient(to left bottom, #DDF3FE 50%, #c6ecff);
    box-shadow: 5px 5px 12px #1e1e1e20;
    border-radius: 1rem;
}

#suitable .card2 {
    background: linear-gradient(to left bottom, #C7ECFE 50%, #b1e5ff);
    box-shadow: 5px 5px 12px #1e1e1e20;
    border-radius: 1rem;
}

#suitable .card3 {
    background: linear-gradient(to left bottom, #9ADEFF 50%, #72d0ff);
    box-shadow: 5px 5px 12px #1e1e1e20;
    border-radius: 1rem;
}

#suitable .card-num {
    border: 3px solid var(--white-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

@media (max-width: 768px) {
    #suitable {
        background: url(../../images/info-bg-bottom-sm.png), url(../../images/suitable-bg.jpg) #EFF0EF;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: contain, cover;
        padding-top: 80px;
    }
}

/*agenda ---------- */

/* 課綱／議程[單表頭] */
#agenda {
    background: url(../../images/agenda-bg.jpg), #EFF0EF;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}

#agenda .agenda-table>div {
    padding: 1.5rem 0;
    border-bottom: 1px #1e1e1e solid;
}

#agenda {
    position: relative;
}

#agenda .floating-square01 {
    position: absolute;
    top: 0%;
    right: -15%;
    width: 400px;
    z-index: 0;
}

#agenda .agenda-table {
    z-index: 1;
}

#agenda .agenda-table-head {
    background: linear-gradient(20deg, #007CF8, #006bd6);
    color: var(--white-color);
    padding: 1rem 0 !important;
}

#agenda .btn-a {
    width: 150px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    height: 40px;
    text-align: start;
    border: none;
    border-radius: 0;
    background-size: 300% 100%;
    transition: all .4s ease-in-out;
}

#agenda .btn-a:hover {
    background-position: 100% 0;
    background-color: var(--main-color);
    transition: all .4s ease-in-out;
}

#agenda .btn-a:focus {
    outline: none;
}

#agenda .agenda-table {
    padding: 1.5rem;
    background: #F5FCFF;
    border-radius: 1rem;
}

#agenda span.hashtag {
    padding: 3px 10px;
    background-color: #007CF8;
    border: 0;
    color: var(--white-color);
}

#agenda .agenda-table h3.spk-name {
    color: #007CF8;
}

#agenda .agenda-table h3 span.spk-title {
    font-size: 18px;
    color: #6B6B6B;
    font-weight: 300;
}

#agenda .agenda-table h6.spk-title {
    font-size: 18px;
    color: #6B6B6B;
    font-weight: 300;
}

@media (max-width: 768px) {
    #agenda .agenda-table {
        padding: 1rem;
    }
}


/* 講師陣容－多位輪播 */
#speaker4 {
    background: url(../../images/speaker-bg.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    position: relative;
}

#speaker4 .floating-square02 {
    position: absolute;
    top: -15%;
    left: -15%;
    width: 400px;
}

/* #speaker4 .speaker-card .speaker-info,
#speaker4 .speaker-card .speaker_name {
    background-color: var(--sub-color);
} */

#speaker4 .speaker-card .speaker_name {
    padding: 15px;
    min-height: 140px;
    color: #6B6B6B;
    text-align: center;
}

#speaker4 .speaker-card .speaker_name h3 {
    color: #007CF8;
}

#speaker4 .speaker_img {
    overflow: hidden;
    border-radius: 100%;
    border: 6px solid #007CF8;
}

#speaker4 .owl-theme .owl-nav {
    position: absolute;
    top: 50%;
    right: -4%;
    width: 108%;
    height: 100%;
    margin: 0;
    transform: translateY(-50%);
    justify-content: space-between;
    display: flex;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    background-color: transparent;
    color: #007CF8;
    width: 30px;
    height: 100%;
    margin: 0;
    border-radius: 0;
    font-size: 5rem;
    align-content: center;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel button.owl-dot:hover {
    background-color: #007CF8;
    color: var(--white-color);
}

.owl-stage-outer {
    z-index: 1;
}

.owl-nav {
    z-index: 0;
}

@media (max-width: 768px) {

    #speaker4 .speaker-card .speaker_name {
        padding: 6px;
        min-height: 100px;
    }

    #speaker4 .owl-carousel {
        padding-top: 2rem !important;
    }

    #speaker4 .owl-theme .owl-nav {
        position: absolute;
        bottom: -30px;
        right: 0px;
    }

    #speaker4 .owl-theme .owl-nav {
        display: none;
    }
}

/*media ---------- */
#media {
    background: url(../../images/read-bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    position: relative;
}

#media .Intro-hrefbox,
#media .Intro-hrefbox-more {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, #d2e3ff 50%);
    background-position: -0% 0;
    background-size: 200% auto;
    color: #222;
    font-size: 1.75em;
    line-height: 1.15em;
    text-decoration: none;
    transition: background-position 0.5s ease-out;
}

#media .Intro-hrefbox {
    padding: 15px;
}

#media .Intro-hrefbox:hover,
#media .Intro-hrefbox-more:hover {
    background-position: -100% 0;
}

#media .Intro-hrefbox img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


#logos img {
    padding: 0 0.5rem;
    object-fit: cover;
}

/*footer改色 ---------- */

#footer {
    position: absolute;
    width: 100%;
    background-color: #203975;
    color: var(--white-color);
}

#footer .scrolltop {
    /* background: var(--sub-color); */
    /* color: var(--white-color); */
    opacity: 1;
    width: 150px;
    animation: 3s infinite alternate swing;;
}
#footer .scrolltop {
    position: fixed;
    bottom: 150px;
    right: 2%;
    display: none;
    font-size: 30px;
    z-index: 20;
    border-radius: 0%;
}
@media (max-width: 768px) {
    #footer {
        padding: 18px 0 80px 0;
    }
    #footer .scrolltop{
        display: none !important;
    }
}


#aabar{
    position: fixed;
    bottom: 0;
    z-index: 100;
}