﻿/* 放入測試開始 */
h1 {
    font-size: 28px;
    font-weight: bold;
}

.image-container-carousel {
    position: relative;
    /* display: inline-block;*/
}

    .image-container-carousel img {
        display: block;
        width: 100%;
        border-radius: 20px; /* ← 這裡改數字就決定曲度 */
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        transition: all 0.3s;
    }


.carousel-item img {
    border-radius: 20px; /* ← 這裡改數字就決定曲度 */
}



.image-container-carousel .text {
    position: absolute;
    /*
                top: 70%;
                left: 50%;
                        transform: translate(-50%, -50%);
                */
    top: 60%;
    left: 15%;
    transform: translate(-10%, -10%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    text-align: center;
}

.image-container-carousel .sub {
    color: black;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
}


.no-blue {   /*超連結保持原色*/
    color: inherit;
    text-decoration: none;
}

    .no-blue:hover {
        color: inherit;
    }



/* 放入測試結束 */


.owl-carousel .item {
    position: relative;
    text-align: center;
}

    .owl-carousel .item img {
        width: 100%;
        height: auto;
    }
/* 左右箭頭樣式 */
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
}

.owl-prev {
    left: 10px;
    background-color: aqua;
}

.owl-next {
    right: 10px;
    background-color: orange;
}
/* 控制按鈕樣式 */
.carousel-controls {
    text-align: center;
    margin-top: 20px;
}

    .carousel-controls button {
        padding: 10px 20px;
        margin: 0 10px;
        cursor: pointer;
    }



.containerimg {
    display: flex;
    align-items: flex-start;
}

.image {
    width: 160px;
    height: 90px;
    margin-right: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.text {
    flex: 1;
}