﻿
.gallery {
    margin-top: 3rem;
}

.gallery img {
    border-radius: 20px;
}

.portfolio-text {
    padding-top: 12rem;
    font-size: 1.5rem;
    line-height: 125%;
}

.modal-footer {
    border: none !important;
}

.modal-content {
    background: #ffffff47 !important;
    backdrop-filter: blur(3px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 90vw;
}

#modal-description {
    color: #000;
    font-weight: 800;
}

.bg-black {
    background-color: #000 !important;
}

.card {
    border: 0;
    border-radius: 0;
}

.card-img,
.card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-body {
    padding: 0;
}

.card-columns .card {
    margin-bottom: 1.25rem;
}

.choices-card {
    cursor: pointer;
}

@media (max-width: 991px) {
    .card-columns {
        column-count: 2;
    }

    .gallery-container {
        margin: 2rem 0.5rem;
    }

    .gallery h4 {
        margin: 2rem;
    }

    .modal-content {
        max-width: 100% !important;
    }

    .modal-body {
        height:40rem;
    }

    .modal-body img {
        height: 100%;
        object-fit: contain;
    }

    .choices {
        padding: 1rem;
    }

    .choices-card {
        margin-bottom: 2rem;
        height: 13rem;
    }

    .choices figure {
        height: 100%;
    }

    .choices img {
        height: 100%;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
    }

    .modal-body {
        width: 100%;
        object-fit: cover;
        height: 35rem !important;
    }

    #modal-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }

    .modal-footer button {
        background-color: black !important;
        border-radius: 50% !important;
        padding: 6px 10px !important;
        margin: 0;
    }

    .choices-card figure {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .choices-card img {
        border: 1px solid #212121;
    }

    .choices-card figcaption {
        background-color: #ffffff87;
        color: #000000;
        position: absolute;
        width: fit-content;
        bottom: 0;
        width: 100%;
        height: 5rem;
        font-size: 20px;
        text-align: center;
        font-weight: 800;
        backdrop-filter: blur(2px);
        border-radius: 0 0 20px 20px;
    }

    .choices {
        /*column-count: 3;*/
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }

    .gallery-container {
        margin: 4rem;
    }

    .gallery h1 {
        font-size: 50px;
    }

    .choices {
        padding: 2rem;
    }

    .choices-card {
        width: 30vw;
        height: 20vw;
        background-color: black;
        border-radius: 30px;
        margin-bottom: 2rem;
        cursor: pointer;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 1700px) {
    .gallery h1 {
        font-size: 70px;
    }
}

.card-hover img, .choices-card img {
    transition: filter .5s ease-in-out;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    border-radius: 20px;
}

/*.card-hover:hover img, .choices-card:hover img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    border-radius: 20px;
}*/

.reveal p {
    line-height: 125%;
    font-size: 1.5rem;
    text-align: center;
}

.reveal {
    display: none !important;
}

.card-hover .reveal {
    display: none;
    visibility: hidden;
    opacity: 0;
    height: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: black;
    color: white;
    border-radius: 20px;
}

.card-hover:hover .reveal {
    height: auto;
    visibility: visible;
    opacity: 0.5;
    transition: opacity 1s ease;
    position: absolute;
    top: 0;
    background-color: black;
    color: white;
}

@media (max-width: 767px) {
    .card-hover .reveal,
    .card-hover:hover .reveal {
        visibility: visible;
        opacity: 1;
        position: relative;
        width: 100%;
        background-color: #ebeae9;
        color: black;
    }

    .reveal p {
        line-height: 125%;
        font-size: 1.2rem;
        text-align: left;
        padding-top: 1rem;
    }
}

.choices-card img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.session-control {
    gap: 1rem;
}

#prevsession, #nextsession {
    background-color: #2a5171;
    padding: 10px;
    border-radius: 50%;
    color: #fff;
}

.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.viewer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.viewer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

    .viewer-content img {
        max-width: 80vw;
        max-height: 50vh;
        border: 2px solid #fff;
        border-radius: 8px;
    }

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}
