 html {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
}

html body {
  margin: 0;
  background: #2980b9;
  /*background: linear-gradient(to right, #2980b9, #2c3e50);*/
  font-family: 'Montserrat', sans-serif;
}

.heading {
  color: #fff;
  text-align: center;
}

.heading h1 {
  margin-bottom: 35px;
  font-weight: 300;
  position: relative;
}

.heading h1:after {
  content: '';
  height: 2px;
  width: 2rem;
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%);
  background-color: #fff;
}

#folder-navbar{
  color: white;
}

.container {
  background-color: #fff;
  padding: 15px;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.1);
}

.container .nav {
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% + 42px);
  background-color: rgb(230, 230, 230);
	padding: 10px;
  box-sizing: border-box;
  margin: 5px -25px 10px -31px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.container .nav:before,
.container .nav:after {
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  top: 0;
  border: 0.75rem solid transparent;
  border-bottom: 0.75rem solid rgb(230, 230, 230);
  transform-origin: center;
  z-index: -1;
}

.container .nav:before {
  left: 0;
  transform: translateY(-0.45rem) rotate(135deg) translateX(-0.4rem);
}

.container .nav:after {
  right: 0;
  transform: translateY(-0.45rem) rotate(-135deg) translateX(0.4rem);
}

.container .nav a {
  display: inline-block;
  margin: 0 3rem;
  font-size: 2rem;
  color: #2980b9;
  opacity: 0.7;
  transition: 0.25s;
}

.container .nav a:hover {
  opacity: 1;
}

.container .nav img{
  width: 32px;
  height: 32px;
}
 
.search-field{  
  width: 300px;
  height: 35px;
  padding-left: 15px;
  box-sizing: border-box;
  margin-right: 15px;
}
 

.container .list{
	width: 93vw; 
}

.container .list .num {
	max-width: 100%;
	height: 50px;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: 0.25s;
	font-size: 11pt;
	border-bottom: 1px solid #e5e5e5;
  color: black;
  text-decoration: none;
}


.container .list .num:hover {
  background-color: #fafafa;
  cursor: pointer;
	padding-left: 15px;
}


.container .list .num:nth-last-child(1){
  border: none;
}


/* Eğer boş bir klasöre girildi ise boş mesajı */
.container .list .empty{
  justify-content: center;
  font-size: 13pt;
  height: 70px;
}

.container .list .num .type-icon{
  width: 38px;
  height: 100%;
  margin-right: 15px;
}

.container .folder .type-icon{
  background: url(../icons/folder.png) center / contain no-repeat;
}

.container .file .type-icon{
  background: url(../icons/file.png) center / contain no-repeat;
}


.container .upper-folder{
  font-size: 15pt !important;
}

.container .upper-folder .type-icon{
  background: url(../icons/up-folder.png) center / contain no-repeat;
  margin-right: 10px !important;
}



.name-field{
  display: inline-block;
  color: white;
  font-size: 14pt;
  text-decoration: none;
  margin-top: 15px;
}



.loading-panel{
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100vh;
  padding-top: 30vh;
  box-sizing: border-box;
  background-color: rgb(230, 230, 230, 0.6);
}



 @media only screen and (max-width: 600px) {
   h1{
     font-size: 18pt;
   }

   #folder-navbar, .name-field{
     font-size: 11pt;
   }
   .container{
     padding: 0;
     border-radius: 5px;
   }

  .container .nav{
    width: 100%;
    margin: 0;
  }

   .container .nav:before, .container .nav:after{
      display: none;
   }

   .container .nav a{
     margin: 0;
   }

   .container .nav img{
     width: 25px;
     height: 25px;
   }

   .search-field{
     margin-right: 0;
   }

   .container .list .num .type-icon{
     width: 30px;
     margin-right: 10px;
   }

   .container .list .num{
     font-size: 9pt;
   }

   .lds-roller{
     transform: scale(0.6);
   }
 }



.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: black;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
