/*************************************
 * HEADER, NAVIGATION AND HERO STYLES
 * **********************************/

/* =========================================
   NAVBAR
========================================= */

.main-navbar {
    height: var(--navbar-height);
}

.main-navbar.hidden {
	height: 0;
	visibility: none;
	opacity: 0;
	pointer-events: none;
}

.nav-item {list-style-type: none;}


/************************
 * HERO
 * *********************/

/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    margin-top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    position: relative;
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}


/* =========================================
   OVERLAY TEXT
========================================= */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - var(--caption-height));
    z-index: 2;
}

.hero-text {
    max-width: 100%;
}


/* =========================================
   CAPTION BAR
========================================= */

.hero-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: var(--caption-height);
    background: var(--bg);
	border-bottom: 1px dotted var(--theme);
    z-index: 3;
}



/************************************
 * BREAKPOINTS
 * *********************************/

@media screen and (max-width: 991px) {
	#mainNav {
		position: absolute;
		width: 100%;
		margin-right:0 ;
		padding: 0;
		background-color: var(--theme);
		margin-left: -14px;
		margin-top: 350px;
	}
}

@media screen and (max-width: 768px) {
	   .hero-text h1 {font-size: 2.5rem;}
}