@font-face {
    font-family: Montserrat;
    src: url(Montserrat-VariableFont_wght.ttf);
}

html {
    scroll-behavior: smooth;
}

header sup {
    font-size: 110%;
}

.mont,
* {
    font-family: Montserrat;
}

.pers {
    color: #000 !important;
}

.cursor-pointer {
    cursor: pointer;
}

.sfondo_home {
    background-image: url("../img/sf.jpg");
    background-size: cover;
    min-height: 100vh;
    background-repeat: no-repeat;
    font-size: 140%;
}

.text-border_old {
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000,
        -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.text-border {
    text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000, 1px 1px #000,
        -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.text-border-white {
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff,
        -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.checker {
    color: #0f456c;
}

.rounded-nice {
    border-radius: 50% 15% 50% 15%;
}

.parallax {
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.scritta_parallax {
    min-height: 600px;
    min-width: 300px;
    width: 85%;
    max-width: 900px;
}

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

.link_card {
    transition: all 0.4s;
    max-width: 300px;
}

.link_card .card-footer {
    background-color: unset;
}

.link_card:hover {
    background-color: #0f456c;
    color: white;
    transform: scale(1.05);
}

.link_card:active {
    transform: scale(0.95);
}

.border_partial {
    background: linear-gradient(to right, white 2px, transparent 2px) 0 0,
        linear-gradient(to left, white 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, white 2px, transparent 2px) 0 0,
        linear-gradient(to top, white 2px, transparent 2px) 100% 100%;

    background-repeat: no-repeat;
    background-size: 60px 60px;
}

.glass {
    background: rgba(255, 255, 255, 0.2);
    /* box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ); */
    box-shadow: 0 8px 32px 0 rgb(0 0 0 / 51%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* border: 1px solid rgba( 255, 255, 255, 0.18 ); */
    border-radius: 5px;
}

.border_partial_blue {
    background: linear-gradient(to right, #0f456c 2px, transparent 2px) 0 0,
        linear-gradient(to left, #0f456c 2px, transparent 2px) 100% 100%,
        linear-gradient(to bottom, #0f456c 2px, transparent 2px) 0 0,
        linear-gradient(to top, #0f456c 2px, transparent 2px) 100% 100%;

    background-repeat: no-repeat;
    background-size: 40px 40px;
}

.ufficio {
    background-image: url("../img/stanza.jpg");
}

.bg-bluedark {
    background-color: #0f456c;
}

.servizio_card img {
    object-fit: cover;
    height: 100%;
}

.text-bluedark {
    color: #0f456c;
}

.btn-bluedark {
    background: #0f456c;
    color: #fff;
    border-radius: 0;
    transition: all 0.4;
}

.btn-bluedark:hover,
.btn-bluedark:active {
    background-color: #005691;
    color: white;
}

/* .text-presentazione {
    background-image: url("../img/foto.png");
    background-position: right bottom;
    background-size: 100% cover;
    background-repeat: no-repeat;
    min-height: 700px;
} */

.text-presentazione {
    background-image: url("../img/ufficio.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* min-height: 700px; */
    height: 700px;
}

.pre_lefter {
    min-height: 700px;
}

.lefter {
    max-width: 450px;
}

header {
    transition: all 0.5s;
    background: transparent;
    box-shadow: none;
    z-index: 999;
    padding: 1rem;
}

.gray-color {
    background-color: #dbdee6;
}

#home header:not(.scrolled) * {
    color: white !important;
}

header.scrolled {
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem;
}

.mw-120 {
    min-width: 120px;
}

.centerize button {
    min-width: 120px;
}

.fit-img {
    width: 100%;
    max-height: 600px;
}

.maps.dark {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

.btn-social {
    cursor: pointer;
    transition: all 0.4s;
    background: #fff;
}

.btn-social span {
    color: #035772;
}

.btn-social:hover {
    transform: scale(1.05);
    background: #035772;
}

.btn-social:hover .icon {
    border-color: #fff;
}

.btn-social:hover span {
    color: #fff;
}

.btn-social .text {
    padding-left: 5px;
}

.btn-social .icon {
    border-right: 1px solid #1e1e1e;
    padding-right: 10px;
    padding-left: 5px;
}

#serviziCards .card {
    max-width: 540px;
}

#container_whyus .card {
    max-width: 400px;
}

.presentazione_old {
    background-color: #fbfbfb;
    box-shadow: inset 0px 0px 10px 1px #bababa;
}

/* Rimozione delle freccie nel campo input number */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 1400px) {
    .imm_in_par {
        display: none;
    }
}

@media (max-width: 1000px) {
    .text-presentazione {
        min-height: 500px;
    }
    .centerize {
        justify-content: space-evenly;
        display: flex;
    }
    .pre_lefter {
        align-items: end !important;
        padding-bottom: 100px;
    }
    .glass {
        background: none;
        box-shadow: none;
        backdrop-filter: blur(0px);
    }
    .glass .font-weight-bold,
    .glass span {
        color: white;
    }
}

/* 
@media (max-width: 1700px) {
    .white-block {
        display: none !important;
    }
}

@media (max-width: 1300px) {
    .imgBlocco {
        display: none !important;
    }
    .text-presentazione {
        max-width: 800px;
    }
    .centerize {
        justify-content: space-evenly;
        display: flex;
    }
} */
