
/* #region IMPOSTAZIONI GENERALI DEL FILE*/
    body {
        background-color: #F2F2F2;
        padding-top: 70px !important;
        font-family: 'polymath', sans-serif;
    }

    /* MARGINI */
    .container, .container-fluid {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    @media (min-width: 992px) {
        .container, .container-fluid {
            padding-left: 60px !important;
            padding-right: 60px !important;
        }
    }

    /*TESTO*/
    html {
        font-size: 112.5%;
    }

    @media (max-width: 575.98px) {
        html{ font-size: 87.5%;} 
    }

    .text-weight-bold {
        font-weight: 600;
    }

    p[lang="en"] {
        hyphens: auto;
    }


/*#endregion*/


/* #region ELEMENTI FISSI */

    /*#region FOOTER*/

        .footer {
            display: flex;
            justify-content: space-between;
            align-items:start;
            padding-top: 150px;
            font-family: 'polymath', sans-serif;
        }

        .footer-home {
            padding-top: 100px;
        }

        .social-links {
            /*background-color: red;*/
            display: flex;
            gap: 20px;
            color: black;
        }

        .social-links a {
            color: black;         
            text-decoration: none;
        }

        .footer p {
            font-size: 16px;
        } 

        @media (max-width: 575.98px) {

            .footer {
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding-top: 90px;}

                .social-links {
                order:-1;
                padding-bottom: 10px;
                gap: 10px;}

                .footer p {
                font-size: 10px;} 
            }

    /*#endregion*/

    /* #region NAVBAR */

        .navbar{
            background-color: #f2f2f2;
            height: 100px;

            font-weight: 400;
            font-style: normal;
        }

        /*per rimuovere padding dalla navbar*/
        .navbar .container-fluid {
            padding-left: 24px;
            padding-right: 24px;
            padding-top: 10px;
        }

        .navbar-brand {
            font-size: 20px;
        }

        .nav-link {
            color: #6C6C6C !important;
            font-size: 20px;
        }

        /*per rimuovere la freccetta di default*/
        .dropdown-toggle::after {
            display: none !important;
        }

        /*dimensione della nuova freccetta*/
        .bi-chevron-down {
            font-size: 14.4px;
        }

        /*per rimuovere l'alone quando si clicca sul dropdown menu*/
        .nav-link:focus, 
        .dropdown-toggle:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        .navbar-toggler {
            border: none !important; 
            font-size: 25px;
            color:black;
            padding:0%;
        }

        .dropdown-menu {
            border: none;
        }

        /*Menu in dimensione mobile*/
        @media (max-width: 575.98px) {

            .dropdown-menu {
                border: none !important; 
                background-color: transparent; 
                display: block !important; 
                position: static !important; 
            }

            .navbar-collapse {
                position: fixed;
                width: 100%;
                height: calc(100vh - 60px);
                top: 100px;
                left:0px;
                padding: 0px 40px;
                background-color:#f2f2f2;

                transition: none !important;
                opacity: 1 !important; 
                visibility: visible !important;
            }

            /*Contenitore tasto hamburger*/
            .navbar-toggler {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 32px;  
                height: 32px; 
                padding: 0 !important;
                border: none !important;
                background: transparent !important;
            }

            .hamburger-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;}

            .navbar-toggler .hamburger-icon::before {
                content: "\F479"; 
                font-family: "bootstrap-icons";
                font-style: normal;
                font-size: 25px;
                transition: transform 0.3s ease;
            }

            .navbar-toggler:not(.collapsed) .hamburger-icon::before {
            content: "\F659";
            color: black;
            font-size: 21px;
            text-align: left;
            -webkit-text-stroke: 0.3px ;
            }

            /*Per nascondere la freccetta del dropdown*/
            .bi-chevron-down {
                display: none !important;
            }

        }
    
    /* #endregion */

/*#endregion*/
    

