/*

Theme Name: paolo_data_blin
Theme URI:
Author: Giulio Vergara
Author URI: https://wordpress.org/
Description: paolo_data_blin
Version: 3.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, featured-images, full-width-template, translation-ready, photography, portfolio
Text Domain: paolo_data_blin

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

*/



/* RESET
----------------------------------------------------------- */

/*
http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Libre Franklin', sans-serif;
}

strong {
	font-weight: 900;
}

li,
ul {
	outline: 0;
	list-style-type: circle;
	margin-left: 15px;
	font-size: 20px;
	margin-top: 15px;
}

nav-menu ol {
    list-style: none;
}

nav-menu ul {
    list-style: none;
}

nav-menu li {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h2 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 115%;
}

h3 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 115%;
}

p {
  font-size: 1rem;
  margin-top: 15px;
  line-height: 130%;
}

.see-more {
  text-decoration: underline;
  font-weight: 600;
}

:root {
    --color-1: #4E6F96; /* Blu */
    --color-2: #475343; /* Verde */
    --color-3: #5C2837; /* Viola */
    --color-4: #867921; /* Giallo */

    /* Variabili dinamiche inizializzate con un colore */
    --primary-color: #4E6F96; /* Colore predefinito */
    --hover-color: #475343;
}


/* LAYOUT
----------------------------------------------------------- */

/* Positions */
.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

/* Top Right Bottom Left */
.top-0 {
    top: 0;
}

.top-1 {
    top: 30px;
}

.top-1-index {
    top: 180px
}

.top-50 {
    top: 50vh;
}

.right-0 {
    right: 0;
}

.right-50 {
    right: -50%;
}

.right-1 {
    right: 3%;
}

.bottom-0 {
    bottom: 0;
}

.bottom-1 {
    bottom: 30px;
}

.left-1 {
    left: 3%;
}

.left-50 {
    left: 50%;
}

.admin-bar .top-0 {
    top: 32px;
}

.admin-bar .top-1 {
    top: 62px;
}

/* Width */
.width-100 {
    width: 100%;
}

.width-94 {
    width: 94%;
}

.width-70 {
    width: 70%;
}

.width-50 {
    width: 50%;
}

.width-30 {
    width: 30%;
}

/* Height */
.height-100 {
    height: 100vh;
}

.height-50 {
    height: 50vh;
}

.height-33 {
    height: 33.3vh;
}

.height-20 {
    height: 20vh;
}

.height-custom-1 {
    height: 80px;
}

/* Float */
.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* Margin */
.margin-top-1 {
    margin-top: 25px;
}

.margin-top-2 {
    margin-top: 50px;
}

.margin-top-3 {
    margin-top: 75px;
}

.margin-top-4 {
    margin-top: 100px;
}

.margin-right-1-1 {
  margin-right: 10px;
}

.margin-right-1 {
    margin-right: 25px;
}

.margin-right-2 {
    margin-right: 50px;
}

.margin-right-3 {
    margin-right: 75px;
}

.margin-right-4 {
    margin-right: 100px;
}

.margin-bottom-1 {
    margin-bottom: 25px;
}

.margin-bottom-2 {
    margin-bottom: 50px;
}

.margin-bottom-3 {
    margin-bottom: 75px;
}

.margin-bottom-4 {
    margin-bottom: 100px;
}

.margin-left-1 {
    margin-left: 25px;
}

.margin-left-2 {
    margin-left: 50px;
}

.margin-left-3 {
    margin-left: 75px;
}

.margin-left-4 {
    margin-left: 100px;
}

/* Padding */
.padding-top-1 {
    padding-top: 25px;
}

.padding-top-2 {
    padding-top: 50px;
}

.padding-top-3 {
    padding-top: 75px;
}

.padding-top-4 {
    padding-top: 100px;
}

.padding-right-1 {
    padding-right: 25px;
}

.padding-right-2 {
    padding-right: 50px;
}

.padding-right-3 {
    padding-right: 75px;
}

.padding-right-4 {
    padding-right: 100px;
}

.padding-bottom-1 {
    padding-bottom: 25px;
}

.padding-bottom-2 {
    padding-bottom: 50px;
}

.padding-bottom-3 {
    padding-bottom: 75px;
}

.padding-bottom-4 {
    padding-bottom: 100px;
}

.padding-left-1 {
    padding-left: 25px;
}

.padding-left-2 {
    padding-left: 50px;
}

.padding-left-3 {
    padding-left: 75px;
}

.padding-left-4 {
    padding-left: 100px;
}

.padding-left-3pc {
    padding-left: 3%;
}

.padding-left-4-5pc {
    padding-left: 4.5%;
}

.padding-left-6pc {
    padding-left: 6%;
}

.padding-right-3pc {
    padding-right: 3%;
}

.padding-right-4-5pc {
    padding-right: 4.5%;
}

.padding-right-6pc {
    padding-right: 6%;
}

/* Z-Index */
.z-index-1 {
    z-index: 1010;
}

.z-index-2 {
    z-index: 1020;
}

.z-index-3 {
    z-index: 1030;
}

.z-index-4 {
    z-index: 1040;
}

.z-index-5 {
    z-index: 1050;
}

/* General */
.vertical-align {
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.rotate-90 {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 90%;
    margin: calc(10% + 150px) auto 0 auto;
}


.grid-box {
    position: relative;
    height: 550px;
    width: 32.33%;
    margin-bottom: 5%;
    padding: 5px;
    cursor: none;
}


.grid-box h3, .grid-box h2 {
    color: white;
}


.grid-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    filter: grayscale(0);
    -webkit-transition: all 0.55s ease;
    transition: all 0s ease;
}


.grid-box:hover {
    z-index: 10;
}

.grid-img:hover {
    z-index: 10;
}

.bw-image:hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Immagine colorata nascosta, si rivelerà con clip-path */
.color-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(0px at var(--x, 50%) var(--y, 50%)); /* Nasconde il colore */
    transition: clip-path 0.1s ease-out;
    pointer-events: none;
}

/* Rendi il cursore trasparente per evitare interferenze */
.ball {
    position: fixed;
    top: 0;
    left: 0;
    cursor: none;
}

/* Aggiunta dell'icona "+" al centro */

