@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap");




* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* COLOR */

    --bg-color: rgba(153, 153, 153, 0.582);
    --h1-color: rgba(84, 84, 84, 1);
    --text-color: #111;
    --overlay-color: rgba(0, 0, 0, 0.3);
    --hover-nav: rgb(92, 135, 136);
    --anchor-color: #111;
    --logo-shadow: drop-shadow(0 0 5px #fff) brightness(1);
    --container-border: #2c2b2b;
    --theme-shadow: drop-shadow(0 0 2px rgb(7, 7, 88));

    /*H SIZE */
    --h1-size: 2.2rem;
    --h1-size-tablet-p: 2.6rem;
    --h1-sizexl-tablet-p: 2.8rem;
    --h1-size-desk: 2.9rem;
    --h1-size-3xl: 3.5rem;
    --h1-size-4xl: 4.5rem;
    --h2-size: 1.8rem;
    --h2-size-xl: 2rem;
    --h2-size-xxl: 2.2rem;
    --h3-size: 1.4rem;
    --h3-size-xl: 1.6rem;
    --h3-size-xxl: 1.8rem;
    --h4-size: 1.1rem;
    --h4-size-xl: 1.2rem;
    --h4-size-xxl: 1.4rem;

    --protrait-t-size: 18px;

    /*SPACE */
    --space-xxs: 2px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-lg-xl: 34px;
    --space-xl: 40px;
    --space-xxl: 60px;
    --space-2xl: 65px;
    --space-3xl: 80px;
    --space-4xl: 120px;
    --space-tablet-lg: 150px;
    --space-tablet-xl: 200px;
    --space-tablet-xxl: 250px;
    --space-tablet-3xl: 350px;


    /* FONT SIZE */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-xxl: 1.50rem;
    --fs-2xxl: 1.5rem;
    --fs-3xxl: 2rem;
    --f-family: "Indie Flower", "cursive";

    /* LINE  */
    --line-height-base: 1.6;
    --line-height-lg: 2;
    --line-height-xl: 2.4;


    /* BTN */
    --btn-xs-w: 80px;
    --btn-xs-h: 20px;
    --btn-sm-w: 100px;
    --btn-sm-h: 30px;
    --btn-md-w: 120px;
    --btn-md-h: 40px;
    --btn-lg-w: 140px;
    --btn-lg-h: 60px;
    --btn-xl-w: 160px;
    --btn-xl-h: 80px;
    --btn-xxl-w: 180px;
    --btn-xxl-h: 100px;
    --btn-padding-sm: 4px;
    --btn-padding-md: 8px;
    --btn-padding-lg: 10px;
    --btn-padding-xl: 12px;
    --btn-padding-xxl: 14px;
    --btn-border-xs: 2px;
    --btn-border-sm: 4px;
    --btn-border-md: 8px;
    --btn-border-lg: 12px;
    --btn-border-xl: 14px;
    --btn-border-xxl: 16px;
    --btn-border-3xl: 20px;
    --btn-border-4xl: 28px;


    /* cursor */
    --cursor-dot-black: url('../img/cursor-dot-black-32.svg') 16 16, auto;
    --cursor-logo: url('../img/logo_32x32.png') 16 16, auto;
    --cursor-black: url('../img/cursor-black-32.png') 16 16, auto;
    --cursor-dot-outline: url('../img/cursor-dot-outline-32.svg') 16 16, auto;
    --cursor-outline: url('../img/cursor-outline-32.png') 16 16, auto;
    --cursor-dot-white: url('../img/cursor-dot-white-32.svg') 16 16, auto;
    --cursor-white: url('../img/cursor-white-32.png') 16 16, auto;
    --bgImage-Cursor: url('../img/cursor-dot-black-32.svg');

    --mx-cursor: -19px;
    --my-cursor: -18px;

    --cursor-shadow: drop-shadow(0px 0px 1px hsl(0, 0%, 100%));
    --container-cursor-shadow: drop-shadow(0px 0px 4px #ffffff) brightness(3);
    /* radial gradient */
    --mouveX: 50%;
    --mouveY: 50%;
    --base-color: rgba(153, 153, 153, 0.582);

    /* project prova */
    --mx: 50px;
    --my: 50px;
    --mx-circle: 50px;
    --solid-circle: 50px;
    --gradient-x: 50px;
    --gradient-y: 50px;
    --shadow-colors: rgba(139, 137, 137, 0.582);
    --shadow-colors2: rgba(153, 153, 153, 0.582);
    --move-tX: -5vw;
    --move-tY: -1vh;
    --move-topX: 90vw;
    --move-topY: 90vh;
    --bubble-positionX: 0px;
    --bubble-positionY: 0px;

    /* Preloaders */
    --bg-potfolio: #f3f5f7;
    --border-potfolio: #d3d8de;
    --fill-potfolio: #9aaabd;
    --accent-potfolio: #b6c2cf;
    --container-bg-potfolio: linear-gradient(135deg, #eef1f5, #dce1e7);

}

/* Generali */

html {
    scrollbar-width: none;
}



html.preloading .wrapper-square {
    display: block;
}

html.preloading {
    overflow: hidden;
}

html.preloading .container-inner {
    visibility: hidden;
}


/* Fermo sia la nuotata sia le animazioni interne della tartaruga. */
html.preloading .logo-box,
html.preloading .logo-box * {
    animation-play-state: paused;
}

body[data-theme="light"] {
    --bg-color: rgba(153, 153, 153, 0.582);
    --text-color: #111;
    --h1-color: rgba(84, 84, 84, 1);
    --container-border: #2c2b2b;
    cursor: var(--cursor-dot-black);
    --logo-shadow: none;
    --theme-shadow: drop-shadow(0 0 0 rgba(243, 237, 237, 0.582));
    --bgImage-Cursor: url('../img/cursor-dot-black-32.svg');
    --shadow-colors: rgba(139, 137, 137, 0.582);
    --shadow-colors2: rgba(153, 153, 153, 0.582);
    --opcaity-bubbles: 0.50;
    --opcaity-bubbles2: 0.40;
    --cursor-shadow: none;
    --container-cursor-shadow: none;
}

body[data-theme="light"]::selection {
    color: var(--text-color);
    background-color: var(--bg-color);

}

body[data-theme="dark"] {

    --bg-color: #111;
    --text-color: #fff;
    --h1-color: #fff;
    --container-border: #fff;
    --cursor-dot-black: var(--cursor-dot-white);
    --logo-shadow: drop-shadow(0 0 5px #fff);
    --theme-shadow: drop-shadow(0 0 1px #fff) brightness(5);
    --bgImage-Cursor: url('../img/cursor-dot-white-32.svg');
    --shadow-colors: rgba(39, 37, 37, 0.582);
    --shadow-colors2: rgba(10, 10, 10, 0.603);
    --opcaity-bubbles: 0.70;
    --opcaity-bubbles2: 0.50;
}

body[data-theme="dark"]::selection {
    color: var(--bg-color);
    background-color: var(--text-color);
}


body[data-theme="light"] .containerAS {
    background-image: url('../img/logo-nero01-noBg.png');
}



body[data-theme="dark"] .containerAS {
    background-image: url('../img/logo-bianco-noBg.png');
}


body[data-font="Montserrat"] {
    --f-family: "Montserrat", sans-serif;
    font-weight: normal;
}

body[data-font="Indie"] {
    --f-family: "Indie Flower", "cursive";
    font-weight: 400;
}


body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--f-family);
    font-weight: 400;
    cursor: var(--cursor-dot-black);
}

/* Typography*/

h1 {
    grid-area: h1;
    white-space: nowrap;
    max-width: 150px;
    max-width: 150px;
    font-size: var(--h1-size);
    font-weight: 900;
    color: var(--h1-color);
}

li {
    list-style: none;
}

a {
    cursor: var(--cursor-dot-black);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--fs-lg);
}

.active {
    color: var(--hover-nav);
}

/* Typography END*/


/* PreLoader */
.wrapper-square {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--container-bg-potfolio);
    opacity: 1;
    z-index: 1;
}

