/**
 * ----------------------------------------------------------------------------------------
 * MAIN CSS
 * @package orca_flex
 *
 *
 * TABLE OF CONTENTS
 * ----------------------------------------------------------------------------------------
 * VARS
 * HTML/BODY
 * ELEMENTS
 * TYPOGRAPHY
 * LINKS
 * BUTTONS
 * PAGINATION
 * ----------------------------------------------------------------------------------------
 */


/**
 * ----------------------------------------------------------------------------------------
 * VARS
 * ----------------------------------------------------------------------------------------
 */

:root {
	--white: #FEFEFE;
	--black: #1A1A1A;
	--dark-grey: #353535;
	--light-grey: #858585;
	--primary: #C2CCB9;
	--secondary: #7C8276;
	--green: #017D03;

	/* @link https://utopia.fyi/type/calculator?c=320,18,1.125,1920,28,1.333,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l */
	--font-xxs: clamp(0.99rem, calc(0.87rem + 0.10vw), 0.89rem);
	--font-xs: clamp(1.13rem, calc(0.94rem + 0.31vw), 1.00rem);
	--font: clamp(1.22rem, calc(1.00rem + 0.63vw), 1.75rem);
	--font-sm: clamp(1.27rem, calc(1.05rem + 1.07vw), 2.33rem);
	--font-md: clamp(1.42rem, calc(1.09rem + 1.69vw), 3.11rem);
	--font-lg: clamp(1.60rem, calc(1.09rem + 2.54vw), 4.14rem);
	--font-xl: clamp(1.80rem, calc(1.06rem + 3.72vw), 5.53rem);
	--font-xxl: clamp(2.03rem, calc(0.96rem + 5.34vw), 7.37rem);
}

/**
 * ----------------------------------------------------------------------------------------
 * HTML/BODY
 * ----------------------------------------------------------------------------------------
 */

html,
body {
	height: auto;
	min-height: 100vh;
}
body {
	display: flex;
	flex-direction: column;
	font-family: 'Lexend', sans-serif;
	font-style: normal;
	line-height: 1.5;
	font-weight: 400;
	position: relative;
}
.main-content {
	flex: 1 0 auto;
}
:focus {
	outline: none;
}

/**
 * ----------------------------------------------------------------------------------------
 * COLOURS
 * ----------------------------------------------------------------------------------------
 */

.green-bg {
	background: var(--green);
}
.white-text {
	color: var(--white);
}
.black-text {
	color: var(--black);
}
.green-text {
    color: var(--green);
}

/**
 * ----------------------------------------------------------------------------------------
 * ELEMENTS
 * ----------------------------------------------------------------------------------------
 */

section {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}
section,
.container,
.container-fluid {
	position: relative;
	word-wrap: break-word;
}
.card-wrapper,
.item-wrapper {
	overflow: hidden;
}
.card-wrapper {
	-webkit-flex: 1;
}
.card-img {
	width: auto;
}
.card {
	background-color: transparent;
	border: none;
}
.card-box {
	width: 100%;
}
.card-img {
	text-align: center;
	flex-shrink: 0;
	-webkit-flex-shrink: 0;
}
.card-img img {
	width: 100%;
}
.overlay {
	bottom: 0;
	left: 0;
	opacity: 0.5;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
	pointer-events: none;
	background-color: rgba(0,0,0,0.4);
}
.bg-fixed {
	background-attachment: fixed;
}

@media (hover: hover) {
	.bg-fixed {
		background-attachment: fixed;
	}
}
@media (hover: none) {
	.bg-fixed {
		background-attachment: scroll;
	}
}
@media (min-width: 992px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.row {
		margin-left: -16px;
		margin-right: -16px;
	}
	.row > [class*=col] {
		padding-left: 16px;
		padding-right: 16px;
	}
}
@media (min-width: 768px) {
	.container-fluid {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/**
 * ----------------------------------------------------------------------------------------
 * TYPOGRAPHY
 * ----------------------------------------------------------------------------------------
 */

.font-1 {
	font-size: var(--font-xxl);
}
.font-2 {
	font-size: var(--font-xl);
	font-weight: 600;
	line-height: 1;
}
.font-3 {
	font-size: var(--font-lg);
}
.font-4 {
	font-size: var(--font-md);
	font-weight: 400;
	line-height: 1.1;
}
.font-5 {
	font-size: var(--font-sm);
	font-weight: 400;
	line-height: 1.15;
}
.font-6 {
	font-size: var(--font);
	font-weight: 300;
	line-height: 1.1;
}
.font-7,
p {
	font-size: var(--font-xs);
	font-weight: 300;
	line-height: 1.3;
}
.font-8 {
	font-size: var(--font-xxs);
	font-weight: 300;
	line-height: 1.4;
}

/**
 * ----------------------------------------------------------------------------------------
 * LINKS
 * ----------------------------------------------------------------------------------------
 */

a,
a:is(:focus, :hover) {
	font-style: normal;
	cursor: pointer;
	transition: 0.6s;
    color: var(--green);
	text-decoration: none;
}
a:is(:focus, :hover) {
	color: var(--green);
	opacity: .6;
}

/**
 * ----------------------------------------------------------------------------------------
 * BUTTONS
 * ----------------------------------------------------------------------------------------
 */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	margin: 0.6rem 0.6rem;
	padding: 1rem 2.6rem;
	white-space: normal;
	word-break: break-word;
    background-color: var(--green);
    color: var(--white);
	border: none;
	border-radius: .6rem;
	transition: all 0.3s;
	box-shadow: 0 0 20px 0 rgb(0 0 0 / 40%);
}
.btn:focus,
.btn:hover {
	box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);
}
.section-btn {
	margin-left: -0.6rem;
	margin-right: -0.6rem;
	font-size: 0;
}

/**
 * ----------------------------------------------------------------------------------------
 * PAGINATION
 * ----------------------------------------------------------------------------------------
 */

.pagination .page-link,
.pagination .page-link.dots {
    color: var(--primary);
}
.pagination .page-link,
.page-item.active .page-link,
.pagination .page-link.dots {
    padding: 7px 14px;
    font-size: 1.6rem;
}
.page-item.active .page-link {
    background-color: var(--primary);
    color: var(--black);
    border-color: var(--primary);
}
.pagination .page-link.dots,
.page-link:hover,
.page-link:focus {
    background-color: var(--white);
    box-shadow: none;
}

@media (max-width: 767px) {
    .pagination .page-link,
    .page-item.active .page-link,
    .pagination .page-link.dots {
        padding: 5px 10px;
        font-size: 1.4rem;
    }
}