/* Quando il cursore diventa attivo */
.ball-carousel-active {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    pointer-events: none;
    cursor: none;
    z-index: 9999;
    background: transparent;
    border: 2px solid white; /* Bordo opzionale */
    transition: width 0.3s ease, height 0.3s ease;
}

.ball-carousel-active:after {
    content: '';
    position: absolute;
    width: 30px; /* Dimensione dell'icona */
    height: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url('/wp-content/uploads/2025/08/plus-1.png'); /* Percorso corretto */
    background-size: contain; /* Evita distorsioni */
    background-repeat: no-repeat;
    mix-blend-mode: revert;
    z-index: 10; /* Assicurati che sia sopra il cursore */
}

/* caption project hover */

.title-link {
    position: absolute;
    bottom: 30px;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.grid-box:hover .title-link {
    opacity: 1;
    transform: translateY(0);
}

.plusButton {
    /* Config start */
    --plus_sideLength: 3rem;
    --plus_topRightTriangleSideLength: 0.5rem;
    /* Config end */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid white;
    width: var(--plus_sideLength);
    height: var(--plus_sideLength);
    background-color: var(--primary-color);
    overflow: hidden;
    border-radius: 50%;
  }
  
  .plusButton::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-width: 0 0 0 0;
    border-style: solid;
    border-color: transparent var(--hover-color) transparent transparent;
    transition-timing-function: ease-in-out;
    transition-duration: 0.2s;
  }
  
  .plusButton:hover {
    cursor: pointer;
  }
  
  .plusButton:hover::before {
    --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);
  }
  
  .plusButton:focus-visible::before {
    --plus_topRightTriangleSideLength: calc(var(--plus_sideLength) * 2);
  }
  
  .plusButton>.plusIcon {
    fill: white;
    width: calc(var(--plus_sideLength) * 0.7);
    height: calc(var(--plus_sideLength) * 0.7);
    z-index: 1;
    transition-timing-function: ease-in-out;
    transition-duration: 0.2s;
  }
  
  .plusButton:hover>.plusIcon {
    fill: white;
    transform: rotate(180deg);
  }
  
  .plusButton:focus-visible>.plusIcon {
    fill: white;
    transform: rotate(180deg);
  }

.caption {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    position: fixed;
    z-index: 1000;
    display: none;
    transform: translate(10px, 10px);
}

.caption__title {
    margin-bottom: 5px;
    font-size: 18px;
}

.caption__description {
    font-size: 14px;
    font-style: italic;
}


@media screen and (max-width:900px) {

    .ball {
      display: none !important;
  }
}

/* GALLERY PROGETTO */


html,
body {
    overflow-x: hidden;
}

a {
    margin: 0;
    padding: 0;
}

img {
    margin: 0;
    padding: 0;
}



@media screen and (max-width: 999px) {
    .grid-box {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .grid-box {
        width: 100%;
        padding: 0;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 0;
        margin-bottom: 8px;
    }

    .img-left,
    .img-right {
        display: none;
    }
}


/* BURGER MENU */

.burger_menu {
    padding-top: 10px;
    padding-bottom: 10px;
}

.burger_menu > div {
    width: 40px;
    height: 3px;
    background-color: black;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.burger_menu > div:first-child {
    margin-bottom: 13px;
}

.burger_menu > div:nth-child(2) {
    width: 40px;
}

.burger_menu:hover div:nth-child(2) {
    width: 20px;
}

.burger_menu:hover {
    cursor: pointer;
}


.burger_menu_close {
    height: 50px;
    width: 50px;
    transform: rotate(45deg);
    position: relative;
}

.burger_menu_close > div:first-child {
    position: absolute;
    top: 0;
    left: 50%;
    background-color: white;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
}

.burger_menu_close > div:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 0;
    background-color: white;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
}

.burger_menu_close:hover {
    cursor: pointer;
}


/* TYPOGRAPHY
----------------------------------------------------------- */

/* Text Align */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Font Family */
.LibreFranklin {
    font-family: 'Libre Franklin', sans-serif;
}
.pinyon {
    font-family: 'Pinyon Script', cursive;
}

/* Font Size */
.font-size-0-6 {
    font-size: 0.6rem;
}

.font-size-0-7 {
    font-size: 0.7rem;
}

.font-size-0-8 {
    font-size: 0.8rem;
}

.font-size-0-9 {
    font-size: 0.9rem;
}

.font-size-1 {
    font-size: 1rem;
}

.font-size-1-1 {
    font-size: 1.1rem;
}

.font-size-1-2 {
    font-size: 1.2rem;
}

.font-size-1-3 {
    font-size: 1.3rem;
}

.font-size-1-4 {
    font-size: 1.4rem;
}

.font-size-1-5 {
    font-size: 1.5rem;
}

.font-size-1-6 {
    font-size: 1.6rem;
}

.font-size-1-7 {
    font-size: 1.7rem;
}

.font-size-1-8 {
    font-size: 1.8rem;
}

.font-size-1-9 {
    font-size: 1.9rem;
}

.font-size-2 {
    font-size: 2rem;
}

.font-size-3 {
    font-size: 3rem;
}

.font-size-4 {
    font-size: 4rem;
}

.font-size-5 {
    font-size: 5rem;
}

.font-size-6 {
    font-size: 6rem;
}

.font-size-7 {
    font-size: 7rem;
}

.main-article-content h6 {
    font-size: 1.5rem;
}

.main-article-content h5 {
    font-size: 2rem;
}

.main-article-content h4 {
    font-size: 2.5rem;
}

.main-article-content h3 {
    font-size: 3rem;
}

.main-article-content h2 {
    font-size: 3.5rem;
}

.main-article-content h1 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: -10px;
}

/* Font Weight */
.font-weight-100 {
    font-weight: 100;
}

.font-weight-200 {
    font-weight: 200;
}