.wrapper-square.is-invisible {
    opacity: 0;
    transition: opacity 1s ease-out;
}



.container-square {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
}

.logoAs {
    width: 40px;
    height: 40px;
    align-self: center;

}




.sqaure-rotate::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    z-index: 0;
    background-color: var(--accent-potfolio);
    opacity: 0.95;
    animation-name: rotateFilling;
    animation-duration: 1.6s;
    animation-iteration-count: 4;
    animation-timing-function: ease-in-out;
    z-index: -1;
}

.sqaure-rotate {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--bg-potfolio);
    border: 1px solid var(--border-potfolio);
    border-radius: 4px;
    box-shadow: 0px 0px 10px var(--fill-potfolio);
    overflow: hidden;
    z-index: 1;
    animation-name: rotateSquare;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-loading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;

}

.circleLoading {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 1px solid #9aaabd;
    animation-name: mouveCircleLoading;
    animation-duration: 1.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /* box-shadow: 0px 0px 7px 3px #7a90aa; */

}

.container-loading p {
    text-shadow: -3px 4px 5px #7a90aa;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;

}

/* container principali */

.container-cursor-img {
    display: none;
    position: absolute;
    inset: 0;
    width: 25px;
    height: 25px;
    background-image: url('../img/turtle-outline.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(15px, 30px);
    filter: var(--container-cursor-shadow);
}



#turtle-cursor {
    position: absolute;
    display: inline-block;
    inset: 0;
    width: 62px;
    height: 62px;
    transform: translate(-19px, -18px);
    filter: var(--cursor-shadow);
}

.container-cursor-img.cursor-move #turtle-cursor {
    transform: translate(var(--mx-cursor), var(--my-cursor));
}

.app-container::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    opacity: 0.70;
    pointer-events: none;
    background: radial-gradient(circle 250px at var(--mouveX) var(--mouveY), var(--base-color)0%, transparent 100%);
    transition: opacity 0.6s ease;
}

.app-container {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    min-width: 100dvw;
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-areas: "panel container"
        ". footer";
    padding: var(--space-md);


}



.app-container.emailSend {
    grid-template-columns: repeat(1, auto);
    grid-template-areas: "container"
        "footer";
}

.app-container.emailSend .settings-panel {
    display: none;
}


.container-inner {

    position: relative;
    grid-area: container;
    min-height: 90dvh;
    border: 1px solid var(--container-border);
    padding: var(--space-sm);
    display: grid;
    grid-template-columns: 1fr 150px;
    grid-template-areas: "h1 ."
        "header main ";
    overflow: hidden;

}


