/*
Theme Name: BrandGuys
Author: BrandGuys
Author URI: https://brandguys.se/
Text Domain: brandguys
*/

:root {
	--font-family-1: "neuzeit-grotesk", helvetica, arial, sans-serif;
	
	--size-base: 20px;
	--size-xxs: calc( var(--size-base) / 1.62 / 1.62 / 1.62 );
	--size-xs: calc( var(--size-base) / 1.62 / 1.62 );
	--size-s: calc( var(--size-base) / 1.62 );
	--size-m: calc( var(--size-base) );
	--size-l: calc( var(--size-base) * 1.62 );
	--size-xl: calc( var(--size-base) * 1.62 * 1.62 );
	--size-xxl: calc( var(--size-base) * 1.62 * 1.62 * 1.62 );
	--size-xxxl: calc( var(--size-base) * 1.62 * 1.62 * 1.62 * 1.62 );
	
	--inner: calc( var(--size-xxl) * 10 );
	--inner-narrow: calc( (var(--size-xxl) * 10) - (var(--size-m) * 10) );
	--inner-wide: calc( (var(--size-xxl) * 10) + (var(--size-m) * 10) );
	
	--color-dark: #000;
	--color-light: #fff;
	--color-main: #00a2ff;
	--color-secondary: #f6e71d;
	--color-grey: #eaeaea;
	
	--gradient-main: linear-gradient(15deg, #0052cc, #00a2ff, #70b7ff);
	--gradient-light: linear-gradient(to bottom, #ffffff, #f5f5f5);
	--gradient-dark: linear-gradient(to bottom, #333, #000);
	
}

/* elements */
html, body{
	margin: 0;
	padding: 0;
	font-family: var(--font-family-1);
	font-size: var(--size-m);
	line-height: 1.4;
}
body{
	padding-top: 51px;
}
*{
	font-family: var(--font-family-1);
	line-height: 1.4;
}

a{
	color: var(--color-main);
	text-decoration: none;
}
h1{
	font-size: var(--size-xxl);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.025em;
}
h2{
	font-size: var(--size-xl);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.025em;
}
h3, h4{
	font-size: var(--size-l);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.025em;
}
h5{
	font-size: var(--size-m);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.025em;
}
h1 span, h2 span, h3 span, h4 span, h5 span{
	line-height: 1;
}

hr{
	border: none;
	border: 2px solid var(--color-grey);
	margin: var(--size-xl) 0;
}

label{
	width: 100%;
	display: block;
}
input{
	font-size: var(--size-m);
	padding: var(--size-xs) var(--size-s);
	border: 1px solid var(--color-grey);
	border-radius: 7px;
}
input[type="checkbox"],
input[type="radio"]{
	transform: scale(1.6);
}
label input[type="checkbox"],
label input[type="radio"]{
	position: relative;
	top: -2px;
	margin-right: var(--size-xs);
}

.inner{
	width: 90%;
	max-width: var(--inner);
	position: relative;
	display: block;
	margin: 0 auto;
}
.inner-wide{
	max-width: var(--inner-wide);	
}
button,
.btn{
	border: none;
	border-radius: 100px;
	background: var(--gradient-main);
	color: #fff;
	padding: var(--size-s) var(--size-l);
	font-size: var(--size-m);
	font-weight: bold;
	display: inline-block;
	margin-top: var(--size-m);
	line-height: 1.62;
}
.btn-big{
	padding: var(--size-m) var(--size-xl);
	font-size: var(--size-l);	
}
.btn-smal{
	padding: var(--size-s) var(--size-l);
	font-size: var(--size-s);	
}
.btn svg{
	transform: scale(1);
	margin-right: 5px;
	fill: #fff;
	position: relative;
	top: 5px;
}
.btn-big svg{
	transform: scale(1.6);
	margin-right: var(--size-s);
	fill: #fff;
	top: 0;
}
mark{
	background: var(--color-secondary);
	display: inline;
}
.flex{
	display: flex;
	flex-direction: row;
}
.flex > *{
	width: 50%;
	padding: var(--size-l) var(--size-xxxl);
}

#container{
	padding-bottom: var(--size-xxl);
	max-width: 100%;
	overflow: hidden;
}
.subpage{
	max-width: var(--inner-narrow);	
}

/* modules */
.fullscreen{
	width: 100%;
	min-height: calc(100vh - 63px);
	background: no-repeat center center;
	background-size: cover;
	text-align: center;
}
.fullscreen .inner{
	
}
.fullscreen h1{
	margin-top: 0;
	margin-bottom: 0;
	padding-top: var(--size-l);
}

.bigvideo{
	padding-bottom: var(--size-xxl);
	text-transform: capitalize;
}
.bigvideo h1{
	padding-top: 0;
}
.bigvideo h1,
.bigvideo h1 span{
	line-height: 0.9;
}
.bigvideo h3{
	font-weight: normal;
	margin-top: var(--size-s);
	padding: 0 var(--size-xxl);
	line-height: 1.2;
}
.bigvideo .highlighted{
	margin-bottom: var(--size-m);
	margin-top: var(--size-xl);
}
.bigvid{
	width: 100%;
	aspect-ratio: 16 / 9;
	background: black;
	position: relative;
}
.bigvid:before{
	content: '';
	position: absolute;
	top: -5%;
	left: calc(0px - 125px - var(--size-l));
	height: 100%;
	width: 125px;
	background: url('img/arrows-ls.png') no-repeat top center;
	background-size: contain;
}
.bigvid:after{
	content: '';
	position: absolute;
	top: -5%;
	right: calc(0px - 125px - var(--size-l));
	height: 100%;
	width: 125px;
	background: url('img/arrows-rs.png') no-repeat top center;
	background-size: contain;
}
.bigvid iframe{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: none;
	width: 100%;
	height: 100%;
}
.bigvid + .btn{
	margin-top: var(--size-m);
}
.bigvid + p{
	text-transform: none;
}

#stars svg{
	transform: scale(2);
	fill: var(--color-main);
	margin: 0 var(--size-s);
}
.review{
	width: 300px;
	max-width: 90%;
	background: #fff;
	display: inline-block;
	padding: var(--size-m);
	vertical-align: top;
	margin: var(--size-xxl) var(--size-s) 0 var(--size-s);
	border-radius: 8px;
}
.review h4{
	margin-top: var(--size-l);
	margin-bottom: var(--size-l);
}
.review-img{
	width: 62%;
	aspect-ratio: 1 / 1;
	background: no-repeat center center var(--color-dark);
	background-size: cover;
	margin: -29% auto 0 auto;
	border-radius: 4px;
}
.review-quote{
	text-align: left;
}
.review-quoter{
	text-align: right;
	font-size: var(--size-s);
	font-weight: bold;
	text-transform: uppercase;
}

.accordion{
	border: 2px solid var(--color-grey);
	border-radius: 8px;
}
.accordion + .accordion{
	margin-top: var(--size-xs);
}
.accordion-question{
	padding: var(--size-m);
	background: var(--gradient-light);
	border-radius: 8px 8px 0 0;
}
.accordion-answer{
	padding: var(--size-m);
}
.accordion h5{
	margin: 0;
}
.accordion-answer > *:first-child{
	margin-top: 0;
}
.accordion-answer > *:last-child{
	margin-bottom: 0;
}

/* header */
#header{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: auto;
	width: 100%;
	background: var(--gradient-light);
	display: block;
	
	z-index: 200;
	text-align: center;
}
#header,
#header *{
	line-height: 1;
}
#logo{
	position: relative;
	display: inline-block;
	padding: var(--size-xs) 0;
}
#logo img{
	height: var(--size-l);
	width: auto;
	position: relative;
	top: 4px;
}
#menu{
	display: none;
}
#menu > ul{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	margin-left: auto;
	margin-right: var(--size-s);
	list-style: none;
	padding: var(--size-s) 0;
}
#menu ul li a{
	padding: var(--size-s) var(--size-s);
	color: var(--color-dark);
	display: block;
}
#menu > ul > li:last-child a{
	color: var(--color-main);
}
#menu-btn{
	width: var(--size-l);
	height: 18px;
	position: absolute;
	top: 3px;
	right: var(--size-m);
	padding: var(--size-s);
	display: block;
}
#menu-btn:before{
	content: '';
	width: calc(100% - var(--size-s) - var(--size-s));
	height: 5px;
	background: var(--color-dark);
	display: block;
	position: absolute;
	top: var(--size-s);
	left: var(--size-s);
}
#menu-btn:after{
	content: '';
	width: calc(100% - var(--size-s) - var(--size-s));
	height: 5px;
	background: var(--color-dark);
	display: block;
	position: absolute;
	bottom: var(--size-s);
	left: var(--size-s);
}