.font-weight-300 {
    font-weight: 300;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

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

.font-weight-700 {
    font-weight: 700;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-900 {
    font-weight: 900;
}

/* Letter Spacing */
.letter-spacing-0-0-5 {
    letter-spacing: 0.05em;
    margin-right: -0.05em;
}

.letter-spacing-0-1 {
    letter-spacing: 0.1em;
    margin-right: -0.1em;
}

.letter-spacing-0-2 {
    letter-spacing: 0.2em;
    margin-right: -0.2em;
}

.letter-spacing-0-7 {
    letter-spacing: 0.7em;
    margin-right: -0.7em;
}

/* Text Transform */
.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

/* Line Height */
.line-height-1-1 {
    line-height: 1.1em;
}

.line-height-1-2 {
    line-height: 1.2em;
}

.line-height-1-3 {
    line-height: 1.3em;
}

.line-height-1-4 {
    line-height: 1.4rem;
}

.line-height-1-6 {
    line-height: 1.6rem;
}

/* Article Typography */
.main-article-content dfn,
.main-article-content cite,
.main-article-content em,
.main-article-content i {
    font-style: italic;
}

.main-article-content strong {
    font-weight: 700;
}

.main-article-content blockquote {
    border-left: 3px solid #ececec;
    padding: 0 6% !important;
}

.main-article-content pre {
    background: #eee;
    padding: 6%;
}

.main-article-content ul {
    list-style-type: disc;
    list-style-position: inside;
}

.main-article-content ol {
    list-style-type: decimal;
    list-style-position: inside;
}

/* General */
html {
    font-size: 16px;
}

.break-word {
    word-wrap: break-word;
}




/* COLORS
----------------------------------------------------------- */

/* Text Colors */
.light {
    color: #fff;
}

.dark {
    color: #171717;
}

.extra-soft-light {
    color: #f9f9f9;
}

.soft-light {
    color: #ececec;
}

.soft-dark {
    color: rgba(0, 0, 0, 0.5);
}

/* Background Colors */
.dark-background {
    background-color: #171717;
}

.light-background {
    background-color: #fff;
}

.extra-soft-light-background {
    color: #f9f9f9;
}

/* General */
body,
a {
    color: var(--hover-color);
}




/* CUSTOM
----------------------------------------------------------- */

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background-color: #fff;
}

body::-webkit-scrollbar-thumb {
    background-color: #bcbcbc;
}

/* Sticky Footer */

.admin-bar main {
    min-height: calc(100vh - 112px);
}

/* Cursor */
.cursor-pointer {
    cursor: pointer;
}

/* Borders */
.border-1 {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.border-top-1 {
    border-top: 3px solid #f9f9f9;
}

.border-bottom-1 {
    border-bottom: 3px solid #fff;
}

.border-right-1 {
    border-right: 3px solid #fff;
}

.border-radius-100 {
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -o-border-radius: 100%;
}

/* Back To Top Button */
.back-to-top-button {
    display: none;
    width: 50px;
    height: 50px;
}

.back-to-top-button button {
    display: block;
}

.back-to-top-button div {
    width: 50px;
    height: 50px;
}

.back-to-top-button i {
    color: rgba(0, 0, 0, 0.4);
    margin-top: -5px;
}

/* icona SVG del pulsante "torna in cima" (ex Font Awesome) */
.back-to-top-button svg.icon-arrow-up {
    color: rgba(0, 0, 0, 0.4);
    width: 22px;
    height: 22px;
}

.transition-5 {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

/* Projects Categories */
.projects-categories a {
    display: inline-block;
}

/* General */
* {
    box-sizing: border-box;
}

body > header,
body > main,
body > footer {
    opacity: 0;
}

a {
    text-decoration: none;
}

button {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
}

/* Header & Menu */
header {
    height: 80px;
}

#logo a,
#open-menu-button button {
    display: block;
}

#off-canvas-menu {
    top: -100vh;
}

#menu-description {
    width: 20vh;
    margin-bottom: 20vh;
}



.off-canvas-menu-menu-item::-webkit-scrollbar {
    display: none;
}

.sub-menu {
    font-size: 2rem;
    font-weight: 700;
    margin: 5px 0 5px 25px;
}

.sub-menu li {
    margin: 5px 0 5px 5%;
}

.custom-logo {
    max-width: 80px;
    margin-top: 10px;
}

/* Front Page */
.home-underline {
    width: 428px;
    height: 3px;
    margin-top: 10px;
}

.home-excerpt-text {
    width: 180px;
    height: 50px;
    margin-top: -20px;
    left: 250px;
}

.home-excerpt-text div {
    position: absolute;
    bottom: 0;
    right: 0;
}

.home-excerpt-text p {
    margin-bottom: 2px;
}

.home-excerpt-background {
    left: 275px;
    width: 250px;
    height: 75vh;
}