.container-inner.is-ready {
    opacity: 0;
    transform: scale(0.95);
    transform-origin: top;

}


.container-inner.is-visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease-in, transform 0.6s ease-in;
}

/* componente di tutte le sezioni*/
.container-inner.setting-gridArea {
    grid-template-columns: 0px 2fr;
}

/* Classe per centrare elementi */
.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

/* componenti background project */
.container-inner.setting-gridArea .first-wave {
    display: block;
}

.container-inner.setting-gridArea .bg-moviment {
    visibility: visible;
}

.container-inner.setting-gridArea .opposite-wave {
    display: block;
}

/* componenti background project END*/


.container-inner.visibility .navbar {
    display: none;
}

.container-inner.visibility .bio-container {
    display: inline-block;
}

/*componente contatc.html */
.container-inner.visibility main .menuContatcs {
    display: inline-block;

}

/*componente sendEmail */
.container-inner.emailSection {
    grid-template-columns: repeat(1, auto);
    grid-template-areas: "send-email";
}

/* componente faq */
.container-inner.visibility .faq {
    display: inline-block;
}


/* container genrale END */


/* Header */

.header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);

}



.navbar {
    max-width: 150px;
}

.navbar-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    padding: var(--space-sm);
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: var(--bgImage-Cursor);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

img[alt="service"] {
    padding-bottom: var(--space-sm);
    width: 52px;
    height: 52px;
}

/* End Header */

/* Main */

.main {

    position: relative;

    grid-area: main;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);


}

.main.maindvh {
    min-height: 80dvh;
}

/* componente bubbles main section */
.main.maindvh .container-bubbles {
    display: block;
    opacity: 0;
    animation: apparizioneBolle 4s ease-in-out forwards;
}

.bio-container {
    display: none;
}

.bio-container p {
    width: 170px;
    max-height: 300px;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--text-color) transparent;
    font-size: var(--fs-lg);


}

.logo-box {
    position: relative;
    left: 10%;
    display: flex;
    align-self: center;
    animation-name: swim;
    animation-duration: 5.5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;

}

/* component faq  main section*/
.logo-box.faq-section {
    position: absolute;
    top: -1%;
    left: 30%;
    transition: left 0.8s ease-out;
}




.logo-box.faq-section #turtle-log {
    opacity: 0.15;
    transition: opacity 0.8s ease-in;
}

/* component faq  main section END*/

#popup-message {
    display: none;
    position: absolute;
    top: -50%;
    left: -32%;
    /*   transform: translate(-50%, -100%); */
    max-width: 100px;
    max-height: 90px;
    padding: var(--space-xs);
    text-align: center;
    border: 1px dotted var(--text-color);
    border-radius: 20px;
    border-bottom-right-radius: 1%;

}



#popup-message.message-visible {
    display: block;
    animation-name: messageAnimation;
    animation-duration: 4s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

#turtle-button {
    border: none;
    color: transparent;
    overflow: hidden;
    cursor: var(--cursor-dot-black);
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

#turtle-button:focus-visible {
    outline: 1px solid var(--text-color);
    outline-offset: -25px;
}

#turtle-log {
    color: var(--text-color);
    width: 120px;
    height: 120px;
    opacity: 1;
}

#left-top-fin {
    animation-name: finMoveRight;
    transform-origin: bottom right;
    transform-box: fill-box;
    animation-duration: 0.8s;
    animation-iteration-count: 8;
    animation-timing-function: linear;
}

#right-top-fin {
    animation-name: finMoveLeft;
    transform-origin: bottom left;
    transform-box: fill-box;
    animation-duration: 0.8s;
    animation-iteration-count: 8;
    animation-timing-function: linear;
}


#tourtle-tail {
    animation-name: tail;
    transform-origin: bottom;
    transform-box: fill-box;
    animation-duration: 0.8s;
    animation-iteration-count: 8;
    animation-timing-function: linear;
}



/* End main */


/* Setting panel */

.settings-panel {
    grid-area: panel;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xl);
    margin-right: var(--space-sm);
}

.settings-panel.choseLang #language {
    display: block;
    cursor: var(--cursor-dot-black);
}



.btn {
    cursor: var(--cursor-dot-black);
    width: var(--btn-xs-w);
    height: var(--btn-sm-h);
    border-radius: var(--btn-border-4xl);
    border: 1px solid #5e5b5b;
    transform: rotate(-90deg);
    color: var(--text-color);
    background-color: transparent;
    font-family: var(--f-family);
    font-size: var(--fs-lg);
}


.btn-theme {
    display: flex;
    align-items: center;
    justify-content: center
}

.btn-theme img {
    width: var(--space-lg);
    height: var(--space-lg);
    filter: var(--theme-shadow);
}

.btn-lang {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    text-align: center;
}

#language {
    display: none;
    transform: rotate(-90deg);
    color: var(--text-color);
    background-color: transparent;
    border-color: var(--text-color);
    font-family: var(--f-family);
    border-radius: var(--btn-border-4xl);
    padding: var(--space-xs);
    font-size: var(--fs-sm);
}



body[data-theme="dark"] #language {
    background-color: var(--bg-color);
}

