@charset "utf-8";
/* CSS Elevation Group v1.2.0 */

/* Google Fonts */
.anek-latin-<uniquifier> {
  font-family: "Anek Latin", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
.lora-<uniquifier> {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

/* Main styles */
html body {
	height: 100%;
	margin: 0;
	overflow-x: hidden;
}
body {
	background-color: #BBC3CC;
	font-family: "Lora", Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";		
}
.main-container {
	max-width: 1380px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	background: url("../images/BKG_Color.png") no-repeat top center/cover;
	text-align: center;
	color: #fff;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Anek Latin", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 800;
}
.yellow-bar {
	color: #e7a162;
}
header {
	background-color: rgba(71, 117, 149, 0.8);
	font-family: "Anek Latin", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 500;
	margin: 0;
	min-height: 3.2rem;
	display: grid;
	grid-template-columns: 13rem 1fr 13rem;
	align-items: center;
	padding: 0.5rem 2rem 0.5rem 0;
	border-bottom: solid 2px #BBC3CC;
	position: sticky;
	top: 0;
	z-index: 10;
}
.header-col {
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo {
	width: 13rem;
	height: auto;
	margin-left: 1rem;
	filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.3));
}
.nav-menu {
	text-decoration: none;
	color: #fff;
	transition: color 0.2s;
	text-transform: uppercase;
}
.nav-menu li {
	list-style: none;
	display: inline;
	padding: 2rem;
}
.nav-menu li a,
.nav-menu li a:active,
.nav-menu li a:visited {
	text-decoration: none;
	color: #DADADA;
	font-weight: 400;
}
.nav-menu li a:hover {
	text-decoration: underline;
	color: #fff;
	font-weight: 600;
}
main {
	color: #fff;
}
.main-title {
	margin-top: 2rem;
	width: 100%;
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.opener {
	position: absolute;
	top: 7rem;
	left: 8rem;
	color: #000;
	width: 24rem;
	text-align: left;
	font-family: "Lora", Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', 'serif';
	font-style: italic;
}
main.content {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 5rem 2rem 0;
}

/* Array grid */
.brands {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 3rem;
	padding: 3rem 1rem;
}
.diamond-layout {
	display: grid;
	grid-template-columns: repeat(3, 150px);
	grid-template-rows: repeat(3, 150px);
	gap: 2rem;
	justify-content: center;
	align-content: center;
	margin-top: 3rem;
}
.diamond {
	width: 14.143rem;
	height: 14.143rem;
	background: #728087; /* Default grey*/
	transform: rotate(45deg);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: transform 0.3s ease, background 0.3s ease;
	overflow: hidden;
	position: relative;
}
.brand {
	width: 70%;
	transform: rotate(-45deg);
	height: auto;
	transition: opacity 0.2s ease;
	position: absolute;
}
.quadrant .brand {
	width: 85%;
}
.logo-white { opacity: 1; }
.logo-color { opacity: 0; }

.diamond:hover .logo-white { opacity: 0; }
.diamond:hover .logo-color { opacity: 1; }

.diamond-layout .direct   { grid-column: 2; grid-row: 1; }
.diamond-layout .ideas    { grid-column: 1; grid-row: 2; }
.diamond-layout .quadrant { grid-column: 3; grid-row: 2; }
.diamond-layout .hub      { grid-column: 2; grid-row: 3; }

.diamond .brand-content {
	transform: rotate(-45deg);
	font-weight: bold;
	text-align: center;
	line-height: 1.2;
	font-size: 1rem;
}
.site-footer {
	background: #272b2e;
	color: #A1AAAF !important;
	background: linear-gradient(180deg,rgba(39, 43, 46, 1) 0%, rgba(114, 128, 135, 1) 100%);	color: #fff;
	font-family: "Anek Latin", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 500;
	text-align: center;
	margin-top: 1.8rem;
	padding: 1rem 0 1rem 0;
	width: 100%;
	border-top: solid 2px #BBC3CC;
	font-size: 0.9rem;
}

/* Desktop behaviours */
@media (hover:hover) {
	.diamond:hover {
		transform: rotate(45deg) scale(1.1);
		box-shadow: 0 5px 5px 5px rgba(0, 0, 0, 0.2);
	}
	.diamond.direct:hover { background: #a56b3d; }
	.diamond.ideas:hover { background: #1d2b46; }
	.diamond.quadrant:hover { background: #d48c3d; }
	.diamond.hub:hover { background: #2b5f73; }
}

/* Base modals */
.modal {
	display: none;
    align-items: center;
    justify-content: center;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: rgba(0,0,0,0.7);
}
.modal-content {
	padding: 2rem;
	width: 60%;
	max-width: 500px;
	max-height: 500px;
	aspect-ratio: 1 / 1;
	position: relative;
}
.modal-content h2 {
	margin-top: 0;
	display: none;
}
.modal-content a {
	font-family: "Lora", Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', 'serif';
	font-style: italic;
	text-decoration: none; 
	display: inline-block;
	margin-top: 1rem;
	margin: 2rem;
	padding: 0.5rem 1rem;
	color: #f4d4b7;
	float: right;
	transition: color 0.2s;
}
.modal-content a:hover {
	color: #fff;
}
.modal-content.direct {
	color: #2A2A2A;
	background-image: url("../images/direct_bkg.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	color: #fff;
}
.modal-content.ideas {
	color: #EFC096;
	background-image: url("../images/ideas_bkg.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.modal-content.quadrant {
	color: #2A2A2A;
	background-image: url("../images/quadrant_bkg.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.modal-content.hub {
	color: #CDE3E1;
	background-image: url("../images/hub_bkg.svg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
.close {
	position: absolute;
	top: 12px;
	right: 20px;
	font-size: 1.5rem;
	cursor: pointer;
	color: rgba(0,0,0,0);
}
.modalBlock {
	padding: 10rem 6rem 1rem 1.5rem;
}
#modalDesc, #modalSlogan {
	font-family: "Anek Latin", Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-weight: 300;
	font-size: 1.1rem;
	line-height: 1.3rem;
}
#modalSlogan {
	color: #fff !important;
	font-style: italic;
	font-weight: bolder;
	font-size: 1.2rem;
}

/* Mobile array */
@media (max-width: 600px) {
	.main-container {
		width: 100%;
	}
	header {
/*		padding: 0.5rem 2rem 2rem 0; */
		display: flex;
		flex-direction: column;
		overflow: hidden;
		height: 6rem;
		padding-top: 1.5rem;
	}
	.main-title {
		margin: 0 0 -2rem 0;
	}
	main.content {
		margin: 0;
		padding: 0;
		display: block;
	}
	.brands {
		margin-top: 0;
	}
	.diamond-layout {
	  grid-template-columns: 1fr;
	  grid-template-rows: auto;
	  gap: 1.5rem;
	}
	.diamond-layout .diamond {
	  grid-column: auto;
	  grid-row: auto;
	  margin: 0 auto;
	}
	.brands {
		flex-direction: column;
		gap: 1.5rem;
	}
	.diamond {
		transform: none;
        max-width: 300px;
		aspect-ratio: 1 / 1;
	}
	.diamond .brand-content {
        transform: none;
		font-size: 1.2rem;
	}
	.brand {
		transform: none;
	}
	.logo-white { opacity: 0; }
	.logo-color { opacity: 1; }
	.diamond.direct { background: #a56b3d; }
	.diamond.ideas { background: #1d2b46; }
	.diamond.quadrant { background: #d48c3d; }
	.diamond.hub { background: #2b5f73; }
	
	.modal-content {
		padding: 1rem;
		width: 90%;
		height: 90%;
		max-width: 400px;
		max-width: unset;
		max-height: unset;
		aspect-ratio: unset;
		position: relative;
	}
	.modal-content.direct {
		color: #2A2A2A;
		background-image: url("../images/edc_modal-bkg.svg"); /* cambiar a iconos */
		background-repeat: no-repeat; /* ajustar */
		background-position: top; /* verificar */
		background-size: cover;
	}
	.modal-content.ideas {
		color: #EFC096;
		background-image: url("../images/ideas_modal-bkg.svg"); /* cambiar a iconos */
		background-repeat: no-repeat; /* ajustar */
		background-position: top; /* verificar */
		background-size: cover;
	}
	.modal-content.quadrant {
		color: #2A2A2A;
		background-image: url("../images/quadrant_modal-bkg.svg"); /* cambiar a iconos */
		background-repeat: no-repeat; /* ajustar */
		background-position: top; /* verificar */
		background-size: cover;
	}
	.modal-content.hub {
		color: #CDE3E1;
		background-image: url("../images/hub_modal-bkg.svg"); /* cambiar a iconos */
		background-repeat: no-repeat; /* ajustar */
		background-position: top; /* verificar */
		background-size: cover;
	}
	.close {
		position: absolute;
		top: 12px;
		right: 20px;
		font-size: 1.5rem;
		cursor: pointer;
		color: #fff;
	}
}