html {
    background-image: url('img/Wallpaper.jpg'); 
    background-repeat: no-repeat; 
    background-size: contain;
    background-position: center;
}
#mydiv {
    position: absolute;
    z-index: 9;
  }
  
  #mydivheader {
    cursor: move;
    z-index: 10;
  }
.main-folder {
    display: grid;
    grid-template-rows: 20px 10px;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}
.folder1 {
    display: grid;
    grid-template-rows: 30px 40px 200px;
    background-color: #D1D0D1;
    width: 55%;
    height: auto;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 5px 5px;
    box-sizing: border-box;
}
.folder1-items1 {
    width: 100%;
    height: auto;
    background-color: #D1D0D1;
    border-radius: 30px 30px 0px 0px;
    display: grid;
    grid-template-columns: 5% 5% 5% 80%;
    grid-gap: 1.5%;
    padding-left: 20px;
    box-sizing: border-box;
}
.folder1-btns1 {
    width: 70%;
    height: 1rem;
    background-color: #FF5F58;
    border-radius: 50%;
    align-self: center;
    cursor: pointer;
}
.folder1-btns2 {
    width: 70%;
    height: 1rem;
    background-color: #FFBE2F;
    border-radius: 50%;
    align-self: center;
}
.folder1-btns3 {
    width: 70%;
    height: 1rem;
    background-color: #2AC940;
    border-radius: 50%;
    align-self: center;
}
.folder1-heading {
    width: 100%;
    height: auto;
    background-color: #D1D0D1;
    align-content: space-around;
    border-radius: 30px 30px 30px 30px;
}
.folder1-items2 {
    width: 100%;
    height: auto;
    background-color: #D1D0D1;
    /* border-radius: 0px 0px 30px 30px; */
    display: grid;
    grid-template-columns: 15% 15% 65%;
    grid-gap: 2%;
    padding-left: 50px;
    box-sizing: border-box;
    border-bottom: 1px solid black;
    border-radius: 30px 30px 0px 0px;
}
.folder1-nav-btns1 {
    width: 100%;
    height: auto;
    background-color: #DFDFDF;
    align-content: center;
    border-radius: 15px 15px 15px 15px;
    border: 1px solid black;
}
.folder1-nav-btns2 {
    width: 100%;
    height: auto;
    background-color: #DFDFDF;
    align-content: center;
    border-radius: 15px 15px 15px 15px;
    border: 1px solid black;
}
.folder1-nav-btns3 {
    width: 100%;
    height: auto;
    background-color: #D1D0D1;
}
.folder1-items3 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    border-radius: 0px 0px 30px 30px;
    display: grid;
    grid-template-columns: 40% 60%;
    height: 200px;
    box-sizing: border-box;
    padding-top: 5px;
}
.tab {
    width: 100%;
    height: 110px;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 90% 10%;
    grid-template-rows: 25px 25px 25px;
    /* border-right: 1px solid black; */
    grid-row-gap: 3px;
    border-radius: 0px 0px 30px 30px;
}
.tab button {
    width: 111%;
    height: auto;
    text-align: start;
    color: black;
}
.tabcontent {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-rows: 25px 25px 25px 25px;
    grid-row-gap: 5px;
    overflow: auto;
    overscroll-behavior-y: contain;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 0px 0px 30px 0px;
    border-left: 3px solid black;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.tabcontent a {
    text-decoration: none;
    color: black;
}
.tabcontent::-webkit-scrollbar {
    display: none;
}
.file-number {
    width: 95%;
    height: auto; 
    background-color: rgb(200, 200, 200);
    border-radius: 5px 5px 5px 5px;
    align-content: center;
    color: white;
    align-self: center;
}
.file-item1 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
    /* align-content: center; */
    
}
.file-item1 a {
    background-color: #ECECEC;
}
.file-item2 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item3 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item4 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item5 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item6 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item7 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
.file-item8 {
    width: 100%;
    height: auto;
    background-color: #ECECEC;
    display: grid;
    grid-template-columns: 20% 80%;
}
/* .file-location {
    width: 100%;
    height: 200px;
    background-color: aqua;
    display: grid;
    grid-template-columns: 90% 10%;
    grid-template-rows: 25px 25px 25px;
    border-right: 1px solid black;
    grid-row-gap: 3px;
}
.file-location button {
    width: 111%;
    height: 25px;
    text-align: start;
}
.file-number {
    width: 95%;
    height: 20px; 
    background-color: rgb(200, 200, 200);
    border-radius: 5px 5px 5px 5px;
    align-content: center;
    color: white;
    align-self: center;
}
.file-name {
    width: 100%;
    height: 200px;
    background-color: gold;
    display: grid;
    grid-template-rows: 25px 25px 25px 25px;
    grid-row-gap: 3px;
}
.file-item1 {
    width: 100%;
    height: 25px;
    background-color: red;
}
.file-item2 {
    width: 100%;
    height: 25px;
    background-color: blue;
}
.file-item3 {
    width: 100%;
    height: 25px;
    background-color: green;
} */

