/*!
Theme Name: patchw
Theme URI: https://www.dinoballiana.com
Author: Dino Balliana
Author URI: https://www.dinoballiana.com
Description: Custom theme for Patchwords
Version: 1.0.0
Tested up to: 8.2
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: patchw
Tags: custom-theme,

This theme, like WordPress, is licensed under the GPL.

patchw is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Typography
	- Reset
	- Box sizing
	- Document
# Global vars
# Text
	- Links
# Media
	- Links
# Components
	- Forms
# Layout
	- Header
	- Navigation
	- Footer
# Templates
	- Home
# Plugins
# Utilities
	- Accessibility


--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Import Typography
--------------------------------------------- */



/* Reset
--------------------------------------------- */

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

#wpadminbar {
  display: none !important;
}

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level. */
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html,
body {
  box-sizing: border-box;
  margin: 0 !important;
  /* no bouncing scroll */
	overscroll-behavior-y: none;
  overscroll-behavior-x: none;
  /* no scrollbar */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
  /* no tap color on mobile */
  -webkit-tap-highlight-color: transparent;
	  padding: 0;
  width: 100%;
  background: var(--white);
	position:relative;	
  font-size: 14px;
}


body * {
  box-sizing: border-box;
  font-family: "IBM Plex Sans", sans-serif;
	
}

html {
  -webkit-text-size-adjust: 100%;
}

html::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

