/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
:root {
--anim-duration: 0.8s; 
--anim-delay: 0.4s; 
--anim-timing-linear: linear;
--anim-timing-in: ease-out;
--anim-timing-out: ease;
--anim-timing-inout: ease-in-out;
--anim-timing-cubic: cubic-bezier(.26, .53, .74, 1.48);
}

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

html {
	background-color: #e2e0da ;
  
  }

body {
	min-height: 100vh;	
	/*cursor: none;*/
	background-color: #e2e0da;
}


.preloader-container.hidden{
  animation: fadeOut 1s;
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
    100% {
      opacity: 0;
      visibility: hidden;
  }
}



.visuallyhidden {
	opacity: 0;
}

.transparent {
	opacity:0;
}

.header__box-logo svg {
    width: 100%;
    height: 100%;
}

.block__post-navigation svg {
  width: 3rem;
  vertical-align: middle;
  margin-top: -5px;
}


/*wrap-parallax home*/
#wrap-parallax {
position: relative;
height: 100vh;
width: 100%;
/* border: solid 1px red;*/
display: flex;
justify-content: center;
align-items: center;
}


/* Blobs */
.blob-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: -2;
  height: 500px;
  width: 500px;
  position: relative;
  right: 5em;
}

.blob {
  border-radius: 1000px;
  filter: blur(4vw);
}

.yellow {
  background-color: #ffd800;
  animation: yellow 12s infinite ease-in-out;
  mix-blend-mode: screen;

}

.orange {
  background-color: #f6a31b;
  animation: orange 12s infinite ease-in-out;
  mix-blend-mode: screen;
}

.blu {
  background-color: #01a9b1;
  animation: blu 12s infinite ease-in-out;
  mix-blend-mode: screen;

}

.red {
  background-color: #d94c74;
  animation: red 12s infinite ease-in-out;
  mix-blend-mode: screen;

}

@keyframes yellow {
  0% {top: 200px; left: 100px; transform: scale(1);}
  30% {top: 300px; left: 150px; transform: scale(1.2);}
  60% {top: 100px; left: 200px; transform: scale(1.3);}
  100% {top: 200px; left: 100px; transform: scale(1);}
}

@keyframes orange {
  0% {top: 80px; right: -30px; transform: scale(1);}
  30% {top: 200px; right: -50px; transform: scale(1.2);}
  60% {top: 100px; right: 200px; transform: scale(1.3);}
  100% {top: 80px; right: -30px; transform: scale(1);}
}

@keyframes blu {
  0% {top: 80px; right: -20px; transform: scale(1.2);}
  30% {top: 300px; right: -20px;transform: scale(1);}
  60% {top: 200px; right: 100px;transform: scale(1);}
  100% {top: 80px; right: -20px; transform: scale(1.2);}
}

@keyframes red {
  0% {top: 250px; right: 0px; transform: scale(1);}
  30% {top: 150px; right: 150px;transform: scale(1.4);}
  60% {top: 250px; right: 100px;transform: scale(1);}
  100% {top: 250px; right: 0px; transform: scale(1);}
}


/* code snippset animation cross browser */

	/* fade page in */
@keyframes pageFadeIn {
	from { opacity:0; filter: blur(15px);}
	to { opacity:1; filter: blur(0px);}
  }
  @-moz-keyframes pageFadeIn {
	from { opacity:0; filter: blur(15px); }
	to { opacity:1; filter: blur(0px);}
  }
  @-webkit-keyframes pageFadeIn {
	0% { opacity:0;}
	100% { opacity:1;}
  }
  
  #wrapfade {
	opacity: 0;
	animation-name: pageFadeIn;
	animation-fill-mode:forwards;
  animation-duration:var(--anim-duration);
	animation-delay: var(--anim-delay);
  animation-timing-function: var(--anim-timing-cubic);
  }

/* Scroll Marquee */
/* Stile per l'effetto di marquee con sfondo */
.marquee-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%; /* Ajusta questa larghezza in base al contenuto */
  height: 100%;
  white-space: nowrap;
  display: flex;
  align-items: center;
  color: #52451e;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-in-out; /* Aggiunto transizione per l'animazione di tendina */
  transform-origin: top; /* Imposta l'origine della trasformazione in alto */
  transform: scaleY(0); /* Nascondi inizialmente il contenuto */
}

.menu-item:hover .marquee-content {
  opacity: 1;
  pointer-events: auto;
  animation: scrollMarquee 15s linear infinite;
  transform: scaleY(1); /* Mostra il contenuto con l'animazione di tendina */
}

.menu-item:hover .menu-link {
  transform: translateY(-100%);
}

@keyframes scrollMarquee {
  from { 
      transform: translateX(10%);
  }
  to {
      transform: translateX(-100%);
  }
}

.menu-vertical {
  width: 100vw;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.menu-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 -1px #333333;
}

.menu-item h4 {
 text-transform: uppercase;
}



.menu-item:last-child {
	box-shadow: 0 1px  #333333, 0 -1px  #333333;
}


.menu-link {
  display: block;
  width: 100%;
  padding: 10px;
  background: #e2e0da;
  white-space: nowrap;
	padding: 1vh 1vw 0;
	text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: transform 0.5s ease;
  z-index: 2;
  margin: 0; /* Rimuove il margine di default degli h3 */
  color: inherit; /* Eredita il colore del testo */
  cursor: pointer; /* Indica che è cliccabile */
}

.marquee-image  {
	min-width: 15vw;
	width: 15vw;
	min-height: 70%;
	height: 70%;
	margin: 0 2vw;
	border-radius: 5vw;
	background-size: cover;
	background-position: 50% 50%;
}

/* Stile per la versione mobile senza effetto marquee hover */
@media screen and (max-width: 600px) {
  .menu-vertical a {
     text-decoration: none !important;
  }

  .menu-link:hover + .marquee-content {
      opacity: 1;
      pointer-events: auto;
      /*animation: none; /* Rimuoviamo l'animazione sul mobile */
  }
}

/* Preloader */
.preloader-container {
	-webkit-transition: all 1s linear;
	-o-transition: all 1s linear;
	transition: all 1s linear;
}

.preloader-container .animation {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.preloader-container .animation #skip {
	cursor: pointer;

}

.hidden {
	display: none;
}

.visuallyhidden {
	opacity: 0;
}


/* Cursor*/
body .cursor {
	pointer-events: none;
  }
body .cursor__ball {
	position: fixed;
	top: 0;
	left: 0;
	mix-blend-mode: difference;
	z-index: 1000;
  }
  
body .cursor__ball circle {
	fill: #e2e0da;
  }
@media only screen and (max-width: 600px) {

	body	.cursor {
	   pointer-events: none;
   }
   
   body  .cursor__ball {
	  display: none;
   }
   
   body  .cursor__ball circle {
	   display: none;
   }
}
   

/* bounce arrow*/
.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 4s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}


/*css reveal*/
/*
.hero__block-hero {
  position: relative;
  display:inline-block;
  width:100%;
  margin: 100px 0;
  padding-top:40px;
  padding-bottom:40px;
}*/



/*swap image*/

.block-hero  .svg-image {
	position: relative;
	width: auto;
	top:-25px;
	left:0;
	transform: translate(-1vw ,-1vw);
	object-fit: cover;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}


@media screen and (max-width: 600px) {
  .block-hero  .svg-image {
    display: none;
  }
  
}