/* ======== Global ======== */
body {
    margin: 0;
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    overflow: auto;
    position: relative;
    animation-name: side-left-animation;
    animation-duration: 0.9s;
}

@keyframes side-left-animation {
    0% {
        right: -900px;
        opacity: 0;
    }

    100% {
        right: 0px;
        opacity: 1;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #333;
}

/* ======== header ======== */
/* .header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
}

.header-container {
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: 1rem;
}

.header-container a {
    margin-right: 2rem !important;
} */

/* ======== banner ======== */
.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 40vh;
    /* 根據需求調整 */
}

/* ======== course ======== */
.course {
    padding: 3rem 10rem;
    min-height: 30rem;
    background-color: rgb(235, 235, 235);
}

.course-item {
    text-align: center;
}

.more-course-btn {
    border: 1px solid var(--bs-gray) !important;
}

.course-item-img {
    border-radius: 0.5rem;
    max-width: 100%;
    height: 10rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* ======== contact ======== */
.contact {
    padding: 2rem;
    /* background-color: rgb(235, 235, 235); */
}

.social-icons a {
    font-size: 2rem;
    color: #333;
    margin-left: 15px;
    transition: 0.3s;
}

.instagram:hover {
    color: rgb(135, 255, 135);
    transform: scale(1.2);
}

.facebook:hover {
    color: rgb(135, 255, 135);
    transform: scale(1.2);
}

.line:hover {
    color: rgb(135, 255, 135);
    transform: scale(1.2);
}

/* 手機版選單按鈕 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
}

/* ======== cart ======== */
.cart-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    border: none;
    background-color: #183153;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    color: #fff;
    z-index: 99;
}

/* ======== RWD ======== */
@media (max-width: 768px) {
    .site-nav {
        /* display: none; */
        flex-direction: column;
        padding: 20px;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .site-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}