.footer {
    display: grid;
    grid-template-columns: 6% 6% 6% 6% 6% 20% 6% 15% 5%;
    background-color: #D9D9D9;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3.5rem;
    padding-left: 10%;
    grid-column-gap: 1%;
    align-items: center;

}
.footer a {
    text-decoration: none;
    color: black;
}
.footer-item1 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
.footer-item2 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
.footer-item3 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
.footer-item4 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
.footer-item5 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
/* css for kaddymail */
#mail {
    width: 400px;
    height: 400px;
    text-align: center;
    background-color: #D9D9D9;
    margin-top: -400px;
    border-radius: 15px 15px 15px 15px;
    box-sizing: border-box;
    display: none;
    z-index: 10;
    padding: 10px;
  }
  .text1 input{
      width:90%;
      height: 50px;
      border-radius: 15px 15px 15px 15px;
      box-sizing: border-box;
  }
  .text2 input{
      width:90%;
      height: 50px;
      border-radius: 15px 15px 15px 15px;
      box-sizing: border-box;
  }
  .text3 textarea{
      width:90%;
      height: 100px;
      border-radius: 15px 15px 15px 15px;
      padding: 10px;
      box-sizing: border-box;
  }
  .send button {
      width:90%;
      height: 30px;
      border-radius: 15px 15px 15px 15px;
  }
.footer-space {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
}
.footer-item6 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}
/* css for yaya details */
#yaya {
    width: 200px;
    height: 400px;
    text-align: center;
    background-color: #D9D9D9;
    margin-top: -400px;
    border-radius: 15px 15px 15px 15px;
    box-sizing: border-box;
    display: none;
    z-index: 10;
    padding: 10px;
  }


.footer-item7 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
}
.time {
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto;
  }
  .display-date {
    font-size: 1rem;
    font-weight: bold;
    text-align: end;
  }
  
  .display-time {
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #D9D9D9;
    text-align: end;
  }
  
.footer-item8 {
    width: 100%;
    height: auto;
    background-color: #D9D9D9;
    align-content: space-around;
}