@media only screen and (max-width: 860px) {
	
	h1{
		font-size: var(--size-xl);
	}
	h2{
		font-size: var(--size-l);
	}
	h3, h4{
		font-size: var(--size-m);
	}
	h5{
		font-size: var(--size-m);
	}
	
	.flex{
		flex-direction: column;
	}
	.flex > * {
		width: calc(100% - var(--size-l) - var(--size-l));
		padding: var(--size-l) var(--size-l);
	}
	
	#header{
		display: block;
		text-align: left;
	}
	#logo{
		margin: 0;
		line-height: 1;
		display: inline-block;
		margin: var(--size-xs) var(--size-s) var(--size-xs) var(--size-s);
		padding: 0;
	}
	#logo img{
		top: 4px;
	}
	#menu-btn{
		display: block;
		right: var(--size-xs);
	}
	#menu{
		position: relative;
		width: 100%;
		display: none;
	}
	#menu > ul{
		flex-direction: column;
		margin: 0;
		padding: var(--size-m) 0;
	}
	#menu ul li a{
		padding: var(--size-s) 0;
		display: block;
	}
	
	.bigvideo h3{
		padding: 0 var(--size-m);
	}
	.bigvideo .highlighted{
		margin-bottom: var(--size-m);
		margin-top: var(--size-l);
	}
	
}