/* ------------------------------
background
------------------------------ */
.div-with-bg {
	container-type: inline-size;
	position: relative;
	overflow: hidden;			/* prevents overlay from spilling out */
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: scroll;
	background-color: white;
	width: 100%;
  	aspect-ratio: 2.35 / 1;
	border-bottom: 3px solid transparent;
	border-image: var(--gradient) 1;
	display: flex;
	flex-direction: column;		/* ensure stacked elements */
	justify-content: center;	/* horizontal centering */
	align-items: center;    	/* vertical centering */
	text-align: center;    		/* center the text content inside */
}

.div-with-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	backdrop-filter: saturate(1.5) brightness(0.6) contrast(1.2);
	z-index: 0;
	pointer-events: none;
}

.div-with-bg > * {
	position: relative;
	z-index: 1;
}

.title1, .title2 {
	color: var(--white);
	opacity: 0.9;
	border: none;
	outline: none;
}

.title1, .title1 a, .title1 a:link, .title1 a:visited, .title1 a:hover, .title1 a:active {
	font-size: clamp(1.5rem, 7vw, 5rem);
	text-decoration: underline;
	text-decoration-color: var(--orange);
	text-decoration-thickness: clamp(0.1rem, .6vw, 1rem);
	text-transform: uppercase;
}

.title2, .title2 a, .title2 a:link, .title2 a:visited, .title2 a:hover, .title2 a:active {
	font-size: clamp(1.5rem, 3vw, 5rem);
}

.hero-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
	text-align: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

