﻿/*GENERAL*/
.divCenter {
    margin: 0 auto;
}
/*WHO***********************************************WHO******************/
.divWhoMain {
    width: 100%;
    height: 100%;
    margin-top: -105px;
    position: relative;
    background: url('/lightweb/Images/who/001x.png') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.divWhoText {
    overflow: auto;

    height: 85vh;
    position: absolute;
    z-index: 9;
    top: 105px;
    width: 100%;
    height: 100%;
    height: -moz-calc(100vh - 128px);
    height: -webkit-calc(100vh - 128px);
    height: calc(100vh - 128px);
    display: block;
    padding-top: 25px;

}



/*.divWhoTextSub {
    z-index: 4;
    position: absolute;*/
/*    left: 50%;
    margin-left: -450px;
    width: 900px;
    width: 100%;
    height: 100%;*/
    /*margin-bottom: 350px;*/
    /*background-color:red;
    width:90vw;
    height:80vh;
    left:10vh;
}*/
.divWhoTextSub {
    z-index: 4;
    position: absolute;
    width: 90vw;
    height: 80vh;
    left: 10vh;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center; /* verticale */
    justify-content: center; /* orizzontale */

}


/*quote box*/
/*#quote-box {
    position: relative;
    width: 900px;
    height: 450px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    overflow: hidden;
    color: white;
    font-family: sans-serif;
    padding: 20px;
}


.quote {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    pointer-events: none;
    max-width: 400px;*/ /* larghezza massima di ogni quote */
    /*word-wrap: break-word;*/ /* va a capo se serve */
    /*white-space: normal;*/ /* assicura che il testo si adatti */
/*}*/
.WhoArticleText {
    font-size: 20px;
    font-family: 'Roboto';
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
    color: white;

}
#quote-box {
    position: relative;
    width: 900px;
    height: 450px;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 5px;
    overflow: hidden;
    color: white;
    font-family: sans-serif;
    padding: 20px;
}
.quote {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    pointer-events: none;
    max-width: 400px;
    word-wrap: break-word;
    white-space: normal;
    padding-left: 30px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.8); /* testo leggermente opaco */


}

    .quote::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background-color: white;
        opacity: 0;
        transition: opacity 2s ease-in-out;
        pointer-events: none;
    }

    .quote.active-border::before {
        opacity: 1;
        transition-delay: 0.5s;
    }

@keyframes flashRed {
    0%, 100% {
        background-color: white;
    }

    50% {
        background-color: #0f1469;
    }
}

.quote.flash-red::before {
    animation: flashRed 0.4s ease-in-out 1;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    background-color: white;
    margin-left: 4px;
    animation: blink 1s steps(2, start) infinite;
    vertical-align: bottom;
    height: 1em;
    border-radius: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    50.01%, 100% {
        opacity: 0;
    }
}


/*senza bordo rosso*/

/*.quote {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    pointer-events: none;
    max-width: 400px;
    word-wrap: break-word;
    white-space: normal;
    padding-left: 10px;
    box-sizing: border-box;
}

    .quote::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background-color: white;
        opacity: 0;
        transition: opacity 2s ease-in-out;*/ /* più lento */
        /*pointer-events: none;
    }

    .quote.active-border::before {
        opacity: 1;
        transition-delay: 0.5s;*/ /* delay per far partire il fade-in dopo il contenuto */
    /*}


.typing-cursor {
    display: inline-block;
    width: 8px;
    background-color: white;
    margin-left: 4px;
    animation: blink 1s steps(2, start) infinite;
    vertical-align: bottom;
    height: 1em;
    border-radius: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    50.01%, 100% {
        opacity: 0;
    }
}*/


/*Who => bannel linkedin*/
.divWhoLinkedIn {
    position: fixed;
    right: 150px;
    bottom: 70px;
    color: black;
    z-index: 20
}

    .divWhoLinkedIn a {
        display: inline-flex;
        align-items: center; /* allinea verticalmente */
        gap: 8px; /* spazio tra icona e testo (opzionale) */
        text-decoration: none; /* se vuoi togliere sottolineatura */
        color: inherit; /* eredita il colore del contenitore */
    }

        .divWhoLinkedIn a svg {
            width: 35px; /* o qualsiasi valore */
            height: 35px;
            margin-top: auto;
            padding: 0;
            border: 0;
        }

            .divWhoLinkedIn a svg path {
                fill: #0f1469;
            }

/*Who => banner github*/
.divWhoGithub {
    position: fixed;
    left: 150px;
    bottom: 70px;
    color: black;
    z-index: 20
}

    .divWhoGithub a {
        display: inline-flex;
        align-items: center; /* allinea verticalmente */
        gap: 8px; /* spazio tra icona e testo (opzionale) */
        text-decoration: none; /* se vuoi togliere sottolineatura */
        color: inherit; /* eredita il colore del contenitore */
    }

        .divWhoGithub a svg {
            width: 35px; /* o qualsiasi valore */
            height: 35px;
            margin-top: auto;
            padding: 0;
            border: 0;
        }

            .divWhoGithub a svg path {
                fill: #0f1469;
            }

 /*Who => banne cell (le scritte*/
.banner_cell {
    height: 100%;
    width: 700px;
    overflow: hidden;
    margin-left: 50%;
}

/*Who => image*/
.imgWho {
    position: fixed;
    bottom: 40px;
    z-index: 9;
    left: 0px;
    height:90px;
    width:100%;
    opacity:0.7;
}

