
@font-face {
    font-family: "Clarity City Next";
    src: url("../data/fnt/claritycity-regular.woff");
}
@font-face {
    font-family: "Clarity City Next";
    src: url("../data/fnt/claritycity-regularitalic.woff");
	font-style: italic;
}
@font-face {
    font-family: "Clarity City Next";
    src: url("../data/fnt/claritycity-bold.woff");
	font-weight: bold;
}
@font-face {
    font-family: "Clarity City Next";
    src: url("../data/fnt/claritycity-bolditalic.woff");
	font-weight: bold;
	font-style: italic;
}


:root {
	--white: #ffffff;
	--accent1: #22a1db;
	--accent2: #8CD7F7;
	--accent3: #CEE5F0;
	--accent4: #024E73;
	--accent5: #BAE18E;
	--accent6: #79C318;
	--accent7: #F4F4F4;
	--accent8: #D8DBDB;
	--accent9: #565A5C;
	--red: #da594a;
	--black: #2C2E2E;
	--widthpadding: 2rem 10%;
	--dropshadow: drop-shadow(0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0.5rem;
    background: var(black);
}
::-webkit-scrollbar-track {
    background: var(--accent2);
}
::-webkit-scrollbar-thumb {
    background: var(--accent2);
}
* {
  scrollbar-color: var(--accent2) var(black);
  scrollbar-width: thin;
}


html,
body {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
	font-family: "Clarity City Next", sans-serif;
	font-weight: 300;
	scroll-behavior: smooth;

	color: var(--accent4);
	background-color: var(--white);

	background-image: url(../data/img/bg-pattern.png);
	background-attachment: scroll;
	background-repeat: repeat;
	background-position: 0px 0px;
	background-size: auto;

}
h1,
h2,
h3,
h4,
h5 {
	font-weight: bold;
	color: var(--accent1);
	text-align: center;
}

strong {
	font-weight: bold;
}

a,
a:visited {
	color: var(--accent1);
}
a:hover,
a:active,
a:focus {
	text-decoration: none;
	color: var(--accent1);
}

header {
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: transparent;

	background-color: var(--accent1);
	display: flex;
	justify-content: flex-end;
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transition: all 0.25s ease;
	height: 4rem;
}
header[data-scrolling-on-scroll="true"] {
	height: 4rem;
}
h1 {
	margin: 0;
	width: min-content;
	position: fixed;
	top: 70vh;
	left: 10%;
	transform-origin: 0 50%;
	scale: 4;
	transition: all 1s ease;
	top: 1rem;
	scale: 1;
}
h1 img {
	height: 2rem;
}
header nav {
	margin-top: 0.75rem;
	margin-right: 10%;
	width: 2rem;
	height: 2rem;
	cursor: pointer;
	position: relative;
	transition: none;

}
header nav ul {
	position: absolute;
	top: 2rem;
	right: 0;
	margin: 0;
	list-style: none;
	padding: 0;
	opacity: 0;
	pointer-events: none;
	transition: all 0.25s ease;
	background: var(--white);
	width: max-content;
	filter: var(--dropshadow);
}
header nav input.submenu-opener,
header nav .submenu-image {
	display: none;
}
header nav input.menu-opener {
	opacity: 0;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
  cursor: pointer;
  display: none;
}
header nav .menu-image {
	background-image: url(../data/img/icon-menu.webp);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 900;

	filter: var(--dropshadow);
}

header nav input.menu-opener:checked ~ .menu-image {
	background-image: url(../data/img/icon-menu-close.webp);
}

header[data-scrolling-on-scroll="true"] nav input.menu-opener:checked ~ .menu-image {
	background-image: url(../data/img/icon-menu-close-white.webp);
}
header nav input.menu-opener:checked ~ ul,
header nav:hover > ul,
header nav:active > ul,
header nav:focus > ul,
header nav:focus-within > ul,
header nav ul li:hover > ul,
header nav ul li:active > ul,
header nav ul li:focus > ul,
header nav ul li:focus-within > ul  {
	opacity: 1;
	pointer-events: all;
	transition: all 0.25s ease 0.25s; 
}
header nav ul li {
	text-align: right;
	position: relative;
}
header nav ul li a,
header nav ul li a:visited {
	padding: 1rem 1rem;
	display: inline-block;
	width: 100%;

	background: var(--accent1);
	color: var(--white);

	text-decoration: none;

	transition: background 0.25s ease;
}
header nav ul li a:hover,
header nav ul li a:active,
header nav ul li a:focus {
	background: var(--accent4);
}

header nav ul li ul {
	position: absolute;
	padding: 0;
	right: calc(100% + 0.0rem);
	top: 0;

	pointer-events: none;
	opacity: 0;
	transition: all 0.25s ease;
}
header nav ul li ul:after {
	content: "";
	position: absolute;
	left: 100%;
	top: 0;
	height: 3rem;
	width: 0.1rem;
	background: var(--white);
}

header nav ul li ul li a,
header nav ul li ul li a:visited {
	padding: 1rem 1rem;
	display: inline-block;
	width: 100%;

	background: var(--white);
	color: var(--accent1);

	text-decoration: none;

	transition: background 0.25s ease;
}

header nav ul li ul li a:hover,
header nav ul li ul li a:active,
header nav ul li ul li a:focus {
	background: var(--accent1);
	color: var(--white);
}
header nav ul li a:hover ~ ul,
header nav ul li input.submenu-opener:checked ~ ul,
header nav ul li a:focus ~ ul,
header nav ul li:focus-within li ul,
header nav ul li:focus-within,
header nav ul li:focus-within ul {
	opacity: 1;
	pointer-events: all;
	transition: all 0.25s ease;
} 
article {
	padding: var(--widthpadding);
}
article.full-screen {
	width: 100%;
	height: 100vh;
	padding: 1rem;
	overflow: hidden;
  	position: relative;
}
article.main-1 {
	text-align: center;
	font-size: 1.5rem;
}
article.main-3 {
	text-align: center;
	font-size: 1.5rem;
}
.top-banner {
	background-size: cover;
	background-position: center center;
	background-attachment: scroll;
}
article.cta-contacts {
	background: var(--accent3);
	display: flex;
	gap: 2rem;
}
article.maps {
	background: var(--white);
	display: flex;
	flex-direction: row;
	padding: var(--widthpadding);
}
.map {
	width: 50%;
	aspect-ratio: 4/3;
	background-size: cover;
	background-position: center center;
	position: relative;
  }
  .map address {
	font-style: normal;
	text-align: left;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	background: var(--white);
	width: max-content;
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	filter: var(--dropshadow);
  }
  .map address h2,
  .map address p {
	text-align: left;
	margin: 0 0 0.5rem 0;
  }
.top-video-video {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: 120%;
}
.top-video-text,
.top-banner-text {
	position: absolute;
	bottom: 1rem;
	left: 10%;
	translate: 0;
	font-size: 3rem;
	width: 60%;
	text-align: left;
	font-weight: bold;
	color: var(--white);
	text-shadow: 0px 0.125rem 0.25rem rgba(0,0,0,0.5);
  }
  .alert-phone-call {
	font-size: 0.75rem;
	display: block;
  }
.columns {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	justify-content: center;
}
.columns .column {
	width: 100%;
	padding: 1rem;
	background: #Ffffff;
	box-shadow: 0rem 0.5rem #f4f4f4, 0rem 0.5rem 0.5rem rgba(0,0,0,0.25);

	opacity: 0;
	translate: 0 1rem;
	transition: all 0.5s ease;

	border-radius: 0.5rem;

	overflow: hidden;
}

.columns-1 .column {
	width: calc(100% / 3 * 2 - 1rem);
}
.columns-3 .column {
	width: calc(100% / 3 - 1rem);
}
.columns-4 .column,
.columns-4 .card {
	width: calc(100% / 4 - 1rem);
}
.columns-5 .column {
	width: calc(100% / 5 - 1rem);
}
.columns-6 .column,
.columns-6 .card {
	width: calc(100% / 6 - 1rem);
}

.columns-3 .column img {
	width: 30%;
	width: auto;
	height: 8rem;
}
.columns-4 .column img {
	width: 40%;
	width: auto;
	height: 8rem;
}
.columns-5 .column img {
	width: 50%;
	width: auto;
	height: 8rem;
}
article.main-3 .column {
	font-size: 1rem;
}
article.functions .column {
	text-align: center;
}

.team {
    padding: 2rem calc((100% - 1650px) / 2 + 4rem);
}
.team .columns .card {
	text-align: center;
	opacity: 1;
	perspective: 500px;
	padding: 0;
	filter: var(--dropshadow);
}
.team .columns .card .face {
	padding: 0;
	background: var(--white);
	color: var(--accent4);
	text-align: center;
	backface-visibility: hidden;
	transform: rotateY(180deg);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.columns .card img {
	width: 100%;
}
.columns .card .card-details {
	padding: 1rem 0.5rem;
	height: 6rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.columns .card h3,
.columns .card p {
	margin: 0 auto 0.5rem 0;
	text-align: center;
	widtH: 100%;
}
.columns .card p {
	font-size: 0.8rem;
}

.team .columns .card .back {
	position: absolute;
	background-color: var(--accent1);
	backface-visibility: hidden;
	transform: rotateY(0deg);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
	background-image: url(../data/img/logo.svg);
	background-size: 50%;
	background-position: center center;
	background-repeat: no-repeat;
}
.team .columns .card:nth-child(1) .face,
.team .columns .card:nth-child(1) .back,
.team .columns .card:nth-child(7) .face,
.team .columns .card:nth-child(7) .back,
.team .columns .card:nth-child(13) .face,
.team .columns .card:nth-child(13) .back,
.team .columns .card:nth-child(19) .face,
.team .columns .card:nth-child(19) .back,
.team .columns .card:nth-child(25) .face,
.team .columns .card:nth-child(25) .back,
.team .columns .card:nth-child(31) .face,
.team .columns .card:nth-child(31) .back,
.team .columns .card:nth-child(37) .face,
.team .columns .card:nth-child(37) .back {
	transition-delay: 0s;
}
.team .columns .card:nth-child(2) .face,
.team .columns .card:nth-child(2) .back,
.team .columns .card:nth-child(8) .face,
.team .columns .card:nth-child(8) .back,
.team .columns .card:nth-child(14) .face,
.team .columns .card:nth-child(14) .back,
.team .columns .card:nth-child(20) .face,
.team .columns .card:nth-child(20) .back,
.team .columns .card:nth-child(26) .face,
.team .columns .card:nth-child(26) .back,
.team .columns .card:nth-child(32) .face,
.team .columns .card:nth-child(32) .back,
.team .columns .card:nth-child(38) .face,
.team .columns .card:nth-child(38) .back {
	transition-delay: 0.5s;
}
.team .columns .card:nth-child(3) .face,
.team .columns .card:nth-child(3) .back,
.team .columns .card:nth-child(9) .face,
.team .columns .card:nth-child(9) .back,
.team .columns .card:nth-child(15) .face,
.team .columns .card:nth-child(15) .back,
.team .columns .card:nth-child(21) .face,
.team .columns .card:nth-child(21) .back,
.team .columns .card:nth-child(27) .face,
.team .columns .card:nth-child(27) .back,
.team .columns .card:nth-child(33) .face,
.team .columns .card:nth-child(33) .back,
.team .columns .card:nth-child(39) .face,
.team .columns .card:nth-child(39) .back {
	transition-delay: 1s;
}
.team .columns .card:nth-child(4) .face,
.team .columns .card:nth-child(4) .back,
.team .columns .card:nth-child(10) .face,
.team .columns .card:nth-child(10) .back,
.team .columns .card:nth-child(16) .face,
.team .columns .card:nth-child(16) .back,
.team .columns .card:nth-child(22) .face,
.team .columns .card:nth-child(22) .back,
.team .columns .card:nth-child(28) .face,
.team .columns .card:nth-child(28) .back,
.team .columns .card:nth-child(34) .face,
.team .columns .card:nth-child(34) .back,
.team .columns .card:nth-child(40) .face,
.team .columns .card:nth-child(40) .back {
	transition-delay: 1.5s;
}
.team .columns .card:nth-child(5) .face,
.team .columns .card:nth-child(5) .back,
.team .columns .card:nth-child(11) .face,
.team .columns .card:nth-child(11) .back,
.team .columns .card:nth-child(17) .face,
.team .columns .card:nth-child(17) .back,
.team .columns .card:nth-child(23) .face,
.team .columns .card:nth-child(23) .back,
.team .columns .card:nth-child(29) .face,
.team .columns .card:nth-child(29) .back,
.team .columns .card:nth-child(35) .face,
.team .columns .card:nth-child(35) .back,
.team .columns .card:nth-child(41) .face,
.team .columns .card:nth-child(41) .back {
	transition-delay: 2s;
}
.team .columns .card:nth-child(6) .face,
.team .columns .card:nth-child(6) .back,
.team .columns .card:nth-child(12) .face,
.team .columns .card:nth-child(12) .back,
.team .columns .card:nth-child(18) .face,
.team .columns .card:nth-child(18) .back,
.team .columns .card:nth-child(24) .face,
.team .columns .card:nth-child(24) .back,
.team .columns .card:nth-child(30) .face,
.team .columns .card:nth-child(30) .back,
.team .columns .card:nth-child(36) .face,
.team .columns .card:nth-child(36) .back,
.team .columns .card:nth-child(42) .face,
.team .columns .card:nth-child(42) .back {
	transition-delay: 2.5s;
}

.team .columns .card[data-scrolling-on-decimal="-1"] .face,
.team .columns .card[data-scrolling-on-decimal="0"] .face,
.team .columns .card[data-scrolling-on-decimal="1"] .face,
.team .columns .card[data-scrolling-on-decimal="2"] .face,
.team .columns .card[data-scrolling-on-decimal="3"] .face,
.team .columns .card[data-scrolling-on-decimal="4"] .face,
.team .columns .card[data-scrolling-on-decimal="5"] .face {
	transform: rotateY(0deg);
	
}

.team .columns .card[data-scrolling-on-decimal="-1"] .back,
.team .columns .card[data-scrolling-on-decimal="0"] .back,
.team .columns .card[data-scrolling-on-decimal="1"] .back,
.team .columns .card[data-scrolling-on-decimal="2"] .back,
.team .columns .card[data-scrolling-on-decimal="3"] .back,
.team .columns .card[data-scrolling-on-decimal="4"] .back,
.team .columns .card[data-scrolling-on-decimal="5"] .back {
	transform: rotateY(-180deg);
}

article.smaller-functions {
	background: var(--accent1);
	padding: var(--widthpadding);
	color: var(--white);
	font-size: 1.25rem;
}
article.smaller-functions ul {
	list-style: none;
	padding: 0;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	flex: 1 1 0px;
}
.smaller-functions ul li {
	width: calc(100% / 3 - 1rem);
	display: flex;
	padding: 0.5rem 1rem;
	padding: 0.25rem;
	font-size: 1rem;
	/*color: var(--accent4);
	font-weight: bold;*/
	text-align: center;
	align-items: center;
	justify-content: center;

	opacity: 0;
	translate: 0 1rem;
	transition: all 0.5s ease;
  } 
  /*
  .smaller-functions ul li:nth-child(odd) {
	  background-color: var(--accent2);
}

.smaller-functions ul li:nth-child(even) {
	background-color: var(--accent3);
}*/
  article.functions .column[data-scrolling-on-screen="true"],
  article.main-3 .column[data-scrolling-on-screen="true"],
  article.main-1 .column[data-scrolling-on-screen="true"],
  .smaller-functions ul li[data-scrolling-on-screen="true"] {
	  opacity: 1;
	  translate: 0 0rem;
	  
  }
article.main-3 .column:nth-child(1)[data-scrolling-on-screen="true"] {transition-delay: 0.25s;}
article.main-3 .column:nth-child(2)[data-scrolling-on-screen="true"] {transition-delay: 0.5s;}
article.main-3 .column:nth-child(3)[data-scrolling-on-screen="true"] {transition-delay: 0.75s;}
article.main-3 .column:nth-child(4)[data-scrolling-on-screen="true"] {transition-delay: 1s;}

article.functions .column:nth-child(1)[data-scrolling-on-screen="true"] {transition-delay: 0.25s;}
article.functions .column:nth-child(2)[data-scrolling-on-screen="true"] {transition-delay: 0.5s;}
article.functions .column:nth-child(3)[data-scrolling-on-screen="true"] {transition-delay: 0.75s;}
article.functions .column:nth-child(4)[data-scrolling-on-screen="true"] {transition-delay: 1s;}
article.functions .column:nth-child(5)[data-scrolling-on-screen="true"] {transition-delay: 1.25s;}
article.functions .column:nth-child(6)[data-scrolling-on-screen="true"] {transition-delay: 1.5s;}
article.functions .column:nth-child(7)[data-scrolling-on-screen="true"] {transition-delay: 1.75s;}
article.functions .column:nth-child(8)[data-scrolling-on-screen="true"] {transition-delay: 2s;}
article.functions .column:nth-child(9)[data-scrolling-on-screen="true"] {transition-delay: 2.25s;}
article.functions .column:nth-child(10)[data-scrolling-on-screen="true"] {transition-delay: 2.5s;}
article.functions .column:nth-child(11)[data-scrolling-on-screen="true"] {transition-delay: 2.75s;}
article.functions .column:nth-child(12)[data-scrolling-on-screen="true"] {transition-delay: 3s;}


.quotes {
	background: var(--accent1);
	backdrop-filter: blur(4px);
	color: var(--white);
	font-size: 2rem;
	position: relative;
	padding: 0;
	overflow: hidden;
}

.quote-bar {
	display: flex;
	transition: translate 1s ease;
}
.quotes[data-total="2"] .quote-bar {width: 200%;}
.quotes[data-total="3"] .quote-bar {width: 300%;}
.quotes[data-total="4"] .quote-bar {width: 400%;}
.quotes[data-total="5"] .quote-bar {width: 500%;}
.quotes[data-total="6"] .quote-bar {width: 600%;}
.quotes[data-total="7"] .quote-bar {width: 700%;}
.quotes[data-total="8"] .quote-bar {width: 800%;}
.quotes[data-total="9"] .quote-bar {width: 900%;}

.quotes[data-quote="0"] .quote-bar {translate: 0%;}
.quotes[data-quote="1"] .quote-bar {translate: -100vw;}
.quotes[data-quote="2"] .quote-bar {translate: -200vw;}
.quotes[data-quote="3"] .quote-bar {translate: -300vw;}
.quotes[data-quote="4"] .quote-bar {translate: -400vw;}
.quotes[data-quote="5"] .quote-bar {translate: -500vw;}
.quotes[data-quote="6"] .quote-bar {translate: -600vw;}
.quotes[data-quote="7"] .quote-bar {translate: -700vw;}
.quotes[data-quote="8"] .quote-bar {translate: -800vw;}
.quotes[data-quote="9"] .quote-bar {translate: -900vw;}

.quote {
	padding: 2rem 10vw;
  	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.quote blockquote {
	font-style: italic;
}

.quotes-nav {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

.quotes-nav-prev,
.quotes-nav-next {
	width: 50%;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	text-align: left;
	font-size: 2rem;
	color: var(--white);
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
	border-radius: 0;
	border: 0;
	padding: 2rem;
	cursor: pointer;
	transition: all 0.5s ease;
}
.quotes-nav-next {
	left: 50%;
	text-align: right;
}

.quotes-nav-prev:hover {
	background: linear-gradient(90deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
}
.quotes-nav-next:hover {
	background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
}

#contact-us {
  background: var(--accent1);
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  border-radius: 50%;
  padding: 0.5rem;
  width: 4rem;
  height: 4rem;
  box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4),0 0.5rem 0 0 var(--accent4);
}
#contact-us img { 
	width: 100%;
}
#contact-us:hover {
	background: var(--accent2);
	position: fixed;
	bottom: 2.5rem;
	right: 2rem;
	border-radius: 50%;
	padding: 0.5rem;
	width: 4rem;
	height: 4rem;
	translate: 0 0.25rem;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4);
  }

  body > footer {
	background-color: var(--accent4);
	color: var(--white);
	padding: 1rem 10% 3rem 10%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	flex-wrap:wrap;
  }
  body > footer details {
	width: 50%;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	margin-top: 3.5rem;
  }
  body > footer details[open=""] {
	margin-top: 0;
  }
  .copyright {
	width: 100%;
	left: 0;
	text-align: center;
	font-size: 0.75rem;
	padding: 2rem 0 0 0;
  }

  .footer-logo {
	width: 10rem;
	margin-top: 3rem;	
  }
  body > footer aside {
	font-size: 1.5rem;
	font-weight: bold;
  }

article.map {
	background-image: url(../data/img/photos/map.jpg);
	background-size: cover;
	background-attachment: scroll;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 1rem 10%;
	gap: 2rem;
}


article.map section { 
	font-size: 1.5rem;
	background: rgba(255,255,255,0.5);
	backdrop-filter: blur(4px);
	padding: 2rem;
	text-align: left;
	width: calc(100% / 3);
	border-radius: 0.5rem;
}
article.map section h2 { 
	text-align: left;

}

article.map video {
	height: 90vh;
	margin: 5vh 0;
}
article.map .map-spritesheet {
	height: 90vh;
	aspect-ratio: 1/1;
	margin: 5vh 0;
	background-image: url(../data/vid/mapa.webp);
	background-size: calc(12 * 100%) 100%;
	background-position-y: 0px;
	background-position-x: calc(1 * 100%);	
}
article.map .map-spritesheet.map-spritesheet-play {
	animation: 0.5s map-spritesheet-play steps(11, end) both 1s;
}
@keyframes map-spritesheet-play {
	0%		{background-position-x: calc(1 * 100%);	}
	100%	{background-position-x: calc(12 * 100%);	}

}
#contacte-nos {
	background: var(--accent3);
	padding: var(--widthpadding);
	display: flex;
	font-size: 1.5rem;
	gap: 4rem;
  }


