@import url('https://fonts.cdnfonts.com/css/impact');

.home-body {
    background-color: black;
    animation: fadeInAnimation ease 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-family: 'Play';
    cursor: default;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.autohide {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    font-size: 30px;
}

.navbar-brand {
    font-size: 35px;
    margin-right: 100px;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

/* The container <div> - needed to position the dropdown content 
 .drop {
     position: relative;
     cursor: pointer;
 }

 /* Dropdown Content (Hidden by Default) 
 .dropdown-content {
     display: none;
     position: absolute;
     background-color: #f1f1f1;
     min-width: 300px;
     box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
     z-index: 1;
     font-size: 14px;
     width: 300px;
 }

 /* Links inside the dropdown 
 .dropdown-content a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     display: block;
 }

 /* Change color of dropdown links on hover 
 .dropdown-content a:hover {
     background-color: #ddd;
 }

 /* Show the dropdown menu on hover 
 .drop:hover .dropdown-content {
     display: block;
 }*/

footer,
.copyright {
    margin-top: auto;
    text-align: left;
}

/*.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-images {
    position: relative;
    width: 100%;
}

.carousel-images img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-images img.active {
    opacity: 1;
    z-index: 1;
}*/

.home-img {
    background-color: red;
    height: 1080px;
}

.about{
    margin-bottom: 10rem;
}

.txtabout {
    margin-top: 300px;
    margin-bottom: 200px;
    font-size: 14px;
    text-align: justify;
}

.imgabout {
    padding: 0;
    margin-top: 50px;
    margin-bottom: 50px;
    height: 800px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.61);
    border-radius: 20px;
}

.imgabout img {
    border-radius: 20px;
}

#aboutus {
    position: absolute;
    text-align: center;
    margin-top: 6vh;
    font-size: 140px;
}

.button {
    display: inline-block;
    border-radius: 4px;
    background-color: #212529;
    border: none;
    color: white;
    text-align: center;
    font-size: 28px;
    padding: 20px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin-top: 10px;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span:after {
    opacity: 1;
    right: 0;
}

.carta {
    text-align: center;
    margin-bottom: 100px;
    padding: 30px 30px;
    background-color: rgb(213, 221, 228);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all .1s ease-in-out;
}

.carta:hover {
    transform: scale(1.1);
}

#tit-servizi {
    text-align: center;
    font-size: 80px;
    margin-bottom: 5rem;
}

#bgone,
#bgtwo,
#bgthree {
    height: 1080px;
    position: absolute;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0;
    margin: 0;
}

.txt-container {
    margin-top: 15%;
    text-align: center;
    padding: 20px;
}

.home-tit {
    font-size: 100px;
}

.home-btn {
    --b: 3px;
    /* border thickness */
    --s: .15em;
    /* size of the corner */
    --c: #1f75ca;

    padding: calc(.05em + var(--s)) calc(.3em + var(--s));
    color: var(--c);
    --_p: var(--s);
    background:
        conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--c) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: .2em;
    font-family: system-ui, sans-serif;
    font-weight: bold;
    font-size: 4rem;
    cursor: pointer;
    border: none;
    margin: .1em;
}

.home-btn:hover,
.home-btn:focus-visible {
    --_p: 0px;
    outline-color: var(--c);
    outline-offset: .05em;
}

.home-btn:active {
    background: var(--c);
    color: #fff;
}

.contactus-btn{
    --b: 3px;
    /* border thickness */
    --s: .15em;
    /* size of the corner */
    --c: white;

    padding: calc(.05em + var(--s)) calc(.3em + var(--s));
    color: var(--c);
    --_p: var(--s);
    background:
        conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--c) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: .2em;
    font-family: system-ui, sans-serif;
    font-weight: bold;
    font-size: 4rem;
    cursor: pointer;
    border: none;
    margin: .1em;
}

.container-fluid {
    margin: 0 0;
    padding: 0 0;
}

.nav-link {
    transition-duration: 0.4s;
    border-radius: 5px;
    margin-right: 20px;
}

.nav-link:hover {
    color: #1f75ca;
}



.navbar-brand {
    cursor: default;
    margin-left: 20px;
}

.navbar {
    background-color: white;

}

.info-contatti {
    text-align: center;
    margin-bottom: 150px;
}

.mappa {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    height: 400px;
    border: 10px solid #212529;
}

.mappa iframe {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

h1,
.card-title,
#aboutus,
#tit-servizi,
.contactus-tit {
    font-family: 'Impact';
}

#topBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #1f75ca;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding-bottom: 8px;
    border-radius: 100%;
    height: 50px;
    width: 50px;
    font-size: 18px;
    /* Increase font size */
    scroll-behavior: smooth;
    transition: all .1s ease-in-out;
}

#topBtn:hover {
    transform: scale(1.1);
}

.count,
.euro {
    font-size: 100px;
    text-align: center;
}

.risparmio {
    background-color: #44484b;
    border-radius: 20px;
    padding-top: 5%;
}