/*Who => h1*/
.h1Who {
    font-size: 37px;
    color: #DBDDDB;
    border-bottom:1px solid lightgray;
    padding-bottom:10px;
    text-align:center;
    margin-bottom:50px;
}
/*Who => il fader bianco */
/*#fader {*/
    /*height: 395px;*/
    /*height: 10px;
    bottom: 0px;
    position: fixed;
    left: 0px;
    width: 100%;*/
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    /*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);*/ /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)));*/ /* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);*/ /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);*/ /* Opera 11.10+ */
    /*background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);*/ /* IE10+ */
    /*background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);*/ /* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );*/ /* IE6-8 */

    /*background-color:red !important;
}*/

/*BACKGROUND MOLECOLAR**********************************************************/
.molecular-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    width:90vw;
    left:5vw;
    height:80%;
    top:20%;
}

    .molecular-background .diagram-cluster {
        position: absolute;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

        .molecular-background .diagram-cluster.active {
            opacity: 1;
        }

    .molecular-background .node {
        position: absolute;
        border: 1px solid #666666;
        background: transparent;
        color: #999999;
        border-radius: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
        font-weight: 400;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        box-shadow: 0 0 4px rgba(102, 102, 102, 0.1);
    }

        .molecular-background .node.active {
            border-color: #1e3a8a;
            color: #1e3a8a;
            box-shadow: 0 0 8px rgba(30, 58, 138, 0.3);
        }

    .molecular-background .connection {
        position: absolute;
        height: 1px;
        background: #444444;
        transform-origin: left center;
        transition: all 0.3s ease;
    }

        .molecular-background .connection.active {
            background: #1e3a8a;
            box-shadow: 0 0 2px rgba(30, 58, 138, 0.5);
        }

    .molecular-background .connection-flow {
        position: absolute;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.6), transparent);
        animation: flow 3s linear infinite;
        opacity: 0;
    }

        .molecular-background .connection-flow.active {
            opacity: 1;
        }

    .molecular-background .schema-label {
        position: absolute;
        color: #555555;
        font-size: 7px;
        font-weight: 300;
        letter-spacing: 1px;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .molecular-background .cluster-border {
        position: absolute;
        border: 1px dashed #333333;
        border-radius: 2px;
        background: rgba(102, 102, 102, 0.01);
    }

    .molecular-background .node-pulse {
        position: absolute;
        border: 1px solid rgba(102, 102, 102, 0.2);
        border-radius: 2px;
        animation: pulse 2s ease-in-out infinite;
    }

@keyframes flow {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(100px);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.molecular-background .diagram-cluster.lifecycle {
    animation: fadeInOut 12s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.05;
    }

    100% {
        transform: scale(1);
        opacity: 0.2;
    }
}

/*nodes*/
.node {
    position: absolute;
    background-color: var(--node-color, #999);
    color: #000;
    font-size: 10px;
    padding: 2px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .node.active {
        background-color: var(--node-active-color, #fff);
    }

.connection {
    position: absolute;
    height: 2px;
    background-color: var(--connection-color, #666);
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

    .connection.active {
        opacity: 1;
    }

.connection-flow {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, var(--connection-color, #666), transparent);
    animation: flow 1.5s linear infinite;
    opacity: 0.5;
}


/*svg orbit*/
/* Solo per questo SVG orbitale  1) balls*/
/*.svg-orbit {
    width: 100vw;
    height: 100vh;
    display: block;
}*/

.svg-orbit {
    width: 100vw;
    height: 100vh;
    display: block;
    overflow: visible;
}


/*CONTATTI*************************************+CONTATTI*/
.divContatti {
    position: absolute;
    width: 90%;
    padding: 5px;
    border-radius: 10px;
    height: 80px;
    top: 25px;
    left: 25px;
}
.h1Contatti {
    letter-spacing: 1.3em; /*53px;*/
    margin-left: 45px;
    font-size: 50px;
    color: white;
    font-weight: lighter;
    font-family: CustomFont;
    font-size: 63px;
    margin-top: -15px;
    max-width: 100%;
    /*new*/
    line-height: 1.2;
    word-break: break-word; /* va a capo se necessario */
    white-space: normal;
    text-align: left;
    display: block;
}


/********************************************************************cv ask*/

#cv-panel {
    position: fixed;
    bottom: -540px;
    left: 0;
    width: 100%;
    background-color:rgba(0, 0, 0, 0.7) ;
    border-top: 1px solid black;
    /*box-shadow: 0 -2px 8px rgba(0,0,0,0.2);*/
    padding: 20px 20px 80px;
    transition: bottom 0.3s ease-in-out;
    z-index: 10;
    height:600px;
}

    #cv-panel.open {
        bottom: 0;
    }

#cv-tab {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
}

textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    resize: vertical;
    border-radius: 5px;
}

button.send-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #0f1469;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width:100%
}

#response {
    margin-top: 15px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    min-height: 200px;
    max-height: 300px;
    overflow: auto;
    white-space: pre-wrap;
    border-radius: 5px;
}


/**menu coolor change*/
.wordw {
    animation: colorChangeW 5s infinite;
 
}

.delay1 {
    animation-delay: 0s;
}

.delay2 {
    animation-delay: 0.1s;
}

.delay3 {
    animation-delay: 0.2s;
}

@keyframes colorChangeW {
    0% {
        color: white;
        opacity: 1;
    }

    10% {
        color: white;
        opacity: 1;
    }

    20% {
        color: #1e3a8a;
        opacity: 1;
    }

    21% {
        color: white;
        opacity: 1;
    }

    50% {
        color: white;
        opacity: 1;
    }

    100% {
        color: white;
        opacity: 1;
    }
}

.cPointer{
    cursor:pointer;
}