body {
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Globals vars
	 ========================================================================== */

:root {
  /* Colors */

  --blue: #2c5983;
  --red: #e34234;
  --orange: #ffbe98;
  --light-blue: #afd8ff;
  --black: #010101;
  --white: #fff;
	--gray:#f0f0f0;	


  --shadow: 0 8px 24px rgba(0, 0, 0, 0.02);

  /* Text */
  --text-big: 3.3vw;

  --intro-text: 30px;
	 --intro-text-h: 48px;
  --text-medium: 40px;
--text-medium-h: 47px;
  --text-small: 18px;
	--text-small-h: 26px;

  /* Dimesions */

  --footer-h: 60px;

  --overlay-dur: 600ms;
	--intro-exit-duration: 1000ms;
  --overlay-ease: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-closed: 30px;

}

@media screen and (max-width: 1024px) {
  :root {
    /* Text */
--text-big: 4.2vw;
	  --text-medium: 32px;
	  --text-medium-h: 35px;
	  --text-small: 16px;
	  --text-small-h: 22px;
    /* Margin */
  }
}

@media screen and (max-width: 767px) {
  :root {
    /* Text */
	 --text-big: 4.5vw;
	  --text-medium: 25px;
	  --text-medium-h: 30px;
	  
	  --intro-text: 20px;
	 --intro-text-h: 28px;
    /* Margin */
	   --footer-h: 36px;
  }
}


@media screen and (max-width: 500px) {
  :root {
    /* Text */
	 --text-big: 5.2vw;
    /* Margin */
  }
}

/* Text
	 ========================================================================== */

body,
button,
input,
select,
optgroup,
textarea {
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

blockquote {
  margin: 0;
}

address {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

ul,
ol {
  list-style: none;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 0;
}

/* Selection
 --------------------------------------------- */

::-moz-selection {
  color: var(--white);
  background-color: var(--black);
}

::selection {
  color: var(--white);
  background-color: var(--black);
}

/* Text Hierarchy
 --------------------------------------------- */

.site-title,
.page-title {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.text-big {
  font-size: var(--text-big);
  line-height: 1.166em;
}

.title-medium {
  font-size: var(--text-medium);
  line-height: var(--text-medium-h);
}

.text-small {
  font-size: var(--text-small);
  line-height: var(--text-small-h);
}

/* Mood text */

.mood-height-lock {
  position: relative;
  transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.mood-wrap {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  width: 90%;
}

.mood-wrap.active-mood {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  width: auto;
}

.mood-text {
  visibility: hidden;
}

.mood-text.is-ready {
  visibility: visible;
}

.mood-line {
  display: block;
  overflow: hidden;
}

.mood-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(0.85em) rotate(5deg);
  transform-origin: left center;
  will-change: transform, opacity;
}

.promo .mood-text,
.scrollable-item.promo {
  font-weight: 400;
  font-style: italic;
}

.tec .mood-text,
.scrollable-item.tec {
  font-weight: 400;
}

.tec .mood-text.text-small {
  font-weight: 300;
}

.tec .section-label {
  font-size: 12px;
  text-transform: uppercase;
}

.nar .mood-text,
.scrollable-item.nar {
  font-weight: 200;
  font-style: italic;
  letter-spacing: 2px;
}

.nar .mood-text.text-small {
  font-weight: 200;
  font-style: normal;
  letter-spacing: 0px;
}

@media screen and (max-width:767px){
	.nar .mood-text,
.scrollable-item.nar {
  font-weight: 300;
}
}

.nar .section-label {
  font-weight: 300;
  text-transform: uppercase;
  font-style: normal;
  font-size: 12px;
}

.ist .mood-text {
  font-weight: 400;
}

.ist .mood-text.text-small {
  font-weight: 300;
}

.ist .section-label,
.scrollable-item.ist {
  font-weight: 600;
}

.ist strong,.ist em {
  font-weight: 600;
}



/* Links
--------------------------------------------- */
a,
button {
	color:var(--black);
	text-decoration:none;
}

a:hover,
a:focus,
a:active,
button:hover,
button:focus,
button:active,
a:visited,
button:visited {
	color:var(--black);
	text-decoration:none;	
  outline: none;
  box-shadow: none;
  /* no tap color on mobile */
  -webkit-tap-highlight-color: transparent;
}

/*------------ Buttons -------------*/

.default-btn {
  padding: 6px 15px;
  background: var(--white);
  border-radius: 30px;
  font-size: 16px;
  border:1px solid var(--black);
  display: inline-block;
  color: var(--black);
  text-decoration: none;
  font-weight: 300;
  font-family: "IBM Plex Sans", sans-serif;
}

.default-btn:hover{
	 border:1px solid var(--gray);
	background:var(--gray);	
}

@media screen and (max-width:767px){
	.default-btn {
		padding: 6px 12px;
		font-size: 14px;
	}
}

.mood-color-btn.promo:hover ,
.mood-color-btn.promo.is-active {
  background: var(--red);
	 border:1px solid var(--red);
	color:var(--white);	
}

.mood-color-btn.tec:hover,
.mood-color-btn.tec.is-active{
  background: var(--blue);
	color:var(--white);	
	border:1px solid var(--blue);
}

.mood-color-btn.nar:hover,
.mood-color-btn.nar.is-active{
  background: var(--orange);
	border:1px solid var(--orange);
}

.mood-color-btn.ist {
  font-weight: 500;
}

.mood-color-btn.ist:hover,
.mood-color-btn.ist.is-active{
  background: var(--light-blue);
border:1px solid var(--light-blue);	
}

.mood-text-btn.promo {
  font-weight: 400;
  font-style: italic;
}

.mood-text-btn.tec {
  font-weight: 400;
  text-transform: uppercase;
}

.mood-text-btn.nar {
  font-weight: 300;
  font-style: italic;
}

.mood-text-btn.ist {
  font-weight: 500;
}

/* Media
	 ========================================================================== */
/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
  max-width: 100%;
}

img,
video,
svg {
  height: auto;
  width: 100%;
  border-style: none;
  display: block;
}


/* Components
	 ========================================================================== */

/*------ Cursor -------*/

#custom-cursor {
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  position: fixed;
  z-index: 999999999;
  pointer-events: none;
  opacity: 0;
  background: var(--black);
  border-radius: 100%;
filter:blur(0);	
}

#custom-cursor.show {
  opacity: 1;
}

#custom-cursor:after {
  content: "";
  width: 50%;
  height: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
}

/* on-mood */

.on-tec #custom-cursor {
  border-radius: 0%;
}

.on-promo #custom-cursor {
  background-color: var(--red);
}

.on-nar #custom-cursor {
  border: none;
   background-color: var(--orange);
	filter:blur(5px);	
  opacity: 1;
  border-radius: 100%;
  width: 20px;
  height: 20px;
}

.on-nar #custom-cursor:after {
  display:none;
}

.on-ist #custom-cursor {
  border: 1px solid var(--light-blue);
  width: 18px;
  height: 18px;
  background-color: transparent;
}

