



/*background start*/
@import url('fonts.googleapis.com');

body {
    background-color: #050505 !important;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
}

/* Effetto linee di scansione TV vecchia */
body::before {
    content: " ";
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 242, 255, 0.02) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
}

/*background end*/

.marquee-text-effect {
    display: inline-flex !important;
    overflow: hidden;
}
@keyframes marquee-text-effect {
    0% { transform:translateX(0%);}
    100% { transform:translateX(-100%);}
}
.marquee-text-effect .content-text {
    display: inline-flex;
    justify-content: space-around;
}
.marquee-text-effect .content-text > * {
    display: inline-block;
    padding: 0 10px;
    white-space: nowrap;
}



body:not(.gridbox) .btn-hover-effect .ba-btn-transition {
 overflow: hidden;
 position: relative;
 transition: background .0s ease-in-out;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition > i,
body:not(.gridbox) .btn-hover-effect .ba-btn-transition > span {
 z-index: 5
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:before,
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:after {
 border-radius: inherit;
 bottom: 0;
 content: "";
 left: 0;
 position: absolute;
 right: 0;
 top: 0;
 transition: .3s;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:before {
 background: var(--button-background-color);
 z-index: 1;
}
 
body:not(.gridbox) .btn-hover-effect .ba-btn-transition:after {
 background: var(--button-background-hover);
 z-index: 2;
}


body:not(.gridbox) .btn-hover-effect.gb-swipe-to-right .ba-btn-transition:after {
    transform: translateX(-100%);
}
body:not(.gridbox) .btn-hover-effect.gb-swipe-to-right .ba-btn-transition:hover:after {
    transform: translateX(0);
}
@keyframes gb-swipe-to-right {
    0% {transform: translateY(0);}
    25% {transform: translateX(100%);opacity: 0;}
    26% {transform: translateX(-100%);opacity: 0;}
    100% {transform: translateY(0);}
}
body:not(.gridbox) .btn-hover-effect.gb-swipe-to-right .ba-btn-transition:hover span {
    animation: gb-swipe-to-right .5s linear both;
}


.testo-ruotato {
    transform: rotate(0deg); /* Ruota il testo */
    display: inline-block;
}

.img-ruotato {
    transform: rotate(-56deg); /* Ruota immagine */
    display: inline-block;
}
    

.dynamic-underline2 {
    position: relative;
    display: inline-block;
}

.dynamic-underline2::after {
    content: '';
    position: absolute;
    left: 4%; /* Centra la sottolineatura */
    bottom: 5;
    width: 10%; /* Larghezza della sottolineatura */
    height: 3.5px;
    background-color: #08A88A;
    transform: translateX(-60%) scaleX(-1); /* Inizialmente non visibile */
    transition: transform 0.3s;
}

.dynamic-underline2:hover::after {
    transform: translateX(-20%) scaleX(-1); /* Mostra la sottolineatura al passaggio del mouse */
}

/**/
.dynamic-underline {
    position: relative;
    display: inline-block;
}

.dynamic-underline::after {
    content: '';
    position: absolute;
    left: 25%; /* Centra la sottolineatura */
    bottom: 5;
    width: 70%; /* Larghezza della sottolineatura */
    height: 3.5px;
    background-color: #08A88A;
    transform: translateX(-60%) scaleX(-1); /* Inizialmente non visibile */
    transition: transform 0.3s;
}

.dynamic-underline:hover::after {
    transform: translateX(-20%) scaleX(-1); /* Mostra la sottolineatura al passaggio del mouse */
}


/* Allunga il font del 50% verso l'alto 
.font-stretto {
    transform: scaleY(1.5); 
    display: inline-block;
    transform-origin: bottom;
}   
*/