@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* GLOBAL STYLES
-------------------------------------------------- */
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 80px; /* Height of navbar */
    background: #272833;
    color: rgba(255, 255, 255, 0.75);
    font-family: "Roboto", Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.75em;
}

::selection {
    background-color: var(--bs-primary);
}

a {
    text-decoration: none;
}

footer {
    margin-top: auto;
    background-color: var(--bs-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    margin-top: 3rem;
}


/* NAVBAR STYLES
-------------------------------------------------- */
.navbar {
    height: 80px;
    padding: 15px;
    background-color: var(--bs-dark);
}


.dropdown-item:active, .dropdown-item:hover {
    background-color: var(--bs-primary);
    color: #FFFFFF;
}

@media (max-width: 767.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 80px; /* Height of navbar */
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: var(--bs-dark);
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }

        .offcanvas-collapse.open {
            visibility: visible;
            transform: translateX(-100%);
        }
}


/* GLOBAL STYLES
-------------------------------------------------- */

.section-break {
    height: 0.5em;
    background-color: var(--bs-primary);
    margin: 2em 0;
}

#toTOP {
    position: fixed;
    height: 50px;
    width: 50px;
    bottom: 10px;
    right: 10px;
    z-index: 1010;
    padding: 5px 9px;
    font-size: 2rem;
    color: #FFF;
    background-color: var(--bs-primary);
    border-radius: 5px;
}

.footer-legal p {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1rem;
    color: rgba(255,255,255, 0.5);
}

.showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 10px solid var(--bs-primary);
}

    .showcase-carousel {
        width: 100%;
        height: 60vh;
        min-height: 450px;
        object-fit: cover;
    }

    .showcase .logo {
        z-index: 1020;
        position: absolute;
        width: 100%;
        height: 60vh;
        object-fit: scale-down;
        padding: 3rem;
        opacity: 0.75;
    }

/* Index Cards
-------------------------------------------------- */
.index-wrapper {
    margin: 3rem 1.5rem 3rem 1.5rem;
}

.index-card {
    position: relative;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 1rem;
}

    .index-card img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        transition: all ease 0.5s;
    }

    .index-card:hover img {
        transform: scale(1.1);
        transform-origin: center;
    }

    .index-card .overlay {
        display: flex;
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.25);
    }

    .index-card .title {
        margin: 0 auto;
        width: 100%;
        font-size: 2rem;
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
        align-self: center;
        color: #FFF;
        background-color: rgba(var(--bs-primary-rgb), 0.75);
        padding: 1.5rem;
    }


/* Page Media
-------------------------------------------------- */
.page {
    margin: 3rem 0;
}

.page-media {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border: 3px solid var(--bs-primary);
    border-radius: 1rem;
}

.page-video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border: 3px solid var(--bs-primary);
    border-radius: 1rem;
}

#page-map {
    height: 440px;
    width: 100%;
    border: 3px solid var(--bs-primary);
    border-radius: 1rem;
}

.jumbotron-map {
    width: 100%;
    height: 450px;
    border-top: 10px solid var(--bs-primary);
}


.carousel-img {
    width: 100%;
    display: block;
}

/* Lightbox Gallery
-------------------------------------------------- */
.lightbox-card {
    position: relative;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 1rem;
}

    .lightbox-card img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        transition: all ease 0.5s;
    }

    .lightbox-card:hover img {
        transform: scale(1.1);
        transform-origin: center;
    }

    .lightbox-card .title {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        color: #FFF;
        background-color: rgba(var(--bs-primary-rgb), 0.75);
        padding: 0.5rem;
    }

.lightbox {
    display: none;
    position: fixed;
    z-index: 1020;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* A bit of padding around image */
    padding: 1em;
    /* Translucent background */
    background: rgba(0, 0, 0, 0.8);
    transition: all ease 1s;
}

    /* Unhide the lightbox when it's the target */
    .lightbox:target {
        display: block;
        width: 100%;
        height: 100%;
        transition: all ease 1s;
    }

    .lightbox span {
        /* Full width and height */
        display: block;
        width: 100%;
        height: 100%;
        /* Size and position background image */
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        transition: all ease 1s;
    }

    .lightbox img {
        display: block;
        width: 100%;
        height: 100%;
        /* Size and position background image */
        transition: all ease 1s;
    }

/* Gallery
-------------------------------------------------- */
/*.gallery {
    position: relative;
    height: auto;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 1rem;
    background-color: var(--bs-dark);
}

       .gallery-slide {
        display: none;
        border-bottom: 10px solid var(--bs-primary);
    }

    .gallery-slide img {
        width: 100%;
    }

.gallery-prev,
.gallery-next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 1rem 1rem 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: var(--bs-primary);
}

    .gallery-next {
        right: 0;
        border-radius: 1rem 0 0 1rem;
    }

    .gallery-prev:hover,
    .gallery-next:hover {
        color: #FFF;
    }

.gallery-thumbnail {
    width: 100%;
    cursor: pointer;
    opacity: 0.5;
    transition: all ease 0.2s;
}
    .active,
    .gallery-thumbnail:hover {
        opacity: 1;
    }*/