﻿.gallery {
    padding: 5rem;
    margin-top: 4rem;
}

.gallery h2 {
    font-weight: 500;
    color: #07173d;
}

@media (max-width: 768px) {
    .gallery h2 {
        font-size: 3em;
    }
}



@media (min-width: 1700px) {
    .gallery h2 {
        font-size: 70px !important;
    }
}

@media (min-width: 992px) {
    .gallery h2 {
        font-size: 7rem;
    }
}

@media(max-width:991px) {
    .gallery {
        padding: 2rem;
        margin-top: 6rem;
    }
}

.gallery img {
    border-radius: 20px;
    width: 100%;
}

    .custom-btn {
        display: inline-block;
        margin-left: 2rem;
        padding: 0.5rem 1rem;
        border: 2px solid #007bff;
        color: #007bff;
        font-weight: 700;
        text-decoration: none;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .custom-btn:hover {
            background-color: #007bff;
            color: #fff;
        }

    .gallery-title {
        text-align: center;
        font-size: 2.5rem;
        margin-top: 1rem;
        font-weight: bold;
    }

    .gallery-subtitle {
        text-align: center;
        font-size: 1.25rem;
        color: #555;
        margin-bottom: 0.5rem;
    }

    .gallery-session {
        text-align: center;
        font-size: 1rem;
        color: #888;
        margin-bottom: 2rem;
    }

    .gallery-container {
        padding-top: 2rem;
    }

    .gallery-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .gallery-col {
        width: 100%;
    }

    .custom-card-columns {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }


    .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;
        }

        .modal-content {
            max-width: 100% !important;
        }

        .modal-body {
            height: 40rem;
        }

            .modal-body img {
                height: 100%;
                object-fit: contain;
            }

        .choices {
            padding-top: 2rem;
        }

        .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: 4;
        }

        .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: 0;
            orphans: 1;
            widows: 1;
        }

        .gallery-container {
            margin: 4rem;
        }

        .gallery h1 {
            font-size: 50px;
        }

        .choices {
            padding: 2rem;
        }

        .choices-card {
            width: 25vw;
            height: 17vw;
            background-color: black;
            border-radius: 30px;
            margin-bottom: 2rem;
            cursor: pointer;
        }
    }

    @media (min-width: 1200px) {
        .card-columns {
            column-count: 5;
        }
    }

    @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;
    }