/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Bold.woff2') format('woff2'),
	  url('../fonts/Raleway-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.woff2') format('woff2'),
	  url('../fonts/Raleway-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Thin.woff2') format('woff2'),
	  url('../fonts/Raleway-Thin.woff') format('woff');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}



:root {
	--white: #ffffff;
	--black: #000000;
	--blue: #194060;
	--grey: #B4B4B4;
	--green: #36B093;
	--site-padding: 50px;
}

html {
	font-size: 10px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: var(--white);
	color: var(--black);
	font-size: 1.4rem;
	font-family: 'Raleway';
}

main {
	margin: 0 auto;
	padding: 0 50px;
	max-width: 1438px;
}

header .col.hide-desktop,
.hide-desktop {
	display: none;
}

header {
	align-items: center;
	border-bottom: 1px solid var(--blue);
	border-top: 1px solid var(--blue);
	display: flex;
	justify-content: space-between;
	padding: 20px 50px;
	margin: 30px 0 25px 0;
	font-size: 1.4rem;
	line-height: 20px;
}
header .col {
	display: flex;
}
header .col:first-child div:first-child {
	border-right: 1px solid var(--black);
	margin: 0 20px 0 0;
	padding: 0 20px 0 0;
}
.col.logos {
	align-items: flex-end;
}
#logo {
	margin: 0 0 -6px 0;
	width: 250px;
}
#logo-exactas {
	margin: 0 0 2px 0;
	width: 210px;
}
header p {
	margin: 0;
	max-width: 233px;
}
header svg {
	margin: 0 0 0 5px;
	width: 10px;
}

#hero {
	color: var(--white);
	height: 70dvh;
	max-height: 645px;
	line-height: 30px;
	font-size: 2.4rem;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	margin: 0 0 20px 0;
}
#hero div {
	max-width: 700px;
	position: relative;
	z-index: 1;
}
#hero h1 {
	font-size: 6.4rem;
	line-height: 64px;
	margin: 0 0 10px 0;
}
#hero video {
	object-fit: cover;
	object-position: center;
	position: absolute;
	height: 101%;
	width: 101%;
}

footer {
	border-bottom: 1px solid var(--grey);
	border-top: 1px solid var(--grey);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 40px;
	margin: 0 0 50px 0;
}
footer .col {
	display: flex;
	gap: 0;
}
footer .col:first-child {
	font-size: 1.6rem;
	line-height: 20px;
}
footer a {
	display: flex;
	align-items: center;
	padding: 5px 20px 5px 10px;
	text-decoration: none;
	color: var(--black);
	gap: 10px;
	height: 50px;
	position: relative;
}
footer a p {
	transition: .2s ease;
}
footer .col:first-child a {
	border-left: 1px solid var(--grey);
}
footer a .bold {
	font-weight: bold;
	position: absolute;
	right: 20px;
	letter-spacing: -.3px;
	transition: .2s ease;
	opacity: 0;
}
footer a .bold.hide-mobile {
	right: inherit;
	left: 20px;
}
footer a:hover p {
	opacity: 0;
}
footer a:hover .bold {
	opacity: 1;
/*	background: rgba(0,0,0,.02);*/
}
footer .col:first-child div:first-child a {
	border: none;
	padding-left: 0;
}
footer .col img {
	width: 35px;
}
footer .col:last-child {
	align-items: center;
}
footer .col:last-child a {
	padding: 5px 20px 7px 20px;
	height: 48px;
}
footer .col:last-child a:after {
	content: '';
	display: block;
	height: 30px;
	background: var(--grey);
	position: absolute;
	left: 0;
	width: 1px;
}
footer .instagram {
	margin-top: -3px;
}
footer .youtube {
	margin-top: -1px;
}

.copy {
	text-align: center;
	margin: 0 10px 20px 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--grey);
	border-top: 1px solid var(--grey);
}

.popup {
	display: none;
	position: fixed;
	inset: 0;
	backdrop-filter: blur(10px);
	background: rgba(0,0,0,0.8);
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
.popup-content {
	position: relative;
	width: 90%;
	max-width: 1000px;
	aspect-ratio: 16 / 9;
	background: #000;
}
.popup-content iframe {
	width: 100%;
	height: 100%;
}
.popup .close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}

@media(max-width:1250px) {

	main {
		padding: 0 20px;
	}
	header {
		padding: 20px 20px;
	}
	footer .col:first-child {
		font-size: 1.3rem;
		line-height: 16px;
	}
	footer {
		padding: 0 10px;
	}
	footer a {
		padding: 5px 10px 5px 5px;
		gap: 5px;
	}
	footer .col:last-child a {
		padding: 5px 10px 7px 10px;
	}
	footer .col img {
		width: 30px;
	}
	footer a .bold {
		right: 10px;
		letter-spacing: -.3px;
		transition: .2s ease;
		opacity: 0;
	}
	footer a .bold.hide-mobile {
		right: inherit;
		left: 10px;
	}

}

@media(max-width:870px) {

	header .col.hide-mobile,
	.hide-mobile {
		display: none;
	}
	header .col.hide-desktop,
	.hide-desktop {
		display: block;
	}
	main {
		padding: 0;
	}
	header {
		margin-left: 20px;
		margin-right: 20px;
		padding-bottom: 10px;
		padding-top: 10px;
		justify-content: center;
	}
	#logo {
		width: 140px;
	}
	#logo-exactas {
		width: 120px
	}
	#hero {
		color: var(--blue);
		height: auto;
		max-height: inherit;
		line-height: 23px;
		font-size: 1.7rem;
		text-align: center;
		display: block;
		position: relative;
		margin: 0 0 20px 0;
	}
	#hero div {
		max-width: inherit;
	}
	#hero h1 {
		color: var(--green);
		font-weight: bold;
		font-size: 3.2rem;
		line-height: 32px;
	}
	#hero video {
		position: relative;
		margin: 20px 0;
		width: 100%;
	}
	#hero p {
		max-width: 335px;
		margin: 0 auto 20px auto;
	}
	#hero p:last-child {
		max-width: 250px;
	}

	footer {
		border-bottom: none;
		border-top: none;
		display: block;
		padding: 0 20px;
		margin: 0 0 10px 0;
	}
	footer .col {
		display: block;
	}
	footer .col div:first-child {
		border-top: 1px solid var(--blue);
	}
	footer .col div {
		border-top: 1px solid var(--grey);
	}
	footer .col:first-child div:last-child {
		border-bottom: 1px solid var(--grey);	
	}
	footer a {
		border-top: none;
		padding: 20px 0;
		margin: 0 auto;
		width: 250px;
		font-size: 1.8rem;
		margin: 0 auto;
	}
	footer a:hover p {
		opacity: 1;
	}
	footer a .bold {
		display: none;
	}
	footer a p {
		width: 100%;
	}
	footer .col:first-child a {
		border-left: none;
		height: 40px;
	}
	footer .col:last-child {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	footer .col:last-child div {
		border-top: none;
	}
	footer .col:last-child a:after {
		display: none;
	}
	footer .col img {
		width: 80px;
	}
	footer .col:first-child {
		font-size: 1.6rem;
		line-height: 20px;
	}
	footer .col:last-child {
		padding: 40px 0;
	}
	footer .col:last-child div:first-child {
		width: 100%;
	}
	footer .col:last-child div:first-child a {
		font-weight: bold;
		justify-content: center;
	}
	footer .col:last-child a {
		width: 40px;
	}
	footer .col:last-child div:first-child a {
		text-align: center;
		width: auto;
	}

}