/*
    Fichier qui gère le responsive en fonction du type d'écran.
    On utilise le display grid pour wide screen et desktop.
*/

@media only screen and (min-width: 1280px) {
    /* For wide screens: */
}

@media only screen and (min-width: 980px) and (max-width: 1280px) {
    /* For desktop: */
    
}

@media only screen and (min-width: 740px) and (max-width: 980px) {
    /* For tablets: */

    .card {
        height: 500px;
        width: 400px;
    }

    input:nth-child(2) {
        margin-bottom: 110px;
        margin-top: 60px;
    }

    button {
        margin-bottom: 60px;
    }

}

@media only screen and (min-width: 572px) and (max-width: 740px) {
    .card {
        height: 500px;
        width: 400px;
    }

    input:nth-child(2) {
        margin-bottom: 110px;
        margin-top: 60px;
    }

    button {
        margin-bottom: 60px;
    }

}

@media only screen and (min-width: 260px) and (max-width: 572px) {
    /* For mobile: */

    * {
        box-sizing: border-box;
    }
    body {
        font-size: 11px;
    }
    .card {
        height: 400px;
        width: 290px;
    }

    input {
        margin: 0;
        padding: 0;
        width: 200px;
    }

    img {
        width: 120px;
    }

    input:nth-child(2) {
        padding: 0;
        margin-bottom: 60px;
        margin-top: 30px;
    }

    button {
        margin-bottom: 30px;
        width: 170px;
    }

    h1 {
        border-bottom: 2px solid #707070;
        
    }
}

@media only screen and (max-width: 260px) {
    /* For watch: */
}