/*
  Theme Name: Sweat440
  Theme URI: https://sweat440.com/
  Version: 1.0.0
  Template: Divi
  Author: Sweat440
  Author URI: https://sweat440.com/
  Description: Divi Child Theme customized for sweat440.com
  Text Domain: sweat440
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================
GLOBAL VARIABLES
======================================== */

:root {
	/* Branded colors */
	--color-primary: #0084b5;       	/* blue backgrounds, H1 H2 titles on white */
	--color-secondary: #00a0df;     	/* light blue for secondary backgrounds and gradients */
	--color-accent: #00ffc2;			/* green accent for arrows and highlights */
	--color-cta: #d9ff00;        		/* yellow button background color */
	
	/* Text colors */
	--color-text-default: #333333;     	/* body text, H3 to H5 */
	--color-text-light: #ffffff;       	/* text on dark backgrounds */
	--color-text-dark: #000000;     	/* button text default */
	
	/* Background colors */
	--color-bg-light: #ffffff;       	/* white background */
	--color-bg-dark: #000000;     		/* black background */

	/* Typography */
	--font-primary: 'Prohibition - Regular', sans-serif;
	--font-secondary: 'ALS Hauss - Regular', sans-serif;
}

/* ========================================
TYPOGRAPHY
======================================== */

/* H1 headings */
#s440-hero__title h1,
.et_pb_text h1 {
	font-family: var(--font-primary);
	color: var(--color-text-light);
	font-size: clamp(40px, 5.83vw, 70px); /* scaling down from 1200px */
}

/* H2 headings */
.s440-hero__subtitle h2,
.et_pb_text h2 {
	font-family: var(--font-primary);
	color: var(--color-primary);
	font-size: clamp(30px, 3.33vw, 40px); /* scaling down from 1200px */
}

/* H3 headings */
.et_pb_text h3 {
	font-family: var(--font-secondary);
	color: var(--color-text-default);
	font-weight: 600;
	font-size: clamp(28px, 3vw, 36px); /* scaling down from 1200px */
}

/* H4 headings */
.et_pb_text h4 {
	font-family: var(--font-secondary);
	color: var(--color-text-default);
	font-size: clamp(22px, 2.33vw, 28px); /* scaling down from 1200px */
}

/* H5 headings */
.et_pb_text h5 {
	font-family: var(--font-secondary);
	color: var(--color-text-default);
	font-size: clamp(22px, 2.33vw, 28px); /* scaling down from 1200px */ 
}

/* Paragraph text */
.et_pb_text p {
	font-family: var(--font-secondary);
	font-size: 16px;
	line-height: 1.5em;
}

/* Lists */
.et_pb_text ul {
	font-family: var(--font-secondary);
	color: var(--color-text-default);
	font-size: 16px;
	line-height: 1.5em;
}

/* ========================================
BUTTONS
======================================== */
.s440-cta-button {
	border: none;
	padding: 10px 30px;
	background: var(--color-cta);
	border-radius: 50px;
	font-family: var(--font-secondary);
	color: var(--color-text-dark);
	text-transform: uppercase;
	font-weight: 400;
	font-size: 18px;
	cursor: pointer;
}
.s440-cta-button:hover {
	background-color: var(--color-primary);
	color: var(--color-text-light);
}
.s440-cta-button--alternative {
	border: none;
	padding: 10px 30px;
	background: var(--color-cta);
	border-radius: 50px;
	font-family: var(--font-secondary);
	color: var(--color-text-dark);
	text-transform: uppercase;
	font-weight: 400;
	font-size: 18px;
	cursor: pointer;
}
.s440-cta-button--alternative:hover {
	background-color: var(--color-bg-light);
	color: var(--color-text-dark);
}

/* ========================================
MARINATEK IFRAMES
======================================== */
.iframe-wrapper {
	position: relative;
	width: 100%; 
	margin: 20px 0;
}
.iframe-wrapper iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* ========================================
MODALS OVERWRITE
======================================== */
.modal {
	display: none;
	position: fixed;
	z-index: 100000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
	padding-top: 60px;
}
.modal-content {
	background-color: #000;
	margin: 5% auto;
	padding: 20px;
	border: 0px solid #888;
	border-radius: 10px;
	width: 80%;
	align-items: center;
	justify-content: center;
}
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: white;
	text-decoration: none;
	cursor: pointer;
}
.select-button-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0);
	cursor: pointer;
}

/* Media query for desktop/laptop screens */
@media (min-width: 768px) {
	.modal-content {
		width: 650px;
	}
	.select-button-container {
		flex-direction: row;
		justify-content: space-between;
	} 
	#goButton {
		margin: 10px;
	}
}

/* ========================================
DIVI OVERWRITES - Hide reCAPTCHA
======================================== */
div#et-boc {
	overflow: hidden !important;
}
