/* 
==========================================
ASC27 | We build Knowledge 
==========================================
Website:       https://www.asc27.com  
Versione:      13.3  
UX/UI, Animation & Graphic Designer : Massimiliano D'Arpino
==========================================

Veni, Vidi, ASC27!
==========================================
*/


.jumbotron {
    background-color: transparent;
}

#masked {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;

}

.card-horizontal {
    display: flex;
    flex: 1 1 auto;
}

.asc27_background {
    background: rgba(255, 194, 18, 1);
    background-image: url("../images/rete_XL.png");
    /* fallback */
    background-image: url("../images/rete_XL.png"), linear-gradient(0deg, rgba(229, 136, 5, 1) 0%, rgba(255, 176, 0, 1) 49%, rgba(255, 195, 0, 1) 100%);
    /* W3C */
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: auto 100%;
    -o-background-size: 100%;
    background-position: top center;

}

.asc27_background_event {
    background: rgb(24, 21, 58);
    /* fallback */
    background-image: linear-gradient(0deg, rgb(41, 21, 72) 0%, rgb(32, 24, 80) 49%, rgb(59, 15, 88) 100%);
    /* W3C */
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: auto 100%;
    -o-background-size: 100%;
    background-position: top center;

}

.asc27_background_no_img {
    background: rgba(255, 194, 18, 1);
    background-image: url("");
    /* fallback */
    background-image: url(""), linear-gradient(0deg, rgba(229, 136, 5, 1) 0%, rgba(255, 176, 0, 1) 49%, rgba(255, 195, 0, 1) 100%);
    /* W3C */
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: auto 100%;
    -o-background-size: 100%;
    background-position: top center;

}


.asc27_background_black_cyber {
    background: rgb(0, 0, 0);
    background-image: url("../images/pattern_cyber.jpg");
    /* fallback */
    background-image: url("../images/pattern_cyber.jpg"), linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(14, 14, 14) 100%);
    /* W3C */
    -webkit-background-size: 60%;
    -moz-background-size: 60%;
    background-size: 60% auto;
    -o-background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;

}

.bg-dark {
    background-color: #121212 !important;
}

.asc27_background_contact {
    background: rgba(255, 194, 18, 1);
    background-image: linear-gradient(0deg, rgba(229, 136, 5, 1) 0%, rgba(255, 176, 0, 1) 49%, rgba(255, 195, 0, 1) 100%);
    /* W3C */
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    background-size: auto 100%;
    -o-background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;

}

.asc27_background_2 {
    background: rgba(255, 194, 18, 1);
    background-image: url("../images/rete_XL_2.png");
    /* fallback */
    background-image: url("../images/rete_XL_2.png"), linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(89, 40, 6, 1) 28%, rgba(141, 75, 9, 1) 67%, rgba(229, 136, 5, 1) 100%);
    background-position: center center;
    background-repeat: no-repeat;
    background-position: top center;
}

