/* ==== "Inter" FONT-FAMILY FROM FONTS.GOOGLE.COM ==== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap");

/* ==== ROOT RESET ==== */
:root {
    --bg-color: #143F7E;
    --color-button: #1D506B;
    --font-size-button: 24px;
    --font-size-button-mobile: 24px;
    --margin-top-header: 80px;
    --margin-top-sections: 60px;
    --secondary-color: #143F7E;
    --margin-left-content: 5%;
    --margin-right-content: 5%;
    --padding-sections: 60px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

.header {
    min-height: 555px;
    background-image: url("../assets/img/header.png");
    background-size: 200%;
    background-repeat: no-repeat;
    /* Do not repeat the image */
    background-size: cover;
    /* Resize the background image to cover the entire container */
}

#header-left {
    margin-top: var(--margin-top-header);
    width: 50%;
    float: left;
    height: 95%;
    display: flex;
    justify-content: center;
}

#header-left-content {
    margin-left: var(--margin-right-content);
    width: 80%;
    height: inherit;
}

#title-1 {
    margin-bottom: 0px;
    width: 350px;
}

#title-2 {
    margin-top: 0px;
}

#header-left-content>p {
    color: white;
    font-size: 36px;
    margin-left: 8px;
    font-weight: 500;
}

.btn-more-info {
    border-radius: 20px;
    height: 58px;
    font-weight: 800;
    font-size: var(--font-size-button);
    color: var(--color-button);
    border: 1px solid var(--color-button);
}

.btn-more-info>a {
    text-decoration: none;
    color: #1D506B;
    font-weight: 100;
}

#header-left-content>button {
    width: 451px;
    max-width: 100%;
    margin-left: 8px;
}

#header-right {
    margin-top: 120px;
    width: 50%;
    float: right;
    height: 95%;
    text-align: center;
}

.first-block {
    height: 650px;
    color: var(--secondary-color);
    height: auto;
    padding-top: var(--padding-sections);
    padding-bottom: var(--padding-sections);
}

.first-block-content {
    margin-left: var(--margin-left-content);
    margin-right: var(--margin-right-content);
    height: 95%;
}

ul {
    width: 100%;
    padding-inline-start: 0;
    margin-top: 90px;
    margin-bottom: 90px;
}

ul>li {
    height: 100%;
    min-height: 70px;
}

ul>li>span {
    text-align: left;
    display: block;
    margin-left: 80px;
    padding-top: 3px;
}

ul li:nth-child(1) {
    background-image: url('../assets/img/icon_collaborazione.svg');
    background-repeat: no-repeat;
    list-style: none;
    margin-top: 5px;
    margin-bottom: 20px;
}

ul li:nth-child(2) {
    background-image: url('../assets/img/icon_business.png');
    background-repeat: no-repeat;
    background-position: 0px 5px;
    list-style: none;
    margin-bottom: 20px;
}

ul li:nth-child(3) {
    background-image: url('../assets/img/icon_tutela.png');
    background-repeat: no-repeat;
    background-position: 0px 5px;
    list-style: none;
    margin-bottom: 20px;
}

ul li:nth-child(4) {
    background-image: url('../assets/img/icon_decisione.png');
    background-repeat: no-repeat;
    background-position: 0px 5px;
    list-style: none;
    margin-bottom: 20px;
}

.delimiter {
    height: 30px;
}

.second-block {
    background-color: var(--bg-color);
    color: #fff;
    height: auto;
    padding-top: var(--padding-sections);
    padding-bottom: var(--padding-sections);
}

.second-block-content {
    margin-left: var(--margin-left-content);
    margin-right: var(--margin-right-content);
    height: 95%;
}

.second-block-button>button {
    width: 451px;
    margin-left: 8px;
    max-width: 100%;
}

.footer {
    height: auto;
    background-color: var(--bg-color);
    color: #fff;
    padding-top: var(--padding-sections);
    padding-bottom: var(--padding-sections);
}

.footer-content {
    margin-left: var(--margin-left-content);
    margin-right: var(--margin-right-content);
    height: inherit;
    display: block;
    text-align: center;
}

.footer-first>button {
    width: 535px;
    margin-left: 8px;
    max-width: 100%;
}

.h1-titolo {
    font-size: 32px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}


.h2-titolo {
    font-size: 27px;
    font-weight: 300;
    margin-block-start: 0px;
    margin-block-end: 0px;
}


.h1-list {
    font-size: 24px;
    font-weight: bold;
    margin-block-start: 0px;
    margin-block-end: 0px;

}

.h1-list-cosa-fare {
    font-size: 22px;
    font-weight: bold;
    margin-block-start: 0px;
    margin-block-end: 0px;

}

.h2-list {
    font-size: 24px;
    font-weight: 100;
    margin-block-start: 0px;
    margin-block-end: 0px;
}