.on-ist #custom-cursor:after {
  background-color: var(--light-blue);
  opacity: 1;
  border-radius: 100%;
  width: 10px;
  height: 10px;
}

.on-tec #custom-cursor {
  background-color: var(--blue);
  width: 12px;
  height: 12px;
}

.overlay-open #custom-cursor {
  border-radius: 100%;
  background-color: var(--black);
  border:none;
  width: 12px;
  height: 12px;
filter:blur(0);	
}

.overlay-open #custom-cursor:after {
  display: none;
}

/* Cambio mood */

.mood-btns-wrap {
  justify-content: center;
  display: flex;
	width:100%;
	gap:5%;
}

.mood-btns-wrap.internal-btns {
	padding:0 5%;
	position:fixed;
	bottom:0px;
	left:0;
	z-index:99999;
	transform:translate3d(0,-150px,0);
	transition:transform .6s ease;
	pointer-events:none;
}

.mood-btns-wrap.internal-btns.on-page {
	transform:translate3d(0,-80px,0);
	transition:transform .3s ease;	
}

.page-loaded .mood-btns-wrap.internal-btns{
	pointer-events:auto;
}

.mood-btn.default-btn {
  font-size: 18px;
  min-width: 144px;
}

.mood-btn.default-btn.tec {
  font-size: 16px;
}



/* Layouts
	 ========================================================================== */

body.start-intro,
body.overlay-open {
  height: 100vh;
  overflow: hidden;
}

body.on-cursor * {
  cursor: none !important;
}


/*------- Section -------*/

.section {
  position: relative;
  padding: 0 5%;
  text-align: center;
  padding-bottom: 100px;
}

.section.full-screen-section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  margin-bottom: 50px;
}

.section-label svg{
	display:inline-block;
	width:15px;
	height:auto;
	margin-right:8px;
}

.section-label .shape_ist,.section-label .shape_nar{
	width:10px;
}

@media screen and (max-width: 1024px) {
	.section {
  padding-bottom: 0px;
}
}

@media screen and (max-width: 767px) {
	.section.hero {
  padding-top: 120px;
		justify-content: flex-start;
}
}

main {
  position: relative;
  z-index: 5;
}

.canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 0;
  pointer-events: none;
}

#fixed-mood-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Header
	 --------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 2%;
 z-index: 99999999;
  align-items: center;
}

.site-header .logo {
  width: 80px;
  height: auto;
}



/* Navigation
	 --------------------------------------------- */

.default-btn.lang-btn {
  padding: 8px 15px;
	margin-right:20px;	
}

.lang-btn .lang-label{
	display:inline-block;
}

.lang-btn .lang-label.active{
	font-weight:500;
}

.lang-btn .ita{
	margin-right:5px;
}

.lang-btn .eng{
	margin-left:5px;
}

.contact-button{
	min-width:88px;
}

.contact-button .label-close {
  display: none;
}
.overlay-open .contact-button .label-open {
  display: none;
}
.overlay-open .contact-button .label-close {
  display: inline;
}



/* Footer
	 --------------------------------------------- */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2%;
  height: var(--footer-h);
  font-weight: 300;
}

.footer a:hover{
	text-decoration:underline;
}

@media screen and (max-width:510px){
	.footer {
		gap:10px;
		flex-direction:column;
		justify-content: center;
  		align-items: center;
		
	}
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Loader
	--------------------------------------------- */

#intro-loader {
  position: fixed;
  inset: 0;
  z-index:999999;
  transition: opacity var(--intro-exit-duration) ease, transform var(--intro-exit-duration) ease;
}
body:not(.intro-step1) #intro-loader { opacity:0; pointer-events:none; }
body.intro-step1-exit #intro-loader { opacity: 0; transform: scale(1.05); }

#intro-loader canvas {
  position: absolute;
  inset: 0;
}

.intro-claim-wrap {
  position: fixed;
  inset: 0;
}

.intro-claim {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  margin: 0;
  pointer-events: none;
  font-size: 5vw;
}

.intro-claim .frase{
	display:inline-block;
	opacity:0;
	animation: claim 1s ease forwards 1s;
}

.intro-claim .frase.seconda{
   transform:translate3d(0%,-10px,0);
}

.intro-claim .frase.terza{
 animation: claim 1s ease forwards 2s;
}