.asc27_background_3 {
    background: rgb(0, 0, 0);
    background-image: url("../images/gladiatore_1_TOT.png");
    /* fallback */
    background-image: url("../images/gladiatore_1_TOT.png"), linear-gradient(0deg, rgba(0, 0, 0, 1) 7%, rgba(105, 57, 33, 1) 80%);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.asc27_background_4 {
    background: rgb(0, 0, 0);
    background-image: url("../images/gladiatore_sfondo_lg.jpg");
    /* fallback */
    background-image: url("../images/gladiatore_sfondo_lg.jpg"), linear-gradient(0deg, rgb(255, 255, 255) 7%, rgb(240, 240, 240) 80%);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.bg_gladiator_1 {
    background-image: url("../images/gladiatore_1_TOT.png");
    /* fallback */
    background-position: left top;
    background-repeat: no-repeat;
    padding-bottom: 100px;
}

.nav-brand-centereds {
    background-color: black;
    padding-bottom: 20%;
    align-items: center;
}

.navbar-nav>li {
    padding-left: 23px;
    padding-right: 23px;
    padding-top: 0px;
}

.navbar-brand {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.navbar {
    font-weight: lighter;
    font-style: bolder;
    font-size: 24px;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
    top: 0px;
    background-color: transparent;
    margin-top: 0px;
    padding-top: 0px;
}

.floating-img {
    display: inline-block;
    perspective: 1000px; /* Perspective to enhance 3D effect */
}

.floating-img img {
    width: 300px; /* Adjust based on image size */
    animation: floatEffect 5s ease-in-out infinite; /* Animation duration and easing */
    transform-origin: center;
}

/* Define the animation */
@keyframes floatEffect {
    0% {
        transform: rotateX(0deg) rotateY(0deg) translateZ(0);
    }
    25% {
        transform: rotateX(2deg) rotateY(-2deg) translateZ(5px);
    }
    50% {
        transform: rotateX(0deg) rotateY(2deg) translateZ(0);
    }
    75% {
        transform: rotateX(-2deg) rotateY(-2deg) translateZ(-5px);
    }
    100% {
        transform: rotateX(0deg) rotateY(0deg) translateZ(0);
    }
}

/* Definisce l'animazione bounce */
@keyframes slowBounce {
    0%, 100% {
        transform: translateY(0); /* Posizione iniziale e finale */
    }
    50% {
        transform: translateY(-10px); /* Altezza del rimbalzo */
    }
}

/* Applica l'animazione alla card */
.bounce {
    animation: slowBounce 3s ease-in-out infinite; /* Durata lenta e loop infinito */
}

.nav-link {
    color: #000 !important;
    padding-top: 23px;
}

.hero_title_white {
    color: white;
    font-size: 70px;
    letter-spacing: -3px;
    font-weight: bold;
    line-height: 72px;
    /* padding-top: 30px; */
    position: relative;
    top: 60px;
}

.hero_title_black {
    color: black;
    font-size: 70px;
    letter-spacing: -3px;
    font-weight: bold;
    line-height: 72px;
    /* padding-top: 30px; */
    position: relative;
    top: 60px;
}

.title_black {
    color: black;
    font-size: 36px;
    letter-spacing: -2px;
    line-height: 25px;
    font-weight: bold;
}

.payoff_subtitle {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: -2px;
    font-weight: 600;
    color: #231313;
    font-size: 28px;
    position: relative;
    top: 50px;
    padding: 0;
    margin: 0;
}

.payoff_subtitle_no_anim {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: -1px;
    font-weight: 600;
    color: #231313;
    font-size: 28px;
    position: relative;
    padding: 0;
    margin: 0;
}

.subtitle_white {
    font-family: 'Rajdhani', sans-serif;
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    letter-spacing: 1px;
}

.payoff_title {
    font-family: 'Work Sans', sans-serif;
    color: #fff;
    letter-spacing: -7px;
    padding-top: 1%;
    font-size: 80px;
    top: 130px;
    line-height: 60px;
    position: absolute;
    left: 50%;
    padding: 0;
    margin: 0;
    transform: translate(-50%, 0);

}


.team-area {
    padding: 60px 0;
}



.team-area .card {
    border: none;
    background: #ffffff;
}

.img-area {
    width: 150px;
    height: 150px;
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
}

.team-single:hover .side-two {
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.team-single:hover .side-one {
    transform: rotateY(180deg);
}

.content-area {
    transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -webkit-transform: perspective(1000px);
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.side-one {
    position: relative;
    transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.side-two {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    transform: rotateY(-180deg);
    width: 100%;
}

.card-body {
    padding: 0%;
}



.side-one,
.side-two {

    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
}


.side-two .card a {
    font-size: 18px;
    color: brown !important;
}

@media only screen and (max-width : 576px) {
    .card-title {
        font-size: 21px;
    }

    .hero_title_white {
        color: white;
        font-size: 30px;
        letter-spacing: -1px;
        line-height: 38px;
        position: relative;
        top: 45px;
    }

    .hero_title_black {
        color: black;
        font-size: 30px;
        letter-spacing: -1px;
        line-height: 38px;
        position: relative;
        top: 45px;
    }




    .payoff_subtitle {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        top: 35px;
        padding: 0;
        margin: 0;
    }

    .payoff_subtitle_no_anim {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .navbar {
        font-size: 16px;
        text-align: center;
        padding-top: 13px;
    }

    .navbar-nav {
        padding-top: 2rem;
    }
}

@media only screen and (min-width : 577px) and (max-width : 749px) {
    .card-text {
        font-size: 12px;
    }

    .card-title {
        font-size: 16px;
    }

    .navbar-nav {
        padding-top: 2rem;
    }
}

@media only screen and (min-width : 750px) and (max-width : 990px) {
    .card-text {
        font-size: 19px;
    }

    .card-title {
        font-size: 23px;
    }

    .card-title {
        font-size: 18px;
    }

    .hero_title_white {
        color: white;
        font-size: 60px;
        letter-spacing: -2px;
        line-height: 58px;
        position: relative;
        top: 80px;
    }

    .hero_title_black {
        color: black;
        font-size: 60px;
        letter-spacing: -2px;
        line-height: 58px;
        position: relative;
        top: 80px;
    }

    .payoff_subtitle {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        top: 70px;
        padding: 0;
        margin: 0;
    }

    .payoff_subtitle_no_anim {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .navbar-nav {
        padding-top: 4rem;
    }
}

@media only screen and (min-width : 990px) and (max-width : 1200px) {
    .card-text {
        font-size: 14px;
    }

    .card-title {
        font-size: 18px;
    }

    .hero_title_white {
        color: white;
        font-size: 50px;
        letter-spacing: -2px;
        line-height: 48px;
        position: relative;
        top: 60px;
    }

    .hero_title_black {
        color: black;
        font-size: 50px;
        letter-spacing: -2px;
        line-height: 48px;
        position: relative;
        top: 60px;
    }

    .payoff_subtitle {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        top: 50px;
        padding: 0;
        margin: 0;
    }

    .payoff_subtitle_no_anim {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .navbar {
        font-size: 18px;
    }
}

@media only screen and (min-width : 1201px) {
    .card-title {
        font-size: 28px;
    }

    .hero_title_white {
        color: white;
        font-size: 62px;
        letter-spacing: -2px;
        line-height: 60px;
        position: relative;
        top: 60px;
    }

    .hero_title_black {
        color: black;
        font-size: 62px;
        letter-spacing: -2px;
        line-height: 60px;
        position: relative;
        top: 60px;
    }

    .payoff_subtitle {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        top: 50px;
        padding: 0;
        margin: 0;
    }

    .payoff_subtitle_no_anim {
        letter-spacing: -2px;
        font-size: 23px;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .navbar {
        font-size: 23px;
        text-align: center;
        padding-top: 0px;
    }
}

#pageHidden {
    position: fixed;
    width: 150px;
    height: 150px;
    bottom: 0;
    right: 0;
    background: url(../images/pageHidden.png) no-repeat scroll 0% 0%;
    border: 0px none transparent;
    -webkit-transition: 3s;
    /* For Safari 3.1 to 6.0 */
    transition: width 3s, height 3s;
}

#pageHidden:hover {
    border: 0px none transparent;
    width: 300px;
    height: 300px;
}

#pageHidden:hover #pageBlock {
    opacity: 1;
    transition: opacity 0.1s;
}

#pageBlock {
    position: absolute;
    background: url(../images/pageBlock.png) repeat scroll 0% 0%;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: 0px none transparent;
    transition: opacity 0.1s 2.9s;
}

#pageCurl {
    position: absolute;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0), rgba(243, 243, 243, 0.3) 45%, rgba(228, 228, 228, 0.3) 50%, rgb(143, 143, 143) 50%, rgb(225, 225, 225) 56%, rgb(240, 240, 240) 62%, rgb(243, 243, 243) 80%, rgb(255, 255, 255) 100%) repeat scroll 0% 0%, transparent no-repeat scroll 0% 0%;
    width: 100%;
    height: 100%;
}

/* @keyframes MovimentoCurl di reavat in basso a destra {

    0%,
    100% {
        rotate: 179deg;
    }

    50% {
        rotate: 180deg;
    }
} */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.vitruvian {
    background: linear-gradient(270deg, #070728, #515b77); /* Gradiente animato */
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
    padding: 10px 0; /* Aggiunge un po' di spazio sopra e sotto */
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.banner_vitruvian .row {
    display: flex;
    align-items: center; /* Allinea tutti gli elementi verticalmente */
    justify-content: space-between; /* Distribuisce gli elementi */
}

.logo_vitruvian {
    height: 50px; /* Altezza iniziale */
    width: auto; /* Mantiene le proporzioni */
    transition: height 0.3s ease-in-out;
    object-fit: contain;
    position: relative; /* Necessario per posizionare l'elemento ::after */
    z-index: 1; /* Assicura che l'immagine sia sopra l'effetto shimmer */
}

.logo_vitruvian::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    z-index: 2; /* Assicura che l'effetto shimmer sia sopra l'immagine */
}

.banner_vitruvian:hover .logo_vitruvian {
    height: 130px;
    object-fit: contain;
}

/* Posizione fixed quando viene aggiunta la classe "fixed" */
.fixed-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Assicurati che il container resti sopra altri contenuti */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Aggiungi una leggera ombra per effetto visivo */
}