/* new css for img overlay */
/* Add styling for images */
.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
  }
  
  .myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    object-fit: contain;
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    object-fit: contain;
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

  .tabcontent img {
    width: 35px;
    height: 35px;
    object-fit: contain;
  }

  .tabcontent h4 {
    /* background-color: red; */
    margin-top: 0;
    padding: 9px;
  }

  /* responsive css  */
  @media only screen and (max-width: 1000px) {
    .footer {
        display: grid;
        grid-template-columns: 6% 6% 6% 6% 6% 15% 6% 20% 5%;
        background-color: #D9D9D9;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3.5rem;
        grid-column-gap: 1%;
        align-items: center;
    
    }
    .folder1 {
        display: grid;
        grid-template-rows: 30px 40px 200px;
        background-color: #D1D0D1;
        width: 60%;
        height: auto;
        border-radius: 30px 30px 30px 30px;
        box-shadow: 5px 5px;
        box-sizing: border-box;
    }
  }

  @media only screen and (max-width: 600px) {
    .footer {
        display: grid;
        grid-template-columns: 6% 6% 6% 6% 6% 15% 6% 20% 5%;
        background-color: #D9D9D9;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 3.5rem;
        grid-column-gap: 1%;
        align-items: center;
    
    }
    .folder1 {
        display: grid;
        grid-template-rows: 30px 40px 200px;
        background-color: #D1D0D1;
        width: 60%;
        height: auto;
        border-radius: 30px 30px 30px 30px;
        box-shadow: 5px 5px;
        box-sizing: border-box;
    }
  }

  @media only screen and (max-width: 600px) {
    /* Adjust folder width for smaller screens */
    .folder1 {
        width: 90%;
    }

    /* Adjust tab button width */
    .tab button {
        width: 100%;
    }

    /* Adjust footer grid columns for smaller screens */
    .footer {
        grid-template-columns: 10% 10% 10% 10% 10% 0% 10% 20% 5%;
        padding-left: 0px;
    }
    .folder1-items2 {
        width: 100%;
        height: auto;
        background-color: #D1D0D1;
        /* border-radius: 0px 0px 30px 30px; */
        display: grid;
        grid-template-columns: 20% 20% 55%;
        grid-gap: 2%;
        padding-left: 30px;
        box-sizing: border-box;
        border-bottom: 1px solid black;
        border-radius: 30px 30px 0px 0px;
    }
    .folder1-items3 {
        width: 100%;
        height: auto;
        background-color: #ECECEC;
        border-radius: 0px 0px 30px 30px;
        display: grid;
        grid-template-columns: 40% 60%;
        height: 200px;
        box-sizing: border-box;
        padding-top: 5px;
    }
    .tab {
        width: 100%;
        height: 110px;
        background-color: #ECECEC;
        display: grid;
        grid-template-columns: 90% 10%;
        grid-template-rows: 35px 35px 35px;
        /* border-right: 1px solid black; */
        grid-row-gap: 3px;
        border-radius: 0px 0px 30px 30px;
        
    }
    .tab button {
        width: 100%;
        height: auto;
        text-align: start;
        color: black;
    }
    .tabcontent {
        width: 100%;
        height: auto;
        background-color: #ECECEC;
        display: grid;
        grid-template-rows: 35px 35px 35px 35px;
        grid-row-gap: 5px;
        overflow: auto;
        overscroll-behavior-y: contain;
        /* padding: 5px; */
        box-sizing: border-box;
        border-radius: 0px 0px 30px 0px;
        border-left: 3px solid black;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        font-size: smaller;
    }
    .file-number {
        width: 100%;
        height: auto; 
        background-color: rgb(200, 200, 200);
        border-radius: 5px 5px 5px 5px;
        align-content: center;
        color: white;
        align-self: center;
    }
    /* css for kaddymail */
#mail {
    width: 300px;
    height: 400px;
    text-align: center;
    background-color: #D9D9D9;
    margin-top: -400px;
    border-radius: 15px 15px 15px 15px;
    box-sizing: border-box;
    display: none;
    z-index: 10;
    padding: 10px;
    margin-left: -165px;
  }
      /* css for yaya details */
  #yaya {
    width: 200px;
    height: 400px;
    text-align: center;
    background-color: #D9D9D9;
    margin-top: -400px;
    border-radius: 15px 15px 15px 15px;
    box-sizing: border-box;
    display: none;
    z-index: 10;
    padding: 10px;
    margin-left: -40px;
  }

}

@media only screen and (max-width: 800px) {
    /* Adjust folder width for smaller screens */
    .folder1 {
        width: 90%;
    }

    /* Adjust tab button width */
    .tab button {
        width: 100%;
    }

    /* Adjust footer grid columns for smaller screens */
    .footer {
        grid-template-columns: 10% 10% 10% 10% 10% 0% 10% 20% 5%;
        padding-left: 0px;
    }
    .display-date {
        font-size: 0.8rem;
        font-weight: bold;
        text-align: end;
      }
      
      .display-time {
        font-size: 0.8rem;
        font-weight: bold;
        background-color: #D9D9D9;
        text-align: end;
      }
}