.pro {
    border: 2px solid white;
    border-radius: 0px;
}

.progress-bar {
    width: 0%;
    color: white;
    height: 18px;
    background-color: rgb(3, 212, 3);
    border-radius: 0px;
    text-align: center;
}

.elenco-lavori {
    text-align: center;
    margin-top: 150px;
    font-size: 50px;
}

.olcards,
.olcards {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.olcards {
    list-style: none;
    counter-reset: cardCount;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    --cardsGap: 1rem;
    gap: var(--cardsGap);
    padding-bottom: var(--cardsGap);
}

.olcards li {
    counter-increment: cardCount;
    display: flex;
    color: white;
    --labelOffset: 1rem;
    --arrowClipSize: 1.5rem;
    margin-top: var(--labelOffset);
}

.olcards li::before {
    content: counter(cardCount, decimal-leading-zero);
    background: white;
    color: var(--cardColor);
    font-size: 2em;
    font-weight: 700;
    transform: translateY(calc(-1 * var(--labelOffset)));
    margin-right: calc(-1 * var(--labelOffset));
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 0.5em;
}

.olcards li .content {
    background-color: var(--cardColor);
    --inlinePadding: 1em;
    --boxPadding: 0.5em;
    display: grid;
    padding: var(--boxPadding) calc(var(--inlinePadding) + var(--arrowClipSize)) var(--boxPadding) calc(var(--inlinePadding) + var(--labelOffset));
    grid-template-areas:
        "icon title"
        "icon text";
    gap: 0.25em 1em;
    clip-path: polygon(0 0,
            calc(100% - var(--arrowClipSize)) 0,
            100% 50%,
            calc(100% - var(--arrowClipSize)) 100%,
            calc(100% - var(--arrowClipSize)) calc(100% + var(--cardsGap)),
            0 calc(100% + var(--cardsGap)));
    position: relative;
}

.olcards li .content::before {
    content: "";
    position: absolute;
    width: var(--labelOffset);
    height: var(--labelOffset);
    background: var(--cardColor);
    left: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    filter: brightness(0.75);
}

.olcards li .content::after {
    content: "";
    position: absolute;
    height: var(--cardsGap);
    width: var(--cardsGap);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent 50%);
    left: 0;
    top: 100%;
}

.olcards li .icon {
    grid-area: icon;
    align-self: center;
    font-size: 2em;
}

.olcards li .content .title {
    grid-area: title;
    font-size: 1.10em;
    margin-top: 10px;
    /* font-weight: 700; */
}

.olcards li .content .text {
    grid-area: text;
}

.content{
    width: 40rem;
    text-align: left;
}

.icon{
    width: 5rem;
}

.title{
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.primo-p,
.secondo-p {
    padding: 100px;
}

.primo-p {
    margin-bottom: 10px;
}

.secondo-p {
    background-color: rgb(163, 193, 211);

}

.prima {
    left: 12%;
}

.dopo {
    right: 12%;
}

.prima,
.dopo {
    padding-top: 20px;
}

.prima,
.dopo {
    margin: 0;
    padding: 0;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.63);

}

.classi {
    text-align: center;
    margin-bottom: 200px;
}

.classi h1 {
    font-size: 100px;
}

.background-img {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1000;
}

.end-div {
    margin: 5% auto;
}

.img-str {
    margin: 0;
    padding: 0;
}

.s1 {
    position: relative;
    cursor: pointer;
    padding: 20px;
}

.image {
    display: block;
    width: 100%;
    height: 700px;
    transition: 1s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #008bba6b;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: 1s ease;
    width: 100%;
}

.s1:hover .overlay {
    background-color: #008bba6b;
}

.s1:hover .image {
    filter: blur(3px);
}

