.pic-ctn {
    position: relative;
    width: 90%;
    max-width: 1000px;
    min-height: 600px;
    height: auto;
    margin: 2rem auto 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    display: none;
    width: 100%;
    /* height: 100%; */
    margin: 0;
    text-align: center;
}

.slide.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.slide .pic {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    margin: 0 auto;
    border-radius: 10px;
    object-fit: contain;
}

.slide figcaption {
    width: 100%;
    max-width: 750px;
    margin: 1rem auto 0;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
    font-size: 1rem;    
    color: var(--textColor, #fff);
    font-family: 'Parrafos';    
    line-height: 1.5;     
    
}

/* .slide figcaption a {
    color: var(--textColor, #fff);
    text-decoration: underline;
} */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 22px;
    color: white;
    padding: 5px;
    border-radius: 50%;
    user-select: none;
    z-index: 10;
}

.prev {
    left: -19px;
}

.next {
    right: -19px;
}


#dot-container {
    position: relative;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: #333;
}


.photo-credits {
    text-align: center;
    font-size: 0.7rem;
    font-style: italic;
    margin-top: 0.1rem;
    padding: 0 0.1rem;
}

/* Responsive */
@media only screen and (max-width: 600px) {

    .pic-ctn {
        width: 100%;
    }

    .slide .pic {
        max-width: 95%;
        max-height: 60vh;
    }

    .slide figcaption {
        font-size: 0.9rem;
    }

    .prev,
    .next {
        font-size: 18px;
    }
}

@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px;
    }
}