/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

b, strong {
    font-weight: 500 !important;
}

html, body {
  overflow-x: hidden !important;
}



.page-id-497 .box {
  background-color: #444;
  color: #fff;
  padding: 20px;
  border-radius:10em;
  font-size: 150%;
}


.page-id-497 .span2 {
 	grid-column: span 2 / span 2;
}

.page-id-497 .h2 {
  grid-row: span 2 / span 2;
}

.page-id-497 .start2 {
  grid-column-start: 2;
}

.page-id-497 .grid-wrapper{
  display: grid;
  grid-gap: 2px;
  grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
  grid-auto-columns: minmax(120px,1fr); 
  grid-template-rows: repeat(6, 120px);
  grid-auto-flow: column;
  padding-right: 4rem;
  background-color: none;
}


.page-id-497 .spacer {
  height: 40vh;
}





/*PORTFOLIO*/

.pp-loader-overlay {
    background: rgba(255,255,255,0);
}

.pp-loader:after,.pp-posts-loader:after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    margin: 1px;
    border-radius: 50%;
    border: 10px solid #5E00FE;
    border-color: #5E00FE transparent #5E00FE transparent;
    -webkit-animation: pp-loader-dual-ring 1.2s linear infinite;
    animation: pp-loader-dual-ring 1.2s linear infinite
}

.pp-loader:after {
    width: 156px;
    height: 156px
}

.pp-posts.pp-posts-skin-template.pp-posts-carousel .swiper-slide-active * {
    visibility: visible
}

@-webkit-keyframes pp-loader-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes pp-loader-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}



/*PAGINA ABOUT*/

#about-title h2 {z-index: 101;
    position: relative;
}



/*CARD SLIDER PORTFOLIO*/
.portfolio-slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
}

.portfolio-container-img {
  position: relative;
  width: 100%;
  height: 80vh !important;
  overflow: visible;
}

.portfolio-slider {
  position: absolute;
  height: 50vh;
  width: 100vw;
  overflow: visible;
  margin-bottom: -100px;
  perspective: 500px;
  perspective-origin: 50% 50%;
}


.portfolio-card {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 50%;
  height: 90%;
  border-radius: 10px;
  overflow: hidden;
  transform: translate3d(-50%, -50%, 0);
  display: flex;
  justify-content: center;
  align-items: center;
	}



@media only screen and (min-width:901px) and (max-width:1400px) {
  .portfolio-slider {
    perspective: 120px;
       height: 30vh;
  }
	
	.portfolio-card {    top:55%;}
	
	.portfolio-indicators {
  bottom: 280px !important;
	}}




@media only screen and (max-width:768px) {
  .portfolio-slider {
    perspective: 120px;
       height: 22vh !important;
  }
		
	.portfolio-card {    top:120% !important;}


	.portfolio-indicators {
  bottom: 100px !important;
	}}







.portfolio-card img {
  position: absolute;
  opacity: 1;
}

.portfolio-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}



/* Stili per le frecce */
.portfolio-navigation {
  position: absolute;
  z-index: 1000;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-navigation:hover {
  transform: scale(1.1);
}

.portfolio-navigation:active {
  transform: scale(0.95);
}

button.portfolio-prev-btn {
  position: absolute;
  right: 410px;
  top: -150px;
}

button.portfolio-next-btn {
  position: absolute;
  right: 340px;
  top: -150px;
}

.portfolio-navigation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

@media only screen and (min-width:769px) and (max-width:1300px) {
  button.portfolio-prev-btn {
    position: absolute;
    right: 120px;
    top: -120px;
  }
  button.portfolio-next-btn {
    position: absolute;
    right: 40px;
    top: -120px;
  }
}

@media only screen and (min-width:481px) and (max-width:768px) {
  button.portfolio-prev-btn {
    position: absolute;
    right: 120px;
    top: 20px;
  }
  button.portfolio-next-btn {
    position: absolute;
    right: 40px;
    top: 20px;
  }
}

@media only screen and (max-width:480px) {
  button.portfolio-prev-btn {
    position: absolute;
    right: 90px;
    top: 20px;
  }
  button.portfolio-next-btn {
    position: absolute;
    right: 20px;
    top: 20px;
  }
}

@media only screen and (min-width:1301px) and (max-width:1500px) {
  button.portfolio-prev-btn {
    position: absolute;
    right: 300px;
    top: -120px;
  }
  button.portfolio-next-btn {
    position: absolute;
    right: 225px;
    top: -120px;
  }
}

button.portfolio-prev-btn:hover,
button.portfolio-next-btn:hover,
button.portfolio-prev-btn:focus,
button.portfolio-next-btn:focus {
  background-color: transparent;
}

/* Stili per gli indicatori */
.portfolio-indicators {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}



.portfolio-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.portfolio-indicator.active {
  background-color: rgba(255, 255, 255, 1);
}





/*SCROLLBAR PERSONALIZZATA*/

/* Stile scrollbar personalizzata per WordPress */

/* Per Chrome, Safari, Edge, Opera */
html::-webkit-scrollbar {
  width: 14px;
}

html::-webkit-scrollbar-track {
  background: #e6e6e6;
}

html::-webkit-scrollbar-thumb {
  background: #5e00fe;
  border-radius: 6px;
  border: 2px solid #e6e6e6;
}

html::-webkit-scrollbar-thumb:hover {
  background: #d83c99;
}

body::-webkit-scrollbar {
  width: 14px;
}

body::-webkit-scrollbar-track {
  background: #e6e6e6;
}

body::-webkit-scrollbar-thumb {
  background: #5e00fe;
  border-radius: 6px;
  border: 2px solid #e6e6e6;
}

body::-webkit-scrollbar-thumb:hover {
  background: #d83c99;
}

#form-field-googleRecaptcha,
#form-field-recaptchaGoogle {
	display: none;
}

/* Per Firefox */
html {
  scrollbar-width: big;
  scrollbar-color: #5e00fe #fff;
	
}

/* Alternative con altri colori da copiare se preferisci */

/* Verde:
  background: #28a745; 
  scrollbar-color: #28a745 #e6e6e6;
*/

/* Rosso:
  background: #dc3545;
  scrollbar-color: #dc3545 #e6e6e6;
*/

/* Viola:
  background: #6f42c1;
  scrollbar-color: #6f42c1 #e6e6e6;
*/

/* Arancione:
  background: #fd7e14;
  scrollbar-color: #fd7e14 #e6e6e6;
*/