.text-img {
    color: white;
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.servizi-backgr {
    color: white;
    background-color: #212529;
    padding: 50px 50px;
    text-align: center;
    box-shadow: 0px -10px 40px 40px  #212529;
}

.servizi-backgr .s1 {
    box-shadow: 0px 8px 16px  rgba(0, 0, 0, 0.63);
}

.s1:hover .overlay {
    opacity: 1;
}

.elenco,
.elenco-vant {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.elenco li {
    margin-top: 20px;
    background-color: white;
    padding: 20px;
    color: #212529;
    font-size: 20px;
    border-radius: 20px;
    transition: all .1s ease-in-out;
}

.elenco li:hover{
    transform: scale(1.02);
}

.tit-caratt {
    font-size: 52px;
}

.elenco-vant {
    font-size: 50px;

}

.news {
    position: fixed;
    background-color: white;
    border: 3px solid #1f75ca;
    color: #1f75ca;
    width: 12%;
    right: 2%;
    top: 20%;
    padding: 20px;
    z-index: 1000;
}

.btn-news {
    position: fixed;
    right: 2%;
    top: 15%;
    z-index: 99;
    font-size: 24px;
    /*border: none;
    outline: none;
    background-color: rgb(99, 157, 211);
    color: white;
    cursor: pointer;
    padding-bottom: 8px;
    border-radius: 20px;
    height: 50px;
    width: 100px;
    font-size: 18px;
    transition: all .1s ease-in-out;*/
}


/*.btn-news:hover {
    transform: scale(1.1);
}*/

.news-p {
    font-size: 50px;
}

.carousel-item {
    transition: opacity 1s ease-in-out;
}

.carousel-item img {
    filter: grayscale(100%);
    height: 1080px;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

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

.pdf {
    background: #ffffff;
    border: solid 1px #e6e6e6;
    border-radius: 2px;
    display: inline-block;
    height: 100px;
    line-height: 100px;
    margin: 5px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 100px;
}

.pdf span {
    background: #f2594b;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: normal;
    padding: 5px 10px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.pdf span:last-child {
    margin-left: -20px;
}

.pdf:before,
.pdf:after {
    background: #ffffff;
    border: solid 3px #9fb4cc;
    border-radius: 4px;
    content: '';
    display: block;
    height: 35px;
    left: 50%;
    margin: -17px 0 0 -12px;
    position: absolute;
    top: 50%;
    /*transform:translate(-50%,-50%);*/
    width: 25px;
}

.pdf:hover:before,
.pdf:hover:after {
    background: #e2e8f0;
}

/*a:before{transform:translate(-30%,-60%);}*/

.pdf:before {
    margin: -23px 0 0 -5px;
}

.pdf:hover {
    background: #e2e8f0;
    border-color: #9fb4cc;
}

.pdf:active {
    background: #dae0e8;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, .25);
}

.pdf span:first-child {
    display: none;
}

.pdf:hover span:first-child {
    display: inline-block;
}

.pdf:hover span:last-child {
    display: none;
}

.sfondo-cv {
    background-color: white;
    padding: 50px;
    margin: 5% 20%;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.63);
}

.intro {
    margin-bottom: 50px;
}

.pdf-link {
    color: white;
    font-size: 25px;
    transition: all .1s ease-in-out;
}

.pdf-link:hover {
    border-bottom: 3px solid white;
}

.card {
    height: 25rem;
    transition: all .2s ease-in-out;
    border-radius: 30px;
    border: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.card:hover {
    transform: scale(1.02);
}

.card-text{
    font-size: 18px;
}

.img-card{
    height: 200px !important;
    border-radius: 30px 30px 0px 0px;
}

.card-title{
    margin-top: 5%;
    font-size: 25px;
}

.PratTerm-card {
    width: 25rem !important;
    height: 33rem;
    border: none;
    border-radius: 30px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transition: all .2s ease-in-out;
}

.PratTerm-card:hover {
    transform: scale(1.02);
}

.PratTerm-img-card {
    height: 25rem !important;
    border-radius: 30px 30px 0px 0px;
}

.PratTerm-card-title {
    margin-top: 5%;
    font-size: 25px;
    text-align: center;
}

.foot-link{
    transition: all .2s ease-in-out;
}

.foot-link:hover{
    transform: scale(1.02);
    color: #1f75ca;
}
.about-txt{
    font-size: 20px;
}

.txt-policy{
    margin-bottom: 10rem;
    padding: 5rem 20rem;
}

.txt-policy h2{
    font-size: x-large;
}

.tit-studio{
    font-size: 60px;
}

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

.subtit-studio b{
    font-weight: 800;
    color: #1f75ca;
}

.text-studio{
    text-align: center;
    font-size: 25px;
    margin-top: 2rem;
}

.list-studio p {
    margin: 0;
    line-height: 1.6;
}

.orlist-studio {
    list-style: none;
    counter-reset: list;
    padding: 0 1rem;
}

.list-studio {
    --stop: calc(100% / var(--length) * var(--i));
    --l: 62%;
    --l2: 88%;
    --h: calc((var(--i) - 1) * (180 / var(--length)));
    --c1: hsl(var(--h), 71%, var(--l));
    --c2: hsl(var(--h), 71%, var(--l2));

    position: relative;
    counter-increment: list;
    max-width: 45rem;
    margin: 2rem auto;
    padding: 2rem 1rem 1rem;
    box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: white;
    transition: all .2s ease-in-out;
}

.list-studio:hover{
    transform: scale(1.02);
}

.list-studio::before {
    content: '';
    display: block;
    width: 100%;
    height: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop));
}

.list-studio h3 {
    display: flex;
    align-items: baseline;
    margin: 0 0 1rem;
    color: rgb(70 70 70);
}

.list-studio h3::before {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    content: counter(list);
    padding: 1rem;
    border-radius: 50%;
    background-color: var(--c1);
    color: white;
}

@media (min-width: 40em) {
    .list-studio {
        margin: 3rem auto;
        padding: 3rem 2rem 2rem;
    }

    .list-studio h3 {
        font-size: 2.25rem;
        margin: 0 0 2rem;
    }

    .list-studio h3::before {
        margin-right: 1.5rem;
    }
}