.all-projects-menu li {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.all-projects-menu li:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/* All Projects */
.all-project-main-title-container,
.all-projects-main-excerpt-container {
    height: 55%;
}

.all-projects-main-excerpt-container {
    left: 30%;
}

.all-projects-main-title {
    margin-bottom: 5px;
}

.all-project-main-title-container div p {
    margin-bottom: 2px;
}

/* Index */
.index article {
    height: 50%;
}

.index article {
    position: relative;
    min-height: 33.3vh;
    overflow-y: scroll;
}

.index article::-webkit-scrollbar {
    display: none;
}

.index-main-title-container,
.index-main-excerpt-container {
    height: 50%;
}

.index-main-excerpt-container {
    left: 30%;
}

.index-main-title-container div h2 {
    margin-bottom: 5px;
}

.index-main-title-container div p {
    margin-bottom: 2px;
}

.index-main-tag a {
    display: inline-block;
    background-color: #171717;
    color: #fff;
    padding: 5px 15px;
    margin: 2px 0;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.index-main-line {
    outline: none;
    border: 1px solid #f6f6f6;
}

/* Single */
.single-main-tag {
    margin: 12vh 0 0 !important;
}

.single-main-tag a {
    display: inline-block;
    background-color: #171717;
    color: #fff;
    padding: 5px 15px;
    margin: 2px 0;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
}

.single-title {
    margin-bottom: 10px;
    padding-top: 10px;
}

/* Single Project */
.single-projects-custom-taxonomy-categories a {
    color: #fff;
}

.single-projects-title {
    margin-bottom: 10px;
    padding-top: 10px;
}

.single-projects-client {
    margin-bottom: 2px;
}

/* Main Article */
.main-article-content div {
    border: 0;
}

.main-article-content img {
    max-width: 100%;
    height: auto;
}

.gallery .gallery-item img {
    box-shadow: none;
    border: 0 !important;
    padding: 0 1px;
    margin: -7px 0;
}

.index-description {
    width: 150px;
    float: left;
    transform: rotate(270deg);
    margin-left: 0;
    position: relative;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.index-title,
.all-projects-title {
    width: 30vw;
    margin: 0 10vw;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.main-article-content {
    color: #000;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    padding: 5vh 0 0;
}

.content-project {
    width: 60%;
    margin: 0 auto;
    text-align: justify;
}

body.single-projects .main-article-content {
    padding: 5vh 0;
}

.main-article-content > * {
    padding: 1px;
    margin: 30px auto;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
}

.main-article-content h1,
.main-article-content h2,
.main-article-content h3,
.main-article-content h4,
.main-article-content h5,
.main-article-content h6 {
    line-height: 1;
}

.main-article-content ul,
.main-article-content ol {
    padding: 0 3%;
}

.main-article-pagination {
    padding: 5vh 0;
}

.main-article-pagination a {
    background-color: #171717;
    color: #fff;
    margin: 0 3px;
    padding: 8px;
    font-size: 0.9rem;
    font-size: 500;
}

.main-article-next-prev {
    background: #f9f9f9;
    position: relative;
}

.main-article-next-prev div {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.main-article-next-prev div:first-child,
.main-article-next-prev div:last-child {
    width: 40%;
}

.main-article-next-prev div:first-child {
    padding-right: 10%;
}

.main-article-next-prev div:last-child {
    padding-left: 10%;
}

.main-article-next-prev-home {
    width: 20%;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

/* Index Pagination */
#index-pagination {
    text-align: center;
    margin: 15vh 0;
}

#index-pagination a,
#index-pagination span {
    background-color: #171717;
    color: #fff;
    margin: 0 1px;
    padding: 8px;
    border: 1px solid #171717;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
    font-size: 500;
}

#index-pagination span {
    background-color: #fff;
    color: #171717;
}

/* Preloader logo (nessun pulse: resta fisso al centro e cambia colore,
   poi GSAP lo fa salire ESATTAMENTE sopra al logo dell'header).
   Il movimento è gestito interamente da GSAP: niente transizioni CSS
   sul transform, altrimenti entrerebbero in conflitto. */
.bar {
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}



/* Nav Button Colors */
body.home:not(.blog) footer {
    display: none;
}

/* body.blog #logo a,
body.page #logo a,
body.single #logo a,
body.archive #logo a,
body.error404 #logo a,
body.blog #open-menu-button button,
body.page #open-menu-button button,
body.single #open-menu-button button,
body.archive #open-menu-button button,
body.error404 #open-menu-button button {
    color: #171717;
} */

/* body.home:not(.blog) #logo a,
body.single-projects #logo a,
body.page-template-all-projects #logo a,
body.tax-categories #logo a,
body.home:not(.blog) #open-menu-button button,
body.single-projects #open-menu-button button,
body.page-template-all-projects #open-menu-button button,
body.tax-categories #open-menu-button button {
    color: #fff;
} */




/* CSS3 ANIMATIONS
----------------------------------------------------------- */

/* Line Hover */
.line-hover a:before {
    content: "";
    display: inline-block;
    width: 0;
    height: 3px;
    margin-right: 10px;
    position: relative;
    background-color: #fff;
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.line-hover a:hover:before {
    width: 5%;
}

/* Font Weight Hover */
.font-weight-hover a {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.font-weight-hover a:hover {
    font-weight: 400;
}

/* Color Hover */
.color-hover a {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.color-hover a:hover {
    color: rgba(0, 0, 0, 0.8);
}

/* Color Hover Light */
.color-hover-light a {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.color-hover-light a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Color Hover Dark */
.color-hover-dark a {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.color-hover-dark a:hover {
    color: rgba(17, 17, 17, 0.6);
}

/* Grow Hover */
.grow-hover {
    transition: 0.4s all ease;
    -webkit-transition: 0.4s all ease;
    -moz-transition: 0.4s all ease;
    -ms-transition: 0.4s all ease;
    -o-transition: 0.4s all ease;
}

.grow-hover:hover {
    color: #fff;
    background-color: #0000F0;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}





/* COMMENTS
----------------------------------------------------------- */
.comments {
    background-color: #f9f9f9;
    padding: 25px 0;
    border-top: 2px solid #fff;
}

.comments-area > * {
    color: #000;
    width: 60%;
    margin: 15px auto;
    text-align: center;
    font-family: 'Libre Franklin', sans-serif;
    line-height: 1em;
}

.comments-area h3,
.comments-area h4 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.comments-area a {
    display: inline-block;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.7rem;
    font-weight: 100;
    margin: 5px 0;
}

.comment-author {
    font-weight: 600;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: none;
}

.logged-in-as,
.comment-notes {
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comment-notes {
    margin: 5px 0;
}

.comment-form-comment textarea {
    outline: none;
    border: none;
    resize: none;
    color: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 15px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-submit input {
    outline: none;
    border: none;
    background-color: #171717;
    color: #fff;
    width: 220px;
    padding: 18px 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 15px;
    -webkit-appearance: none;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    border: none;
    outline: none;
    background-color: #f9f9f9;
    color: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin: 5px 0;
    padding: 10px 15px;
    border-bottom: 1px solid #ececec;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.comment {
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comment .fn {
    margin-left: 10px;
}

.comment .fn,
.comment .says {
    position: relative;
    top: -1px;
}

.comment-list li {
    margin: 10px 0;
}

.comment-list li.bypostauthor {
    border: none;
    border-left: 3px solid #f1f1f1;
    padding-left: 6%;
}




/* SOCIAL MENU
----------------------------------------------------------- */

/*
.social-menu li a:before {
    display: block;
    padding: 10px 0px;
    font-family: "fontawesome";
    vertical-align: middle;
    content: "\f005";
    color: #000;
    font-size: 20px;
}

.social-menu li {
    list-style: none;
    display: inline-block;
    margin: 20px;
}

@media screen and (max-width:768px) {
    .social-menu li {
        display: inline;
        float: left;
        margin: 5px !important;
    }
}

ul.social-menu {
    display: block;
    position: relative;
    padding-left: 0;
    margin: 0;
}

.social-menu li a[href*="facebook.com"]:before {
    content: '\f09a';
}

.social-menu li a[href*="twitter.com"]:before {
    content: '\f099';
}

.social-menu li a[href*="plus.google.com"]:before {
    content: '\f0d5';
}

.social-menu li a[href*="youtube.com"]:before {
    content: '\f167';
}

.social-menu li a[href*="pinterest.com"]:before {
    content: '\f0d2';
}

.social-menu li a[href*="instagram.com"]:before {
    content: '\f16d';
}

.social-menu li a[href*="vimeo.com"]:before {
    content: '\f194';
}

.social-menu li a[href*="linkedin.com"]:before {
    content: '\f0e1';
}

.social-menu li a[href*="github.com"]:before {
    content: '\f09b';
}

.social-menu li a[href*="flickr.com"]:before {
    content: '\f16e';
}

.social-menu li a[href*="dribbble.com"]:before {
    content: '\f17d';
}

.social-menu li a[href*="wordpress.com"]:before,
.social-menu li a[href*="wordpress.org"]:before {
    content: '\f19a';
}

.social-menu li a[href*="digg.com"]:before {
    content: '\f1a6';
}

.social-menu li a[href*="reddit.com"]:before {
    content: '\f1a1';
}

.social-menu li a[href*="xing.com"]:before {
    content: '\f168';
}

.social-menu li a[href*="vk.com"]:before {
    content: '\f189';
}

.social-menu li a[href*="weibo.com"]:before {
    content: '\f18a';
}

.social-menu li a[href*="behance.net"]:before {
    content: '\f1b4';
} */




/* MEDIA QUERIES
----------------------------------------------------------- */

/* Tablet */
@media only screen and (max-width: 1023px) {

    /* Layout */
    .top-1 {
        top: 25px;
    }

    .top-1-index {
        top: 30px
    }

    .admin-bar .top-1 {
        top: 71px;
    }

    .admin-bar .top-0 {
        top: 46px;
    }

    .bottom-1 {
        bottom: 25px;
    }

    .rotate-90 {
        transform: none;
    }

    .height-custom-1 {
        height: 70px;
    }

    /* Typography */
    .font-size-0-7 {
        font-size: 0.6rem;
    }

    .font-size-0-8 {
        font-size: 0.7rem;
    }

    .font-size-0-9 {
        font-size: 0.8rem;
    }

    .font-size-1 {
        font-size: 0.9rem;
    }

    .font-size-1-5 {
        font-size: 1.2rem;
    }

    .font-size-1-7 {
        font-size: 1.4rem;
    }

    .font-size-7 {
        font-size: 5rem;
    }

    .main-article-content h6 {
        font-size: 1.2rem;
    }

    .main-article-content h5 {
        font-size: 1.5rem;
    }

    .main-article-content h4 {
        font-size: 2rem;
    }

    .main-article-content h3 {
        font-size: 2.5rem;
    }

    .main-article-content h2 {
        font-size: 3rem;
    }

    .main-article-content h1 {
        font-size: 3.5rem;
    }

    /* Sticky Footer */
    main {
        min-height: calc(100vh - 70px);
    }

    .admin-bar main {
        min-height: calc(100vh - 102px);
    }

    /* General */
    .main-article-content {
        width: 80%;
    }

    /* Header */
    header {
        height: 70px;
    }

    .custom-logo {
        max-width: 100px;
        margin-top: 30px
    }

    .off-canvas-menu-info {
        display: none;
    }

    .off-canvas-menu-menu {
        width: 100%;
        padding-left: 0;
    }

    .sub-menu {
        font-size: 1.5rem;
    }

    .social-menu li a:before {
        padding: 7px 0px;
        font-size: 15px;
    }

    /* Front Page */
    .home-underline {
        display: none;
    }

    .home-excerpt-text {
        left: 4%;
        width: 92%;
        text-align: left;
        margin-top: 0;
    }

    .home-excerpt-text div {
        position: relative;
        top: 0;
        left: 0;
    }

    .home-excerpt-background {
        display: none;
    }

    /* All Projects */
    .all-projects-title {
        display: none;
    }

    .all-project-main-title-container {
        width: 100%;
        border: none;
    }

    .all-project-main-title-container h2 {
        text-align: center;
    }

    .all-project-main-title-container div {
        text-align: center;
    }

    .all-projects-main-excerpt-container {
        display: none;
    }

    /* Single Projects */

    /* Index */
    .index-title {
        position: fixed;
        width: 70%;
        margin-left: 100px;
    }

    .index-description {
		font-size: 17px;
        margin-top: 75px;
        width: 100px;
        position: relative;
    }

    .index-main-title-container {
        width: 100%;
        border: none;
    }

    .index-main-title-container h2 {
        text-align: center;
    }

    .index-main-title-container div {
        text-align: center;
    }

    .index-main-excerpt-container {
        display: none;
    }

    .index-main-tag {
        display: none;
    }

    /* Single */

    /* Main Article */
    .main-article-pagination a {
        padding: 6px;
        font-size: 0.8rem;
    }

    /* Index Pagination */
    #index-pagination a,
    #index-pagination span {
        padding: 6px;
        font-size: 0.8rem;
    }

    /* Comments */
    .comments-area > * {
        width: 90%;
    }


}

/* Smartphone */
@media only screen and (max-width: 600px) {

    /* Layout */
    .top-1 {
        top: 20px;
    }

    .admin-bar .top-1 {
        top: 66px;
    }

    .admin-bar .top-0 {
        top: 46px;
    }

    .bottom-1 {
        bottom: 20px;
    }

    .height-custom-1 {
        height: 60px;
    }

    /* Typography */
    .font-size-0-7 {
        font-size: 0.5rem;
    }

    .font-size-1 {
        font-size: 0.8rem;
    }

    .font-size-0-8 {
        font-size: 0.6rem;
    }

    .font-size-0-9 {
        font-size: 0.7rem;
    }

    .font-size-1-5 {
        font-size: 1rem;
    }

    .font-size-1-7 {
        font-size: 1.2rem;
    }

    .font-size-7 {
        font-size: 3rem;
    }

    .main-article-content h6 {
        font-size: 1rem;
    }

    .main-article-content h5 {
        font-size: 1.2rem;
    }

    .main-article-content h4 {
        font-size: 1.5rem;
    }

    .main-article-content h3 {
        font-size: 1.7rem;
    }

    .main-article-content h2 {
        font-size: 2rem;
    }

    .main-article-content h1 {
        font-size: 40px;
    }

    /* Sticky Footer */
    main {
        min-height: calc(100vh - 60px);
    }

    .admin-bar main {
        min-height: calc(100vh - 92px);
    }

    /* General */
    .back-to-top-button {
        display: none;
        width: 40px;
        height: 40px;
    }

    .back-to-top-button div {
        width: 40px;
        height: 40px;
    }

    .main-article-content {
        width: 100%;
    }

    .main-article-content > * {
        font-size: 0.8rem;
    }

    /* Header */
    header {
        height: 60px;
    }

    .custom-logo {
        max-width: 80px;
    }

    .sub-menu {
        font-size: 1rem;
    }

    /* Front Page */

    /* All Projects */

    /* Single Projects */

    /* Index */

    /* Single */
    .single-main-tag a {
        font-size: 0.6rem;
    }

    /* Main Article */
    .main-article-pagination a {
        padding: 4px;
        font-size: 0.7rem;
    }

    .gallery .gallery-item {
        min-width: 100%;
    }

    .main-article-next-prev div:not(.main-article-next-prev-home) {
        width: 50%;
    }

    .main-article-next-prev div a {}

    .main-article-next-prev div:first-child {
        padding-left: 5%;
        padding-right: 10px;
        border-right: 1px solid rgba(0, 0, 0, 0.5);
    }

    .main-article-next-prev div:last-child {
        padding-left: 10px;
        padding-right: 5%;
    }

    .main-article-next-prev-home {
        display: none !important;
    }

    /* Index Pagination */
    #index-pagination a,
    #index-pagination span {
        padding: 4px;
        font-size: 0.7rem;
    }

    /* Comments */
    .comments-area > * {
        width: 94%;
    }

    .comments-area p,
    .comments-area a,
    .comment-form-comment textarea,
    .form-submit input,
    .comment-form-author input,
    .comment-form-email input,
    .comment-form-url input,
    .comment {
        font-size: 0.6rem;
    }

}




/* WORDPRESS CORE STYLES
----------------------------------------------------------- */

.gallery-caption {
    padding: 0;
    font-size: 0.8rem;
    margin: 5px 0 20px 0;
    text-align: center;
}

.bypostauthor {
    display: block;
}

.sticky {
    display: block;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    /* Image does not overflow the content area */
    padding: 5px 1px 5px 1px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 1px 20px 1px;
}

.wp-caption.alignleft {
    margin: 5px 1px 20px 1px;
}

.wp-caption.alignright {
    margin: 5px 1px 20px 1px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 0.8rem;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/* ======== MODIFICHE PAOLO 2020 ======= */


.swiper-container {
    width: auto;
    height: 200px;
}

.swiper-container-2 {
    width: auto;
    height: 200px;
    margin-bottom: 30%;
    margin-top: 20%;
  }
  /* NB: l'animazione di ingresso ("a scalata") è ora gestita da GSAP in script.js,
     insieme alle anteprime desktop, per un effetto uniforme e controllabile. */

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
    background: transparent;
}


.works_mobile {
    display: none;
}


@media screen and (max-width: 768px) {
    .works_mobile {
        display: block;
    }

    .works_desktop {
        display: none;
    }
}

.swiper-slide-seemore {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-family: 'Libre Franklin', sans-serif;
}


/* General container */
.begin-project {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    margin-top: 200px;
}

/* Project details */
.project-detail {
    flex: 1;
    max-width: 50%;
}

.project-detail span {
    display: block;
    font-size: 16px;
}

.project-detail h1.single-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
}
.project-detail .category-name {
    font-size: 1.6rem;
    margin-bottom: 60px;
}

.description-title {
    font-weight: 700;
}

.category-name {
    font-weight: 600;
}

.project-detail div {
    margin-bottom: 20px;
}

/* Image column */
.second-column {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-column .image-project {
    width: 100%;
    height: 100%;
    max-width: 2000px; /* Adjust based on the image size */
    aspect-ratio: 4 / 3; /* Maintains a fixed aspect ratio */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Responsiveness */
@media (max-width: 768px) {
    .begin-project {
        flex-direction: column-reverse;
    }

    .project-detail, .second-column {
        max-width: 100%;
    }
}


.singola_gallery {
    position: relative;
    width: 100%;
    padding: 10px;
    height: auto;
}

.singola_gallery img {
    padding-bottom: 0;
    padding-bottom: 0;
}

.singola_gallery img:hover {
background-color: var(--hover-color);
z-index: 999;
filter: contrast(3) hue-rotate(230deg);
}

.singola_gallery::after {
    position: absolute;
    top: 10px;
    left: 10px;
    content: "";
    box-shadow: 3px 5px 5px hsl(0deg 0% 0% / 34%);
    z-index: 10;
    width: calc(100% - 20px - 1px);
    height: calc(100% - 28px - 1px);
    opacity: 0;
}

.singola_gallery:hover:after {
    opacity: 0.75;
}



/* slide logo cliente */

.swiper-button-prev:focus, textarea:focus, select:focus {outline:none;}
.swiper-button-next:focus, textarea:focus, select:focus {outline:none;}

.works_mobile .swiper-slide img {
    height: auto;
    width: 100%;
}

.works_mobile {
    padding-top: 0;
}

.works_mobile img {
    width: 100%;
}

@media screen and (max-width:768px) {
    .referenze .swiper-container {
        width: 100%;
        height: 100%;
    }

    .referenze__text {
        text-align: left;
    }
}

.logo_cliente {
    max-width: 200px;
    height: 200px;
    padding: 20px;
	margin-left: 30px;
	margin-right: 20px;
}

@media screen and (max-width:768px) {
	.logo_cliente {
		margin-left: 30px;
    	margin-right: 20px;
	}

}


.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 0;
    left: auto;
    filter: grayscale(100);
    transform: scale(0.7);
}

.swiper-button-prev {
    filter: grayscale(100);
    transform: scale(0.7);
}

.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    content: 'prev';
}

/* GRIGLIA CUSTOM */

.col-4 {
    width: 33.333%;
    height: 100%;
}

.col-6 {
    width: 50%;
    height: 100%;
}

.col-9 {
    width: 55%;
    height: auto;
}

.col-3 {
    width: 29.5%;
    height: auto;
    margin-top: -20px;
}

@media screen and (max-width:1368px) {
  .col-3 {
      margin-top: -20px;
  }
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.row {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
}

@media screen and (max-width:1368px) {
    .container {
        width: 75%;
        margin-top: 100px
    }
}



@media screen and (max-width:768px) {
    .col-4 {
        width: 100%;
    }

    .col-6 {
        width: 100%;
    }

    .col-9 {
        width: 100%;
    }

    .col-3 {
        width: 80%;
		margin-left: 25px;
    }

    .container {
        width: 80%;
    }
}



/* POST NAVIGATION */

.post_navigation {
    font-size: 18px;
    color: black;
    margin-top: 50px;
}

.post_navigation a {
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    color: black;
    padding: 10px 2px;
    text-decoration: underline;
    font-family: 'Libre Franklin', sans-serif;
    position: relative;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
}

.post_navigation a:before {
    width: 0;
    left: 0;
    top: 0;
    height: 100%;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    background-color: var(--primary-color);
    content: "";
    z-index: -1;
    position: absolute;
}


.post_navigation a:hover:before {
    width: 100%;
}

.post_navigation a:hover {
    color: white;
}

/* HEADER LOGO */

.header-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header_logo {
    height: 300px;
    width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.header_logo svg {
    height: 230px;
    width: auto;
    fill: var(--primary-color);
    -webkit-transition: fill 1s ease;
    transition: fill 1s ease;
}

/* Per evitare conflitti, definisce un colore fisso al termine dell'hover */
.header_logo:hover svg {
    animation: dynamic-colors 1s infinite;
}

/* Keyframe per cambiare i colori */
@keyframes dynamic-colors {
    0% {
        fill: var(--color-1); /* Blu */
    }
    33% {
        fill: var(--color-2); /* Verde */
    }
    66% {
        fill: var(--color-3); /* Rosso */
    }
    100% {
        fill: var(--color-4); /* Viola */
    }
}
.header_logo:hover:before {
    width: 100%;
}

/* Animazione logo */

.text_animation {
    position: absolute;
    left: 90px;
    top: 40px;
}

.text_animation img {
    height: 25px;
    width: auto;
}

@media screen and (max-width:768px) {
    .text_animation {
        z-index: -99;
    }
	.text_animation img {
    height: auto;
    width: 160px;
}
.header_logo {
    height: 100px;
    width: 190px;
}
.header_logo svg {
    height: 120px;
}
}


/* FOOTER */

.container_footer {
    width: 45%;
    margin: 100px 0 0 0;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 30px 0;
}

.container_footer svg {
    height: 100px;
    width: auto;
    margin-top: 50px;
}

.container_footer__socials {
    margin-left: 20px;
}

/* FULL SCREEN MENU */

.off-canvas-menu-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    text-align: center;
}

.off-canvas-menu-menu .logo-menu {
    margin-top: 50px;
    width: 100%;
    fill: var(--primary-color);
    -webkit-transition: fill 1s ease;
    transition: fill 1s ease;
}

#close-menu-button {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 10px;
}

.off-canvas-menu-menu--content ul {
    margin-bottom: 30px;
	margin-left: 0;
}

.off-canvas-menu-menu--content--menu li {
    margin-bottom: 10px;
    font-size: 56px;
	list-style: none;
	margin-left: 0;
	margin-top: 0;
}

.off-canvas-menu-menu--content--menu li a {
    display: block;
    position: relative;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    color: var(--hover-color);
}


.off-canvas-menu-menu--content--menu li a:hover {
    color: var(--primary-color); /* Colore dinamico per hover */
}

.cta_page a:hover {
    color: var(--primary-color); /* Colore dinamico per hover */
}

.off-canvas-menu-menu--content--menu li a:hover:before {
    width: 100%;
}


/* PARALLAX SU ABOUT */
.mix-blend-mode-screen {
mix-blend-mode: screen;
}
.parallasse {
    position: fixed;
    text-align: right;
    width: 40%;
    z-index: -1;
    right: 0;
    -webkit-animation: Slide_Right 2.5s ease;
    -moz-animation: Slide_Right 2.5s ease;
    justify-content: center;
}

.parallasse img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}
    @-webkit-keyframes Slide_Right {
          0% { -webkit-transform: translateX(100%); }
        100% { -webkit-transform: translateX(0); }
    }
    @-moz-keyframes Slide_Right {
        0% { -webkit-transform: translateX(0); }
      100% { -webkit-transform: translateX(0); }
    }
    @media screen and (max-width:768px) {
        .parallasse {
            display: none;
        }

        .scritta_verticale {
            width: 140px;
            margin-left: -25px;
        }

        .testo__pagina {
            text-align: left;
            margin-top: 120px;
        }


    }


/* TESTO PAGINA ABOUT E CONTATTI */

.testo__pagina {
    text-align: justify;
    width: 80%;
    margin: 250px auto 150px auto;
}
.testo__pagina h1 {
    font-weight: 600;
    font-size: 25px;
}

.testo__pagina h2 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 35px;
}

.cta_page {
    font-size: 24px;
    margin-top: 0;
}

.testo__pagina-default h1 {
    font-weight: 600;
    font-size: 25px;
}

.testo__pagina-default {
    text-align: center;
    width: 80%;
    margin: 250px auto 0px auto;
}

.testo-only a {
    color: var(--primary-color);
}

@media screen and (max-width:768px) {
    .cta_page {
        margin-top: 100px;
    }
}

.cta_page_contact {
    font-size: 20px;
    margin-top: 150px;
}

.cta_page_about {
    font-size: 20px;
    margin-top: 100px;
}

.cta_page a {
    font-weight: 700;
    color: black;
    padding: 13px 2px;
    display: inline-block;
    position: relative;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    text-decoration: underline;
}

.cta_page a:hover {
    color: white;
}

.cta_page a:before {
    width: 0;
    left: 0;
    top: 0;
    height: 100%;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    background-color: var(--hover-color);
    content: "";
    z-index: -1;
    position: absolute;
}

.cta_page a:hover:before {
    width: 100%;
}

.cta_page_contact a {
    font-weight: 700;
    color: black;
    padding: 13px 2px;
    display: inline-block;
    position: relative;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    text-decoration: underline;
}

.cta_page_contact a:hover {
    color: white;
}

.cta_page_contact a:before {
    width: 0;
    left: 0;
    top: 0;
    height: 100%;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    background-color: var(--hover-color);
    content: "";
    z-index: -1;
    position: absolute;
}

.cta_page_contact a:hover:before {
    width: 100%;
}

.cta_page_about a {
    font-weight: 700;
    color: var(--primary-color);
    padding: 13px 2px;
    display: inline-block;
    position: relative;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    text-decoration: underline;
}

.cta_page_about a:hover {
    color: white;
}

.cta_page_about a:before {
    width: 0;
    left: 0;
    top: 0;
    height: 100%;
    -webkit-transition: all 0.45s ease;
    transition: all 0.45s ease;
    background-color: var(--hover-color);
    content: "";
    z-index: -1;
    position: absolute;
}

.cta_page_about a:hover:before {
    width: 100%;
}

/* PRELOADER */

.load-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #fff;
}

.load-bar .bar svg {
    height: 230px;
    width: auto;
    max-width: 80vw; /* non deborda mai dallo schermo */
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

@media screen and (max-width:768px) {
    .load-bar .bar svg {
        height: 120px;
    }
}

/*
------------------------------------------
FORM
------------------------------------------*/
form {
    margin-top: 10vh;
}

.form__wrapper {
    display: flex;
    flex-wrap: wrap;
}

.wpcf7-text {
    width: 85%;
    height: 55px;
    border-color: #ddd;
    border: none;
    border-bottom: 2px solid black;
    padding: 5px;
    color: dimgray !important;
    margin-bottom: 25px;
    margin-top: 10px;
    font-size: 20px;
    font-family: 'Libre Franklin', sans-serif;
	border-radius: 0 !important;
}

.wpcf7-textarea {
    width: 95%;
    height: 55px;
    border: none;
    min-height: 100px;
    border-bottom: 2px solid black;
    color: dimgray !important;
    padding: 10px;
    margin-top: 15px;
    font-size: 20px;
    font-family: 'Libre Franklin', sans-serif;
	border-radius: 0 !important;
}

.wpcf7-submit {
    background-color: white;
    color: black;
    border: none;
    font-size: 32px;
    text-decoration: underline;
    font-weight: 600;
    margin-top: 30px;
    float: right;
    margin-right: 50%;
	border-radius: 0 !important;
}




.wpcf7-checkbox {
	margin-left: -18px;
}

@media screen and (max-width:768px) {
    .wpcf7-submit {
        text-align: center;
        float: none;
        margin-left: 50%;
        transform: translateX(-50%);
        background: transparent;
		border-radius: 0 !important;
    }

	.wpcf7-text {
    width: 100%;
    
}

.wpcf7-textarea {
    width: 100%;
    
}

.project-detail h1.single-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.project-detail .category-name {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.begin-project {
    margin-top: 55px;
}

.second-column .image-project {
    width: 100%;
    height: 270px;
    max-width: 2000px;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.post_navigation a {
    font-size: 16px;
}

.container_footer svg {
    height: 60px;
    width: auto;
    margin-top: 50px;
}

.container_footer {
    width: 95%;
    margin: 50px 0 0 0;
}

.off-canvas-menu-menu--content--menu li {
    margin-bottom: 10px;
    font-size: 35px;
    list-style: none;
    margin-left: 0;
    margin-top: 0;
}

.burger_menu_close {
    height: 30px;
    width: 30px;
    transform: rotate(45deg);
    position: relative;
}

.off-canvas-menu-menu .logo-menu {
    margin-top: 50px;
    width: 50%;
}

.title-link {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}
}


.wpcf7-submit:hover {
    cursor: pointer;
    background-color: blue;
    color: white;

}

input:focus, textarea:focus, select:focus {outline: none; border-radius: 0 !important;}

/* GALLERY MAGNIFIC POPUP */

.mfp-arrow-right:after {
    height: 30px;
    width: 30px;
    background: url('img/arrows/next.svg') no-repeat center center;
    filter: invert(1);
    background-color: transparent;
}

.mfp-arrow-left:after {
    height: 30px;
    width: 30px;
    background: url('img/arrows/prev.svg') no-repeat center center;
    filter: invert(1);
    background-color: transparent;
}

.mfp-arrow:after {
    border-top-width: 0px;
    border-bottom-width: 0px;
    top: 0px;
    height: 30px !important;
    width: 30px !important;
    background-color: transparent;
}

.mfp-arrow:before,
.mfp-arrow:after {
    border: none;
}

.back-to-top-button {
    display: none !important;
}

/* socials */

/* Social Hover */

.social-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.social-menu li {
    padding: 0;
    margin: 0;
    position: relative;
    margin-left: 0px;
    margin-right: 10px;
	list-style: none;
}

.social-menu li:before {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.35s ease;
    -webkit-transition: 0.35s ease;
}

#Livello_1 {
    fill: var(--primary-color);
}

.social-menu li img {
    height: 45px;
    width: auto;
    transition: 0.35s ease;
    -webkit-transition: 0.35s ease;
}

.social-menu li:hover img {
    filter: invert(100);
}

.social-menu li svg {
    height: 45px;
    width: auto;
    fill: var(--primary-color);
    transition: 0.35s ease;
    -webkit-transition: 0.35s ease;
}

.social-menu li:hover svg {
    filter: invert(100);
}
.social-menu li:hover:before {
    width: 100%;
}

footer {
    display: flex;
    justify-content: flex-end;
}

footer .social-menu li {
    margin-right: 0px;
}

footer .social-menu li img {
    height: 50px;
}

footer .social-menu {
    margin-left: 0px;
}

.immagine-parallasse {
  display: none;
}

@media screen and (max-width:768px) {
    .immagine-parallasse {
        display: block;
        margin-top: 30px;
		text-align: center;
    }
	.no-visible {
		display: none;
	}
}

/* Banner cookie colori */

.mgbutton {
	color: blue !important;
	background-color: white !important;
}

#moove_gdpr_cookie_info_bar {
	background-color: blue !important;
}

/* Nasconde badge recaptcha */

.grecaptcha-badge {
visibility: collapse !important;
}

/* Corsivo */

em {
	font-style: italic;
}