/*!
Theme Name: Padovan Domenico Theme
Author: Digitalia SRL
Description: WordPress Custom Theme
Version: 1.0
*/

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

@font-face {
    font-family: 'Felidae';
    src: url('fonts/felidae.ttf') format('opentype');
}

:root {
    --primary: #0F0F0F;
    --secondary: #E86530;
    --white: #fff;
    --text: #4B4B4B;
    --bg: #F7F5F3;

    --border-radius: 0;

    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Space Grotesk", sans-serif;
    --font-tertiary: "Felidae", serif;

    --text-size: clamp(1rem, 1.8vw, 1rem);
    --text-line-height: clamp(1.4rem, 2vw, 1.4rem);

    --text-size-sm: clamp(0.9rem, 1.7vw, 0.6rem);

    --item-margin: 20px;
    --item-margin-xs: 10px;

    --space-xs: 20px;
    --space-sm: 40px;
    --space-md: 60px;
    --space-lg: 80px;
    --space-xl: 100px;
    --space-xxl: 150px;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-appearance: none;
    background-image: url("img/bg-pattern.svg");
    background-repeat: repeat;
}

main {
    overflow-x: hidden;
}

/* Contenitori */

.container { min-width: 1200px; }

.subcontainer { width: 100%;
    margin: 0 auto;
    padding: 0 10%; }

/* Flex */

.flex { display: flex; }

.flexcenter { align-items: center;
    justify-content: center; }

.row { flex-direction: row; }

.column { flex-direction: column; }

.row-reverse { flex-direction: row-reverse; }

.column-reverse { flex-direction: column-reverse; }

.wrap { flex-wrap: wrap; }

.space-between { justify-content: space-between; }

.justifycenter { justify-content: center; }

.alignstart { align-items: flex-start; }

.aligncenter { align-items: center; }

.alignend { align-items: flex-end; }

.justifystart { justify-content: flex-start; }

.justifyend { justify-content: flex-end; }

/* Img */

.obj-cover { object-fit: cover; }

.obj-contain { object-fit: contain; }

/* Margin */

.m0a { margin: 0 auto; }

.mla { margin-left: auto; }

.mra { margin-right: auto; }

.mta { margin-top: auto; }

.mba { margin-bottom: auto; }

/* Width */

.wh8 { width: 8.33333%; }

.wh16 { width: 16.66666%; }

.wh25 { width: 25%; }

.wh33 { width: 33.33333%; }

.wh40 { width: 40%; }

.wh50 { width: 50%; }

.wh60 { width: 60%; }

.wh66 { width: 66.66666%; }

.wh75 { width: 75%; }

.wh83 { width: 83.33333%; }

.wh90 { width: 90%; }

.wh100 { width: 100%; }

/* Font */

.regular { font-weight: 400; }

.medium { font-weight: 500; }

.semibold { font-weight: 600; }

.bold { font-weight: 700; }

.italic { font-style: italic; }

.uppercase { text-transform: uppercase; }

.underline { text-decoration: underline}

.center { text-align: center; }

.right { text-align: right; }

.left { text-align: left; }

/* Heights */

.vh33 { height: 33.33333vh; }

.vh40 { height: 40vh; }

.vh50 { height: 50vh; }

.vh60 { height: 60vh; }

.vh66 { height: 66.66666vh; }

.vh80 { height: 80vh; }

.vh100 { height: 100vh; }

.h100 { height: 100%; }

.h50 { height: 50%; }

/* Divisori */

.space-xs { padding: 5px; }

.space-sm { padding: 10px; }

.space-md, .space { padding: 20px; }

.space-lg { padding: 40px; }

.space-xl { padding: 60px; }

.space-xxl { padding: 80px; }

.padding-1 { padding: 10px; }

.padding-2 { padding: 20px; }

.padding-3 { padding: 30px; }

.padding-4 { padding: 40px; }

.padding-5 { padding: 50px; }

.padding-6 { padding: 60px; }

