html, body {
    background-color: #120D12;
    color: aliceblue;
}

.navbar {
    margin: 1em 0;
}
.navbar-brand {
    margin-left: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile : Le logo est à gauche, à côté du burger */
.navbar-toggler {
    margin-right: auto;
}

/* Ajustement général du logo */
.navbar-brand img {
    width: 100px; /* Taille par défaut */
    height: auto;
}

.navbar a.nav-link {
    font-size: larger;
    font-weight: bolder;
    color: aliceblue;
}

/* Login */
.sign-in {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* fleche vers le haut */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #89B0F5; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 2em; /* Increase font size */
  }
  
  #myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
  }

/* Centrer les éléments de la navbar sur bureau */

header {
    background-image: url("../img/banniere_casquette.png"), url("../img/colorful-paint-splash-background.jpg");
    background-position: center top 4em, center top 2em;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
}
@media (min-width: 992px) {
    header {
        height: 36em;
    }
    .navbar-brand img {
        width: 200px; /* Taille du logo en desktop */
        height: auto;
    }
    .navbar {
        margin: 3em 0 4em 0;
    }
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-collapse {
        flex: 1;
        display: flex;
        justify-content: space-between;
    }

    /* Menu gauche (Home, About) */
    .navbar-nav.mr-auto {
        display: flex;
        justify-content: space-evenly;
        margin-right: auto;
    }

    /* Menu droit (Shop, Contact) */
    .navbar-nav.ml-auto {
        display: flex;
        justify-content: space-evenly;
        margin-left: auto;
    }

    /* Empêche le chevauchement sous le logo */
    .navbar-nav {
        flex: 1;
    }
}
