﻿html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: 'Lato', sans-serif;
    padding-bottom: 150px;
}

/*desktop*/
@media only screen and (min-width: 1024px) {
    body {
        background-color: #edf1f6;
    }

    .logo {
        width: 100%;
        margin: 50px auto;
        text-align: center;
    }

        .logo img {
            width: 350px;
            height: auto;
        }

    .testo {
        text-align: center;
        padding-bottom: 30px;
    }

        .testo img {
            width: 450px;
        }

    .app-icon {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        float: left;
    }

        .app-icon img {
            height: 170px;
            width: auto;
            margin: 25px;
        }

        .app-icon a {
            display: inline-block;
        }

    .footer {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 0;
        padding: 20px;
        color: #00377d;
        font-size: 14px;
        font-weight: bold;
        background-color: #ffffff;
    }

        .footer img {
            width: 250px;
            display: block;
            margin: -65px auto 0 auto;
            padding-bottom: 20px;
        }
}

/*iPad orizzontale*/
@media only screen and (max-width: 1024px) {
    body {
        background-color: #edf1f6;
    }

    .logo {
        width: 100%;
        margin: 50px auto;
        text-align: center;
    }

        .logo img {
            width: 350px;
            height: auto;
        }

    .testo {
        text-align: center;
        padding-bottom: 30px;
    }

        .testo img {
            width: 400px;
        }

    .app-icon {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        float: left;
    }

        .app-icon img {
            height: 170px;
            width: auto;
            margin: 25px;
        }

        .app-icon a {
            display: inline-block;
        }

    .footer {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: 0;
        padding: 20px;
        color: #00377d;
        font-size: 14px;
        font-weight: bold;
        background-color: #ffffff;
    }

        .footer img {
            width: 250px;
            display: block;
            margin: -65px auto 0 auto;
            padding-bottom: 20px;
        }
}


/*iPad verticale*/
@media only screen and (max-width: 768px) {
    .logo {
        margin: 50px auto;
    }

    .app-icon img {
        height: 235px;
        margin: 15px;
    }
}



/*iPhone 6 plus orizzontale*/
@media only screen and (max-width: 736px) {
    .logo {
        margin: 30px auto;
    }

        .logo img {
            width: 220px;
        }

    .app-icon img {
        height: 140px;
        padding: 0;
        margin: 15px;
    }

    .testo img {
        width: 300px;
    }

    .footer img {
        width: 200px;
        margin: -55px auto 0 auto;
    }
}


/*iPhone 6 orizzontale*/
@media only screen and (min-width: 569px) and (max-width: 735px) {
    .logo {
        margin: 20px auto 30px auto;
    }

        .logo img {
            width: 200px;
        }

    .app-icon img {
        height: 120px;
    }
}



/*iPhone 5 orizzontale*/
@media only screen and (min-width: 415px) and (max-width: 568px) {
    .logo {
        margin: 20px auto 20px auto;
    }

        .logo img {
            width: 180px;
        }

    .app-icon img {
        height: 110px;
        margin: 10px;
    }

    .footer img {
        width: 160px;
        margin: -50px auto 0 auto;
    }
}



/*iPhone 6 plus verticale*/
@media only screen and (max-width: 414px) {
    .logo {
        margin: 30px auto 40px auto;
    }

        .logo img {
            width: 300px;
            height: auto;
        }

    .app-icon img {
        height: 150px;
        margin: 8px;
    }

    .footer {
        font-size: 12px;
    }

        .footer img {
            width: 200px;
            margin: -58px auto 0 auto;
        }
}



/*iPhone 5 verticale*/
@media only screen and (max-width: 320px) {
    .logo {
        margin: 30px auto;
    }

        .logo img {
            width: 200px;
        }

    .testo img {
        width: 250px;
    }

    .app-icon img {
        height: 125px;
        margin: 5px;
    }

    .footer {
        font-size: 11px;
    }

        .footer img {
            width: 160px;
            margin: -50px auto 0 auto;
        }
}