.padding-7 { padding: 70px; }

.py-xs { padding-top: 20px;
    padding-bottom: 20px; }

.py-sm { padding-top: 40px;
    padding-bottom: 40px; }

.py-md { padding-top: 60px;
    padding-bottom: 60px; }

.py-lg { padding-top: 80px;
    padding-bottom: 80px; }

.py-xl { padding-top: 100px;
    padding-bottom: 100px; }

.py-xxl { padding-top: 150px;
    padding-bottom: 150px; }

.px-xs {
    padding-right: 20px;
    padding-left: 20px;
}

.pb-xs { padding-bottom: 20px; }

.pb-sm { padding-bottom: 40px; }

.pb-md { padding-bottom: 60px; }

.pb-lg { padding-bottom: 80px; }

.pb-xl { padding-bottom: 100px; }

.pb-xxl { padding-bottom: 150px; }

.pt-xs { padding-top: 20px; }

.pt-sm { padding-top: 40px; }

.pt-md { padding-top: 60px; }

.pt-lg { padding-top: 80px; }

.pt-xl { padding-top: 100px; }

.pt-xxl { padding-top: 150px; }

/* Position */

.p-rel { position: relative; }

.p-abs { position: absolute; }

/* Other */

a { text-decoration: none;
    cursor: pointer;
    font-size: var(--text-size-sm);
    color: var(--primary);
    font-family: var(--font-secondary);
    }

.padding-right-10 { padding-right: 10%; }

.padding-left-10 { padding-left: 10%; }

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

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

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

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

.bg-center { background-position: center;
    background-size: cover; }

.overflow-hidden { overflow: hidden; }

.border-radius-50 { border-radius: 50%; }

.border-radius { border-radius: var(--border-radius); }

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

.item-margin-bottom {
    margin-bottom: var(--item-margin);
}

.item-margin-bottom-xs {
    margin-bottom: var(--item-margin-xs);
}

/* Grid */

.grid { display: grid;
        gap: var(--space-sm);
        }

.col-2 { grid-template-columns: repeat(2, 1fr); }

.col-3 { grid-template-columns: repeat(3, 1fr); }

.col-4 { grid-template-columns: repeat(4, 1fr); }

.col-5 { grid-template-columns: repeat(5, 1fr); }

.col-6 { grid-template-columns: repeat(6, 1fr); }

.gap-xs { gap: 20px; }

.gap-sm { gap: 40px; }

.gap-md { gap: 60px; }

.gap-lg { gap: 80px; }

.gap-xl { gap: 100px; }

.gap-xxl { gap: 150px; }

/* Titoli e Paragrafi */

h1 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 6rem);
    line-height: clamp(2rem, 4vw, 6rem);
    text-transform: uppercase;
}

h1 span, h2 span {
    font-family: var(--font-tertiary);
}

h1 sup {
    font-size: var(--text-size-sm);
    margin-left: 20px;
}

h2 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: clamp(1.4rem, 3.5vw, 3.5rem);
    line-height: clamp(1.8rem, 3.5vw, 3.5rem);
    text-transform: uppercase;
    color: var(--primary);
}

h3 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 0.7rem);
    line-height: clamp(1rem, 2.2vw, 0.9rem);
    text-transform: uppercase;
}

p, ul li {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: var(--text-size);
    line-height: var(--text-line-height);
}

p.pre-title {
    font-size: var(--text-size-sm);
    font-family: var(--font-secondary);
    width: max-content;
    text-transform: uppercase;
    background: #E7E7E7;
    border-radius: 5px;
    padding: 5px 50px;
    margin-bottom: 10px;
}

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

/* Colors */

.primary { color: var(--primary); }

.bg-primary { background-color: var(--primary); }

.secondary { color: var(--secondary); }

.bg-secondary { background-color: var(--secondary); }

.white { color: var(--white); }

.bg-white { background-color: var(--white); }

.bg { background-color: var(--bg); }