/* #region PAGINE */

    /*#region HOME*/

        /*#region INTRO*/
        
        .welcome{
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: calc(100vh - 100px - 10px);
            width: 100%;
        }

        .welcome-message {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .welcome-message h1{
            width: 50%;
            font-size: 60px;
            line-height: 105%;
            text-align: center;
            /*font-size: 375%;*/
        }

        @media (max-width: 992px) {
            .welcome-message h1{
            width: 70%;
            font-size: 55px;
        }}

        @media (max-width: 575.98px) {
            .welcome-message h1{
            width: 90%;
            font-size: 35px;
        }}


        .clickable-text {
            text-decoration: underline;
            cursor: pointer;
            transition: color 0.4s ease;
            position: relative;
            display: inline-block;
            }

            /* Colore testo attivato */
            .clickable-text.active {
            color: #ffcc00;
            }

            .clickable-text::after {
            content: '\2726'; 
            position: absolute;
            right: -25px;
            top: 0;
            opacity: 0;
            transition: all 0.5s ease;
            }

            /* Animazione della stellina quando la classe attiva */
            .clickable-text.active::after {
            opacity: 1;
            animation: spin-and-fade 1.5s forwards;
            }

            /* Timeline */
            @keyframes spin-and-fade {
            0% {
                transform: rotate(0deg) scale(0);
                opacity: 0;
            }
            50% {
                transform: rotate(180deg) scale(1.5);
                opacity: 1;
            }
            100% {
                transform: rotate(360deg) scale(0);
                opacity: 0;
            }
            }


        /*#endregion*/

        /*#region EXPLORE MY PROJECTS*/

            .home-projects{
                display: flex;
                flex-direction: column;
                justify-content:start;
                align-items:center;
                margin-top: 50px;
                
                min-height: 10px;
                /*background-color: aquamarine;*/
                margin-bottom: 15px;
                }

            .home-projects-title{
                font-size: 40px;
                font-weight: 500;
                /*font-size: 250%;*/
                margin-bottom: 28px;
                text-align: center;
                
            }

            .home-projects-intro{
                font-weight: 300;
                /*font-size: 112.5%;*/
                text-align: center;
                width: 35%;
            }


            @media (max-width: 992px) {
                .home-projects-intro{
                width: 70%
            }}

            @media (max-width: 575.98px) {
                .home-projects-title{
                    font-size: 30px;
                }

                .home-projects-intro{
                    width: 90%
            }}


            /*CAROSELLO*/
            #tranding, 
            #tranding *, 
            #tranding *::before, 
            #tranding *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box; /* Mantiene i pallini della dimensione corretta */
            list-style-type: none;
            text-decoration: none;
            }

            .projects {
                overflow: hidden;
            }

            #tranding {
            padding: 0rem 0;
            padding-bottom: 2rem;
            }

            .container-carousel {
            padding: 0 0rem;
            margin: 0 auto;
            }

            #tranding .tranding-slider {
                
                height: auto;
                padding-top: 5rem;
                padding-bottom: 5rem;   
                position: relative;
                overflow: hidden;
                max-width: 1317px;
                margin: 0 auto;
                margin-top: -4.4rem;
            }

            /*SLIDE*/
            .tranding-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45rem;
            transition: transform 0.3s ease;

            user-select: none;
            -webkit-user-select: none;

            }

            .tranding-slide .tranding-slide-img img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            }

            /*ZOOM LINK*/
            .tranding-slide-img img {
            transition: transform 0.3s ease;
            }

            .swiper-slide-active:hover .tranding-slide-img img {
            transform: scale(1.05);
            }

            .tranding-slide a {
            cursor: default;

            }

            .swiper-slide-active a {
            cursor: pointer !important;
            }

            .tranding-slide:not(.swiper-slide-active) a {
            pointer-events: none; /* non funziona link su slide laterali */
            }

            .swiper-slide-active a {
            pointer-events: auto; /* link funzionante solo sulla slide centrale */
            }


            /*OMBRE SLIDE*/
            .swiper-slide-shadow-left,
            .swiper-slide-shadow-right {
            display: none;
            }

            /*MENU DI CONTROLLO*/
            .tranding-slider-control {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;

            position: absolute;
            bottom: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
            width: auto;

            margin-bottom: 30px;
            
            user-select: none; 
            -webkit-user-select: none; /* Safari */
            -moz-user-select: none;    /* Firefox */
            -ms-user-select: none;     /* Edge/IE */

            -webkit-tap-highlight-color: transparent;

            }

            /*FRECCE*/
            
            .tranding-slider-control .slider-arrow {
                position: static !important;
                transform: none !important;
                margin: 0;
                border: 0.9px solid #000;
                width: 2rem;
                height: 2rem;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                flex-shrink: 0;
            }

            .tranding-slider-control .slider-arrow i {
            font-size: 1rem;
            color: #222224;
            
            }

            .tranding-slider-control .slider-arrow::after {
            content: '';
            }

            .swiper-button-prev i {
                transform: translateX(-1.5px) translateY(1px); 
            }

            .swiper-button-next i {
                transform: translateX(1.5px) translateY(1px);
            }

            /*INDICATORI PAGINATION*/
            .tranding-slider-control .swiper-pagination {
            position: static !important;
            width: auto !important;
            display: flex;
            align-items: center;
            /*background-color: yellow;*/
            }

            .tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
                all: unset; 
                display: inline-block;
                width: 0.4rem;
                height: 0.4rem;
                border-radius: 50%;
                background: transparent;      
                border: 0.7px solid #000000;    
                opacity: 1;
                margin: 0 0.2rem !important; 
                cursor: pointer;
                box-sizing: border-box !important; 
            
            }

            .tranding-slider-control .swiper-pagination .swiper-pagination-bullet-active {
            background: black;
            }


            @media (min-width: 2300px) {
                .tranding-slider-control {gap: 3rem;}
                
                .tranding-slider-control .slider-arrow {
                width: 2.7rem;
                height: 2.7rem;}
                
                .tranding-slider-control .slider-arrow i {
                font-size: 1.9rem;}

            }

            @media (max-width: 2300px) { 
                .tranding-slide { width: 36rem; }
                #tranding .tranding-slider {max-width: 1156px;}}

            @media (max-width: 2000px) { 
                .tranding-slide { width: 30rem; }
                #tranding .tranding-slider {max-width: 913px;}}

            @media (max-width: 992px)  { 
                .tranding-slide { width: 27rem; }
                #tranding .tranding-slider {max-width: 792px;}}

            @media (max-width: 575px)  { 
                .tranding-slide { width: 20rem; } 
                #tranding .tranding-slider {padding-bottom: 5rem; max-width: 461px;}

                .tranding-slider-control {gap: 1rem;}
                
                .tranding-slider-control .slider-arrow {
                width: 2rem;
                height: 2rem;
                border: 0.9px solid #000000;}
                
                .tranding-slider-control .slider-arrow i {
                    font-size: 1.2rem;
                    font-weight: 300;}

                .tranding-slider-control .swiper-pagination .swiper-pagination-bullet {
                width: 0.4rem;
                height: 0.4rem;
                border: 0.7px solid #000000;
            }}


        /*#endregion*/

    /*#endregion */

    /*#region ABOUT */

        .about-div {
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
        }

        .about-foto {
            margin-top: 12%;
            margin-bottom: 3%;
            height: 426px;
            width: auto;

            max-width: 100%; 
            object-fit: contain;
        }

        .about-title h1{
            font-size: 60px;
            line-height: 105%;
            text-align: center;
            padding-bottom: 15px;
            padding-top:10px;
        }

        .about-text {
            text-align: left;
            width: 50vw;
            padding-top: 5%;
        }

        .contact-me-link {
            color: black;
        }

        @media (max-width: 992px) {

            .about-text{
            width: 70%}

            .about-title h1{
            width: 90%;
            font-size: 55px;}

        }

        @media (max-width: 575.98px) {

            .about-text{
            width: 100% !important;}

            .about-title h1{
            width: 100%;
            font-size: 35px;
            align-items: stretch;}

        }

    /*#endregion*/

    /*#region CONTACTS */

        /*FORM DI CONTATTO*/

        .contacts-text-div {
            display:flex;
            justify-content: center;
            padding-top: 10%;
            flex-direction: column;
            /*padding-left: 0 !important;
            padding-right: 0 !important;*/
        }

        .contacts-title h1{
            font-size: 60px;
            display:flex;
            justify-content: center;
        }


        .contacts-form {
            color:black;
        }

        .contacts-form label {
            display: block;
            font-weight: 600;
            margin-bottom: 3px;
            font-size: 18px;
        }

        .contacts-form input[type="text"],
        .contacts-form input[type="email"],
        .contacts-form textarea {
            width: 100%;
            padding: 8px 12px;
            margin-bottom: 15px;
            border: 1px solid #cccccc;
            border-radius: 8px;
            background-color: #f2f2f2;
            box-sizing: border-box;
            outline: none;
            font-size: 18px;
        }

        .contacts-form input:focus,
        .contacts-form textarea:focus {
            border: 1px solid #888888;
        }

        .contacts-form .btn-submit {
            background-color: #000000;
            border: 1px solid #000000;
            color: white;
            padding: 8px 20px;
            border-radius: 8px;
            font-size: 18px;
        }

        .contacts-form .btn-submit:hover {
            background-color: #f2f2f2;
            color: rgb(0, 0, 0);
            padding: 8px 20px;
            border: 1px solid #000000;
            border-radius: 8px;
        }

        /*LOCATION*/

        .contacts-text {
            padding-top: 13%;
            display:flex;
            justify-content: center; 
        }

        .contacts-text h1 {
            font-size: 30px;
            text-align: center;
        }


        .contacts-text h1{
            font-size: 30px;
            line-height: 105%;
            text-align: center;
            padding-bottom: 15px;
            padding-top:10px;
        }

       /* #location-text{
            font-size: 30px;
            text-align: center;
        }*/

        .contacts-location {
            display:flex;
            justify-content: center;
            padding-top: 25px;
        }

    /*#endregion */

    /*#region PROJECTS */

        .project-div {
            /*background-color: cadetblue;*/
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow-x: hidden;
        }    

        .project-title {
            padding-top: 10%;
            display:flex;
            justify-content: center;
            /*background-color: aqua;*/
        }

        .project-title h1 {
            text-align: center;
            font-size: 50px;
            line-height: 105%;
        }

        .project-subtitle {
            padding-top: 6%;
            display:flex;
            justify-content: center;
            /*background-color: rgb(49, 141, 141);*/
        }

        .project-subtitle p {
            text-align: center;
        }

        .project-main-image {
            padding-top: 0;
            display:flex;
            justify-content: center;
        }

        .project-main-image img {
            width: 60%; 
        }

        .project-info {
            display: flex;
            flex-direction: column;
            align-items:start;
            /*background-color: rgb(180, 124, 180);*/
            width: 50vw;
            margin-left:auto;
            margin-right: auto;
            padding-top: 25px;
        }

        .project-info p {
            line-height: 130%;
        }

        .project-description {
            /*background-color: greenyellow;*/
            width: 50vw;
            margin-left: auto;
            margin-right: auto;
            padding-top: 3%;
        }

        .description-title h1 {
            font-size: 30px;
            padding-top: 3%;
        }

        .description-text p[lang="en"] {
            hyphens: auto;
        }

        .next-project-container {
            display: flex;
            justify-content: center; 
            margin-top: 50px; 
        }

        .btn-next {
            text-decoration: none;
            background-color: #f2f2f2;
            color: rgb(0, 0, 0);
            padding: 8px 20px;
            border: 1px solid #000000;
            border-radius: 25px;
        }

        .btn-next:hover {
            text-decoration: none;
            background-color: #000000;
            border: 1px solid #000000;
            color: white;
            padding: 8px 20px;
            border-radius: 25px;
        }


        @media (max-width: 992px) {

            .project-info {
                width: 70%;
            }

            .project-description {
                width: 70%;
            }

            .project-main-image img {
                width: 70%;
            }

            
		}

        @media (max-width: 575.98px) {

            .project-info {
                width: 100%;
                padding-top: 20px;
            }

            .project-description {
                width: 100%;
            }

            .project-main-image img{
                width: 100%;
            }
        }
        
        /*#region TRICICLO*/

        .map-triciclo{
            margin-bottom: 3%;
        }

            /*#region BEFORE-AFTER*/

                .img-comp-container, 
                .img-comp-container * {
                    box-sizing: border-box;
                }

                .img-comp-container {
                position: relative;
                width:100vw;
                height: 80vh; 
                overflow: hidden;
                margin-top: 1%;
                margin-bottom: 1%;
                }

                .img-comp-container .img-comp-img {
                position: absolute;
                width: 100%;
                height: 100%;
                overflow: hidden;
                }

                .img-comp-container .img-comp-img img {
                display: block;
                height: 80vh;
                width:100vw;
                object-fit: cover;
                object-position: center;
                }

                .img-comp-container .img-comp-slider {
                position: absolute;
                z-index: 9;
                cursor: ew-resize;

                width: 40px;
                height: 40px;
                background-color: #ffffff;
                opacity: 0.9;
                border-radius: 50%;

                top: 50% !important;
                transform: translateY(-50%);
                }

                @media (max-width: 992px) {

                .img-comp-container {
                height: 50vh; }

                .img-comp-container .img-comp-img img {
                height: 50vh;}
                   
                }

                @media (max-width: 575.98px) {

                .img-comp-container {
                height: 30vh; }

                .img-comp-container .img-comp-img img {
                height: 30vh;}

                }

            /*#endregion */


        /*#endregion */

        /*#region DEDOOM*/

        .dedoom-image-mockup {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            margin-top: 1%
        }

        .dedoom-image-mockup img {
            width: 100%;
        }

        .dedoom-image-percorsoeschede {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 3%;
            padding-bottom: 5%;
            /*background-color: red;*/
        }

        .dedoom-image-percorsoeschede img {
            width:70%;
        }

        .dedoom-image-gif {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 5%;
            padding-bottom: 3%;

        }

        .dedoom-image-gif img {
            width: 35%;
        }


        @media (max-width:992px) {

            .dedoom-image-gif img {
                width: 50%;
            }

        }


        @media (max-width: 575.98px) {

            .dedoom-image-percorsoeschede img {
            width:90%;
            }

            .dedoom-image-gif img {
                width: 70%;
            }
        }
        

        /*#endregion */

        /*#region SHIFT*/


        .shift-image-logopayoff {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 5%;
            padding-bottom: 3%;

        }

        .shift-image-logopayoff img {
            width: 60%;
        }

        .shift-image-palettetypography {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 30px;
            margin-bottom: 30px;

        }

        .shift-image-palettetypography img {
            width: 40%;
        }

        .img-typography{
            margin-top: 50px;
        }

        .shift-guerrilla {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            margin-top: 1%
        }

        .shift-guerrilla img {
            width: 100%;
        }

        .video-mockup {
            height: 450px;
            padding-top: 5px;
            padding-bottom: 20px;
        }

        .video-mockup-sx {
            padding-right: 20px;
        }

        .container-video-mockup {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 20px;
            padding-bottom: 20px;
            
        }

        .shift-image-post {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 5%;
            padding-bottom: 3%;

        }

        .shift-image-post img {
            width: 40%;
        }

        .shift-image-websitecountdown {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 5%;
            padding-bottom: 3%;

        }

        .shift-image-websitecountdown img {
            width: 50%;
        }

        .container-image-mockup {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 20px;
            padding-bottom: 20px;
            
        }

        .container-promotionalvideo {
            display: flex;
            justify-content: center;
            width: 100%;
            margin: 10px 0;
        }

        .container-promotionalvideo .plyr {
            width: 50%;
            min-width: 320px;
            border-radius: 10px;
            overflow: hidden;
        }

        @media (max-width:992px) {

            .shift-image-post img {
                width: 70%;
            }

            .shift-image-websitecountdown img {
                width: 70%;
            }

             .shift-image-palettetypography img {
                width: 70%
            }

            .container-promotionalvideo .plyr {
                width: 70%;
            }

        }


        @media (max-width: 575.98px) {
            
            .shift-image-logopayoff img {
                width: 70%;
            }

            .shift-image-palettetypography img {
                width: 90%
            }

            .video-mockup {
                height: 300px;
            }

            .shift-image-post img {
                width:90%;
            }

            .shift-image-websitecountdown img {
                width: 90%;
            }

            .container-promotionalvideo .plyr {
                width: 90%;
            }
            
        }

        /*#endregion*/

    /*#endregion */



/* #endregion