.intro-claim .frase.quarta{
  transform:translate3d(0px,-10px,0);
	animation: claim 1s ease forwards 2s;
}

/* Inglese */

.intro-claim-wrap.eng .intro-claim .frase{
	transform:translate3d(0%,-10px,0);
	animation: claim 1s ease forwards 1s;
}

.intro-claim-wrap.eng .intro-claim .frase.seconda{
   animation: claim 1s ease forwards 1.5s;
}

.intro-claim-wrap.eng .intro-claim .frase.terza{
transform:translate3d(0px,-10px,0);
	animation: claim 1s ease forwards 2s;
}



@keyframes claim{
	to{
		opacity:1;
		transform:translate3d(0,0,0);
	}
}

.intro-claim em{
	font-style:italic;
}

.intro-claim .spacer{
	display:inline-block;
	padding-left:15px;
}

.intro-claim-base { color: var(--black); z-index: 1; }
.intro-claim-mask {
  color: var(--white);
  z-index: 2;
  clip-path: polygon(0 0, 0 0, 0 0); 
}

@media screen and (max-width:1024px){
	.intro-claim {
  font-size: 5.5vw;
}
}

@media screen and (max-width:767px){
	.intro-claim {
  font-size: 5.6vw;
}
.intro-claim .spacer{
	padding-left:8px;
}
}

/*----- Intro ----*/ 

.intro-section.section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
	padding:0 15%;
}

.intro-section .logo {
  width: 25px;
  margin-bottom: 50px;
}

.intro-section .intro-text {
  font-size: var(--intro-text);
  line-height: var(--intro-text-h);
  font-weight: 300;
	width:100%;
}

.intro-section .intro-text p em {
  font-style: italic;
}

.intro-section .intro-text p {
  display: block;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

.intro-section .mood-btns-wrap {
  margin-top: 10px;
  gap: 30px;
}

.choose-label {
  color: var(--black);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 300;
  text-align: center;
  font-style: normal;
}

.intro-section .choose-label {
	margin: 30px auto 0;
}

.internal-btns .choose-label {
	position:absolute;
	bottom:-50px;
	left:50%;
	transform-origin:top center;
	transform:translate3d(-50%,0,0);
	
}

.page-loaded .mood-btns-wrap.internal-btns.on-page .choose-label {
	transform:scale(1,0) translate3d(-50%,0,0);
	transition:transform .3s linear;
}

@media screen and (max-width:1024px){
	
	.intro-section.section{
		padding:0 5%;
	}
}


@media screen and (max-width:767px){
	
	.mood-btns-wrap {
		padding:0 20%;
		flex-wrap:wrap;
	}
	
	.intro-section .mood-btns-wrap{
		gap: 15px 5%;
		margin-top:30px;
	}	
	
	.mood-btns-wrap.internal-btns {
		gap: 20px 5%;
		padding:0 20%;
		transform:translate3d(0,-80px,0);
	}
	
	.internal-btns .choose-label{
		bottom:-40px;
	}

	.mood-btns-wrap.internal-btns.on-page {
		transform:translate3d(0,-60px,0);
	}
}

@media screen and (max-width:510px){
	.mood-btns-wrap.internal-btns,.mood-btns-wrap {
	padding:0 5%;
}
}

/* Services */

.service-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 100px 0;
  padding-bottom: 0px;
}

.service-wrap .single-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 50%;
}


.service-wrap .single-service .service-name,
.service-wrap .single-service .text-small {
  max-width: 450px;
}

@media screen and (max-width: 1024px) {
	.service-wrap{
		gap:80px 30px;
	}
	.service-wrap .single-service {
  width: calc(50% - 15px);
}

}


@media screen and (max-width: 767px) {
	.service-wrap {
 flex-direction:column;
  justify-content: center;
	align-items:center;		
  gap: 100px 0;
  padding-bottom: 0px;
}
		.service-wrap .single-service {
  width: 100%;
}
}

/* Call section */

.section.section.full-screen-section.call-section {
  padding-top: 60px;
  height: calc(100vh - var(--footer-h));
padding: 0 20%;	
}

.call-section .default-btn {
  margin-top: 50px;
}

.call-section .text-small{
	margin-top:30px;
}