#contacte-nos aside {
	width: calc(50% - 2rem);
}
#contacte-nos aside h2 {
	text-align: left;
}
#contacte-nos form {
	width: calc(50% - 2rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
#contacte-nos form h2 {
	text-align: left;
}
#mc-embedded-subscribe-form {
	margin-top: 5.5rem;
}

#mc_embed_signup_scroll {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0;
  }
#contacte-nos aside#form-warning {
	width: 100%;
	text-align: center;
	padding: 1rem;
	background: var(--accent1);
	color: var(--white);
	font-weight: bold;
	border-radius: 0.5rem;
	opacity: 0;
	pointer-events: none;
}
#contacte-nos aside#form-warning[data-status="active"] {
	animation: form-warning 5s ease both 1;
}
#contacte-nos aside.form-alert {
	width: 100%;
	text-align: center;
	padding: 1rem;
	background: var(--red);
	color: var(--white);
	font-weight: bold;
	border-radius: 0.5rem;
	opacity: 0;
	pointer-events: none;
	margin-top: -5rem;
	font-size: 1.25rem;
}
#contacte-nos aside.form-alert[data-status="active"] {
	animation: form-warning 5s ease both 1;
}
@keyframes form-warning {
	0%		{opacity: 0;}
	10%		{opacity: 1;}
	90%		{opacity: 1;}
	100%	{opacity: 0;}
}
#contacte-nos input,
#contacte-nos textarea,
#contacte-nos checkbox {
	border-radius: 0.25rem;
	font-size: 1.5rem;
	padding: 0.5rem 1.5rem;
	border: none;
	color: var(--accent4);
	font-family: "Clarity City Next", sans-serif;
}