/* Cursor */

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background-color: #888888;
    opacity: 0;
    z-index: 10000;
    user-select: none;
    pointer-events: none;
}

/* Pulsanti */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: var(--text-size-sm);
    font-weight: 300;
    font-family: var(--font-secondary);
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 8px 30px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s linear;
    width: max-content;
}

.button:hover {
    background-color: var(--white);
    color: var(--primary);
}

/*WHATSAPP*/

#whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    background: rgba(37, 211, 102, 0.7);
    width: 50px;
    height: 50px;
    z-index: 1100;
    cursor: pointer;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: block;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#whatsapp i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 14px;
    top: 12px;
    font-size: 25px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#whatsapp:hover {
    background: #25d366;
}
#whatsapp:hover i {
    color: #fff;
    top: 5px;
}

/* Overlay */

.overlay {
    top: 0;
    background: rgba(0,0,0,0.5);
    bottom: 0;
    left: 0;
    z-index: 10;
    right: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s linear;
    margin: auto; }

.overlay-sm { background: rgba(0,0,0,0.2); }

.overlay-lg { background: rgba(0,0,0,0.7); }

/* Header */

.main-tool-bar {
    position: fixed;
    height: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    left: 0;
    top: 0;
    transition: all 0.2s linear;
    z-index: 11;
}

.main-tool-bar * {
    color: var(--white);
    transition: all 0.2s linear;
}

.logo {
    transition: all 0.2s linear;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(224deg) brightness(102%) contrast(102%);
}

header.sticky {
    height: 90px;
    top: 0;
    background: var(--white);
}

header.sticky * {
    color: var(--primary);
}

header .button {
    border: 1px solid var(--primary);
}

header.sticky .button {
    color: var(--white);
}

header.sticky .button:hover {
    color: var(--primary);
}

header.sticky .logo {
    filter: unset;
}

.logged-in .main-tool-bar {
    top: 32px;
}

.logged-in .main-tool-bar.sticky {
    top: 32px;
}

/* Sub Menu */

li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome', sans-serif;
    transition: all 0.5s ease;
    margin-left: 5px;
    font-size: 10px;
}

/* Responsive */

.none-desktop { display: none; }

.none-sm { display: flex; }

