/* Overwited variables */
:root {
    --wp--preset--aspect-ratio--square: 1;
    --wp--preset--aspect-ratio--4-3: 4 / 3;
    --wp--preset--aspect-ratio--3-4: 3 / 4;
    --wp--preset--aspect-ratio--3-2: 3 / 2;
    --wp--preset--aspect-ratio--2-3: 2 / 3;
    --wp--preset--aspect-ratio--16-9: 16 / 9;
    --wp--preset--aspect-ratio--9-16: 9 / 16;
    --wp--preset--color--black: #000000;
    --wp--preset--color--cyan-bluish-gray: #abb8c3;
    --wp--preset--color--white: #ffffff;
    --wp--preset--color--pale-pink: #f78da7;
    --wp--preset--color--vivid-red: #cf2e2e;
    --wp--preset--color--luminous-vivid-orange: #ff6900;
    --wp--preset--color--luminous-vivid-amber: #fcb900;
    --wp--preset--color--light-green-cyan: #7bdcb5;
    --wp--preset--color--vivid-green-cyan: #00d084;
    --wp--preset--color--pale-cyan-blue: #8ed1fc;
    --wp--preset--color--vivid-cyan-blue: #0693e3;
    --wp--preset--color--vivid-purple: #9b51e0;
    --wp--preset--color--base: #d7e6e8;
    --wp--preset--color--base-2: #ffffff;
    --wp--preset--color--contrast: #3f72ab;
    --wp--preset--color--contrast-2: #689bd6;
    --wp--preset--color--contrast-3: #A4A4A4;
    --wp--preset--color--accent: #cfcabe;
    --wp--preset--color--accent-2: #c2a990;
    --wp--preset--color--accent-3: #d8613c;
    --wp--preset--color--accent-4: #b1c5a4;
    --wp--preset--color--accent-5: #b5bdbc;
    --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg, rgba(6, 147, 227, 1) 0%, rgb(155, 81, 224) 100%);
    --wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg, rgb(122, 220, 180) 0%, rgb(0, 208, 130) 100%);
    --wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg, rgba(252, 185, 0, 1) 0%, rgba(255, 105, 0, 1) 100%);
    --wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg, rgba(255, 105, 0, 1) 0%, rgb(207, 46, 46) 100%);
    --wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg, rgb(238, 238, 238) 0%, rgb(169, 184, 195) 100%);
    --wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg, rgb(74, 234, 220) 0%, rgb(151, 120, 209) 20%, rgb(207, 42, 186) 40%, rgb(238, 44, 130) 60%, rgb(251, 105, 98) 80%, rgb(254, 248, 76) 100%);
    --wp--preset--gradient--blush-light-purple: linear-gradient(135deg, rgb(255, 206, 236) 0%, rgb(152, 150, 240) 100%);
    --wp--preset--gradient--blush-bordeaux: linear-gradient(135deg, rgb(254, 205, 165) 0%, rgb(254, 45, 45) 50%, rgb(107, 0, 62) 100%);
    --wp--preset--gradient--luminous-dusk: linear-gradient(135deg, rgb(255, 203, 112) 0%, rgb(199, 81, 192) 50%, rgb(65, 88, 208) 100%);
    --wp--preset--gradient--pale-ocean: linear-gradient(135deg, rgb(255, 245, 203) 0%, rgb(182, 227, 212) 50%, rgb(51, 167, 181) 100%);
    --wp--preset--gradient--electric-grass: linear-gradient(135deg, rgb(202, 248, 128) 0%, rgb(113, 206, 126) 100%);
    --wp--preset--gradient--midnight: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
    --wp--preset--gradient--gradient-1: linear-gradient(to bottom, #cfcabe 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-2: linear-gradient(to bottom, #C2A990 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-3: linear-gradient(to bottom, #D8613C 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-4: linear-gradient(to bottom, #B1C5A4 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-5: linear-gradient(to bottom, #B5BDBC 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-6: linear-gradient(to bottom, #A4A4A4 0%, #F9F9F9 100%);
    --wp--preset--gradient--gradient-7: linear-gradient(to bottom, #cfcabe 50%, #F9F9F9 50%);
    --wp--preset--gradient--gradient-8: linear-gradient(to bottom, #C2A990 50%, #F9F9F9 50%);
    --wp--preset--gradient--gradient-9: linear-gradient(to bottom, #D8613C 50%, #F9F9F9 50%);
    --wp--preset--gradient--gradient-10: linear-gradient(to bottom, #B1C5A4 50%, #F9F9F9 50%);
    --wp--preset--gradient--gradient-11: linear-gradient(to bottom, #B5BDBC 50%, #F9F9F9 50%);
    --wp--preset--gradient--gradient-12: linear-gradient(to bottom, #A4A4A4 50%, #F9F9F9 50%);
    --wp--preset--font-family--heading: Cardo;
    --wp--preset--font-family--system-sans-serif: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    --wp--preset--font-family--system-serif: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    --wp--preset--font-family--body: "Inter", sans-serif;
    --wp--preset--spacing--20: min(1.5rem, 2vw);
    --wp--preset--spacing--30: min(2.5rem, 3vw);
    --wp--preset--spacing--40: min(4rem, 5vw);
    --wp--preset--spacing--50: min(6.5rem, 8vw);
    --wp--preset--spacing--60: min(10.5rem, 13vw);
    --wp--preset--spacing--70: 3.38rem;
    --wp--preset--spacing--80: 5.06rem;
    --wp--preset--spacing--10: 1rem;
    --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
    --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
    --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
    --wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);
    --wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);
}



:where(.wp-site-blocks *:focus){
    outline-width:2px;
    outline-style:solid;
    color: var(--wp--preset--color--contrast);
}

:where(.wp-site-blocks *:focus-visible){
    outline-width:2px;
    outline-style:solid;
    outline-color: var(--wp--preset--color--contrast);
    border-radius: .33rem;
}

html {
    scroll-behavior: smooth;
}

/* CUSTOM CSS */

/* Utilities */

/* Overflow hidden */
.hiddenXOverflow{
    overflow: hidden;
}

/* Revet row */
.reversRow {
    flex-direction: row-reverse;
}

/* Smooth entrance js */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* GENERAL */

/* Text color */
body {
    color: #000000;
}
.text-cl-primary {
    color: var(--wp--preset--color--contrast);
}

/*  Custom button */
:root :where(.wp-element-button, .wp-block-button__link) {
    transition: .2s;
    color: var(--wp--preset--color--base-2) !important;
}

/* Title */
h1, h2, h3, h4, h5, h6 {
    color: #000000;
}

.has-base-2-background-color h1,.has-base-2-background-color h2,.has-base-2-background-color h3,.has-base-2-background-color h4,.has-base-2-background-color h5,.has-base-2-background-color h6 {
    color: var(--wp--preset--color--contrast) !important;
}

h1, h2, h3 {
    text-transform: uppercase;
}

/* Forms */

/* Forms submit input */
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
.wpcf7-form-control.wpcf7-textarea,
input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-required.wpcf7-validates-as-number,
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    width: -webkit-fill-available; /* For Chrome, Safari, and other WebKit-based browsers */
    width: -moz-available; /* For Firefox */
    width: fill-available; /* Standard property */
    border: 2px solid #e7e7e7;
    border-radius: 4px;
    background-color: #f9f9f9;
    padding: 8px;
}

/* Form submit button
.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--wp--preset--color--contrast-2);
    border-color: var(--wp--preset--color--contrast-2);
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--contrast);
    border-radius: .33rem;
    border-color: var(--wp--preset--color--contrast);
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    font-weight: 500;
    line-height: inherit;
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    word-break: break-word;
    box-shadow: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}

/* Form submit button:hover 
.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: var(--wp--preset--color--contrast-2);
    border-color: var(--wp--preset--color--contrast-2);
    color: var(--wp--preset--color--base);
}
    */

/* Media Query */

/* Mobile */
@media (max-width: 768px) {
    .hideMobile {
        display: none;
    }
    .showMobile {
        display: block;
    }
    .flexColumnMobile {
        flex-direction: column;
    }
}

/* Larger screens */
@media (min-width: 769px) {
    .showMobile {
        display: none; /* Spacer in "Nostri servizi" section */
    }
}

/* Specific css */

/* Home > Hero */
.heroTitle {
    padding-right: var(--wp--preset--spacing--50);
    padding-left: var(--wp--preset--spacing--50);
}

/* Home > video Hero */
.video-background {
    position: relative;
    overflow: hidden;
    height: 90vh;
    background-color: #000000;
}
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}
.video-background .content {
    position: relative;
    z-index: 2;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-background .content,
.video-background .content h1 {
    color: white;
}

/* Custom blue block "Perché scegliere Italy Short Rent" */
h2#Vantaggi{
    color: var(--wp--preset--color--contrast);
}
.blueBox {
    padding: 3rem;
    background-color: var(--wp--preset--color--contrast);
    border-radius: var(--wp--preset--spacing--20);
    z-index: 9;
}
.blueBox,
.blueBox h3{
    color: var(--wp--preset--color--base-2);
}

/* Enlarged image */
.enlargedImage img {
    max-width: 180%;
}
.enlargedImage {
    transform: translate(0%, 20%);
}
.reversRow .enlargedImage {
    transform: translate(-80%, 20%);
}

/* Adjust position on mobile */
@media (max-width: 768px) {
    .enlargedImage img {
        max-width: 120%;
    }
    .reversRow .enlargedImage {
        transform: translate(-20%, 20%);
    }
}

/* Change menu font size on mobile */
@media (max-width: 768px) {
    .wp-block-navigation__responsive-container-content a {
        font-size: var(--wp--preset--font-size--x-large) !important;
        margin-bottom: 1rem;
    }
}