/* Setting panel End*/

/* footer */

.footer {
    grid-area: footer;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.containerAS {
    position: absolute;
    top: -29%;
    right: -1%;
    width: 44px;
    height: 44px;
    margin: var(--space-xxs);
    background-image: url('../img/logo-nero01-noBg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* End Footer */

/* Contact section */
.menuContatcs {
    display: none;
    margin-top: var(--space-sm);
}




.containerBoxContact {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-xl);

}

.boxContatc {
    width: 220px;
    max-width: 80px;
    padding: var(--space-xs);
    border-radius: var(--btn-border-md);
    border: 1px solid var(--text-color);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;

}



.boxContatc.is-open {
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: 170px;
    text-align: left;
    align-items: flex-start;
    box-shadow: 1px 1px 20px 2px rgb(155, 103, 103);
}

.boxContatc.is-open::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--bg-color);
    width: 100%;
    height: 0%;
    z-index: -1;
    animation-name: bgBox;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


.boxContatc.is-open .contactsDescription {
    display: flex;
}

.boxContatc.is-open .contactsDescription p {
    color: var(--text-color);
}


.boxContatc i {
    font-size: var(--fs-lg);
}

.contactsDescription {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-xs);
}



.contactsDescription p {
    text-align: center;
    line-height: 1.2;
}

.containerBtnContact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.btnContact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--f-family);
    width: var(--btn-sm-w);
    height: var(--btn-sm-h);
    border-radius: var(--btn-border-md);

    border: 1px solid var(--text-color);
    background-color: transparent;

}

.btnContact:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 3px;
}



/* Send Email section */

.send-email {
    grid-area: send-email;
    display: flex;
    flex-direction: column;
    /* align-items: center;
    justify-content: center; */
    gap: var(--space-xxl);
    margin-top: var(--space-md);
    padding: var(--space-xs);
}



fieldset {
    border: 1px solid var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-sm);
}

fieldset label {
    cursor: var(--cursor-dot-black);
}

fieldset input:not(:nth-of-type(4)) {
    border-radius: var(--btn-border-md);
    border: 1px solid var(--text-color);
    padding: var(--space-xs);
}


.outputSender,
.outputObj,
.outputSend,
.outputBody {
    display: none;
    max-width: 230px;
    border-radius: var(--btn-border-xs);
    padding: var(--space-xs);
    text-align: center;
}



.visibleMessage-err {
    display: inline-block;
    color: rgb(252, 65, 8);
    background-color: #312d2d;
}

.visibleMessage-success {
    display: inline-block;
    color: rgb(115, 247, 7);
    background-color: #0c0b0b;
}

label[for="chose-file"] {
    width: var(--space-lg);
    height: var(--space-lg);
    text-align: center;
}

.fileVisible {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fileVisible>p {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-color);
    border-radius: var(--space-xxs);
    padding: var(--space-sm);
}

.fileVisible p span {
    font-size: var(--fs-sm);
    margin-left: var(--space-sm);
    width: var(--space-lg);
}

#bodyMessage {
    border-radius: var(--btn-border-sm);
    border: 1px solid var(--text-color);
}

fieldset button {
    width: var(--btn-sm-w);
    height: var(--btn-sm-h);
    font-family: var(--f-family);
    font-size: var(--fs-base);
    border-radius: var(--btn-border-md);
    border: 1px solid var(--text-color);
    background-color: transparent;
    color: var(--text-color);
    cursor: var(--cursor-dot-black);
    margin: var(--space-md);
}


.btn-back {
    width: var(--btn-xl-w);
    height: var(--btn-md-h);
    display: flex;
    justify-content: center;
    border-radius: var(--btn-border-md);
    font-family: var(--f-family);
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    white-space: nowrap;
    margin: 0 auto;

}

/* Faq section */

.faq {
    display: none;
}

.faq-inner {
    max-height: 420px;
    width: 100%;
    padding: var(--space-sm);
    text-align: center;
    overflow: hidden;
    overflow-y: auto;
    font-family: var(--f-family);
    margin-top: var(--space-xxl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    scrollbar-width: thin;
    scrollbar-color: var(--text-color) transparent;
    line-height: var(--line-height-lg);
}


h3 {
    max-width: 250px;
    margin: 0 auto;
    position: relative;
    inset: 0;

}

.faq-inner h3::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 0%;
    height: 2px;
    transform: scaleX(0);
    transition: transform 0.8s ease-in;

}

.faq-inner h3.add-line::after {
    width: 100%;
    transform: scaleX(1);
    background: var(--text-color);
}

/* End Faq section */

/* Project section */

/* Parte delle Waves  */

.container-waves {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: clip;

}

.first-wave {
    display: none;
    position: absolute;
    inset: 0;
    transform: translate(var(--move-tX), var(--move-tY));
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: transparent;
    z-index: -1;
    box-shadow: 0px 0px 30px 0px var(--bg-color);
    pointer-events: none;
    color: transparent;
    border-color: transparent;


}

.first-wave.move {
    animation-name: shadows;
    animation-duration: 6s;
    animation-delay: 0.9s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;

}

.first-inner {
    position: absolute;
    inset: 0;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    z-index: -1;
    box-shadow: 0px 0px 30px 0px var(--bg-color);
    background-color: transparent;
    pointer-events: none;
    color: transparent;
    border-color: transparent;

}

