/* 
color: #fe3e6b // viola
color: #4B5EFC // viola elettrico
color: #000ac4 // blu elettrico
color: #3165e9 // blu
color: #00E676 // green
color: #f9d73c // giallo footer
color: #f1d246 // giallo chebanca NO
color: #FFEB3B // giallo signora i limoni
color: #ffe12e // giallo più chiaro
color: #e0fc49 // verde acido
color: #eb8f7e //aragosta

color1: #eb8f7e
color2: #00E676
collor3: #4B5EFC


chebanca
#fd0 giallo nuovo #FFD100
#FBCB0B rollover arancio

#000 nero
#1f1f1f grigio scuro
#333 grigio scuro
#616161 grigio medio
#999999 grigio chiaro
#ccc testo chiaro
#fff testo bianco

*/

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
    background-image: url(../images/bg-hero.avif);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
p{
    font-size: 1.3rem;
    font-weight: 300;
    color: #000;
}
.biggerTxt{
    font-size: 1.5rem;
}
.smallerTxt{
    font-size: 1rem;
}
h3{
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0;
}
.sottotitoloBloccoCompetenze{
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 1.75rem;
}
strong{
    font-weight: 600;
}
.active a {
    /* color: #4B5EFC!important; */
    /* text-decoration: underline!important; */
}
.colorText{
    color: #ffe12e;
}
.colorTextDark{
    color: #ffe12e;
    text-shadow:10px 10px 20px #666;
}
.colorWhite{
    color: #ffffff;
}
.BGcolor{
    background-color:#ffe12e;
    color: #000;
    position: relative;
    z-index: 1;
}
/* .evidenziatore::after{
    background-image: url(../images/background-yellow.svg);
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    top: -14px;
    width: 117px;
    height: 50px;
    z-index: -1;
    left: -3px;
} */
.evidenziatore{
    padding: 5px;
    line-height: 2.8rem;
}
.btn{
    text-transform: uppercase;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 500;
    border: 0;
    transition: 0.5s;
}
.btn:hover{
    background-color: #FFEB3B;
    color: #000;
}
.btn-light{
    background-color: #fff;
}
.btn-dark{

}
.btn-outline-dark{
    border:1px solid;
}
.btnInEvidenza{
    background-color: #ffe12e;
    padding: 10px 20px;
    color: #000;
    border-radius: 30px;
    transition: 0.5s;
}
.btnInEvidenza:hover{
    background: #FFEB3B;
    text-decoration: none;
}
.gray100{
    background-color: #f4f4f4;
}
.gray200{
    background-color: #e0e0e0;
}
.gray300{
    background-color: #cccccc;
}
.gray400{
    background-color: #b3b3b3;
}
.gray500{
    background-color: #929292;
}
.relative{
    position: relative;
}
.heroSection{
    height: 100vh;
    /* background-color: #f4f4f4; */
    /* background-image: url(../images/bg-hero.avif); */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.heroSection .row{
    min-height: 100%;
    max-height: 100%;
}
.heroSectionImg{
    padding: 0;
    height: 100vh;
    background-image: url(../images/michele-magnoni-digital.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}
.heroSectionImg img {
    z-index: 2;
    -o-object-fit: contain;
    object-fit: contain;
    vertical-align: bottom;
    /* width: 100%;
    height: 100vh; */
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 10%;
    width: 40%;
}
.heroSection .heroSectionText{
    /* padding: 150px 50px 50px; */
    /* max-height: 100vh;
    max-width: 1160px;
    margin: 0 auto; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
    opacity: 1;
    transition: text-shadow 0.1s ease-in-out, opacity 0.1s ease-in-out; */
}
.heroSectionHP{
    padding-top: 80px;
    padding-left: 50px;
}
.paddingSection{
    padding: 150px 50px 150px;
}
.paddingTopHero .heroSectionText{
    /* padding: 200px 50px 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.heroSection .heroSectionText .btn:first-of-type{
    margin-right: 15px;
}
.heroSection h1{
    font-size:7.3rem; /*  3.5rem*/
    text-transform: uppercase;
    font-weight: 800;
    line-height: 7rem ; /* 3rem; */
    padding-bottom: 30px;
    padding-top: 20px;
    color: #000;
    max-width: 1060px;
    /* text-shadow: 0 0 10px #000; */
}

/* menu */

/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */
.nav {
    width: 100%;
    height: 80px;
    position: fixed;
    line-height: 80px;
    text-align: center;
    z-index: 999;
}
.nav .container{
    padding-left: 0;
}
.nav div.logo {
    float: left;
    width: 500px; /* auto; */
    height: auto;
    font-family: "Yesteryear", cursive;
    padding: 8px 50px;
    /* padding-left: 3rem; */
}
.nav div.logo a {
    max-width: 100%;
    /* text-decoration: none;
    color: #f9d73c;
    font-size: 4.5rem;
    position: relative; */
}
.micheleMagnoni{
    font-size: 4rem;
    font-family: "Yesteryear", cursive; 
}
.originalLogo{
    height: 150px;
    width: 400px;
    background-image: url(../images/logo-michelemagnoni-black.svg);
    display: block;
    background-repeat: no-repeat;
}
.resizeLogo{
    height: 55px;
    width: 250px;
    background-image: url(../images/logo-michelemagnoni-white.svg);
    display: block;
    background-repeat: no-repeat;
    margin-top: 5px;
}
.nav.affix{
    z-index: 999;
}
.nav div.main_list {
    height: 65px;
    float: right;
}
.nav div.main_list ul {
    width: 100%;
    height: 80px;
    display: flex;
    list-style: none;
    padding: 0;
    padding: 3px 0 0 0;
}
.nav.affix div.main_list ul {
    visibility: visible;
}
.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}
.nav div.main_list ul li a {
    text-decoration: none;
    color: #000;
    line-height: 65px;
    font-size: 1.4rem;
}
.nav.affix div.main_list ul li a {
    color: #fff;
}
.nav.affix a.btnInEvidenza{
    color: #000!important;
}
.bi-house-fill{
    margin-bottom: 4px;
}
.navlinks li {
    position: relative;
}
.navlinks a.hover-underline-animation {
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 15px 0!important;
}
.navlinks .hover-underline-animation::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #000;
    transition: width 0.3s ease, left 0.3s ease;
}
.affix .navlinks .hover-underline-animation::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #ffe12e;
    transition: width 0.3s ease, left 0.3s ease;
}
.navlinks .hover-underline-animation:hover::after {
    width: 100%;
    left: 0;
}
.navlinks .active .hover-underline-animation::after {
    width: 100%;
    left: 0;
}

