body {
/* font-family: "Open Sans", sans-serif; */
font-family: monospace;
color: #454545;
/* font-weight: 600; */
/* font-size: 24px; */
/* margin: 2em auto; */
/* max-width: 800px; */
/* padding: 1em; */
/* line-height: 1.4; */
text-align: justify;
background-color: #f8f8f8;

}

a { color: #07a; }
a:visited { color: #D36A23; }


.header{
    text-align: start;
    align-items: start;
    justify-content: start;
    font-family: monospace;
}

.grid-container{
    display: grid;
    width: 100px;
    max-height: 80vh;
    height: 80vh;
    overflow-y: scroll;
    justify-self:start;
    justify-items: start;
    justify-content: start;
    grid-template-columns: 50px;
    grid-template-rows: repeat(10,35px);
    padding: 10px;
    gap: 10px;
    background-color: orange;
    overflow: hidden;

}

.main-layout {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    padding: 0px;
}

.content-display {
    flex: 1; 
    padding: 13px;
    background: #fefefe;
    border: 1px solid #555;
    border-radius: 5px;
    min-height: 400px;
    height: 80vh;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.file-container {
    height: 80vh;
    width: 210px;
    background-color:  #fefefe;
    align-self: flex-start;
    justify-self: start;
    padding: 13px;
    border-radius: 5px;
    border: 1px solid #555;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.no-scrollbar {

  scrollbar-width: none;
  
 
  -ms-overflow-style: none;
}


.no-scrollbar::-webkit-scrollbar {
  display: none;
}


.mock-file-explorer {
  font-family: monospace;
  flex: 0 0 300px; 
}

.tree, .tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 120px;
}


.tree ul {
  margin-left: 28px; 
  position: relative;
  padding: 5px;
}

.tree ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  border-left: 1px solid #585858;
  height: 100%;
  
}
/*list items style*/
.tree li {
  position: relative;
  margin-bottom: 10px;
  /* padding: 5px 0 5px 15px; */
  line-height: 20px;
  /* border-top: solid 4px #454545; */
  /* border-left: solid 4px #454545; */
  border-radius: 5px;
  width: 100px;
  
}

.tree li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -15px;
  border-top: 1px solid #585858;
  width: 15px;
}

/* .tree li:last-child::before {
  background: #d4dbcd; 
  height: auto;
  top: 15px;
  bottom: 0;
} */


summary {
  cursor: pointer;
  font-weight: bold;
  outline: none;
  background-color: #fee3c3;
  padding: 5px 0 5px 15px;
  border-radius: 5px;
  width: 100px;
  list-style-type: '▶ '; 
}

details[open] > summary {
  list-style-type: '▼ ';
}

/* Style the "Files" */
.file {
  color: #555;
  background-color: #fee3c3;
  padding: 5px 0 5px 15px;
  text-align: start;
  /* overflow: hidden; */
  /* overflow-x: auto; */
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid #555;
  border-left: 1px solid #555;
}




.grid-item{
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 20px;
    width: 80px;
    aspect-ratio: 1;
    padding: 5px;
    padding-top: 9px ;
    padding-left: 9px;
    background-color: #fefefe;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900px;
    border-top: solid 4px #585858;
    border-left: solid 4px #585858;
    justify-content: start;
    align-content:flex-start;
    justify-items: end;
    align-items: center;
}

.dropdown {
  position: relative;
}

.dropdown-content a{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.file-btn {
    cursor: pointer;
    /* padding: 2px 5px; */
    transition: background 0.2s;
    list-style: none;
}

.file-btn:hover {
    opacity: 75%;
}
.tree li.file-link {
    padding: 0; 
}

.tree li.file-link a {
    display: block; 
    padding: 5px 15px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column; 
    }

    .mock-file-explorer {
        flex: none;
        width: 100%;       
        max-height: 300px; 
        border-right: none;
        border-bottom: 1px solid #ddd;
        overflow-y: auto;
    }
    .file-container {
        max-height: 300px; 
    }

    .content-display {
        width: 100%;
        height: 60vh;      
    }
}

h1 {
    font-size: 50px;
}