#contacte-nos input.form-submit {
	border-radius: 0.25rem;
	background: var(--accent1);
	color: var(--white);
	font-weight: bold;
	cursor: pointer;
	width: max-content;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4),0 0.5rem 0 0 var(--accent4);
}
#contacte-nos input.form-submit[disabled] {
	opacity: 0.5;
	pointer-events: none;
}


#contacte-nos input.form-submit:hover {

	translate: 0 0.25rem;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4);
}

#form-rgpd-text {
	font-size: 1.25rem;
}
summary {
	cursor: pointer;
}
#form-rgpd-text summary {
	font-size: 1rem;
}

#form-rgpd-accept {
	font-size: 1.25rem;
}

article.dates {
	background: var(--accent3);
	padding: 1rem 10%;
}


.timeline-year {
	display: flex;
	flex-direction: row;
	background-position: center top;
	background-size: 100% auto;
	background-repeat-x: no-repeat;
	min-height: 5rem;
}
.timeline-year aside {
	width: 40%;
}
.date-bg-1-start {
	background-image: url(../data/img/timeline-1-start.png);
	padding-top: 6rem;
}
.date-bg-1 {
	background-image: url(../data/img/timeline-1.png);
}
.date-bg-2-start {
	background-image: url(../data/img/timeline-1.png),url(../data/img/timeline-2-start.png);
	padding-top: 6rem;
}
.date-bg-2 {
	background-image: url(../data/img/timeline-1.png),url(../data/img/timeline-2.png);
}
.date-bg-3-start {
	background-image: url(../data/img/timeline-3-start.png);
	background-position: center center;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.date-bg-3 {
	background-image: url(../data/img/timeline-3.png);
}
.date-bg-4-start {
	background-image: url(../data/img/timeline-4-start.png);
	background-position: center center;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.date-bg-5-start {
	background-image: url(../data/img/timeline-5-start.png);
	background-position: center center;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.date-bg-5 {
	background-image: url(../data/img/timeline-5.png);
}
.date-bg-5-end {
	background-image: url(../data/img/timeline-5-end.png);
	background-position: center bottom;
	padding-bottom: 6rem;
}

.dates .date {
	display: block;
	text-align: center;
	margin: 2rem auto 0.5rem auto;
	font-weight: bold;
	font-size: 1.5rem;
	background: var(--accent3);
	width: min-content;
	padding: 0.25rem;
	opacity: 0;
	translate: 0 1rem;
	transition: all 0.5s ease 0s;
}

.date-margin-20 {
	margin-left: 20%;
}
.date-margin-40 {
	margin-left: 40%;
}
.date-margin-60 {
	margin-left: 60%;
}
.dates .event {
	display: block;
	text-align: center;
	margin: 0.5rem 0;
	font-size: 1.25rem;
	border-radius: 0.5rem;
	background: var(--accent3);
	padding: 0.25rem;
	opacity: 0;
	translate: 0 1rem;
	transition: all 0.5s ease 0s;
	width: max-content;
	position: relative;
	left: 50%;
	translate: -50% 1rem;
}

.dates .timeline-year[data-scrolling-on-screen="true"] .date {
	opacity: 1;
	translate: 0 0;
	transition: all 0.5s ease 0.5s;
}
.dates .timeline-year[data-scrolling-on-screen="true"] .event {
	opacity: 1;
	translate: -50% 0;
	transition: all 0.5s ease 1s;
}
.cta {

	background-image: url(../data/img/photos/map.jpg);
	background-size: cover;
	background-attachment: scroll;
	padding: 5rem  15%;
}
.cta p {
	font-size: 1.5rem;
	text-align: center;
	font-weight: bold;
	width: 50%;
	margin: 2rem auto 0 auto;
	color: var(--accent4);
}

.cta-button,
.cta-button:visited {
	color: var(--white);
	font-size: 2rem;
	margin: 2rem auto;
	padding: 1rem 2rem;
	display: block;
	text-decoration: none;
	border: none;
	border-radius: 0.25rem;
	background: var(--accent1);
	font-weight: bold;
	cursor: pointer;
	width: max-content;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4),0 0.5rem 0 0 var(--accent4);
}

.cta-button:hover,
.cta-button:focus,
.cta-button:active {
	color: var(--white);

	translate: 0 0.25rem;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4);
}

.link-button,
.link-button:visited {
	color: var(--white);
	font-size: 1.5rem;
	margin: 1rem auto 0 auto;
	padding: 1rem 2rem;
	display: block;
	text-decoration: none;
	border: none;
	border-radius: 0.25rem;
	background: var(--accent1);
	font-weight: bold;
	cursor: pointer;
	width: auto;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4),0 0.5rem 0 0 var(--accent4);
}

