:root {
    --cardWidth: 260px;
    --cardHeight: 320px;
}
@-webkit-keyframes slideInFromBottom {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translateY(-2.5%);
                transform: translateY(-2.5%);
        opacity: 0.9;
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideInFromBottom {
    0% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: translateY(-2.5%);
                transform: translateY(-2.5%);
        opacity: 0.9;
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}
body{
    background: #bbb;
}
#main{
    -webkit-filter: drop-shadow(0 0 13px #F8F8FF);
            filter: drop-shadow(0 0 13px #F8F8FF);
}
.day-sky{
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, from(rgb(135, 206, 250)), to(rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(rgb(135, 206, 250), rgba(255, 255, 255, 0));
    background: -o-linear-gradient(rgb(135, 206, 250), rgba(255, 255, 255, 0));
    background: linear-gradient(rgb(135, 206, 250), rgba(255, 255, 255, 0));
}
.night-sky{
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, from(#212529), to(rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(#212529, rgba(255, 255, 255, 0));
    background: -o-linear-gradient(#212529, rgba(255, 255, 255, 0));
    background: linear-gradient(#212529, rgba(255, 255, 255, 0));
}
.autumn{
    z-index: 1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(15%, #cc8500ce), color-stop(50%, rgba(255, 255, 0, 0.281)), to(rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(#cc8500ce 15%, rgba(255, 255, 0, 0.281) 50%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(#cc8500ce 15%, rgba(255, 255, 0, 0.281) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(#cc8500ce 15%, rgba(255, 255, 0, 0.281) 50%, rgba(255, 255, 255, 0) 100%);
}
.spring{
    z-index: 1;
    background: transparent;
}
.logoSite{
    height: 70vh;
}
.villages{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
.slideM{
    -webkit-animation: 0.7s ease-out slideInFromBottom;
            animation: 0.7s ease-out slideInFromBottom;
  }

  a.ancoraggio1 > button, a.ancoraggio2 > button{
    border: none;
}
a.ancoraggio1 > button:hover {
    background:transparent;
    border: none;
    -webkit-box-shadow: inset 0 0 145px 25px rgba(0, 255, 85, 0.63);
            box-shadow: inset 0 0 145px 25px rgba(0, 255, 85, 0.63);
}
a.ancoraggio1 > button:hover > i {
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
    -webkit-filter: drop-shadow(0 0 15px rgb(0, 78, 35));
            filter: drop-shadow(0 0 15px rgb(0, 78, 35));
}
a.ancoraggio2 > button:hover {
    background: transparent;
    border: none;
    -webkit-box-shadow: inset 0 0 145px 25px rgba(0, 174, 255, 0.63);
            box-shadow: inset 0 0 145px 25px rgba(0, 174, 255, 0.63);
}
a.ancoraggio2 > button:hover > i {
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
    -webkit-filter: drop-shadow(0 0 15px rgb(111, 0, 238));
            filter: drop-shadow(0 0 15px rgb(111, 0, 238));
}
.ressp{
    background-image: url('../images/other/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
    padding: 15px;
}
.inner-wrapper{
    padding-top: 50px;
}

.tooltip-inner {
    max-width: 200px;
    padding: 1em;
    color: white;
    font-size: 1.1em;
    font-weight: 400;
    text-align: center;
    background-color: rgba(32, 32, 32, 0.932);
    border-radius: 10px;
  }
  .tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 5px 5px 0;
    border-top-color: transparent;
  }


.footer-home{
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: space-evenly;
    align-self: center;
}
.footer-home > div,
.footer-home:not(:first-child){
    margin-bottom: 20px;
}



/* disegno DDreamkol (titolo) */
  .wrapper-title{
    width: 550px;
    margin: 200px auto 0 auto;
    -webkit-filter: drop-shadow(0 0 15px white);
            filter: drop-shadow(0 0 15px white);
}

path{
    stroke: #1f2429;
    fill: #1f2429;
    stroke-dasharray: 570;
    opacity: 1;
    -webkit-animation: animate 3.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
            animation: animate 3.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

@-webkit-keyframes animate {
    0%{
        opacity: 0;
        fill: none;
        stroke-dashoffset: 570;
        
    }
    30%{
        opacity: 1;
        fill: none;
        stroke-dashoffset: 570;
    }
    90%{
        opacity: 0;
    }
    100%{
        opacity: 1;
        fill: #1f2429;
        stroke-dashoffset: 0;
    }
}

@keyframes animate {
    0%{
        opacity: 0;
        fill: none;
        stroke-dashoffset: 570;
        
    }
    30%{
        opacity: 1;
        fill: none;
        stroke-dashoffset: 570;
    }
    90%{
        fill: rgba(0,0,0,0);
        opacity: 0;
    }
    100%{
        opacity: 1;
        fill: rgba(0,0,0,1);
        stroke-dashoffset: 0;
    }
}


@media all and (max-width: 767px) {
    .footer-home{
        flex-direction: column;
        align-items: center;
    }
}

@media all and (max-width: 813px) {
    .wrapper-title{
        width: 230px;
        margin: 100px auto 0 auto;
    }
    a.ancoraggio1 > button:hover > i,
    a.ancoraggio2 > button:hover > i{
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
        -webkit-filter: none;
                filter: none;
    }
    a.ancoraggio1 > button:hover,
    a.ancoraggio2 > button:hover{
        -webkit-box-shadow: none;
                box-shadow: none;
    }
    .logoSite{
        height: 55vh;
        top: 10vh;
    }
    #main{
        margin-top: 20vh;
        font-size: 40px;
    }
    #main + p {
        font-size: 12px;
    }
    .ressp{
        background-size: 25px;
    }
    .action-links{
        padding-top: 10vh;
    }
}