

@media only screen and (max-width: 980px) {
    .main {
        width: 100%;
        margin: 0 auto;
        transform-style: preserve-3d;
        text-align: center;
        margin-top: 60px !important;
    }

}

@media only screen and (max-device-width: 500px) {
    .main { 
        margin-top: 50px !important;
    }
    .content {
        display: block;
        text-align: center;
        width: 100%;
    }
    .content .line {
        margin: 50px auto 0;
        width: 100%;
    }
    .content .motto {
        width: 100%;
    }
    .form {
        width: 100%;
    }
    footer p {
        font-size: 11px;
    }
}

@media only screen and (device-width: 640px) and (device-height: 360px)
{
    .main {
        margin-top: 40px !important;
    }
}




/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) {
    .main {
        width: 100%;
        margin: 0 auto;
        transform-style: preserve-3d;
        text-align: center;
        margin-top: 60px !important;
    }
}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {
    .main { 
        margin-top: 50px !important;
    }
    .content {
        display: block;
        text-align: center;
        width: 100%;
    }
    .content .line {
        margin: 50px auto 0;
        width: 100%;
    }
    .content .motto {
        width: 100%;
    }
    .form {
        width: 100%;
    }
    footer p {
        font-size: 11px;
    }
}