.link-button:hover,
.link-button:focus,
.link-button:active {
	color: var(--white);

	translate: 0 0.25rem;
	box-shadow: 0 0.125rem 0 0 var(--accent4),0 0.25rem 0 0 var(--accent4);
}

.robots-bg {
	background-image:  url(../data/img/photos/label-01.webp), url(../data/img/photos/label-bg.webp);
	background-size: cover, 512px 512px;
	background-position: center center, center 0px;
	background-repeat: no-repeat, repeat;
	background-attachment: scroll, scroll;
	animation: robots-bg 60s linear infinite;
}

@keyframes robots-bg {
	from	{background-position: center center, center 0px;}
	to 		{background-position: center center, center 512px;}
}

img#scroll-down-alert {
    position: fixed;
    z-index: 10000;
    bottom: 1rem;
    left: calc(50% - 1.5rem);
    width: 3rem;
	filter: var(--dropshadow);
	pointer-events: none;
	transition: opacity 1s ease 3s;
	animation: scroll-down 2s ease infinite 4s;
	opacity: 0;
}
@keyframes scroll-down {
	0%		{translate: 0 0rem;}
	25%		{translate: 0 -2rem;}
	50%		{translate: 0 0rem;}
	100%	{translate: 0 0rem;}
}

img#scroll-down-alert[data-scrolling-on-scroll="false"] {
	opacity: 1;
	animation: scroll-down 2s ease infinite 4s;
}
img#scroll-down-alert[data-scrolling-on-scroll="true"] {
	opacity: 0;
	animation: none;
	transition: opacity 1s ease 0s;
}

