html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
* {
    font-family: 'Nunito';
}
h1 {
    font-size: 50px;
}
h2 {
    font-size: 50px;
}
p {
    font-size: 20px;
}

.btn {
    padding: 8px 10px;
    border-radius: 35px;
    transition: .3s;
    min-width: 140px;
    font-size: 20px;
}
.btn:hover {
    color: #fff;
    opacity: .9;
    transform: translateY(-2px);
}

.btn-y {
    color: #fff;
    background: #efc616;
}
.btn-g {
    color: #fff;
    background: #3c764e;
}
.btn-b {
    color: #fff;
    background: #2e72b7;
    margin-left: 15px;
    margin-right: 15px;
}
.btn-grigio {
    color: #fff;
    background: #777776;
}
.btn-grigio-cent {
    margin-left: 15px;
    margin-right: 15px;
}
.btn-fixed {
    color: #fff;
    background: #2e72b7;
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 999999999;
}

@media (max-width: 991px) {
    h2 {
        font-size: 30px;
    }
    .btn-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
    }
    .btn {
        display: block;
        min-width: 200px;
        max-width: 250px;
        margin-bottom: 20px;
    }
    .btn-b {
        margin-left: auto;
        margin-right: auto;
    }
    .btn-grigio-cent {
        margin-left: auto;
        margin-right: auto;

    }
    /*   .btn-fixed {
        top: 20px;
        right: 20px;
        min-width: 50px;
        max-width: 50px;
        border-radius: 50%;
    } */
    .btn-fixed {
        top: 20px;
        right: 20px;
        min-width: 50px;
        max-width: 150px;
        font-size: 15px;
    }
    p,
    a {
        font-size: 17px;
    }
}

#intro {
    height: 100vh;
    background: #2E72B7;
    background: linear-gradient(90deg, rgba(46, 114, 183, 1) 0%, rgba(60, 118, 78, 1) 50%, rgba(239, 198, 22, 1) 100%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.intro-logo {
    max-width: 600px;
}
#intro .second-block {
    padding-bottom: 50px;
    padding-top: 50px;
}
#intro .container {
    min-height: 80%;
    position: relative;
}
.div-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
#intro .col-12:first-child {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
}
#intro .img-user {
    max-height: 550px;
    position: absolute;
    bottom: 0;
    right: -50px;
    /* transform: scaleX(-1); */
}

@media (max-width: 991px) {
    #intro .container {
        max-height: 100%;
        min-height: 95%;
        align-items: flex-start !important;
    }
    #intro .second-block {
        padding-top: 0;
        padding-bottom: 0;
    }
    #intro .col-12 {
        text-align: left;
    }
    #intro .col-12:first-child {
        justify-content: flex-start;
    }
    #intro .img-user {
        max-height: 400px;
        position: absolute;
        right: 0;
    }
}

.arrow-animation {
    border: none;
    background: none;
    margin-top: 70px;
    margin-bottom: 20px;
    cursor: pointer;
    min-height: 50px;
    display: inline-block;
    animation: arrow_fade_move_down 2s ease-in-out infinite;
}
.arrow-animation img {
    width: 50px;
}

.arrow-animation {
    -webkit-animation: arrow_fade_move_down 2s ease-in-out infinite;
    -moz-animation: arrow_fade_move_down 2s ease-in-out infinite;
    animation: arrow_fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes arrow_fade_move_down {
    0% {
        -webkit-transform: translate(0, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(0, 20px);
        opacity: 0;
    }
}

@-moz-keyframes arrow_fade_move_down {
    0% {
        -moz-transform: translate(0, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -moz-transform: translate(0, 20px);
        opacity: 0;
    }
}

@keyframes arrow_fade_move_down {
    0% {
        transform: translate(0, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 20px);
        opacity: 0;
    }
}


#soluzioni {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
#soluzioni h2 {
    max-width: 750px;
}
#servizi {
    background: #f2f2f2;
    color: #000;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.servizi-img {
    max-width: 150px;
    margin-right: 30px;
}
@media (max-width: 991px) {
    #servizi .col-12 {
        flex-direction: column;
        text-align: center;
    }
    .servizi-img {
        margin-bottom: 30px;
        margin-right: 0;
    }
}



.triangolo-v {
    position: absolute;
    left: -20px;
    top: 150px;
    z-index: 9;
    width: 200px;
}
.triangolo-g {
    position: absolute;
    left: -10px;
    top: -115px;
    z-index: 7;
    width: 150px;
}
.triangolo-b {
    position: absolute;
    right: -34px;
    bottom: 60px;
    z-index: 9;
    width: 250px;
}
.triangolo-gri {
    position: absolute;
    right: -30px;
    bottom: -200px;
    z-index: 7;
    width: 200px;
}
@media (max-width: 991px) {
    .triangolo-v {
        top: 80px;
        width: 100px;
    }
    .triangolo-g {
        width: 95px;
        top: -70px;
    }
    .triangolo-b {
        bottom: 5px;
        width: 100px;
        right: 0;
    }
    .triangolo-gri {
        width: 95px;
        bottom: -130px;
        right: 0;
    }
}
@media (max-width: 778px) {
    .triangolo-v {
        top: 33px;
        width: 55px;
    }
    .triangolo-g {
        width: 70px;
        top: -30px;
    }
    .triangolo-b {
        bottom: -20px;
        width: 80px;
    }
    .triangolo-gri {
        width: 60px;
        bottom: -100px;
    }
}

#tariffe {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #2E72B7;
    background: linear-gradient(90deg, rgba(46, 114, 183, 1) 0%, rgba(60, 118, 78, 1) 50%, rgba(239, 198, 22, 1) 100%);
}
#tariffe h2,
#tariffe p {
    max-width: 750px;
    color: #fff;
}

#partner {
    padding-top: 100px;
    padding-bottom: 100px;
}

#map-section .container {
    max-width: 100% !important;
    overflow-x: hidden;
}
#map {
    min-height: 500px;
}
#contatti {
    background: #f2f2f2;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}
#contatti a {
    color: #2e72b7;
    word-break: break-word;
}
#contatti h4 {
    color: #2e72b7;
    font-size: 28px;
}

footer {
    padding-top: 100px;
    padding-bottom: 100px;
    background: #2E72B7;
    background: linear-gradient(90deg, rgba(46, 114, 183, 1) 0%, rgba(60, 118, 78, 1) 50%, rgba(239, 198, 22, 1) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
footer img {
    margin-bottom: -100px;
    z-index: 1;
    width: 100%;
}
.socket {
    background: #515151;
    font-size: 11px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.socket span,
.socket a {
    color: #fff;
    font-size: 13px;
}

@media (max-width:991px) {
    footer .col-12 {
        text-align: center;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    footer img {
        margin-bottom: 30px;
        width: 80%;
        max-width: 250px;
    }
    .socket {
        height: 70px;
    }
    .socket span,
    .socket a {
        font-size: 12px;
    }
}
