#corpsBackground-connection{
    text-align: center;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    height: 80vh;           /* Prend toute la hauteur de la fenêtre */
    flex-direction: column;
}

#corpsBackground-connection img{
    width: 100px
}

form div{
    display: block;
    padding-top: 10px;
}

label{
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
    color: #777;
}

input[type="text"]{
    padding: 10px;
    font-size: 20px;
    margin-right: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
}

input[type="password"]{
    padding: 10px;
    font-size: 20px;
    margin-right: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
}

input[type="submit"]{
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 11px;
    background-color: #0039A4;
    border-style: none;
    border-radius: 3px;
}

input[type="submit"]:hover{
    background-color: blue;
}

body{
    margin: 0px;
}

.error{
    color : red;
}

.colorBar{
    background-color: #0039A4;
}


/* TOP BAR*/
#topBar{
    height: 40px;
    margin: 0px;
    position: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    right: 0px;
    color: white;
    display: flex; 
    z-index: 2;
}

#topBarName{
    margin: 0px;
}

/* Pour les tablettes */
@media (max-width: 1024px) {  
    #topBar{
        height: 28px;
    }

    label{
        font-size: 18px;
    }
    
    input[type="text"]{
        padding: 8px;
        font-size: 18px;
    }
    
    input[type="password"]{
        padding: 8px;
        font-size: 18px;
    }
    
    input[type="submit"]{
        font-size: 18px;
        padding: 9px;
    }
}

/* Pour les téléphones */
@media (max-width: 768px) {
    #topBar{
        height: 25px;
    }

    label{
        font-size: 16px;
    }
    
    input[type="text"]{
        padding: 6px;
        font-size: 16px;
    }
    
    input[type="password"]{
        padding: 6px;
        font-size: 16px;
    }
    
    input[type="submit"]{
        font-size: 16px;
        padding: 8px;
    }
}