/* scroll down*/
.mouse {
	width: 50px;
	height: 90px;
	border: 4px solid #fff;
	border-radius: 60px;
	position: absolute;
    bottom: 50px;
    left: 50%;
    margin-left: -25px;
	&::before {
		content: '';
		width: 12px;
		height: 12px;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #ffe12e;
		border-radius: 50%;
		opacity: 1;
		animation: wheel 2s infinite;
		-webkit-animation: wheel 2s infinite;
	}
}
@keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}
@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 60px;
	}
}


.scroll {
    font-weight: bold;
	width: 60px;
	height: 60px;
	/* border: 4px solid #000; */
	border-radius: 50%;
	position: absolute;
    bottom: 50px;
    left: 50%;
    margin-left: -30px;
	animation: down 1.5s infinite;
	-webkit-animation: down 1.5s infinite;
    background-color: #ffe12e;
    box-shadow: 0px 10px 10px #ccc;
    transition: 0.5s;
	&::before {
		content: '';
		position: absolute;
		top: 19px;
		left: 21px;
		width: 18px;
		height: 18px;
		border-left: 4px solid #000;
  	    border-bottom: 4px solid #000;
		transform: rotate(-45deg);
	}
}
.scroll:hover{
    background-color: #FFEB3B;
}
.scroll.white{
    border: 2px solid #fff;
    &::before {
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }
}
@keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}
@-webkit-keyframes down {
	0% {
		transform: translate(0);
	}
	20% {
		transform: translateY(15px);
	}
	40% {
		transform: translate(0);
	}
}

/* myOutdoorBox section */
.navTrigger {
    display: none;
}
.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}



/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */
.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}
.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}
.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}
.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}
.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}
.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}
@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}
@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}
@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}
@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}
@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}
@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}
@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}
@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}
@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}
@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}
@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}
@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}
.affix {
    padding: 0;
    background-color: #000;
}
.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

