/*
accueil.php
CSS de toutes les pages connexion (accès au tableau de bord et accès à la vérification du qr-code
*/

body {
    margin: 0;
    border: 0;
    padding: 0;
    background-color:snow;
    background-image: url(/assets/img/ape1.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    -webkit-background-size: cover; /* pour anciens Chrome et Safari */
    background-size: cover; /* version standardisée */
}

h1 {
    color: #94003A;
    text-align: center;
    font-size: 40px;
    margin: 0;
}

p {
    color: black;
    text-align: center;
    font-size: 40px;
}

#content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center
}

.img-logo {
    width: 300px;
    height: 300px;
}

label {
    display: flex;
    justify-content: center;
    font-size: 25px;
    color: #72159b;
}

input {
    font-size: 25px;
    border: solid 1px grey;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    background-color:white;
    border-radius:10px;
    text-align: center;
    height:50px;
    display:block;
    margin-left: auto;
    margin-right: auto;
    width: 16em;
}

form {
    margin: 20px 20px;
}
.container {
    display: flex;
    justify-content: center;
    height: 65px;
}

button {
    background-color: #A68B60;
    border-radius: 10px;
    border: 4px double #cccccc;
    color: #ffffff;
    text-align: center;
    font-size: 25px;
    padding: 7px;
    width: 200px;
    height: 60px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

button:hover {
    background-color: #93003A;
}

#loadingBarWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: transparent;
    z-index: 10000;
    display: none; /* cachée par défaut */
}

#loadingBar {
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg,
        #ff3cac,
        #784ba0,
        #2b86c5,
        #00f2fe,
        #43e97b,
        #38f9d7);
    background-size: 400% 400%;
    animation: rainbowMove 2s linear infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

@keyframes rainbowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

    @media screen and (max-width: 640px) {

    body {
        background-image: url(/assets/img/ape1.png);
        margin: 0;
        border: 0;
        padding: 0;
    }

    h1 { 
        color: white;
        background-color: #A68B60;
        padding: 10px;
        font-size: 40px;
    }

    p {
        color: black;
        text-align: center;
        font-size: 30px;
    }

    #content {
        display: flex;
        justify-content: center;
    }

    .img-logo {
        display: flex;
        align-items: center;
        width: 270px;
        height: 270px;
    }

    label {
        display: none;/*flex;*/
        /*justify-content: center;
        font-size: 25px;*/
    }

    input {
        font-size: 27px;
        border-radius:10px;
        text-align: center;
        width: 80%;
        height:35px;
        display:block;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        display: flex;
        justify-content: center;
        height: 100px;
    }

    button {
        margin: 10px auto 0 auto;
        font-size:30px;
        color: white;
        border-radius: 1em;
        border: none; /*5px solid #A68B60;*/
        box-shadow: 2px 2px 2px #A68B60;
        text-align: center;
        width: 40%;
        height: 70px;
        background-color:#94003A;
        }

    }   

        @media screen and (max-width: 521px) {
            .img-logo {
                display: flex;
                align-items: center;
                width: 250px;
                height: 250px;
            }
            h1 { font-size: 22px;}
            button { height: 50px; }
        }
                

         

        

        

               