.robot-image {
	width: 50%;
}

.interview {
display: flex;
background: var(--accent2);
align-items: center;
justify-content: center;
padding: 2rem;
width: 100%;
flex-direction: column;
}
.interview h2 {
font-size: 2rem;
}
.interview video {
width: 75%;
}

#cookie-bar {
  background: var(--accent4);
  position: fixed;
  padding: 1rem;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  color: var(--white);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}
#cookie-bar p {
  font-size: 0.9rem;
  color: var(--white);
  margin: 0;
}
#cookie-bar a,
#cookie-bar a:visited {
  color: var(--white);
  text-decoration: underline;
}
#cookie-bar a:active,
#cookie-bar a:hover,
#cookie-bar a:focus {
  color: var(--white);
  text-decoration: none;
}
#cookie-bar h2 {
  font-size: 1rem;
  text-align: left;
  color: var(--white);
  margin: 0;
  margin-bottom: 0.5rem;
}
.cookie-button {
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: var(--white);
  color: var(--accent4);
  cursor: pointer;
  margin-top: auto;
  font-size: 1rem;
  width: 8rem;
  min-width: 6rem;
}
#cookie-refuse {
  background: var(--accent3);
  border: var(--accent3);
}

#form-validation-accept {
  height: 0;
  overflow: hidden;
}
#form-validation-accept:focus-within {
  overflow: visible;
  height: auto;
}
@media (orientation: portrait) {
	:root {
		--widthpadding: 1rem;
	}
	
  #cookie-bar { 
    flex-direction: column;
  }
  #cookie-bar h2 {
    text-align: center;
  }
  .cookie-button {
    min-width: 100%;
  }
  #cookie-refuse {
    order: 30;
  }
	.interview {
		padding: 1rem;
	  }
	  .interview video {
		width: 100%;
	  }
	.robot-image {
		width: 100%;
	}
	  header nav {
		margin-right: 1rem;
	  }
	  header nav ul {
		position: fixed;
		top: 0;
		width: 100%;
		font-size: 2rem;
		width: 100%;
		height: 100%;
		padding-top: 3.5rem;
		z-index: 1;
	}

	header nav input.menu-opener {
		display: block;
	}
	header[data-scrolling-on-scroll="true"] nav input.menu-opener:checked ~ .menu-image {
		background-image: url(../data/img/icon-menu-close.webp);
	}
	header nav input.submenu-opener {
		display: block;
		position: absolute;
		z-index: 1000;
		width: 4rem;
		height: 4rem;
		top: 0;
		left: 0;
		opacity: 0;
		cursor: pointer;
	}
	header nav .submenu-image {
		display: block;
		position: absolute;
		z-index: 900;
		width: 4rem;
		height: 4rem;
		top: 0;
		left: 0;
		background-image: url(../data/img/icon-menu-down.webp);
		background-size: contain;
		background-position: center center;
		background-repeat: no-repeat;
	}

	header nav input.submenu-opener:checked ~ .submenu-image {
		background-image: url(../data/img/icon-menu-up.webp);
	}

	header nav ul li ul{
		position: relative;
		display: none;
		right: 0;
	}
	header nav:hover > ul,
	header nav:active > ul,
	header nav:focus > ul,
	header nav:focus-within > ul,
	header nav ul li:hover > ul,
	header nav ul li:active > ul,
	header nav ul li:focus > ul {
		opacity: 0;
		pointer-events: none;
		transition: all 0.25s ease 0s; 
	}
	header nav ul li ul:after {
		width: 0;
	}
	header nav ul li input.submenu-opener:checked ~ ul{
		position: relative;
		display: block;
	}
	.top-video-video {
		width: auto;
		height: 100%;

	}
	.top-video-text, 
	.top-banner-text {
		left: 1rem;
		width: calc(100% - 2rem);
	}

	.columns-3 .column,
	.columns-3 .card {
		width: calc(100% / 1);
	}
	.columns-5 .column,
	.columns-5 .card,
	.columns-4 .column,
	.columns-4 .card,
	.columns-6 .column,
	.columns-6 .card {
		width: calc(100% / 2 - 1rem);
	}


	.team .columns-4 .card:nth-child(odd) .face,
	.team .columns-4 .card:nth-child(odd) .back {
		transition-delay: 0s;
	}
	.team .columns-4 .card:nth-child(even) .face,
	.team .columns-4 .card:nth-child(even) .back {
		transition-delay: 0.5s;
	}
	.dates .event {
		width: 100%
	}
	.date-bg-1-start,
	.date-bg-2-start,
	.date-bg-3-start,
	.date-bg-4-start,
	.date-bg-5-start,
	.date-bg-5-end {
		padding-top: 1rem;
  		padding-bottom: 1rem;
	}
	#contacte-nos {
		flex-direction: column;
	}
	#contacte-nos aside,
	#contacte-nos form,
	.columns-1 .column,
	body > footer details,
	article.map section {
		width: 100%;
	}
	#contacte-nos aside,
	#contacte-nos aside h2,
	#contacte-nos form h2 {
		text-align: left;
	}
	body > footer {
		padding: 1rem;
		flex-direction: column;
	}
	.copyright {
		text-align: left;
		padding: 1rem 0 0 0;
	}
	article.map {
		flex-direction: column;
	}
	article.map video {
		height: initial;
		width: 100%;
	}
	article.map .map-spritesheet {
		height: initial;
		width: 100%;
	}
	.smaller-functions ul li {
		width: calc(100% / 2 - 1rem);
	}
}


