* {
  color: white;
}

input[type=button] {
  cursor: pointer;
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2f2f2f, #464646);
  top: 0;
  left: 0;
}

#center_panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#main {
  position: relative;
  width: calc(100% - 10px);
  height: calc(100% - 72px);
  margin: 10px;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  scrollbar-width: none; /* for Firefox */
  background-size: cover;
  background-repeat: no-repeat;
}

#main::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

#bottom_sep {
  position: relative;
  width: calc(100% - 10px);
  height: 1px;
  background-color: #bd783b;
  margin: 0px 10px 0px 10px;
}

#bottom_panel {
  display: flex;
  align-items: center;
  position: relative;
  width: calc(100% - 10px);
  height: 39px;
  margin: 10px 0px 0px 10px;
}

.movie {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#top_panel {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  width: calc(100% - 20px);
  height: 45px;
  margin-top: 10px;
  background-color: #171717;
  border-radius: 7px;
}

#main_panel {
  display: flex;
  flex-direction: row;
  width: calc(100% - 20px);
  height: calc(100% - 75px);
  margin-top: 10px;
}

#left_panel {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 200px;
  background-color: #262626;
}

#add_btn {
  width: 100px;
  margin-right: 10px;
  margin-left: 10px;
  height: 25px;
  border: 1px solid #b97e00;
  border-radius: 2px;
  background-color: #e5a00d47;
}

#add_btn:hover {
  background-color: #ffc205a3;
}

#blur {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: black;
  opacity: 70%;
  z-index: 3;
}

#popup {
  z-index: 2;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#popup div {
  border-radius: 5px;
  background-color: #171717;
  padding: 20px;
  display: none;
  flex-direction: column;
  z-index: 4;
  box-shadow: 10px 10px 50px black;
}

#popup span {
  display: flex;
  flex-direction: row;
  float: right;
  justify-content: flex-end;
}

#popup input[type=text], #popup input[type=password] {
  height: 25px;
  width: 250px;
  margin-bottom: 15px;
  background-color: #2b2b2b;
  border: 1px solid #b97e00;
  padding: 5px 10px 5px 10px;
}

.submit, #scan_btn {
  height: 25px;
  width: 100px;
  margin-left: 15px;
  border: 1px solid #b97e00;
  border-radius: 2px;
  background-color: #e5a00d47;
}

.submit:hover {
  background-color: #ffc205a3;
}

#scan_btn {
  width: 120px;
  background-color: #513e14;
}

#scan_btn:hover {
  background-color: #a87400;
}

.cancel, #del_btn {
  height: 25px;
  width: 100px;
  margin-left: 15px;
  border: 1px solid #757575;
  border-radius: 2px;
  background-color: #a8a8a847;
}

.cancel:hover, #del_btn:hover {
  background-color: #ffffff47;
}

.lib_select {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #3e3e3e;
  margin: 10px 10px 0px 10px;
  border: 1px solid #6c6c6c;
  border-radius: 3px;
  height: 45px;
  cursor: pointer;
  user-select: none;
}

.lib_select:hover {
  background-color: #313131;
}

.lib_type {
  color: #f09b40;
}

.file {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Arial';
  margin: 10px;
  cursor: pointer;
}

.thumb {
  width: 170px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.thumb_film {
  width: 200px;
  margin-right: 20px;
  object-fit: contain;
}

.title {
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: "...";
  width: 170px;
  text-align: center;
}

.release {
  color: grey;
}

#path {
  color: #9b9b9b;
  font-family: 'Arial';
  font-size: 12px;
}

.film {
  position: relative;
  display: flex;
  max-width: 950px;
  margin: 20px;
  padding: 20px;
  background-color: #000000cf;
}

#serie, .episode {
  display: flex;
  flex-direction: row;
}

.episode {
  margin-top: 15px;
}

.details {
  display: flex;
  flex-direction: column;
}

.overview {
  font-family: 'Candara';
}

.release_film {
  font-family: 'Arial';
  color: #aeaeae;
  margin-bottom: 10px;
}

.title_film {
  color: #ffa700;
  font-size: 24px;
  margin-bottom: 10px;
}

.play {
  height: 25px;
  min-width: 100px;
  margin-top: 15px;
  border: 1px solid #b97e00;
  border-radius: 2px;
  background-color: #e5a00d47;
}

.play:hover {
  background-color: #d98e00;
}

.season {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 0px 10px 0px;
}

.season_number {
  font-family: 'Arial';
  font-size: 30px;
  color: #ffa700;
}

.season_release {
  font-size: 15px;
  color: #9d9c9b;
}

.season_overview {
  font-family: 'Candara';
}

#main_flex {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
}

#selector {
  display: none;
  height: 25px;
  width: 100px;
  margin-left: 10px;
  border: 1px solid #757575;
  border-radius: 2px;
  background-color: #a8a8a847;
}

#del_btn {
  width: 130px;
  margin-left: auto;
}

#indicator {
  margin-left: 10px;
  font-family: 'Arial';
}

#search {
  background-color: #353535;
  border: 1px solid gray;
  padding: 4px 10px 4px 10px;
  margin-left: 10px;
}

@media screen and (max-width: 600px) {
  #main {
    width: 100%;
    margin: 10px 0px;
  }
  .file {
    margin: 8px;
    width: calc(100% / 2 - 16px);
  }
  .thumb {
    position: relative;
    width: 100%;
  }
  .title {
    width: 100%;
  }
  #left_panel {
    display: none;
  }
  #top_panel {
    justify-content: space-between;
  }
  #selector {
    display: block;
  }
  .film {
    flex-wrap: wrap;
  }
  #serie, .episode {
    flex-direction: column;
  }
  .title_film {
    margin-top: 10px;
  }
  .episode .thumb_film {
    margin-top: 10px;
  }
  #path {
    display: none;
  }
  #del_btn {
    margin-right: 20px;
  }
  #search {
    width: inherit;
  }
}
