@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

:root {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    position: relative; /* Garder la position relative pour le footer */
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

footer {
    width: 100%;
    color: white;
    font-size: 12pt;
    position: fixed;
    bottom: 0;
}

footer #menu {
    width: 15vw; /* Ajuster la largeur en utilisant vw */
    height: 30vw; /* Ajuster la hauteur en utilisant vw */
    background-color: rgb(255, 248, 236);
    color: black;
    display: none;
}

footer #user {
    display: flex;
    align-items: center;
    background-color: rgb(16, 98, 213);
    color: white;
    padding: 10px;
}

footer #user img {
    width: 3vw;
    margin-right: 1vw;
}

footer #barre {
    width: 100%;
    height: 2vw; /* Ajuster la hauteur en utilisant vw */
    background-color: rgb(16, 98, 213);
    color: white;
    font-size: 12pt;
    display: flex;
    align-items: center;
    padding: 0 1vw; /* Ajuster le padding pour l'espacement intérieur */
}

footer button {
    height: 100%;
    width: 8vw; /* Ajuster la largeur en utilisant vw */
    background-color: rgb(74, 210, 47);
    border: 0;
    border-top-right-radius: 1vw; /* Ajuster le rayon du bord */
    border-bottom-right-radius: 1vw; /* Ajuster le rayon du bord */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer button:hover {
    cursor: pointer;
    background-color: rgb(60, 166, 39);
}

footer #barre img {
    width: 1.5vw; /* Ajuster la taille de l'image en utilisant vw */
    margin-right: 0.5vw; /* Ajuster la marge en utilisant vw */
}

footer #app-button {
    width: 9vw; /* Ajuster la largeur en utilisant vw */
    height: 85%;
    border-radius: 0.5vw;
    margin-left: 2vw;
    background-color: rgb(49, 126, 235);
}

footer #app-button:hover {
    cursor: pointer;
    background-color: rgb(33, 92, 174);
}

footer #shutdown {
    background-color: rgb(16, 98, 213);
    position: absolute;
    bottom: 30px;
    width: 100%;
    color: white;
}

footer #shutdown div {
    display: flex;
    align-items: center;
    width: 100%;
}

footer #shutdown div img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
    margin-left: 5px;
}

footer #shutdown div:hover {
    background-color: rgb(19, 81, 168);
    cursor: pointer;
}

/* Media Query pour les petits écrans */
@media only screen and (max-width: 768px) {
    footer #barre {
        height: 4vw; /* Ajuster la hauteur en utilisant vw pour les petits écrans */
    }
    footer #barre img {
        width: 2vw; /* Ajuster la taille de l'image en utilisant vw pour les petits écrans */
        margin-right: 1vw; /* Ajuster la marge en utilisant vw pour les petits écrans */
    }
    footer button {
        width: 10vw; /* Ajuster la largeur en utilisant vw pour les petits écrans */
        border-top-right-radius: 2vw; /* Ajuster le rayon du bord pour les petits écrans */
        border-bottom-right-radius: 2vw; /* Ajuster le rayon du bord pour les petits écrans */
    }
    footer #app-button {
        width: 12vw; /* Ajuster la largeur en utilisant vw pour les petits écrans */
        margin-left: 3vw; /* Ajuster la marge en utilisant vw pour les petits écrans */
    }
}
