/********** Template CSS **********/
/* Desert color palette - overrides Bootstrap to remove any pink */
:root {
    --bs-primary: #80300D;
    --bs-pink: #B45625;
    --desert-sand: #F8D188;
    --desert-tan: #EBAA62;
    --desert-terracotta: #B45625;
    --desert-chocolate: #80300D;
    --desert-espresso: #5D1D01;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-grow,
#spinner .spinner-grow.text-primary,
#spinner .spinner-grow.text-brown {
    color: #80300D !important;
    border-color: #80300D !important;
    --bs-spinner-color: #80300D !important;
}
#spinner .visually-hidden {
    color: #80300D !important;
}

/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-primary {
    color: var(--bs-white);
}

/*** Navbar ***/
.navbar .navbar-logo {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

/* Header: nav merged over banner (single full-screen block) */
.header-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.header-banner #header-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*** Header / Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: transparent;
    z-index: 1;
}

.carousel-caption .btn-outline-primary {
    border-color: #80300D;
    color: #80300D;
}

.carousel-caption .btn-outline-primary:hover {
    background-color: #80300D;
    border-color: #80300D;
    color: #fff;
}

.carousel-caption .btn-primary {
    background-color: #80300D;
    border-color: #80300D;
    color: #fff;
}

.carousel-caption .btn-primary:hover {
    background-color: #5D1D01;
    border-color: #5D1D01;
    color: #fff;
}

#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    height: 100%;
    position: relative;
}

#header-carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 100vh;
    }
}

/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-center {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
    text-align: center;
}

.title .title-center h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-center h5::before,
.title .title-center h5::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-center h1 {
    border-bottom: 1px solid var(--bs-white);
}
