.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    flex: 0 0 100%;
    position: relative;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.carousel-nav p {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-nav p.active {
    background-color: red;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}
.carousel-container:hover .carousel-arrow {
    opacity: 1;
}
.carousel-prev {
    left: 20px;
}
.carousel-next {
    right: 20px;
}
/*0~768px*/
@media (max-width: 768px){
    .carousel-arrow {
        display: none;
    }
}