@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

* {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: "Roboto Mono", monospace;
  margin: 0px;
  background-image: url("../images/bg1.png");
  background-size: cover;
}

main {
  padding: 0px;
  margin: 60px 20px 0px 20px;
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(6, 1fr);
}

.shortcut-element {
  display: flex;
  top: 0px;
  left: 0px;
  flex-direction: column;
  width: fit-content;
  height: 100px;
  width: 90%;
  max-width: 90%;
  margin: 10px 5%;
  position: relative;
  user-select: none;
}

.shortcut-element img {
  position: relative;
  width: 60px;
  height: 60px;
  left: 50%;
  top: 10%;
  margin-left: -30px;
  margin-bottom: 10px;
}

.shortcut-element .file-img-shortcut {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.shortcut-element p {
  position: relative;
  text-align: center;
  color: #fff;
  margin: 0px;
  top: 5%;
}

.shortcut-element:hover {
  border: 2px solid #40a2d8;
  background-color: rgba(64, 162, 216, 0.5);
  margin: 8px calc(5% - 2px);
}

#barre {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  bottom: 0px;
  height: 80px;
  background-color: transparent;
  transition: height 0.3s;
}

.manager {
  display: none;
  justify-content: center;
  align-items: center;
  height: 60px;
  padding: 0px 20px 5px 20px;
}

#barre img {
  display: block;
  margin: 0px 10px;
  height: 40px;
  width: 40px;
  filter: brightness(50%);
  user-select: none;
}

#barre img:hover {
  position: relative;
  left: 5px;
  filter: brightness(100%);
}

.dock-element-on {
  display: none;
  position: absolute;
  width: 10px;
  bottom: -5px;
  margin: 0px 22px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
}

/*
* HEADER
*/
header {
  top: 0px;
  left: 0px;
  width: 100%;
  position: fixed;
  height: 50px;
  background-color: #1e2128;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 5;
  user-select: none;
  cursor: default;
}

header .left-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

header .right-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

header .middle-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

header .header-element {
  height: 30px;
  color: #bec1c9;
  margin: 10px 20px;
  display: flex;
  padding: 0px 10px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

header h2 {
  height: 30px;
  color: #bec1c9;
  margin: 10px 20px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#luminosity p,
#header-battery,
#sound p {
  width: 35px;
}

.left-container .header-element:not(:first-child) i {
  margin-right: 8px;
}

.middle-container .header-element:not(:last-of-type) i,
.right-container .header-element:not(:last-of-type) i {
  margin-right: 8px;
}

.header-element.important {
  background-color: #2f343f;
  border-radius: 10px;
}

.bx-window-alt,
#battery-icone {
  color: #e5c07a;
  font-size: 18px;
}

.bx-sun,
.bx-map-pin {
  color: #55b6c2;
  font-size: 18px;
}

.bx-power-off {
  color: #b3544f;
}

/* Luminosity container */

.luminosity-container {
  display: none;
  position: fixed;
  background-color: red;
  right: 200px;
  top: 50px;
  width: 80px;
  padding: 0px 20px;
  background-color: #1e2128;
}

.luminosity-container input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 25px;
  background: transparent;
  outline: none;
}

.luminosity-container input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: #2f343f;
  border-radius: 4px;
  cursor: pointer;
}

.luminosity-container input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #2f343f;
  border-radius: 4px;
  cursor: pointer;
}

.luminosity-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 25px;
  background: #54b2be;
  cursor: pointer;
  margin-top: -8.5px;
  border-radius: 0px;
  border: none;
}

.luminosity-container input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #54b2be;
  border-radius: 0px;
  border: none;
  cursor: pointer;
}
#luminosity-filter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  z-index: 1000;
}

/* Sound container */

.sound-container {
  display: none;
  position: fixed;
  background-color: red;
  right: 310px;
  top: 50px;
  width: 80px;
  padding: 0px 20px;
  background-color: #1e2128;
}

.sound-container input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 25px;
  background: transparent;
  outline: none;
}

.sound-container input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: #2f343f;
  border-radius: 4px;
  cursor: pointer;
}

.sound-container input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #2f343f;
  border-radius: 4px;
  cursor: pointer;
}

.sound-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 25px;
  background: #54b2be;
  cursor: pointer;
  margin-top: -8.5px;
  border-radius: 0px;
  border: none;
}

.sound-container input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #54b2be;
  border-radius: 0px;
  border: none;
  cursor: pointer;
}

/*
* Right click
*/

.context-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: #1e2128;
  color: #b1b8c5;
  border: none;
  border-radius: 5px;
  padding: 10px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.context-menu p {
  padding: 0px 3px;
  cursor: pointer;
}

.context-menu p:hover {
  background-color: #4f92d3;
  color: #fff;
}

.disable {
  color: #404552;
}

.context-menu .disable:hover {
  background-color: transparent;
  color: #404552;
}

.submenu div {
  background-color: #1e2128;
  position: absolute;
  left: 103px;
  top: 4px;
  border-radius: 0px 5px 5px 0px;
  padding: 10px 5px;
  border-left: 2px solid gray;
  display: none;
}

.input-folder {
  width: 80%;
}

#contextMenuDock-element div {
  display: flex;
  flex-direction: row;
}

#audioBtnPlay {
  color: #2b2d37;
  background-color: #93c279;
  border-radius: 50%;
  padding: 2px;
  font-size: 15px;
  margin: 0px 5px;
}

#audioBtnPrev,
#audioBtnNext {
  color: #62aeef;
  font-size: 15px;
}

#audioName {
  margin-left: -10px;
}

@media (max-width: 799px) {
  body {
    display: none;
  }
}
