* {
  font-family: sans-serif;
  border: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 12px;

  font-size: 1rem;
  outline: none;
}

html {
  background-color: #000;
  background: linear-gradient(to right bottom, #00264d, #02386e);
}

body {
  min-height: 99.5vh;
  max-width: 100vw;
  min-width: 100vw;
  background: linear-gradient(to right bottom, #00264d, #02386e);
}

body.darkmode {
  background-color: #111;
}

body.darkmode * {
  color: whitesmoke;
}

.btxt {
  color: #111;
}

main {
  padding: 10px 5px;
  margin: 0 5px;
  margin-top: 10px;
}

.main {
  background-image: linear-gradient(
    to right bottom,
    rgba(30, 30, 30, 0.3),
    rgba(30, 30, 30, 0.2)
  );
}

/* buttons start */
.button,
.link,
.info {
  padding: 4px 8px;
  margin: 10px 5px;
  background-color: transparent;
  border: solid thin;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

input[type="text"],
input[type="password"] {
  padding: 4px 8px;
}

.link {
  line-height: 3;
}

.info {
  cursor: default;
  pointer-events: none;
}

.button.green,
.link.green,
.info.green {
  border-color: seagreen;
  color: seagreen;
}

.button.red,
.link.red,
.info.red {
  border-color: tomato;
  color: tomato;
}

.button.blue,
.link.blue,
.info.blue {
  border-color: royalblue;
  color: royalblue;
}

.button.white,
.link.white,
.info.white {
  border-color: whitesmoke;
  color: whitesmoke;
}
/* buttons end */

/* header start */
header {
  background-image: linear-gradient(
    to right bottom,
    rgba(30, 30, 30, 0.3),
    rgba(30, 30, 30, 0.2)
  );

  min-height: 50px;
  height: 10vh;
  width: calc(100vw - 10px);
  background-color: #171717;
  color: whitesmoke;
  margin: 4px auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 2rem;
  padding: 20px;
  border-radius: 1.5rem;
}

.bg_opac {
  background-color: #11111155;
}

.bg_opac_w {
  background-color: #ffffff5e;
}

.grad_green {
  background-image: linear-gradient(
    to left,
    rgba(46, 139, 86, 0.9),
    rgba(46, 139, 86, 0.75)
  );
}

.grad_red {
  background-image: linear-gradient(
    to left,
    rgba(255, 99, 71, 0.9),
    rgba(255, 99, 71, 0.75)
  );
}

.grad_blue {
  background-image: linear-gradient(
    to left,
    rgba(65, 105, 225, 0.9),
    rgba(65, 105, 225, 0.75)
  );
}

.grad_white {
  background-image: linear-gradient(
    to left,
    rgba(245, 245, 245, 0.9),
    rgba(245, 245, 245, 0.75)
  );
}

.bg_green {
  background-color: seagreen;
}

.bg_red {
  background-color: tomato;
}

.bg_blue {
  background-color: royalblue;
}

.bg_white {
  background-color: whitesmoke;
}
/* header end */

.title {
  flex: 1;
  font-size: 2rem;
}

.file {
  cursor: pointer;
  border-radius: 12px;
  background-color: white;
  margin: 2px auto;
}

body.darkmode .pb {
  border: 1px solid whitesmoke;
}

.pb {
  min-width: 45px;
  min-height: 45px;
  max-width: 45px;
  max-height: 45px;
  border-radius: 50%;
  border: 1px solid #222;
  color: #f5f5f5;

  background-color: teal;

  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;

  font-weight: bold;
  letter-spacing: 2px;
  font-size: 1rem;
  user-select: none; /* supported by Chrome and Opera */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

.pb img {
  width: 50px;
  height: 50px;
}

.pb:hover ~ .namehidden {
  display: flex;
  position: absolute;
  bottom: 9px;
  right: 50px;
  padding: 4px 8px;
  background-color: #444;
  color: whitesmoke;
}

.namehidden {
  display: none;
}

.pinfo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.name {
  padding: 10px;
}

.dropdown {
  transition: opacity 0.2s linear, transform 0.15s ease-in-out;
  transform: translateY(0);
  opacity: 1;
  z-index: 10;
  position: absolute;
  top: 55px;
  left: 3px;
  max-width: 200px;
  min-height: 50px;
  background-color: #333;
  color: whitesmoke;
  padding: 10px;
  border-radius: 10px 15px 15px 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.darkmode .dropdown {
  background-color: #222;
  color: whitesmoke;
}

.dropdown a {
  text-decoration: none;
  color: whitesmoke;
  font-size: 1rem;
  padding: 6px 10px;
}

.drophidden {
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
}

.blocker {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100vw;
  min-width: 100vw;
  min-height: 100vh;
  max-height: 100vh;
  border-radius: 0;

  z-index: 2;
  display: none;
  pointer-events: none;
}

.blockeractive {
  display: block;
  pointer-events: all;
}