.h2-list-cosa-fare {
    font-size: 22px;
    font-weight: 100;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.card-item-cosa-fare {
    width: 33%;
    float: left;

}

.cosa-fare {
    margin-top: 60px;
    text-align: center;
    height: auto;
    margin-bottom: 20px;

}

.card-item-cosa-fare-header {
    height: 180px;
}

.second-block-button {
    width: 100%;
    text-align: center;
}

.clienti-radiotaxi {
    margin-left: 40px;
    position: relative;
    z-index: 1;
    border: 5px solid #26A558;
    background-color: #D9D9D9;
    border-radius: 20px;
    text-align: left;
    display: flex;
    margin-bottom: 90px;
    height: 100%;
    min-height: 75px;
    width: 90%;
}

.clienti-radiotaxi p {
    font-size: 25px;
    font-weight: 900;
}

.first-block-last-title {
    text-align: center;
}


.clienti-radiotaxi-img {
    position: absolute;
    z-index: 5;
    margin-left: -55px;
    margin-top: -10px
}

.clienti-radiotaxi-content {
    margin-left: 120px
}

#header-right>img {
    width: 343px;
    height: 343px;
}


#header-left-content>img {
    width: 282px;
    height: 116px;
}

#card-item-cosa-fare-header-1>img {
    width: 149px;
    height: 160px;
}

#card-item-cosa-fare-header-2>img {
    width: 111px;
    height: 150px;
}

#card-item-cosa-fare-header-2>img {
    width: 193px;
    height: 123px;
}

.footer-second {
    display: flow-root;
}

.footer-second>.footer-second-left {
    text-align: left;
    font-size: 20px;
}

.footer-second>.footer-second-left>p {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.footer-second-right>p>i>a {
    color: #fff;
    font-weight: 100;
}

.footer-text{
    padding-bottom: 3px;
}
.footer-text>i>a {
    color: #fff;

}
.last-footer-row{
    width:100%;
}
.footer-text-left>i>a {
    color: #fff;
    float:left;
    width:70%
}
.footer-text-right>i>a {
    color: #fff;
    float:right;
    text-align: right;
    width:30%
}


hr.solid {
    border-top: 1px solid #FFFFFF;
    margin-top: 150px;
}

.last-footer-row>p{
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

@media only screen and (max-width: 768px) {

    :root {
        --margin-top-sections: 15px;
        --padding-sections: 15px;
        --margin-top-header: 50px;
    }

    #title-1 {
        margin-bottom: 0px;
        width: auto;
    }

    #header-left {
        text-align: center;
    }

    #header-left-content>img {
        width: 176px;
        height: 72px;
    }

    #header-left-content {
        width: 100%;
    }

    #header-right>img {
        width: 154px;
        height: 154px;
    }

    #header-left {
        margin-top: var(--margin-top-header);
        width: 95%;
        height: 95%;
        display: block;
    }

    .card-item-cosa-fare {
        width: 95%;
    }

    .btn-more-info {
        border-radius: 20px;
        height: 58px;
        font-weight: 800;
        font-size: 18px;
        color: var(--color-button);
        border: 1px solid var(--color-button);
    }

    #header-left-content>button {
        width: 286px;
        max-width: 100%;
        height: 40px;
    }

    .second-block-button>button {
        width: 286px;
        max-width: 100%;
        margin-left: 0px;
        height: 40px;
    }

    .footer-first>button {
        width: 286px;
        max-width: 100%;
        margin-left: 0px;
        height: 40px;
    }

    .header {
        width: 100%;
        background-position: 33% 0%;
    }

    .first-block {
        width: min-content;
    }

    .footer {
        width: 100%;
    }

    .footer-content {
        width: 94%;
    }

    #header-left-content>p {
        font-size: 25px;
    }

    .h1-titolo {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .h2-titolo {
        font-size: 18px;
    }

    .h1-list {
        font-size: 18px;
    }

    .h2-list {
        font-size: 18px;
    }

    .h1-list-cosa-fare {
        font-size: 22px;
    }

    .h2-list-cosa-fare {
        font-size: 16px;

    }

    #card-item-cosa-fare-header-1>img {
        width: 103px;
        height: 110px;
    }

    #card-item-cosa-fare-header-2>img {
        width: 79px;
        height: 106px;
    }

    #card-item-cosa-fare-header-3>img {
        width: 133px;
        height: 85px;
    }


    .clienti-radiotaxi-content>p {
        font-size: 18px;
    }

    #header-right {
        margin-top: 20px;
        width: 100%;
        float: center;
        height: 95%;
        text-align: center;
    }

    .first-block {
        width: 99%;
    }

    .clienti-radiotaxi-content {
        margin-left: 33px;
    }

    .clienti-radiotaxi-img>img {
        width: 81px;
        height: 81px;
    }

    .card-item-cosa-fare-header {
        height: max-content;
        margin-bottom: 15px;
    }

    .header {
        min-height: 519px;

    }

    .title-1 {
        font-size: 25px;
    }

    .footer-second>.footer-second-left {
        float: left;
        width: 100%;
        font-size: 14px
    }

    .footer-second-left {
        margin-top: 20px;
    }

    hr.solid {
        margin-top: 40px;
    }

    .footer-second>.footer-second-right {
        width: 100%;
        float: left;
        text-align: left;
        font-size: 14px
    }

    .footer-text-left>i>a {
        color: #fff;
        float:left;
        width:70%;
        margin-bottom: 3px;
    }
    .footer-text-right>i>a {
        color: #fff;
        float:left;
        text-align: left;
        width:50%;
        margin-bottom: 3px;
    }

    .footer-text-right{
        padding-top: 25px;
    }
    



}