.triBlocco{
    padding: 0 0 50px 15px;
}

.aboutContainer,
.portfolioContainer,
.mabuContainer,
.clientiContainer,
footer{
    position: relative;
}
.skillBox{
    background: #ffe12e;
    color: #000;
    padding: 50px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0px 10px 10px #ccc;
}

.skillBox h3::before{
    content:none!important;
    height: 0!important;
    width: 0px!important;
    background-color: transparent!important;
    visibility: hidden!important;
    display: none!important;
}
.aboutContainer{
    padding: 100px 0;
    min-height: 100vh;
    font-size: 1.7em;
    font-weight: 300;
    color: #000;
    /* background-color: #ffffff; */
}
.about .col{
    position: relative;
}
.reasonWhy{
    /* background-color: #f4f4f4; */
}
.paddingSectionHP{
    padding: 50px 15px 150px 15px;
}
.about h3.pipe::before,
.reasonWhy h3.pipe::before {
    content: "";
    height: 0.8em;
    width: 8px;
    background-color: #ffe12e;
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    top: 17px;
}
.boxQuadrato h3::before{
    display: none;
}
.portfolioContainer{
    /* padding-bottom: 100px; */
    /* background-color: #f4f4f4; */
} 
.clientiContainer{
    padding: 100px 0;
    background-color: #ffffff;
}
.formazioneContainer{
    text-align: left!important;
    background-image: url(../images/background-shape.avif);
    background-attachment: fixed;
    background-size: cover;
    /* text-shadow: 0px 0px 24px #000; */
    /* background: #4B5EFC;  */
    /* #000; */
    padding-left: 0px;
    padding-right: 0px;
}
.formazioneContainer .loghiReferenze{
    filter: grayscale(100%);
}
/* .mabuContainer{
    background-image: url(../images/background-shape.avif);
    background-attachment: fixed;
    background-size: cover;
    padding: 100px 0;
    min-height: 100vh;
    text-align: center;
    text-shadow: 0px 0px 24px #000;
} */
.parallaxContainer {
    background-image: url(../images/background-shape.avif);
    background-size: cover;
    background-position: center 0px;
    background-attachment: scroll; /* Non fixed, lasciamo JS gestire lo scrolling */
    padding: 100px 0;
    min-height: 100vh;
    text-align: center;
    /* text-shadow: 0px 0px 24px #000; */
}
.mabuContainer p,
.myOutdoorContainer p,
.formazioneContainer p{
    font-size: 1.35rem;
    font-weight: 300;
    color: #fff;
    list-style-position: inside;
}
.formazioneContainer .accordion p{
    color: #000;
}
.formazioneContainer h3{
    color: #fff;
}
hr{
    margin: 0 auto;
    max-width: 1024px;
}

.container{
    max-width: 1024px;
}
.portfolioBox{
    background-color: #f4f4f4;
}
.portfolioBox .col-1{
    padding: 0;
}
.portfolioBox img{
    max-width: 100%;
}
/* MyOutdoor Section */
.myOutdoorContainer {
    font-size: 1.7em;
    font-weight: 300;
    color: #fff;
    padding: 100px 0;
    /* width: 100%;
    min-height: 100vh;
    font-size: 1.7em;
    font-weight: 300;
    color: #fff;
    padding: 100px 0;
    background-image: url(../images/background-shape.avif);
    background-attachment: fixed;
    background-size: cover;
    text-shadow: 0px 0px 24px #000; */
}
.rigaImgMyO{
    text-align: center;
}
.stampaTV{
    max-width: 1280px;
}
.stampaTV .col{
    padding: 0;
}
.stampaTV img{
    max-width: 170px;
    filter: grayscale(100%);
}
.loghiPartner{
    filter: grayscale(100%);
}
/* 
.background {
  transform: translateZ(-10px) scale(2);
}
.foreground {
  transform: translateZ(-5px) scale(1.5);
}
.background,
.foreground {
  z-index: -1;
} */