.first-inner.move2 {
    animation-name: shadows;
    animation-duration: 5s;
    animation-delay: 0.6s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/* un background che espande si interseca con le waves
dando un effeto di onde continue che passano da una parte al altra */
.bg-moviment {
    visibility: hidden;
    position: absolute;
    inset: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle var(--size) at var(--mx) var(--my), var(--color-bg1)70%, var(--color-bg2)30%, transparent 100%);
    opacity: 0.15;

}

/* da qui inizia la wave opposta */

.opposite-wave {
    display: none;
    position: absolute;
    inset: 0;
    transform: translate(var(--move-topX), var(--move-topY));
    width: 5px;
    height: 5px;
    border-radius: 100%;
    z-index: -1;
    box-shadow: 0px 0px 30px 0px var(--bg-color);
    background-color: transparent;
    pointer-events: none;
    color: transparent;
    border-color: transparent;
}

.opposite-wave.opp-move {
    animation-name: shadows;
    animation-duration: 6s;
    animation-delay: 0.9s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.opposite-inner {
    position: absolute;
    inset: 0;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: transparent;
    z-index: -1;
    box-shadow: 0px 0px 30px 0px var(--bg-color);
    pointer-events: none;

    color: transparent;
    border-color: transparent;

}

.opposite-inner.opp-move2 {
    animation-name: shadows;
    animation-duration: 5s;
    animation-delay: 0.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


/* waves End*/

/* Parte delle Bolle*/


.container-bubbles {
    display: none;
    position: absolute;
    margin: 0 auto;
    width: 100%;
    height: 100%;


}

/* effetto bolla a un normale cerchio */
.bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 100px at 50px 20px,
            rgba(255, 255, 255, 0.55) 20%,
            rgba(210, 220, 225, 0.32) 45%,
            rgba(130, 145, 150, 0.22) 70%,
            transparent 100%);
    border-radius: 100%;
    filter: blur(10px) opacity(0.40);
    z-index: -1;

}

.bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: transparent;
    padding: 10px;
    opacity: 0.70;
    box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.3);
    z-index: 2;
    text-align: center;
    transition:
        width 0.9s ease,
        height 0.9s ease;

}

/* è una classe che simula un hover per mobile e tablet */
.bubble.hovered {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    overflow: hidden;
    border-radius: 100%;
    background-color: transparent;
    padding: 10px;
    opacity: 0.70;
    box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.3);
    z-index: 2;
    text-align: center;
    transition:
        width 0.9s ease,
        height 0.9s ease;
}

.bubble.hovered .title-bubbles {
    font-size: var(--fs-xl);
}



.bubble.hovered .info-bubble {
    display: flex;
}

.bubble.one::before {
    content: "";
    position: absolute;
    background: radial-gradient(circle 100px at 50px 20px,
            rgba(255, 255, 255, 0.65) 30%,
            rgba(155, 175, 220, 0.30) 5%,
            rgba(105, 155, 210, 0.32) 65%,
            transparent 100%);

}


