.sk-folding-cube {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.sk-folding-cube .sk-cube:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e00f0f;
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
  animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.sk-folding-cube .sk-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
  transform: scale(1.1) rotateZ(90deg);
}

.sk-folding-cube .sk-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
  transform: scale(1.1) rotateZ(180deg);
}

.sk-folding-cube .sk-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
  transform: scale(1.1) rotateZ(270deg);
}

.sk-folding-cube .sk-cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.sk-folding-cube .sk-cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.sk-folding-cube .sk-cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

@-webkit-keyframes sk-foldCubeAngle {

  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }

  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }

  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sk-foldCubeAngle {

  0%,
  10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }

  25%,
  75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }

  90%,
  100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

.password-wrapper {
  display: flex;
  align-items: center;
}

.password {
  margin: 0 auto;
  padding-top: 5em;
  display: none;
}

.password input {
  height: 3em;
  outline: none;
  border-radius: 10px;
  text-align: center;
}

.password button {
  height: 3em;
  width: 5em;
  border-radius: 10px;
  background: white;
  outline: none;
}

.password button:hover {
  color: #f2f2f2;
  background: #2f2f2f;
}

.preview {
  color: #f2f2f2;
  display: none;
  font-size: 0.8em;
}

.content {
  clear: both;
  padding: 0 1em;
  margin: 0 auto;
}
.file-name {
  line-height: 1em;
  padding: 1em 1em 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.btn {
  float: right;
  text-align: center;
  border: solid #f2f2f2 1px;
  border-radius: 1em;
  margin: 1em 0.2em;
  width: 4em;
  height: 2em;
  line-height: 2em;
  user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.btn:hover {
  color: #000;
  font-weight: bold;
  background: #f2f2f2;
}

.btn.download {
  margin-right: 1em;
}

#arrow-back,
#arrow-forward {
  color: rgb(218, 215, 215);
}

.loading-wrapper {
  display: none;
  position: fixed;
  height: 2em;
  line-height: 2em;
  margin-top: 0.5em;
  width: 100%;
  z-index: 1;
}

.loading {
  color: white;
  background: #000;
  height: 100%;
  width: 8em;
  margin: 0 auto;
  text-align: center;
  border-radius: 1em;
}

ion-icon {
  font-size: 1.5em;
  color: #f2f2f2;
}

* {
  box-sizing: border-box;
}

.markdown-body {
  min-width: 200px;
  margin: 0 auto;
  padding: 0.7em 1em;
  font-size: 0.8em;
}

.markdown-body h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

.markdown-body img {
  max-width: 90%;
  max-height: 800px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

body {
  background-color: #415758;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.header-wrapper {
  position: fixed;
  height: 3em;
  width: 100%;
  -moz-user-select: none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.header {
  padding: 0 1.8em 0 1em;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: solid #f2f2f2 1px;
}

.logo {
  margin-right: 0.3em;
}

.site {
  white-space: nowrap;
}

.nav {
  color: #f2f2f2;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-path,
.nav-arr {
  font-size: 1em;
  height: 1.5em;
  margin-right: 0.3em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

#main-page:hover,
.nav-path:hover,
.tree-node:hover,
.row.file-wrapper:hover {
  color: coral;
  cursor: pointer;
}

.container {
  position: fixed;
  width: 100%;
  height: calc(100% - 3em);
  margin-top: 3em;
}

.main {
  position: relative;
  height: 100%;
  width: 100%;
}
*{
  user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

.left {
  background-color: #212728;
  border-radius: 25px;
  position: absolute;
  margin-left: 0.5%;
  margin-top: 1%;
  width: 19%;
  height: 98%;
  font-size: 0.8em;
  overflow: auto;
}

.tree-node-wrapper {
  font-size: 1.1em;
  color: #f2f2f2;
  display: table;
  margin: 1em 2em 0em 0.5em;
}

.tree-node {
  display: flex;
  align-items: center;
}

.tree-node-name {
  margin-left: 0.3em;
  white-space: nowrap;
}

.right {
  background-color: #212728;
  border-radius: 25px;
  position: absolute;
  width: 79%;
  height: 98%;
  margin-left: 20.5%;
  margin-right: 0.5%;
  margin-top: 1%;
  padding: 1%;
  overflow: auto;
}

.row {
  height: 2.5em;
  padding: 0 0.8em 0 1em;
  display: flex;
  align-items: center;
  border-bottom: solid #f2f2f2 0.1px;
}

.row.file-wrapper {
  font-size: 0.8em;
  padding: 2em 1em;
  height: 2em;
}

.file {
  width: 100%;
  display: flex;
  align-items: center;
}

.name {
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 60%;
  padding-left: 0.3em;
}
.file-wrapper .file .name:hover{
  color: coral;
}

.list-header .name {
  width: calc(50% + 1.1em);
  padding-left: 0;
}

.time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  width: 133px;
}

.size {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: auto;
}

@media screen and (max-width: 1000px) {
  .left {
    display: none;
  }

  .right {
    width: 98%;
    margin-left: 1%;
  }
}

@media screen and (max-width: 800px) {
  .name {
    width: 60%;
  }

  .list-header .name {
    width: calc(60% + 1.1em);
  }

  .file-name {
    overflow-x: scroll;
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  .name {
    width: 70%;
  }

  .time {
    display: none;
  }

  .header {
    padding: 0 0.3em;
  }

  .row {
    padding: 0 0.3em;
  }

  .row.file-wrapper {
    padding: 0 0.3em;
    height: 3em;
  }

  .markdown-body {
    padding: 0.6em 0.3em;
  }

  .file-name {
    padding: 1em 0.3em 0;
  }

  .content {
    padding: 0 0.3em;
  }

  .btn.download {
    margin-right: 0.3em;
  }

  .logo {
    width: 2em;
    height: 2em;
  }
}

.name,
.time,
.size {
  color: #f2f2f2;
  font-size: large;
  font-weight: bolder;
}

.site a {
  color: white;
  font-weight: bold;
  font-size: larger;
  text-decoration: none;
}