@media only screen
and (max-width: 1366px) {
	:root {
		--widthpadding: 1rem;
	}
	html,
	body {
		font-size: 16px;
	}
}
@media only screen
and (max-width: 1280px) {
	html,
	body {
		font-size: 15px;
	}
}
@media only screen
and (max-width: 960px) {
	html,
	body {
		font-size: 14px;
	}
}
@media only screen
and (max-width: 640px) {
	html,
	body {
		font-size: 12px;
	}
}
@media only screen
and (min-width: 2500px) {
	html,
	body {
		font-size: 22px;
	}
}
@media only screen
and (min-width: 3000px) {
	html,
	body {
		font-size: 24px;
	}
}

[hidden] {
    display: none !important;   
}


body#error404 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../data/img/bg_404.png);
  background-size: 64px;
  background-position: center;
  background-repeat: repeat;
  animation: error-bg-move 5s linear infinite;
}
body#error403 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../data/img/bg_403.png);
  background-size: 64px;
  background-position: center;
  background-repeat: repeat;
  animation: error-bg-move 5s linear infinite;
}
@keyframes error-bg-move {
	from	{background-position-y: 64px;}
	to		{background-position-y: 0px;}
}
main.error-page {
  padding: 2rem;
  background: var(--white);
  border-radius: 0.5rem;
  max-width: 30rem;
  width: calc(100% - 2rem);
  position: relative;
  text-align: center;
	box-shadow: 0rem 0.5rem #f4f4f4, 0rem 0.5rem 0.5rem rgba(0,0,0,0.25);
}

main.error-page img.error-page-logo {
	width: 15rem;
	height: auto;
	max-width: 100%;
	margin: 0 auto 1rem auto;
	display: block;
}
main.error-page img.error-page-icon {
	width: 10rem;
	height: auto;
	max-width: 100%;
	margin: 0 auto 1rem auto;
	display: block;
}
main.error-page h1,
main.error-page h2 {
	position: relative;
	left: initial;
	padding: 0;
	width: 100%;
	top: 0;
	margin: 0.5rem 0;
}
main.error-page .copyright {
	margin: 1rem 0 0 0;
	padding: 0;
}