.bubble.one.hovered::before {
    border-radius: inherit;
    background-image: url('../img/previw-website.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(0px) opacity(var(--opcaity-bubbles));

}



.bubble.one {
    animation: bubbleTopLeft 20s ease-in-out infinite;
    position: absolute;
    inset: 0;

}

.title-bubbles {
    font-size: var(--fs-base);
    pointer-events: none;
}



.info-bubble {
    display: none;
}



.info-bubble>a {
    font-size: var(--fs-sm);
    text-align: center;
    transition: scale 0.4s ease;
    text-decoration: underline;
}



.bubble.two::before {
    content: "";
    position: absolute;
    background: radial-gradient(circle 100px at 50px 20px,
            rgba(245, 245, 250, 0.62) 30%,
            rgba(170, 155, 195, 0.28) 5%,
            rgba(125, 140, 180, 0.30) 65%,
            transparent 100%);
    transition: all 1s ease-in-out;

}


.bubble.hovered.two::before {
    border-radius: inherit;
    background-image: url('../img/preview-wbsite-events.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(0px) opacity(var(--opcaity-bubbles2));


}



.bubble.two {
    position: absolute;
    bottom: 1px;
    left: 1px;
    animation: bubbleBottomLeft 24s ease-in-out infinite;


}


.bubble.three::before {
    background: radial-gradient(circle 100px at 50px 20px,
            rgba(245, 250, 250, 0.62) 30%,
            rgba(145, 195, 205, 0.28) 5%,
            rgba(115, 155, 190, 0.30) 65%,
            transparent 100%);
}


.bubble.three {
    position: absolute;
    bottom: 1px;
    right: 1px;
    animation: bubbleBottomRight 20s ease-in-out infinite;

}

.bubble.four {
    position: absolute;
    top: 1px;
    right: 1px;
    animation: bubbleTopRight 24s ease-in-out infinite;
}


.bubble.four::before {
    background: radial-gradient(circle 100px at 50px 20px,
            rgba(255, 255, 255, 0.65) 30%,
            rgba(185, 145, 215, 0.30) 5%,
            rgba(125, 145, 205, 0.32) 65%,
            transparent 100%);
}

/* End Project section */

/* Error Page */

.flexError {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.error-page {

    margin-top: var(--space-3xl);
    padding: var(--space-sm);
}



.contaner404 h1 {
    display: inline-block;
    align-self: center;
    max-width: 300px;
    white-space: wrap;
    font-size: 2rem;
    text-align: center;
}



.error-code {
    font-family: var(--f-family);
    font-size: 5.5rem;
    color: var(--text-color);
    text-align: center;
}

/* End Error Page */

/* Media Tablet */

@media screen and (width >=768px) {

    /* Typography*/

    h1 {
        grid-area: h1;
        white-space: nowrap;
        max-width: 150px;
        max-width: 150px;
        font-size: var(--h1-size-4xl);
        font-weight: 900;
        color: var(--h1-color);
    }

    li {
        list-style: none;
    }

    a {
        cursor: var(--cursor-dot-black);
        display: flex;
        align-items: center;
        gap: var(--space-md);
        text-decoration: none;
        color: var(--text-color);
        font-size: var(--fs-lg);
    }

    a[title="Frequently Asked Questions"] {
        font-size: var(--fs-xxl);
    }

    .navbar-inner span {
        font-size: var(--fs-xxl);
    }

    .navbar-inner i {
        font-size: var(--fs-xxl);
    }

    /* Typography END*/



    .app-container::before {
        background: radial-gradient(circle 450px at var(--mouveX) var(--mouveY), var(--base-color)0%, transparent 100%);
    }


    .app-container {

        grid-template-columns: 40px 1fr;


    }

    .container-inner {

        grid-template-columns: 1fr 250px;
        margin-top: var(--space-md);

    }

    .container-inner.setting-gridArea .logo-box {
        align-self: flex-start;
    }

    .navbar {
        max-width: 300px;
    }

    .navbar-inner {
        gap: var(--space-tablet-lg);
    }

    .dot {
        width: 20px;
        height: 20px;
    }

    img[alt="service"] {
        width: 82px;
        height: 82px;
    }

    /* End Header */

    /* Main */

    .main {


        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-md);
    }

    .bio-container {
        display: none;
    }

    .bio-container p {
        width: 450px;
        max-height: 450px;
        font-size: var(--fs-xxl);
        line-height: var(--line-height-base);
        margin-left: var(--space-md);

    }


    .logo-box {
        animation-duration: 6s;
    }

    .main.maindvh .logo-box.contact-section {
        top: 30%;
        left: 5%;


    }



    /* component faq  main section */
    .logo-box.faq-section {
        position: absolute;
        top: -5%;
        left: 35%;
        transition: left 0.8s ease-out;
    }

    .main.maindvh .logo-box.project-section {
        top: 32%;
        left: 35%;
    }

    #popup-message {
        top: -25%;
        left: -20%;
        max-width: 130px;
        max-height: 140px;
        font-size: var(--fs-xl);
    }


    #turtle-log {
        width: 180px;
        height: 180px;
    }


    /* End main */

    /* Setting panel */

    .settings-panel {
        margin-right: var(--space-xs);
    }


    .btn {

        width: var(--btn-md-w);
        height: var(--btn-md-h);
        font-size: var(--fs-xxl);
        margin: var(--space-md);
    }



    .btn-theme img {
        width: var(--space-lg-xl);
        height: var(--space-lg-xl);
    }

    /* Setting panel End*/

    /* footer */

    .footer p {
        font-size: var(--fs-xl);
        line-height: 1.2;
    }

    .containerAS {
        position: absolute;
        top: -20%;
        right: -1%;
        width: 48px;
        height: 48px;
        margin: var(--space-xxs);
        background-image: url('../img/logo-nero01-noBg.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

    }

    /* End Footer */

    /* Contact section */

    .menuContatcs {
        display: none;
        margin-top: var(--space-sm);
        width: 60dvw;
        height: 70dvh;
    }




    .containerBoxContact {
        width: inherit;
        height: inherit;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: var(--space-sm);

    }

    .boxContatc {
        width: 200px;
        height: 80px;
        max-width: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: var(--space-sm);

    }




    .boxContatc.is-open {
        width: 400px;
        height: 390px;
        max-width: none;
        justify-content: flex-start;
        gap: var(--space-xxl);

    }




    .boxContatc.is-open .contactsDescription p {
        font-size: var(--fs-xxl);
        margin-bottom: var(--space-lg);
    }


    .boxContatc i {
        font-size: var(--fs-3xxl);
    }

    .boxContatc .fa-linkedin {
        margin-top: var(--space-sm);
    }




    .containerBtnContact {
        display: flex;
        flex-direction: row;
        gap: var(--space-sm);
    }


    .btnContact {
        font-size: var(--fs-xl);
        width: var(--btn-xl-w);
        height: var(--btn-lg-h);
        margin: var(--space-sm);
    }

    /* End Contact Section */


    /* Send Email Section */

    fieldset {
        gap: var(--space-xl);
        font-size: var(--fs-2xxl);
    }


    fieldset input:not(:nth-of-type(4)) {
        width: 300px;
        height: 60px;
        font-size: var(--fs-xl);
    }



    #bodyMessage {
        font-size: var(--fs-xl);
    }

    fieldset button {
        width: var(--btn-xl-w);
        height: var(--btn-lg-h);
        font-size: var(--fs-xl);
        margin: var(--space-xs);
    }


    .btn-back {
        width: var(--btn-xxl-w);
        height: var(--btn-lg-h);
        font-size: var(--fs-xl);

    }

    /* End Send Email Section */

    /* Faq */


    .faq-inner {
        max-height: 70dvh;

        margin-top: var(--space-3xl);

        gap: var(--space-lg);

    }


    h3 {
        max-width: 450px;
        font-size: var(--h3-size-xl);

    }

    .faq-inner p {
        font-size: var(--fs-xl);
    }

    /* Faq End*/

    /* Project */

    /* Parte delle Waves  */

    .first-wave.move {
        animation-duration: 5.4s;
        animation-delay: 0.9s;

    }



    .first-inner.move2 {

        animation-duration: 4.4s;
        animation-delay: 0.6s;
    }



    /* da qui inizia la wave opposta */

    .opposite-wave {

        --move-topX: 95vw;

    }

    .opposite-wave.opp-move {

        animation-duration: 5.4s;
        animation-delay: 0.9s;

    }



    .opposite-inner.opp-move2 {

        animation-duration: 4.4s;
        animation-delay: 0.6s;

    }

    /* waves End*/

    /* Parte delle Bolle*/

    .bubble {

        width: 140px;
        height: 140px;

    }

    /* è una classe che simula un hover per mobile e tablet */
    .bubble.hovered {

        width: 230px;
        height: 230px;

    }

    .bubble.hovered .title-bubbles {
        font-size: var(--fs-xxl);
    }



    .title-bubbles {
        font-size: var(--fs-xl);
    }

    .bubble.hovered .info-bubble span {
        font-size: var(--fs-xl);
    }





    .info-bubble>a {
        font-size: var(--fs-xl);
    }

    /* Project section End*/


    /* Error Page */

    .contaner404 h1 {
        max-width: 100%;
        font-size: var(--h1-size-desk);
    }

    .error-page {
        margin-top: var(--space-4xl);
    }

    .error-code {
        font-family: var(--f-family);
        font-size: 6.5rem;
        color: var(--text-color);
        text-align: center;
    }

    .containerError p {
        font-size: var(--fs-xxl);
        max-width: 100%;
        white-space: wrap;
    }

    /* Error page End*/

}

