.bi {
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    fill: currentcolor
}

.close-btn-line1::before {
    content: ''; /* Required for any pseudo-element to render. */
    position: absolute; /* Positioned relative to .circle-hover-arrow */
    top: -43px;
    left: -11px;
    width: 130%;
    height: 1000%;

    /* This is our semi-transparent circle */
    background-color: rgba(0, 123, 255, 0.15);
    border-radius: 50%;

    /* --- This is the key to the animation --- */
    /* By default, the circle is invisible and scaled down to zero. */
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth the change */
    rotate: 55deg;
}

.close-btn:hover .close-btn-line1::before {
    /* ...the ::before pseudo-element scales up to its full size and becomes visible. */
    transform: scale(1);
    opacity: 1;
}

.grid-item {
    flex: 1 1 150px;
    text-align: center;
    background-color: var(--color3);
    box-shadow: 0px 0px 1px 1px black;
    color: white;
    border-radius: 15px;
    padding: 10px;
    font-size: 1.5rem;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    /* gap: 10px; */
    /* padding-left: 15px; */
}

.gallery-container h2 {
    text-align: center;
    font-family: 'Droid Sans', sans-serif;
    font-weight: bold;
}

.gallery-container p.page-description {
    text-align: center;
    max-width: 800px;
    margin: 25px auto;
    color: #888;
    font-size: 18px;
}

.gallery {
    /* padding: 40px; */
    display: none;
}

.gallery .lightbox {
    width: 250px;
    height: 250px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.gallery .lightbox:hover {
    transform: scale(1.025);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    cursor: pointer;
}

.gallery img {
    border-radius: 4px;
}

.baguetteBox-button {
    background-color: transparent !important;
}

@media(max-width: 768px) {
    body {
        padding: 0;
    }
    .gallery-container {
        border-radius: 0;
    }
}

.current {
    display: block;
}

.box {
    z-index: 9999999;
    width: 300px;
    height: 300px;
    margin-top: 14%;
    margin-left: 34%;
    filter: blur(0px);
}

.arrow {
    z-index: 9999999;
    position: absolute;
    border-width: 0 11px 11px 0;
    display: inline-block;
    padding: 15px;
    width: 100px;
    height: 100px;
}

.right-arrow {
    position: absolute;
    border: solid black;
    border-width: 0 11px 11px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    width: 100px;
    height: 100px;
    cursor: pointer;
    top: 350%;
    left: 1250%;
}

.left-arrow {
    position: absolute;
    border: solid black;
    border-width: 0 11px 11px 0;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    width: 100px;
    height: 100px;
    cursor: pointer;
    top: 350%;
    left: -100%;
}


/** Wrapper **********************/

.carousel {
    /* position: absolute; */ /* might breaks things later*/
    max-width: 50%;
    top: 48%;
    left: 35%;
    transform: translate(-50%, -50%);
    max-height: auto;
}


/** Previous/next buttons ********/

.previous,
.next {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    position: absolute;
    top: calc(50% - 16px);
    cursor: pointer;
    font-size: 32px;
    border: 0;
    background: none;
}

.previous::before,
.next::before {
    content: ''; /* Required for any pseudo-element to render. */
    position: absolute; /* Positioned relative to .circle-hover-arrow */
    top: -16px;
    left: -14px;
    width: 250%;
    height: 500%;

    /* This is our semi-transparent circle */
    background-color: rgba(0, 123, 255, 0.15);
    border-radius: 50%;

    /* --- This is the key to the animation --- */
    /* By default, the circle is invisible and scaled down to zero. */
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth the change */
}

.previous:hover::before,
.next:hover::before {
    /* ...the ::before pseudo-element scales up to its full size and becomes visible. */
    transform: scale(1);
    opacity: 1;
}

.previous {
    left: -10%;
}

.next {
    right: -60%;
}


/** Slides track ***************/

.slides {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    width: 150%;
    overflow: hidden;
}


/** Individual slides ***********/

.slide {
    flex: 0 0 calc(100% - 10px);
    margin: 0 5px;
    padding: 20px;
    height: var(--carousel-height);
    position: relative;
    align-items: center;
    padding-bottom: 56.25%;
    font-size: 18px;
    line-height: 26px;
    max-width: 80vw;
    max-height: 80vh;
}

.slide a {
    color: black;
    font-weight: bold;
}

.slide img {
    height: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slide iframe,
.slide video {
    width: 100% !important;
    height: 75vh !important;
    position: relative;
}


/** Slide dots ******************/

.navigation {
    position: absolute;
    left: 25%;
    bottom: -5.5%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.navigation li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 100px;
    background-color: var(--text-color);
    opacity: .2;
    cursor: pointer;
}


/** Active slide dot */

.navigation li.active {
    opacity: 1;
    width: 15px;
    height: 15px;
}

.card-img-top {
    width: auto;
    height: auto;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

@media (min-width: 992px) {
    .bd-layout {
        display: grid;
        grid-template-areas: "sidebar main";
        grid-template-columns: 1fr 5fr;
        gap: 1.5rem
    }
}

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}