@media screen and (max-width: 767px) {
	.section.section.full-screen-section.call-section{
		padding: 0 8%;	
	}
	
	.call-section .text-small{
	margin-top:15px;
}
	
	.call-section .default-btn {
  margin-top: 35px;
}
}



/* About */

.overlay-contact {
	padding-top:93px;
background:var(--white);	
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  top: 0;
  transition: opacity 0.3s ease .6s;
	overflow:scroll;
}

.overlay-content{
	 opacity: 0;
	position:relative;
	 transform: translate3d(0, 10px, 0);
  	height: calc(100vh - 93px);
	
	  display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	justify-content: space-between;
	transition: opacity .6s ease, transform 0.6s ease;
}

.overlay-section.section {
  width: 100%;
  text-align: left;
  display: block;
  padding: 0 2%;
}

.overlay-section .section-label {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 10px;
  margin-bottom: 20px;
}

.overlay-section .bio {
  font-weight: 300;
  font-size: var(--intro-text);
  line-height: var(--intro-text-h);
  padding-right: 5%;
}

.overlay-section.top{
	padding-bottom:50px;
}

.overlay-section.bottom {
  display: flex;
  padding-bottom: 60px;
}

.overlay-section.bottom .section-col {
  width: 33.3333%;
}

.overlay-section.bottom .section-col:nth-child(3) ul{
	flex-direction:row;
	flex-wrap:wrap;
	gap: 15px 0;
}

.overlay-section.bottom .section-col:nth-child(3) ul li{
	width:50%;
}

.section-col .contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-col .contact-list .contact--list-item,.section-col .contact-list p {
  font-size: 18px;
  line-height: 18px;
  font-weight: 300;
  padding: 0;
}

.section-col .contact-list .contact--list-item a {
 color:var(--black);
	text-decoration:none;
}

.section-col .contact-list .contact--list-item a:hover {
	text-decoration:underline;
}

.overlay-open .overlay-contact {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
	 transition: opacity 0.3s ease;
}

.overlay-open .overlay-content {
	opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(var(--overlay-dur) * 0.85);
}

@media screen and (max-width:767px){
	
.overlay-section.top{
	padding-bottom:30px;
}

	.overlay-section.bottom {
  display: flex;
		flex-wrap:wrap;
		gap:30px 15px; 
  padding-bottom: 60px;
}
	
	.overlay-section.bottom .section-col {
		width: calc(50% - 8px);
	}
	.overlay-section.bottom .section-col:nth-child(3) {
		width: 100%;
	}
	
	
}

/* Curtain */

#mood-curtain {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.35s ease;
  background: var(--white);
}


/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

/* ------------- INTRO ANIMATION ----------- */

/* -------- 01 - INTRO OVERLAY ------- */

/* a) Overlay animation */

.start-intro .intro-section.section {
  opacity: 1;
  pointer-events: auto;
}

.end-intro .intro-section.section {
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* b) Intro text animation */

.start-intro .intro-section .intro-text p {
  opacity: 1;
  transform: translate3d(0, 0px, 0);
}

.intro-text .intro-content p:first-child {
  transition: opacity 0.6s linear 0.5s,transform 0.6s linear 0.5s;
}

.intro-text .intro-content p:nth-child(2) {
  transition: opacity 0.6s linear 2s,transform 0.6s linear 2s;
}

.intro-text .intro-content p:nth-child(3) {
  transition: opacity 0.6s linear 3s, transform 0.6s linear 3s;
}

.intro-text .intro-content p:nth-child(4) {
  transition: opacity 0.6s linear 3.5s, transform 0.6s linear 3.5s;
}

.end-intro .intro-text .intro-content p:first-child,.end-intro .intro-text .intro-content p:nth-child(2),.end-intro .intro-text .intro-content p:nth-child(3),.end-intro .intro-text .intro-content p:nth-child(4) {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.2s linear 0.1s;
}


/* d) Buttons */

.intro-section .mood-btns-wrap,
.choose-label {
  opacity: 0;
}