/* Media Desktop */

@media screen and (width >=1023px) {

    /* Typography*/


    h1 {

        font-size: var(--h1-size-4xl);

    }

    li {
        list-style: none;
    }

    a {
        cursor: var(--cursor-dot-black);
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        text-decoration: none;
        color: var(--text-color);
        font-size: var(--fs-lg);
    }


    a[title="Frequently Asked Questions"] {
        font-size: var(--fs-xl);
    }


    .navbar-inner span {
        font-size: var(--fs-xl);
    }


    .navbar-inner i {
        font-size: var(--fs-xl);
    }

    .navbar-inner li {
        max-width: 90px;
        border-radius: 8px;
        transition: box-shadow 0.8s ease-in-out, transform 0.8s ease-in-out, border-radius 0.8s ease-in-out, max-width 0.8s ease-in-out, padding 0.8s ease-in-out;
    }

    .navbar-inner li:not(:has(.dot)):hover {
        box-shadow: -3px 3px 5px 1px var(--text-color);
        padding: var(--space-xxs);
        transform: scale(1.1);
    }

    .navbar-inner li:not(:has(.dot, a[href="faq.html"], a[href="index.html"], img)):hover {
        max-width: 160px;
    }


    .navbar-inner li:has(a[href="faq.html"], a[href="index.html"]):hover {

        max-width: 100px;

    }

    .navbar-inner li:has(img):hover {
        max-width: 180px;
    }


    /* Typography END*/

    .app-container {

        grid-template-columns: 30px 1fr;

    }


    .container-inner {

        max-height: 90dvh;
        grid-template-columns: 1fr 1fr;
        margin-top: var(--space-sm);
        margin-left: var(--space-md);

    }

    .container-inner.setting-gridArea .logo-box {
        align-self: flex-start;
    }


    .navbar-inner {
        gap: var(--space-2xl);
    }


    .dot {
        width: 15px;
        height: 15px;
    }


    img[alt="service"] {
        width: 62px;
        height: 62px;
    }

    /* End Header */

    /* Main */

    .main {


        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-md);
    }


    .bio-container {
        display: none;
    }


    .bio-container p {
        width: 750px;
        line-height: var(--line-height-lg);
        margin-left: var(--space-xs);
        padding: var(--space-md);

    }

    .logo-box {
        animation-duration: 7s;
    }

    .main.maindvh .logo-box.contact-section {
        top: 30%;
        left: 5%;
    }


    /* component faq  main section */
    .logo-box.faq-section {
        position: absolute;
        top: -5%;
        left: 43%;
        transition: left 0.8s ease-out;
    }

    .main.maindvh .logo-box.project-section {
        top: 32%;
        left: 35%;
    }

    #popup-message {

        top: -33%;
        left: -50%;
        max-width: 160px;
        max-height: 150px;
    }


    #turtle-log {
        width: 160px;
        height: 160px;

    }

    /* End main */


    /* Setting panel */
    .btn {

        width: var(--btn-sm-w);
        height: var(--btn-sm-h);
        font-size: var(--fs-xl);
    }

    .btn-theme img {
        width: var(--space-lg);
        height: var(--space-lg);
    }

    /* Setting panel End*/


    /* footer */

    .footer p {
        font-size: var(--fs-lg);
        margin-left: var(--space-md);
        line-height: 1.2;
    }

    .containerAS {

        width: 38px;
        height: 38px;


    }

    /* End Footer */


    /* Contatct sezion */
    .containerBoxContact {
        justify-content: flex-end;
        align-items: flex-start;
        gap: var(--space-sm);

    }

    .boxContatc:hover::before,
    .boxContatc:focus-within::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: var(--bg-color);
        width: 100%;
        height: 0%;
        z-index: -1;
        animation-name: bgBox;
        animation-duration: 1.2s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
    }

    .boxContatc {
        width: 190px;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: all 0.6s ease-in-out;
        gap: var(--space-xxs);
    }

    .boxContatc:hover,
    .boxContatc:focus-within {
        width: 370px;
        height: 300px;
        display: flex;
        align-items: flex-start;
        gap: var(--space-sm);
        box-shadow: 1px 1px 20px 2px rgb(155, 103, 103);
    }

    .boxContatc:hover .contactsDescription,
    .boxContatc:focus-within .contactsDescription {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: var(--space-sm);
        padding: var(--space-xs);
    }

    .boxContatc:hover .contactsDescription p,
    .boxContatc:focus-within .contactsDescription p {
        font-size: var(--fs-xl);

    }

    .containerBtnContact {
        display: flex;
        flex-direction: row;
        gap: var(--space-sm);
    }

    .btnContact {

        cursor: var(--cursor-dot-black);
        transition: scale 0.6s ease-in-out;
        scale: 1;
    }

    .btnContact:hover {
        scale: 1.1;

    }

    /* Send Email Section */

    .send-email {
        gap: var(--space-lg);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--bg-color) transparent;
        margin-top: 0px;
        display: inline-block;
    }

    fieldset {
        gap: var(--space-lg);
        font-size: var(--fs-xxl);

    }

    fieldset input:not(:nth-of-type(4)) {
        width: 250px;
        height: 30px;
        font-size: var(--fs-xl);
    }

    #bodyMessage {
        font-size: var(--fs-xxl);
        width: 600px;
    }

    fieldset button {
        width: var(--btn-xl-w);
        height: var(--btn-md-h);
        font-size: var(--fs-xl);
    }


    .btn-send::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0%;
        background-color: var(--bg-color);
        z-index: -1;
        transition: height 0.8s ease-in-out;

    }


    .btn-send {
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: scale 0.4s ease-in-out;
    }


    .btn-send:hover {
        scale: 1.1;
    }


    .btn-send:hover::before {
        height: 100%;

    }

    .btn-back {
        width: var(--btn-xxl-w);
        height: var(--btn-lg-h);
        font-size: var(--fs-xl);
        margin-top: var(--space-lg);
    }

    /* Faq */

    .faq-inner {
        max-height: 60dvh;
        margin-top: var(--space-3xl);
        gap: var(--space-xl);
    }

    h3 {
        max-width: 550px;
        font-size: var(--h3-size-xxl);
    }

    .faq-inner p {
        font-size: var(--fs-xl);
        margin-bottom: var(--space-xxl);
        padding: var(--space-sm);
    }

    /* Project */


    /* Parte delle Waves  */

    .first-wave {
        --move-tX: 45vw;
        --move-tY: -1vh;
        transform: translate(var(--move-tX), var(--move-tY));
    }

    /* da qui inizia la wave opposta */

    .opposite-wave {
        --move-topX: 45vw;
        --move-topY: 100vh;
    }

    /* waves End*/


    /* Parte delle Bolle*/

    .bubble {
        width: 120px;
        height: 120px;

    }

    .bubble:hover,
    .bubble:focus-within {
        width: 230px;
        height: 230px;
        overflow: hidden;
    }

    .bubble:hover .title-bubbles,
    .bubble:focus-within .title-bubbles {
        font-size: var(--fs-xxl);
    }

    .bubble:hover .info-bubble,
    .bubble:focus-within .info-bubble {
        display: flex;
    }

    .bubble:hover .info-bubble span,
    .bubble:focus-within .info-bubble span {
        font-size: var(--fs-xl);
    }

    .info-bubble>a {
        font-size: var(--fs-xl);
        text-decoration: none;
    }

    .info-bubble>a:hover {
        text-decoration: underline;
    }

    .bubble.one:hover::before {
        border-radius: inherit;
        background-image: url('../img/previw-website.png');
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(0px) opacity(var(--opcaity-bubbles));

    }

    .bubble.two:hover::before {
        border-radius: inherit;
        background-image: url('../img/preview-wbsite-events.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(0px) opacity(var(--opcaity-bubbles));
    }

    /* Error Page */

    .contaner404 h1 {
        max-width: 100%;
        white-space: nowrap;
        font-size: var(--h1-size-desk);
    }

    .error-code {
        font-family: var(--f-family);
        font-size: 6.5rem;
        color: var(--text-color);
        text-align: center;
    }

    .containerError p {
        font-size: var(--fs-xl);
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;

    }

    .main.maindvh .container-bubbles {
        opacity: 1;
    }

}