﻿/*variáveis defs definição*/
/*referência: https://webdesign.tutsplus.com/how-to-build-a-simple-carousel-with-vanilla-javascript--cms-41734t*/
:root {
    --img-divw-size: 450px;
    --img-divh-size: 450px;
}

.slides-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-arrow {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 4rem;
    background-color: white;
    border: none;
    width: 2rem;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
}

.slide-arrow:hover,
.slide-arrow:focus {
    opacity: 1;
}

#slide-arrow-prev {
    left: 0;
    padding-left: 0.25rem;
    border-radius: 0 2rem 2rem 0;
}

#slide-arrow-next {
    right: 0;
    padding-left: 0.75rem;
    border-radius: 2rem 0 0 2rem;
}

.slide {
    width: 100%;
    height: 100%;
    flex: 1 0 100%;
}

.container-img-wrapper {
    overflow: hidden;
    width: var(--img-divw-size);
    height: var(--img-divh-size);
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: #e9ecef;
}

.container-img-wrapper img {
    max-width: 100%;
    max-height: var(--img-divh-size);
    display: block;
    margin: 0 auto;
}

.img-legenda {
    margin-bottom: 1rem;
    font-size: unset;
}

.img-gallery-list {
    border: none;
}