@import "./style-guide.css";

.container h3 {
    font-size: var(--font-h5);
    font-weight: bold;
    color: var(--title-font-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.container h3::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    width: 200%;
    height: 3px;
    background-color: var(--label-bg-yellow);
}

.my-swiper {
    position: relative;
}

.swiper-container {
    width: 100%;
    height: calc(100% + 5px);
    padding: 5px 0;
}

.my-swiper .swiper-button-next,
.my-swiper .swiper-button-prev {
    background-color: var(--label-bg-yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.my-swiper .swiper-button-next {
    right: -55px;
}

.my-swiper .swiper-button-prev {
    left: -55px;
}

@media screen and (max-width: 776px) {
    .my-swiper .swiper-button-next {
        right: 0;
    }

    .my-swiper .swiper-button-prev {
        left: 0;
    }
}

.my-swiper .swiper-button-next:hover,
.my-swiper .swiper-button-prev:hover {
    opacity: 0.6;
}

.my-swiper .swiper-button-next::after,
.my-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    color: white;
    text-align: center;
    font-weight: bold;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}