/*** Background image ***/ 

html {
    display: inline-flex;
    height: 100%;
    background-image: url("imgs/battleSabaody.png");
    background-repeat: no-repeat;
    background-position: 47% 13%; /* centrano immagine in orizzontale e in verticale*/
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width:100%; /*fondamentale per scalare l'immagine indipendentemente dalla grandezza della pagina*/
    z-index:0 !important;
}

body{
    background-color: transparent;
    width: 100%;
}

.navbar{
border-bottom: 1px solid #ccc;
  background-color: black;
  border-color: gold;

}

.navbar .navbar-brand{
    border: 1px solid gold;
    border-radius: 3px;
    padding-right: 3px;
    padding-left: 3px;
}

.navbar .navbar-brand:hover{
    background-color: black;
    transform: rotate(10deg);
}

.nav-link{
    color:white;
}

.nav-link:hover{
    color: gold;
    font-weight: bold;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover{
    color: white;
    background-color: gray;
    opacity: 0.5;
}

.btn.btn-outline-success{
    color: white;
    border-color: gold;
}

.btn.btn-outline-success:hover{
    color:black;
    background-color: gold;
    border-color: transparent;
}

.navbar .navbar-toggler{

}

.custom-toggler.navbar-toggler {
    border-color: rgb(255,102,203);
}
.custom-toggler .navbar-toggler-icon{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,102,203, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/*** Leaderboard ***/

.table {
    position: absolute;
}

/*** End Background image ***/ 

/*** Canvas element for particles ***/ 
.background {
    position: absolute;
    display: block;
    top: 0;
    left:0;
    z-index:1 !important;
}

/* Z-Index for particles */
.flex-child4, body, .navbar, .table {
    z-index: 2 !important;
}

@media only screen and (min-width: 760px) and (max-width: 1500px) {

    #username,
    #password {
      width: 35%;
    }
  }

  @media only screen and (max-width: 760px) {
    #username,
    #password {
      width: 100%;
    }

    #ul-log {
      width: 100%;
    }

    .btn-outline-success {
      width: 100%;
    }

    .navbar-brand>img {
      width: 100%;
    }
  }