/* contact */
.ciuccio{
    display: none;
}
.contactContainer{
    background-image: url(../images/bg-footer.avif);
    background-size: cover;
    min-height: 100vh;
    padding: 100px;
    background-attachment: fixed;
    /* background-color: #000; */
}
.contactContainer h3{
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
}
.formStyle input[type=text],
.formStyle input[type=email],
.formStyle textarea{
    width: 100%;
    line-height: 20px;
    background-color: #141414;
    border-radius: 10px;
    outline: 0;
    -webkit-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    padding: 10px 10px 8px 10px;
    border: 0;
    border-bottom: 1px solid #666;
    margin: 0 0 10px;
}
.formStyle input[type=checkbox]{
    margin-right:10px;
}
.formStyle textarea{
    background-color:#141414;
    border-color: #666;
    padding: 15px;
    font-weight: 400;
    color: #fff;
    height: 120px;
}
input::placeholder,
textarea::placeholder,
label {
    color: #666;
    text-transform: capitalize;
    font-size: 1rem;
    font-weight: 400;
}
label.privacy{
    text-transform: none;
}
.colonnaDXcontatti{
    padding-top: 110px;
}
.colonnaDXcontatti a{
    text-decoration: none;
}
.colonnaDXcontatti p{
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0;
}

footer{
    background: #000;
    padding: 50px;
    color: #fff;
}
.linkPrivacy{
    color: #fff;
    text-decoration: underline;
}
.modal-body{
    font-size: 1.1rem;
    color: #141414!important;
}





/* popup sui box quadrati */
.boxQuadrato {
    min-width: 280px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}
.boxQuadrato:hover {
    transform: scale(1.1);
    background-color: #FFEB3B;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;   
    justify-content: center;
    overflow: hidden; /* Previene overflow globale */
    display: none;
}
@media (max-width: 768px) {
    .popup-content {
        max-height: 70vh; /* Riduci altezza sui dispositivi mobili */
        max-width: 95vw; /* Adatta la larghezza al viewport */
    }
}

.popup-content {
    text-align: left;
    width: 90%;
    height: 95vh; /* Limita l'altezza al 80% della finestra */
    max-width: 95vw; /* Facoltativo: limita anche la larghezza */
    overflow-y: auto; /* Aggiunge uno scroll verticale */
    overflow-x: hidden; /* Previene scroll orizzontale indesiderato */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    border-radius: 8px;

    scroll-behavior: smooth;
}

.popup-content h3 {
    margin-bottom: 20px;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}


/* card pubblicazioni */
.publication-card {
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.2s;
    border-bottom: 2px solid #929292;
    text-align: left;
}
.publication-card.hidden {
    display: none;
}

.publication-card:hover {
    transform: scale(1.02);
}
.yearPublication {
    font-weight: normal;
    color: #929292;
    margin-bottom: 0;
    font-size: 0.7em;
}
.titlePublication {
    font-size: 1.2rem;
    font-weight: bold;
}
.descriptionPublication {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}
.descriptionPublication li{
    font-size: 1em!important;
}
.isbnPublication {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}
/* 
.pubblicazioniSingle{
    color: #74c0fc;
}
.mostreSingle{
    color: #69db7c;
}
.tredSingle{
    color: #f783ac;
}
.videoSingle{
    color: #ffa94d;
}
.mappeSingle{
    color: #fcc419;
} */
/* .card-blue {
    background-color: #d0ebff;
    border: 1px solid #74c0fc;
}
.card-green {
    background-color: #d3f9d8;
    border: 1px solid #69db7c;
}
.card-yellow {
    background-color: #fff3bf;
    border: 1px solid #fcc419;
}
.card-orange {
    background-color: #ffd8a8;
    border: 1px solid #ffa94d;
}
.card-pink {
    background-color: #ffc9c9;
    border: 1px solid #f783ac;
} */
.hidden {
    display: none;
}
.filter-btn{
    cursor: pointer;
}
.filter-btn:hover{
    text-decoration: underline;
}

/* loghi referenze */
.img-container img {
    object-fit: cover;
    width: 100%;
    height: auto;
}
.scroll-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    gap: 10px;
}
.scroll-item {
    min-width: 6.66%;
    max-width: 12%;
    flex-shrink: 0;
}
.scroll-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}
.accordion{
    max-width: 600px;
    margin: 0 auto!important;
}
.accordion-button:not(.collapsed){
    background-color: #ffe12e;
    color:#ffffff;
    outline: none;
    font-weight: bold;
}
.accordion-button:focus{
    box-shadow: none;
}
.accordion-button{
    font-size: 1.2rem;
}
.accordion-body li{
    font-size: 1.1rem;
}