/* Vimeo */
.vimeo-wrapper { position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vimeo-wrapper iframe { position: absolute;
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh; /* Given a 16:9 aspect ratio, 16/9*100 = 177.77 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Img fit */

.img-fit {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.img-fit img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */

/* Fade */
.fade {
    opacity: 0;
    transition: 1.7s all cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.fade.in-page {
    opacity: 1;
}
.fade-in {
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all cubic-bezier(0.53, 0.03, 0.01, 0.46);
}
.fade-in.in-page {
    transform: translateY(0);
    opacity: 1;
}

.reveal-from-left img, .reveal-from-left .overlay, .reveal-all.reveal-from-left * {
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-from-left.in-page img, .reveal-from-left.in-page .overlay, .reveal-all.reveal-from-left.in-page * {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.reveal-from-right img, .reveal-from-right .overlay {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: 1.7s all cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal-from-right.in-page img, .reveal-from-right.in-page .overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Img Hover */

.img-hover-container {
    height: 250px;
    overflow: hidden;
}

.img-hover-container img {
    transform: scale(1);
    transition: all 0.3s ease;
}

.img-hover-container:hover img {
    transform: scale(1.05);
}

/* Elements */

.number {
    font-family: var(--font-tertiary);
    font-size: 300px;
    line-height: 155px;
    color: var(--primary);
}

.number-text {
    margin-top: 20px;
    font-family: var(--font-secondary);
    color: var(--primary);
    margin-left: 15px;
    font-weight: 500;
}

/* Accordion */

.accordion-heading {
    color: var(--primary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    border-top: 2px solid #DEDEDE;
    padding-top: 20px;
}

.accordion-heading.active { transition: all 0.2s ease-in-out; }

.accordion-heading i {
    vertical-align: middle;
    display: inline-block;
    transform: rotate(0);
    transform-origin: center;
    height: max-content;
    transition: all 0.5s;
}

.active.accordion-heading i.arrow {
    transform: rotate(-180deg);
    transform-origin: center;
}
.not-active.accordion-heading i {
    transform: rotate(0deg);
    transform-origin: center;
}
.accordion-content { display: none;
    padding: 20px 0 20px;
    color: var(--primary);
    background: transparent;
}

/* Accordion Project */

.project {
    grid-template-columns: 2fr 1fr 1fr;
}

.project p {
    text-transform: uppercase;
    font-size: var(--text-size-sm);
}

.img-gallery {
    height: 450px;
}

/* Form */

.contact-info {
    font-weight: 500;
    font-size: var(--text-size-sm);
}

.form p {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form br {
    display: none;
}

.form input[type='text'], .form input[type='tel'], .form input[type='email'], .form select {
    width: calc(50% - 10px);
    background: #F5F5F3;
    padding: 15px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.7vw, 0.4rem);
    transition: all 0.2s linear;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.form textarea {
    width: 100%;
    resize: none;
    height: 200px;
    background: #F5F5F3;
    padding: 15px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.7vw, 0.4rem);
    transition: all 0.2s linear;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.form input[type='text']:focus, .form input[type='tel']:focus, .form input[type='email']:focus, .form textarea:focus {
    outline: none !important;
    border: 1px solid var(--primary);
    box-shadow: unset;
}

.wpcf7-checkbox {
    width: 100%;
    font-size: var(--text-size-sm);
}

.wpcf7-spinner {
    display: none !important;
    visibility: hidden !important;
}

.form input[type='submit'] {
    margin: 20px 0 0;
    background: var(--primary);
    align-items: center;
    width: max-content;
    transition: all 0.4s ease;
    border: unset;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    font-size: var(--text-size-sm);
    font-weight: 300;
    font-family: var(--font-secondary);
    color: var(--white);
    border-radius: 50px;
    padding: 8px 30px;
    text-transform: uppercase;
}

.form input[type='submit']:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Footer */

.infinite-scroll-1 {
    display: inline-block;
    animation: infiniteScroll1 8s linear infinite;
}

@keyframes infiniteScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-200%); }
}

.horizontal-scrolling-items {
    display: flex;
    font-size: clamp(5rem, 10vw, 7rem);
}

.horizontal-scrolling-items__item {
    white-space: nowrap;
    margin-right: var(--space-md);
    color: var(--primary);
    font-family: var(--font-tertiary);
    animation: infiniteScroll 32s linear infinite;
    text-transform: uppercase;
}

footer p {
    font-size: var(--text-size-sm);
}

.copyright {
    border-top: 1px solid #DEDEDE;
}

/* Responsive Tablet */
@media only screen and (min-width: 768px) and (max-width: 1100px) {

    .container { min-width: 768px; }

    .space-xs { padding: 4px; }

    .space-sm { padding: 7px; }

    .space-md, .space { padding: 10px; }

    .space-lg { padding: 30px; }

    .space-xl { padding: 40px; }

    .none-desktop { display: flex; }

    .none-tablet { display: none; }

    .hide-tablet { display: none !important; }

    .none-sm { display: flex; }

    .t-col { flex-direction: column; }

    .t-center { align-items: center;
        justify-content: center; }

    .wht50 { width: 50%; }

    .wht100 { width: 100%; }

    .vht70 { min-height: 70vh; }

    .col-3 { grid-template-columns: 1fr 1fr; }

    .col-4 { grid-template-columns: repeat(2, 1fr); }

    .col-5 { grid-template-columns: 1fr 1fr 1fr 1fr; }

    .col-6 { grid-template-columns: 1fr 1fr 1fr; }

    .gap-xs { gap: 15px; }

    .gap-sm { gap: 30px; }

    .gap-md { gap: 40px; }

    .gap-lg { gap: 60px; }

    .gap-xl { gap: 80px; }

    .py-xs { padding: 15px 0; }

    .py-sm { padding: 30px 0; }

    .py-md { padding-top: 45px;
        padding-bottom: 45px; }

    .py-lg { padding-top: 60px;
        padding-bottom: 60px; }

    .py-xl { padding-top: 80px;
        padding-bottom: 80px; }

    .py-xxl { padding-top: 100px;
        padding-bottom: 100px; }

}

/* Responsive Mobile */

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

    .container { min-width: 319px; }

    .sm-col { flex-direction: column; }

    .sm-col-reverse { flex-direction: column-reverse; }

    .column-reverse { flex-direction: column; }

    .whs100 { width: 100%; }

    .whs20 { width: 20%; }

    .whs50 { width: 50%; }

    .whs80 { width: 80%; }

    .whs90 { width: 90%; }

    .vhs50 { height: 50vh; }

    .space-xs { padding: 3px; }

    .space-sm { padding: 8px; }

    .space-md, .space { padding: 11px; }

    .space-lg { padding: 25px; }

    .space-xl { padding: 45px; }

    .one { order: 1; }

    .two { order: 2; }

    .three { order: 3; }

    .four { order: 4; }

    .five { order: 5; }

    .six { order: 6; }

    .none-desktop { display: flex; }

    .none-sm { display: none; }

    .hide-sm { display: none !important; }

    .h-sm { height: unset; }

    .col-2, .col-3, .col-4, .col-6 { grid-template-columns: 1fr; }

    .col-5 { grid-template-columns: 1fr 1fr; }

    .gap-xs { gap: 10px; }

    .gap-sm { gap: 20px; }

    .gap-md { gap: 25px; }

    .gap-lg { gap: 40px; }

    .gap-xl { gap: 60px; }

    .py-xs { padding: 10px 0; }

    .py-sm { padding: 20px 0; }

    .py-md { padding-top: 30px;
        padding-bottom: 30px; }

    .py-lg { padding-top: 40px;
        padding-bottom: 40px; }

    .py-xl { padding-top: 60px;
        padding-bottom: 60px; }

    .py-xxl { padding-top: 80px;
        padding-bottom: 80px; }

    .number {
        font-size: 200px;
        line-height: 150px;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .copyright {
        text-align: center;
    }

}

/* Mobile Menu */

.burger-menu-container {
    position: relative;
    z-index: 1000;
    transition: all 0.2s linear;
    border: 1px solid var(--white);
    border-radius: 50px;
    padding: 10px 15px;
}

header.sticky .burger-menu-container {
    border: 1px solid var(--primary);
}

.burger-menu {
    cursor: pointer;
    background: transparent;
    border: unset;
    width: 20px;
    height: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transition: all 0.3s linear;
}

header.sticky .burger-menu span {
    background-color: var(--primary);
}

.burger-menu.active span {
    background-color: var(--primary);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.burger-menu.active span:nth-child(2) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Menu laterale */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    transition: right 0.4s ease;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu.open {
    right: 0;
}

.menu-mobile {
    list-style-type: none;
}

.menu-mobile li {
    padding: 10px;
}

.menu-mobile li a {
    text-decoration: none;
    color: var(--primary);
    font-size: clamp(4rem, 5vw, 3rem);
    line-height: clamp(4rem, 5.2vw, 3.2rem);
    display: block;
    background: unset;
}

/* Submenu Mobile */

li.menu-item-has-children.open > a::after {
    content: '\f106';
}

.menu-mobile li.menu-item-has-children ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.menu-mobile li.menu-item-has-children.open ul {
    max-height: 500px;
    visibility: visible;
    opacity: 1;
    margin-top: 10px;
    background: var(--bg);
    border-radius: var(--border-radius);
}

.menu-mobile li.current-menu-item::after, header.sticky li.current-menu-item::after {
    top: 40px;
}