/* ================================================================================================================== */
/* INLINE VARS */ 
/* ================================================================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {

    --clr-background:           #005669;
    --clr-text:          		#023047;
    
    --clr-primary:              #2496b3;
    --clr-primary-dark:         #0a7c99;
    --clr-primary-text:         #ffffff;
    --clr-secondary:            #ffb703;
    --clr-secondary-dark:       #fb8500;
    --clr-secondary-text:       #023047;
    
    --font-primary:             'Outfit', Arial, sans-serif; 
    --font-secondary:           'Outfit', Arial, sans-serif; 
    --font-base-size:			17px;
    --font-base-weight:			300;
    --font-base-line:			1.3em;
    
    --theme-margin:             12px;
    --theme-margin-lg:          24px;
    --theme-margin-xl:          36px;
    --theme-radius:             10px;
    --theme-radius-lg:          20px;
    
}

@media only screen and (min-width : 992px)
{
    :root {
        --font-base-size:			18px;
		--font-base-weight:			300;
		--font-base-line:			1.4em;
		
        --theme-margin:             24px;
        --theme-margin-lg:          48px;
        --theme-margin-xl:          72px;
        --theme-radius:             20px;
        --theme-radius-lg:          40px;
    }
}

@media only screen and (min-width : 1200px)
{
    :root {
        --font-base-size:			20px;
		--font-base-weight:			300;
		--font-base-line:			1.4em;
		
        --theme-margin:             30px;
        --theme-margin-lg:          60px;
        --theme-margin-xl:          90px;
        --theme-radius:             20px;
        --theme-radius-lg:          40px;
    }
}

/* ================================================================================================================== */
/* BASIC SETTINGS */ 
/* ================================================================================================================== */

html, body 
{ 
    background:     var(--clr-background);    
    color:          var(--clr-text);
    position:       relative;

    font-family:    var(--font-primary);
    font-weight:	var(--font-base-weight);
    font-size:		var(--font-base-size);
    line-height:	var(--font-base-line);
    overflow: visible;
} 

