.swiper-container {
    /* position: absolute; */
    /* top: 150px; */
    /* left: 0; */
    /* width: 800px; */
    width: 80vw;
    /* height: 600px; */
    /* margin: 0; */
    /* padding: 0; */
    /* overflow: hidden; */
}
/* En saanut paginationia eli sivun osoittavia nappuloita toimimaan kunnolla */
/* figcaption tekstien kanssa */
/* .swiper-pagination {
    position: absolute;
    bottom: 20px !important;
    right: 20px !important;
    width: auto !important;
    left: auto !important;
    margin: 20px !important;
}
.swiper-pagination-bullet {
    padding: 5px 10px !important;
    border-radius: 100  !important;
    width: 1vw !important;
    height: 1vw !important;
    background: rgba(0, 0, 0, 0.8) !important;
}
.swiper-pagination-bullet-active {
    background: rgba(0, 0, 255, 0.6) !important;
} */
figure {
    width: auto;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* margin-bottom: 2vh; */
    padding: 0;
    font-size: calc(8px + 15 * ((100vmin) / 1600));
    /* display:none; */
}

p {
    font-size: calc(8px + 15 * ((100vmin) / 1600));
}
.carousel {
    position: relative;
    /* box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64); */
    margin-top: 26px;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.carousel-item img {
    display: block;
    height: auto;
    max-width: 100%;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 80px;
    height: 50px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carousel-control.prev {
    left: 2%;
}

.carousel-control.next {
    right: 2%;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 35px;
}

.carousel-bullet:hover {
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet {
    color: #ff0000;
}

/* DESKTOP HAS TEXT AND IMAGES SIDE BY SIDE */
/* MEDIA QUERY FOR DESKTOP SIZES*/
@media only screen and (min-width: 1024px) {
    /* figure {
        width: 60vw;
        max-width: 1200px;
        margin: 0 auto;
        margin-bottom: 2vh;
        padding: 0;
    } */
    .swiper-container {
        /* position: absolute; */
        /* top: 150px; */
        /* left: 0; */
        width: 60vw;
        max-width: 1600px;
        /* width: min(max-content, max(min-content, fill-available)); */
        /* height: 600px; */
        height: auto;
        margin: 0;
        padding: 0;
        /* overflow: hidden; */
    }
    figure {
        width: auto;
        /* max-width: 1200px; */
        margin: 0 auto;
        /* margin-bottom: 2vh; */
        padding: 0;
        font-size: calc(8px + 15 * ((100vmin) / 1600));
        /* display:none; */
    }
}
