/* fact-nl.css */

/* Custom Properties */
:root {
	--color-primary: #072348;
	--color-secondary: #5A807F;
	--color-tertiary: #C39235;
	--color-dark: #4a6160;
	--color-light: #dfecec;
	--color-white: #ffffff;
	--color-text: #333333;
	
	--bs-primary: #072348;
	--bs-primary-rgb: 7,35,72;
	--bs-secondary: #5A807F;
	--bs-secondary-rgb: 90,128,127;
	--bs-tertiary: #C39235;
	--bs-tertiary-rgb: 195,146,53;
	--bs-dark: #4a6160;
	--bs-dark-rgb: 74,97,96;
	--bs-light: #dfecec;
	--bs-light-rgb: 223,236,236;
	

	--font-body: owners, Helvetica, sans-serif;
	--font-heading: owners, Helvetica, sans-serif;

	--content-width: 1200px;
	--spacing-section: 4rem;
}

.btn-primary {
	--bs-btn-bg: var(--color-primary);
	--bs-btn-border-color: var(--color-primary);
	--bs-btn-hover-bg: hsl(from var(--color-primary) h s calc(l + 10));
}

.btn-secondary {
	--bs-btn-bg: var(--color-secondary);
	--bs-btn-border-color: var(--color-secondary);
	--bs-btn-hover-bg: hsl(from var(--color-secondary) h s calc(l + 10));
}

/* === Reset =================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 18px;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-white);
	letter-spacing: 2px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary);
}

h1,h2,h3,h4,h5,h6 {
	font-family: var(--font-heading);
}

/* === Typography ============= */
h1 {
	font-weight: 600;
	font-size: clamp(2.5rem, 4.5vw, 5rem);
}

h2 {
	font-weight: 600;
	font-size: clamp(2rem, 3.5vw, 4rem);
}

h3 {
	font-weight: 600;
	font-size: clamp(1.75rem, 2.25vw, 3.25rem);
}

h4 {
	font-weight: 600;
	font-size: clamp(1.25rem, 1.5vw, 2.25rem); 
}

strong {font-weight: bold;}


/* === Buttons ================= */
.btn {
	text-transform: uppercase;
	font-weight: bold;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* === Navigation ============== */ 


.navbar .container {
	padding: 0;	
}

#navbar-logo {
	max-width: 250px;
	margin: 0;
}

/* === Sections ================ */


.hero-buttons {
	.btn {
		margin: 0.25rem; 
	}
}

.hero-light {
	color: var(--color-dark);
}




#MainHero {
	background-image:
		linear-gradient(
			rgba(255, 255, 255, 0.80),
			rgba(255, 255, 255, 0.80)
		),
		url("../assets/images/landscapes/madrock.jpg");
}

.hero {
	min-height: 650px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
}



#UpdatesAndNews {
	background-image:url("../assets/images/backgrounds/newfoundland-01.png");
	background-position: bottom right;
	background-size: cover;
}

.section-primary {
	background: var(--color-primary);
	color: var(--color-white);
	
	a {
		color: var(--color-light);
		
		&:hover {
			text-decoration: none;
			color: var(--color-tertiary);
		}
	}
	
}

.section-light {
	background: var(--color-light);
}

/* === Helpers =================== */
.text-light {
	color: var(--color-light);
}

/* === Lists ===================== */

dl.dl-qa {
	dt {
		font-size: 1.25rem;
	}
	
	dd {
		margin-bottom: 1rem;
	}
}


/* === Custom Elements =========== */
.icon-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	icon {
		width: 75px;
		height: 75px;
		border-radius: 50%;
		margin: 1rem auto;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 35px;
		letter-spacing: 0;
	}
	
	.icon-primary {
		background-color: var(--color-primary);
		border: 3px solid hsl(from var(--color-primary) h s calc(l - 3));
		color: var(--color-white);
	}
	.icon-secondary {
		background-color: var(--color-secondary);
		border: 3px solid hsl(from var(--color-secondary) h s calc(l - 3));
		color: var(--color-white);
	}
	.icon-tertiary {
		background-color: var(--color-tertiary);
		border: 3px solid hsl(from var(--color-tertiary) h s calc(l - 3));
		color: var(--color-white);
	}
	
	p {
		text-align: center;
	}
	
}

.dropzone {
	min-height: 100px;
}

footer {
	background: var(--color-dark);
	min-height: 200px;
	
	p {
		color: var(--color-white);
		font-size: 14px;
	}
}

/* === Form Controls ================ */
input.form-control,
textarea.form-control,
button {
	letter-spacing: 2px;
} 

/* Embellishments =================== */
.line-break {
	position: relative;
	// padding-bottom: 0.75rem;
	// margin-bottom: 0.75rem;
	&:after {
		content: "";
		position: absolute;
		// bottom: -15px;
		bottom: 0;
		left: 0;
		width: 35%;
		min-width: 150px;
		height: 3px;
		background-image:  linear-gradient(90deg, rgba(90, 128, 127, 1) 0%, rgba(90, 128, 127, 1) 22%, rgba(230, 235, 234, 0) 22%, rgba(230, 235, 234, 0) 25%, rgba(230, 235, 234, 1) 25%, rgba(230, 235, 234, 1) 100%);
		transition: all 0.3s ease-out;
	}
}

/* Updates ================== */
.update-category {
	text-transform: uppercase;
	font-weight: bold;
	color: var(--color-secondary);
}

.update-time {
	font-weight: bold;
	color: #898989;
}

h4.update-title {
	a {
		text-decoration: none !important;
	}
}

.update-subtitle {
	font-weight: bold;
	color: var(--color-secondary);
}

.update-article-link-text {
	font-weight: bold;	
}

.update-card-wrapper {
	display: block;
	text-decoration: none;
	transition: all ease-in-out 0.5s;
	padding: 0.25rem;
	border-radius: 4px;
}

.update-card-wrapper:hover {
		background: #F2F7F7;
}