h1 { font-size: 1.8em; line-height: 1.2em; font-weight: 300; font-family: var(--font-secondary); }
h2 { font-size: 1.6em; font-weight: 600; }
h3 { font-size: 1.4em; font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, p { margin-bottom: var(--theme-margin); }

.lead {
    font-size: 1.3em;
    line-height:	var(--font-base-line);
    font-weight:	var(--font-base-weight);
}

@media only screen and (min-width : 1200px)
{
	h1 { font-size: 2.5em; line-height: 1.2em; }
}

b, strong { font-weight: 600; }
h1 b { font-weight: 700; }

a { color: #2496b3;}
a:hover, a:focus { color: #005673; }

.img-radius { border-radius: var(--theme-radius); }

.hideinplainsight { display: none; }
@media only screen and (max-width : 400px) { .hideinplainsight { display: inline; } }

.btn {
	display: inline-block;
	background-color: var(--clr-secondary);
	color: var(--clr-secondary-text) !important;
	padding: calc(var(--theme-margin-lg) * 0.4) calc(var(--theme-margin-lg) * 0.8);
	border-radius: var(--theme-radius);
	text-decoration: none;
	border: 0;
	border-bottom: 5px solid var(--clr-secondary-dark);
	transition: all 0.15s;
	font-weight: 500;
}

.btn:hover {
	background-color: var(--clr-secondary-dark);
	color: var(--clr-secondary-text) !important;
	border-bottom: 5px solid var(--clr-secondary-text);
	transition: all 0.5s;
}

@media only screen and (min-width : 768px) {
	.btn { padding: calc(var(--theme-margin) * 0.4) calc(var(--theme-margin) * 0.8); }	
}



/* ================================================================================================================== */
/* BASIC ELEMENTS */ 
/* ================================================================================================================== */

section {
	overflow: hidden;
	position: relative;
}

.container { 
	display: block;
	max-width: 96%; 
	width: 1640px; 
	margin: 0 auto;
	padding: 0;
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) 
{
	.container { 
		padding: 0 var(--theme-margin);
	}
}

#header {
	color: white;
	overflow: hidden; 
}

.brand-space { padding: var(--theme-margin-lg) 0px; text-align: center; }
.brand-space h1 { margin: var(--theme-margin-lg) 0; }

#content { background-color: #106174; overflow: hidden; }

#footer { overflow: hidden; }

.background { padding: var(--theme-margin-lg); }
.background *:last-child, .col *:last-child { margin-bottom: 0; }
.background-header { padding: 0; background-color: #2496B3; color: white; overflow: hidden;  border-top-left-radius: var(--theme-radius-lg); border-top-right-radius: var(--theme-radius-lg); }
.background-content { background-color: white; color: #002D3E; overflow: hidden; }
.even .background-content { background-color: #efefef; color: #002D3E; overflow: hidden; }

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

	.background-header { padding: 0; }
	.brand-space { margin: 20px 80px;}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

	.background { padding: var(--theme-margin-xl); }
	.background-header { padding: 0; }
	.brand-space { margin: 20px 150px;}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	.brand-space { margin: 20px 250px;}
}


/* ================================================================================================================== */
/* GRIDMAKER */ 
/* ================================================================================================================== */

.gridmaker {
	display: grid;
	gap: var(--theme-margin-lg);
	align-items: center;
}

@media only screen and (min-width : 769px) 
{
	.gridmaker.autotune {
		justify-content: stretch;
		align-content: center;
		justify-items: stretch;
		grid-auto-flow: column;
	}
	
	.gridmaker.grid2x2 { grid-template-columns: 1fr 1fr; gap: var(--theme-margin); }
	.even .gridmaker.grid3x2 { grid-template-columns: 2fr 5fr; }
	.odd .gridmaker.grid3x2 { grid-template-columns: 5fr 2fr; }
	.odd .gridmaker.grid3x2 .col-img { order: 2; }
}

@media only screen and (min-width : 992px) 
{
	.even .gridmaker.grid3x2 { grid-template-columns: 2fr 3fr; }
	.odd .gridmaker.grid3x2 { grid-template-columns: 3fr 2fr; }
}

@media only screen and (min-width : 1200px) 
{
	.even .gridmaker.grid3x2 { grid-template-columns: 2fr 4fr; }
	.odd .gridmaker.grid3x2 { grid-template-columns: 4fr 2fr; }
}


/* ================================================================================================================== */
/* HOME CTAs */
/* ================================================================================================================== */

.herosection 			{ display: grid; }
.herosection a 			{ color: white; }
.herosection a:hover 	{ color: #efefef; }

.herosection .textwrapper {
	padding: var(--theme-margin-lg);
	order: 2;
}

@media only screen and (min-width : 992px) 
{
	.herosection {
		display: grid;
		grid-template-columns: auto min(40%, 600px);
		flex-wrap: nowrap;
		align-items: center;
        justify-content: space-between;
	}

	.herosection .textwrapper {
		order: 1;
		height: 100%;
		padding: var(--theme-margin-xl);
	}
	
	.herosection .imagewrapper {
		order: 2;
		height: 100%;
		min-height: 100%;
	}
	
	.herosection .imagewrapper img {
		object-fit: cover;
		height: 100%;
		min-height: 100%;
	}
}

/* ================================================================================================================== */
/* FOOTER ROW */ 
/* ================================================================================================================== */

#footer .row {
	display: grid;
	align-items: center;
	gap: var(--theme-margin-lg);
}

.background-footer { background-color: #2496B3; color: white; overflow: hidden; border-bottom-left-radius: var(--theme-radius-lg); border-bottom-right-radius: var(--theme-radius-lg);  }

.background-footer h3 {
	margin: 0 0 20px 0;
	font-size: 2.2em;
	line-height: 1.1em;
}

.background-footer p {
	font-size: 1.3em;
	line-height: 1.2em;
	margin-bottom: 0;
}

.between-footer { 
    overflow: hidden;
    color: #5998AB;
    text-align: center;
    padding: calc(var(--theme-margin) * 0.3) 0 0 0;
}

.extra-footer { 
    overflow: hidden;
    padding: 0 0 var(--theme-margin) 0; 
    color: #5998AB;
    text-align: center;
}

.extra-footer p { 
    color: #5998AB;
    font-size: 1.3em;
    line-height: 1.3em;
    margin: 10px 0;
}

.between-footer a, .extra-footer a { color: #5998AB; }
.between-footer a:hover, .extra-footer a:hover { color: #2496B3; }

@media only screen and (min-width : 769px) 
{
	#footer .row { grid-template-columns: 1fr 1fr; }
	#footer .gridmaker .col-txt p { text-wrap: balance; }
		
	.col-left {
		text-align: left;
	}
	
	.col-right {
		text-align: right;
	}
	
    .ctcgrid .textwrapper p { text-wrap: balance; }
}

/* ================================================================================================================== */
/* COLLECTIONS */
/* ================================================================================================================== */

.collection {
	display: grid;
	gap: var(--theme-margin-lg);
}

.colItemWrapper { 
	border: 1px solid var(--clr-primary);
	border-radius: 10px;
	overflow: hidden;
}

.colItemWrapper img {
	border-bottom: 1px solid var(--clr-primary);
}

.colItemWrapper .textwrapper {
	padding: var(--theme-margin);
}

.colItemWrapper .textwrapper p {
	margin: 0;
}

.colItemWrapper .textwrapper p.title {
	font-weight: bold;
	color: #000;
}

.colItemWrapper .textwrapper p.descr {
	margin-bottom: 10px;
	color: #000;
}

.colItemWrapper .textwrapper p.price {
	font-size: 0.9em;
	line-height: 1.3em;
}

@media only screen and (min-width : 992px)
{
	.collection { grid-template-columns: 1fr 1fr 1fr;  }
}
