.container{
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 100px;
}

.commandsTitle{
  font-size: 2.5em;
  color: white;
  font-weight: 600;
  text-align: center;
}

.searchBarDesign{
  background-color: #3d4044;
  color: white;
  padding: 8px 0 8px 5px;
  margin-top: 12px;
  width: 96.3%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  border-radius: 6px 6px 6px 6px;
  margin-bottom: 8px;
  border: 1.5px solid #2c3034;
}

.searchBarDesign:hover{
  border: 1.5px solid #ea8465;
}

.searchBarDesign:focus{
  border: 1.5px solid #ea8465;
}

.category{
  width: auto;
  height: auto;
  color: white;
  font-weight: 700;
  background-color: none;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 10px 18px 10px 0px;
  transition-duration: 0.4s;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #ea8465;
  border-radius: 5px;
}

.category:hover{
  background-color: #f67852;
}




/* Code for the mobile menu (a bit different from the pc one) */
div.mobileCategory {
  display: none;
}


.commands {
  float: left;
  color: black;
  width: 100%;
  height: 82vh;
  overflow-x: hidden;
}

.commandInfo {
  background-color: #2c3034;
  color: white;
  cursor: pointer;
  padding: 12px;
  width: 95%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 17px;
  border-radius: 3px 3px 3px 3px;
  margin-top: 8px;
}

code{
  color: #ea8465;
}
.commandUsage{
  width: auto;
  background-color: #2f3136;
  padding: 5px 10px 5px 10px;
  border-radius: 7px;
}
.commandName{
  color: #ea8465;
}

.commandName:hover{
  background-color: #2a2d30;
}

.active{
  background-color: #212529;
  border-radius: 6px 6px 0 0;
  -webkit-filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
}

.commandInfo:hover{
  background-color: #212529;
}

.commandContent {
  background-color: #212529;
  padding: 0 12px;
  width: 95%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-radius: 0 0 6px 6px;
  color: white;
}

.donationBox{
  float: left;
  width: 15%;
  background-color: #999;
  border-radius: 6px 6px 6px 6px;
  height: auto;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}


.permissionBlock{
  background-color: #e67e22;
  padding: 2.5px 8px;
  float: right;
  border-radius: 5px;
  color:white;
  font-weight: 700;
}


@media screen and (max-width: 1500px) {
  .container{
    margin-left: 10%;
    margin-right: 10%;
  }

}

@media screen and (max-width: 1200px) {
  .container{
    margin-left: 5%;
    margin-right: 5%;
  }

}

@media screen and (max-width: 1050px) {
  .container{
    margin-left: 2%;
    margin-right: 2%;
  }

}


@media screen and (max-width: 768px) {
  .command {
    width: 100%;
  }

  .categories {
    width: 0;
    height: 0;
    display: none;
  }

  .donationBox {
    width: 100%;
  }



  div.mobileCategory {
    background-color: #292b2f;
    overflow: auto;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
  }

  div.mobileCategory button {
    display: inline-block;
    background-color: #292b2f;
    color: white;
    text-align: center;
    padding: 14px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    transition-duration: 0.4s;
    border: none;
    border-radius: 5px;

  }

  div.mobileCategory button:hover {
    background-color: #6970e7;
  }




}