/* Nascondi l'icona accordion di Bootstrap */
.accordion-button::after {
    display: none;
}
/* Stile per l'icona personalizzata */
.accordion-button .accordion-icon {
    font-size: 2rem; /* Imposta una dimensione per l'icona */
    margin-right: 10px;
    width: 1.5em;  /* Imposta una larghezza fissa per evitare spostamenti */
    text-align: center; /* Centra l'icona */
} 
.yt-link{
    cursor: pointer;
    text-decoration: none;
}
.linkNormal{
    text-decoration: underline;
    color: #fff;
}
.smallerTxt p{
    font-size: 0.95rem;
}
.bi-linkedin,
.bi-amazon,
.bi-youtube,
.bi-envelope-fill,
.bi-mabu{
    color: #ffe12e;
    margin-right: 16px;
}
.bi-linkedin:hover,
.bi-amazon:hover,
.bi-youtube:hover,
.bi-envelope-fill:hover{
    color: #FFEB3B;
}
.copertinaVideo img{
    max-width: 100%;
}

/* Stili per le Frecce */
.arrow {
    position: absolute;
    top: 100%;
    transform: translateY(-50%);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 3rem;
    padding-bottom: 9px;
    border-radius: 30px;
    transition: 0.5s;
    background-color: transparent;
    border: 1px solid;
}
.arrowDark{
    background-color: transparent;
    border: 1px solid;
    color: #000;
}
.arrow:hover{
    background-color: #FFEB3B;
}
.arrow-left {
    left: 50%;
    margin-left: -60px;
}
.arrow-right {
    left: 50%;
    margin-right: -60px;;
}

/* Media Query per la Responsività */
/* Media query section */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}
@media screen and (max-width:768px) {
    .nav .container-fluid{
        padding: 0;
    }
    .navTrigger {
        display: block;
        z-index: 999;
    }
    .nav div.logo {
        max-width: 100%;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
        position: relative;
        top: -60px;
    }
    .nav.affix div.show_list {
        height: auto;
        display: none;
        top: 0;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #000;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.main_list ul li{
        height: auto;
    }
    .navlinks .hover-underline-animation::after{
        background-color: #ffe12e;
    }
    .show_list .btnContatti{
        /* position: absolute!important;
        bottom: -80vh; */
        position: fixed;
        bottom: 40px; /* Puoi regolare questo valore per la distanza dal basso */
        left: 50%;
        transform: translateX(-50%); /* Centra il pulsante orizzontalmente */
        width: auto; /* Imposta la larghezza automatica, se necessario */

    }
    .nav div.show_list ul li a{
        color: #fff;
    }
    .nav div.show_list ul li.btnContatti a{
        color: #000;
        font-size: 2.3rem;
    }
    .nav div.media_button {
        display: block;
    }
    .contactContainer,
    .paddingSection{
        padding: 100px 20px 50px  20px;  
    }
    .contactContainer h3{
        font-size: 4em;
    }
    .heroSection h1{
        font-size: 4.5em;
        line-height: 1em;
    }
    .heroSectionHP{
        padding-left: 15px;
        text-align: center;
        padding-top: 150px;
        height: 50vh;
    }
    .heroSectionImg{
        height: 50vh;
    }
    .nav div.logo{
        padding-top: 35px;
    }
    .nav.affix div.logo{
        padding-top: 8px;
    }
}

@media (min-width: 1200px) {
    .scroll-item { min-width: 12%; } /* 6 immagini su schermi larghi */
}
@media (min-width: 992px) and (max-width: 1199px) {
    .scroll-item { min-width: 20%; } /* 5 immagini su schermi medi */
}
@media (min-width: 768px) and (max-width: 991px) {
    .scroll-item { min-width: 25%; } /* 4 immagini su tablet */
}
@media (min-width: 576px) and (max-width: 767px) {
    .scroll-item { min-width: 33.33%; } /* 3 immagini su schermi piccoli */
}
@media (max-width: 575px) {
    .scroll-item { min-width: 50%; } /* 2 immagini su smartphone */
}
@media (max-width: 400px) {
    .heroSection h1{
        font-size: 4.3em;
    }
    .nav div.logo{
        padding-top: 0;
    }
}