/*
-------------------------------------------------------------------
# REGOLE E RESET PER TUTTI I SITI 
-------------------------------------------------------------------
*/

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

/* Reset */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: unset;
}

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

strong,
b {
  font-weight: bold;
}

ul,
ol {
  margin: 0;
  padding-left: 1em;
}

hr {
  border: none;
  height: 1px;
  background: var(--wp--preset--color--black);
}

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

.wp-site-blocks {
  overflow: hidden;
  position: relative;
}

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

/* temporarily hide elements */
body:not(.wp-admin) .hide {
  display: none;
}

body.wp-admin .hide {
  pointer-events: none;
  opacity: 0.3;
}

/*
******************************************
# Lenis smooth scroll
******************************************
*/
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/*
****************************************************
# Page simple transitions default preloader style
****************************************************
*/
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 999;
}

/*
******************************************
# mouse follow
******************************************
*/

#mouseFollow {
  position: fixed;
  z-index: 900;
  pointer-events: none;
  width: 60px;
  height: 60px;
  opacity: 0.6;
  top: 0;
  left: 0;
}

@media (max-width: 781px) {
  #mouseFollow {
    display: none;
  }
}

#mouseFollow .pointer,
#mouseFollow .interaction {
  position: absolute;
  top: 0px;
  left: 0px;
  transition: all 0.25s ease-out;
  line-height: 0;
}

#mouseFollow .pointer svg {
  width: 20px;
  height: 20px;
}

#mouseFollow .interaction svg {
  width: 20px;
  height: 20px;
}

#mouseFollow .pointer {
  transform: translate(-50%, -50%) scale(1);
}

#mouseFollow .interaction {
  transform: translate(-50%, -50%) scale(0);
}

#mouseFollow.onHover .pointer,
#mouseFollow.onInteraction .pointer {
  transform: translate(-50%, -50%) scale(3);
}

#mouseFollow.onInteraction .interaction {
  transform: translate(-50%, -50%) scale(1.8);
}

/*
******************************************
# Visibility blocks
******************************************
*/
@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

@media (max-width: 781px) {
  .hide-mobile {
    display: none !important;
  }
}


/*
******************************************
# Visibility blocks
******************************************
*/
@media (max-width: 781px) {
  .is-style-invert-columns-mobile.wp-block-columns {
    flex-direction: column-reverse;
  }
}