.cover {
    position: relative;
    margin-top: 66px;
    width: 70%;
    height: auto;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 10px;
}

.cover-image {
    width: 100%; 
    height: auto;
    z-index: 1;
}

.cover-title {
    position: absolute;
    top: 76%;
    width: 100%;
    height: 20%;
    z-index: 2;
    text-align: center;
    color: black;
    font-family: 微軟正黑體;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 5px;
}

.cover-hr {
    border: 0; 
    border-top: 2px solid black; 
    margin: 5px 35% 0 35%;
}

.path {
    padding: 0 10%;
    color: rgba(25, 25, 25, 0.8);
    font-family: 微軟正黑體;
    font-size: 0.5rem;
}

.path-text {
    color: rgba(25, 25, 25, 0.8);
    font-family: 微軟正黑體;
    font-size: 0.5rem;
}

.contents {
    height: auto;
    margin-bottom: 10px;
}

.content-hr {
    border: 0;
    border-top: 2px solid rgba(112,112,112, 0.6);
}

.year {
    border-radius: 50px;
    border: 1px solid rgba(25, 25, 25, 0.5);
    width: 120px;
    text-align: center;
    letter-spacing: 4px;
    font-family: 微軟正黑體;
    font-weight: bolder;
    font-size: 1rem;
    margin: 5% 0% 0% 0%;
    padding: 3% 3%;
}

.event-list {
    height: 100%;
    margin-top:5%;
}

.event {
    height: 100px;
}

.event-image {
    width: 100%;
    height: auto;
}

.event-title {
    font-family: 微軟正黑體;
    font-weight: bold;
    font-size: 18px;
}

.event-date {
    font-family: 微軟正黑體;
    font-size: 1rem;
}
    
.event-readmore {
    margin-right: 5%;
    margin-bottom:1%;
    display: flex;
    flex-direction:row-reverse;
    border-radius: 1rem;
}

.btn-more {
    font-family: 微軟正黑體;
    text-decoration: underline;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    letter-spacing:2px;
    vertical-align: middle;
    cursor: pointer;
    background-color: #bfbfbf;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight:bold;
    line-height: 1.5;
    border-radius: 1rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #343a40;
    border-color: #343a40;
}

#eventIndexCarousel {
    height: 296px;
    overflow: hidden;
}

.carousel-item-setting {
    height: 296px;
}

.object-fit-cover {
    object-fit: cover;
}

@media (max-width: 767px) {
    #eventIndexCarousel {
        height: 150px;
        overflow: hidden;
    }
    .fixed-top {
        position: relative;
    }

    .cover {
        margin-top: 0px;
    }

    .event-content {
        width: 100%;
        height: 90%;
        background-color: #e8f1fa;
        border: 1px solid black;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }

    .event-image-area {
        position: relative;
        background-color: #e8f1fa;
        width: 30%;
        display: flex; 
        flex-direction: column; 
        justify-content: center;
        overflow: hidden;
    }

    .event-data {
        padding-left: 5%;
        position: relative;
        width: 70%;
    }

    .carousel-item-setting {
        height:auto;
    }
}

@media (min-width: 768px) {
    .event-content {
        width: 100%;
        height: 90%;
        background-color: #e8f1fa;
        border: 2px solid black;
        cursor: pointer;
    }

    .event-image-area {
        height: 70%;
        background-color: white;
        border-bottom: 2px solid black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .cover-hr {
        margin: 5px 30% 0 30%;
    }

    .year {
        font-size: 1rem;
        width: 150px;
        padding: 14px;
    }

    .event {
        height: 300px;
    }

    .event-image-area {
        height: 70%;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        padding:1px;
    }

    .event-image {
        width: 100%;
        height: auto;
    }

    .event-title {
        height: 15%;
        padding: 0% 5%;
        font-size: 20px;
    }

    .event-date {
        height: 15%;
        padding: 0% 5%;
    }

    .cover-title {
        font-size: 40px;
    }

    .event-readmore {
    }

    .path {
        font-size: 1rem;
    }

    .path-text {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .year {
        font-size: 25px;
        width: 180px;
        border-radius: 100px;
    }

    .event {
        height: 400px;
    }

    .event-title {
        padding: 2% 5%;
        margin-bottom: 0;
    }

    .event-date {
        height: 15%;
        padding: 2% 5%;
    }

    .cover-title {
        font-size: 50px;
    }
}

@media (min-width: 1024px) {
    .cover-hr {
        margin: 5px 33% 0 33%;
    }
}

@media (min-width: 1440px) {
    .cover-hr {
        margin: 5px 35% 0 35%;
    }
}