.intro-btn-wrap {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

.start-intro .mood-btns-wrap {
  opacity: 1;
  transition: opacity 0.6s linear 4.5s;
}

.start-intro .intro-section .choose-label {
  opacity: 1;
  transition: opacity 0.6s linear 4s;
}

.start-intro .intro-btn-wrap {
  opacity: 1;
  transform: translate3d(0, 0px, 0);
  transition:
    opacity 0.6s linear 4.5s,
    transform 0.6s ease 4.5s,
    background 0.2s linear,
    color 0.2s linear;
}

.start-intro .intro-btn-wrap:nth-child(2) {
  transition:
    opacity 0.6s linear 4.8s,
    transform 0.6s ease 4.8s,
    background 0.2s linear,
    color 0.2s linear;
}

.start-intro .intro-btn-wrap:nth-child(3) {
  transition:
    opacity 0.6s linear 5s,
    transform 0.6s ease 5s,
    background 0.2s linear,
    color 0.2s linear;
}

.start-intro .intro-btn-wrap:nth-child(4) {
  transition:
    opacity 0.6s linear 5.1s,
    transform 0.6s ease 5.1s,
    background 0.2s linear,
    color 0.2s linear;
}

/* ---------- 02 - SECTIONS ------- */

.start-intro .section .mood-wrap.active-mood {
  opacity: 0;
}

/* ---------- 03 - SWITCHER / HEADER ------- */

/* a) Switcher animation */

.mood-btns-wrap.internal-btns .mood-btn{
  opacity: 0;
  transform: translate3d(0%, 20px, 0);
  transition: opacity 0.001s linear,transform 0.001s linear;
}

.page-loaded .mood-btns-wrap.internal-btns .mood-btn{
  opacity: 1;
  transform: translate3d(0%, 0px, 0);
  transition: opacity 1s ease 1.2s,transform 1s ease 1.2s;
}

.page-loaded .mood-btns-wrap.internal-btns .choose-label{
	opacity: 1;
	transform:scale(1) translate3d(-50%,0,0);
	transition: opacity 1s ease 1.8s, transform .3s linear .6s;
}

/* b) Header animation */

header{
  opacity: 0;
  transform: translate3d(0, -20px, 0);
}

.start-intro header,
.page-loaded header{
  opacity: 1;
  transform: translate3d(0, 0px, 0);
  transition: all 1s ease .2s;
}

/* Mood Canvas */

.start-intro #mood-canvas{
	opacity:0;
}

.end-intro #mood-canvas{
	opacity:1;
	  transition: opacity 1.2s ease .6s;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Cookie banner */

#cmplz-cookiebanner-1-optin *{
	font-family: "IBM Plex Sans", sans-serif;
}

#cmplz-cookiebanner-1-optin{
	left:auto;
	right:2%;
	width:200px;
	min-width:200px;
	bottom:40px;
	z-index:999999;
	opacity:0;
	-webkit-animation-name:none !important;
	        animation-name:none !important;
}

#cmplz-cookiebanner-1-optin .cmplz-body{
	min-width:100%;
}

.page-loaded #cmplz-cookiebanner-1-optin{
	opacity:1;
	-webkit-transition:opacity .4s ease 2s;
	-o-transition:opacity .4s ease 2s;
	transition:opacity .4s ease 2s;
}

.cookies-accepted #cmplz-cookiebanner-1-optin{
	opacity:0;
	-webkit-transition:opacity .3s ease;
	-o-transition:opacity .3s ease;
	transition:opacity .3s ease;
}

#cmplz-message-1-optin{
	text-align:center;
	width:100%;
}

#cmplz-message-1-optin p{
	font-size:13px;
}


#cmplz-cookiebanner-1-optin .cookie-notice-container{
	padding:10px;
	border:none;
}

#cmplz-cookiebanner-1-optin .cn-text-container{
	margin-bottom:15px;
	font-weight:400;
}

#cmplz-cookiebanner-1-optin .cmplz-header{
	display:none;
}

#cmplz-cookiebanner-1-optin .cmplz-buttons .cmplz-btn{
	min-height: auto;
    padding: 8px 15px;
}

#cmplz-cookiebanner-1-optin .cmplz-buttons .cmplz-btn{
	min-height:auto;
}

#cmplz-manage-consent{
	display:none;
}


@media screen and (max-width:767px){
	#cmplz-cookiebanner-1-optin{
		left:20px;
		right:20px;
		width:calc(100% - 40px);
		min-width:calc(100% - 40px);
		bottom:20px;
		-webkit-transform:translate3d(0%,0,0);
		        transform:translate3d(0%,0,0);
	}
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}
