*{
  margin: 0px;
  padding: 0px;
}
/* General Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: "Lato", serif;
  height: 100%;
  overflow: hidden;
}

#container {
  display: flex;
  height: 100vh;
}

/* Sidebar Design */
#sidebar {
  width: 550px;
  background: #f6f8fa;
  border-right: 1px solid #d0d7de;
  overflow-y: auto;
  padding: 10px;
  /* flex: 0 0 550px; */
}

#repo-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 0px;
  gap: 30px;
}

#repo-logo {
  width: 130px;
  height: 130px;
  margin-right: 10px;
  mix-blend-mode: multiply;
}
.repo-header-title {
  display: inline-block;
}
.repo-header-title h1 {
  font-size: 34px;
  font-weight: bold;
  margin: 0;
}

.public-status {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  padding: 2px 6px;
}

hr {
  border: none;
  border-top: 1px solid #d0d7de;
  margin: 10px 0;
}

/* File List Design */
#file-list {
  list-style-type: none;
  padding: 0;
  font-size: 14px;
}
.hidden {
  display: none;
}
#file-list li {
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #0366d6;
}

#file-list li:hover {
  background: #e1e4e8;
}

/* Divider */
#resizer {
  width: 10px;
  background: rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  position: relative;
  flex: 0 0 10px;
}
#resizer::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2px;
  height: 100%;
  display: inline-block;
  background-color: #fff;
  width: 6px;
  height: 50px;
  border-radius: 30px;

}

/* Content Area */
.content {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  overflow-y: auto;
}
.content h2.top-heading{
  background: antiquewhite;
  padding: 12px;
  position: sticky;
  top: 0px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
}
.content h2 span{
  font-weight: 500;
  text-transform: none;
}
#file-content {
  white-space: pre-wrap;
  word-wrap: break-word;
}

#file-image{
  max-width: 100%;
}



/* Git Header -- CSS */
.git-header-layout{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.git-header-left-content{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-grow: 1;
  align-items: center;
}
.git-c-layout{
  display: flex;
}
.git-c-label{
  font-size: 16px;
  line-height: 16px;
  padding-left: 5px;
  text-transform: capitalize;
}
.git-c-label span{
  font-weight: 700;
}



/*Link Button*/
.github-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F6F7FB;
  border: 1px solid #D2D7DB;
  border-radius: 6px;
  padding: 8px 8px;
  font-size: 15px;
  font-weight: bold;
  font-family: "Lato", serif;
  cursor: pointer;
  transition: all 0.3s ease;
}
.github-button img {
  width: 16px;
  height: 16px;
}
.hidden {
  display: none;
}
.copied-message {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  background: #F6F7FB;
  border: 1px solid #D2D7DB;
  color: #000;
  border-radius: 6px;
  text-align: center;
  text-transform: uppercase;
  font-family: "Lato", serif;
}


/*Body*/
.git-body-wrapper {
  background: white;
  border-radius: 8px;
  border: 1px solid #D2D7DB;
  margin-top: 20px;
}
.git-body-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: bold;
  padding: 15px;
  border-radius: 8px 8px 0px 0px;
  background:#F6F7FB ;
  border-bottom: 1px solid #D2D7DB;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.header-left img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.header-left span{
  font-size: 14px;
  font-weight: 600;
}
.header-left span.commit-message{
  font-size: 12px;
  font-weight: 600;
  color: #525C66;
  margin-left: 5px;
  text-transform: capitalize;
}
.header-right {
  display: flex;
/*  align-items: center;*/
  gap: 10px;
  font-size: 12px;
  color: #525C66;
}
.header-right label{
  font-size: 12px;
  font-weight: 600;
  color: #525C66;
}
.header-right span {
  display: inline-flex;
  align-items: center;
}
.header-right span img{
  width: 16px;
  margin-right: 5px;
}
.file-list {
  display: flex;
  flex-direction: column;
/*  gap: 10px;*/
}
.file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.file:hover {
  background-color: #F6F7FB;
}
.file:last-child:hover {
  background-color: #F6F7FB;
  border-radius: 0 0 8px 8px;
}
.file-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}
.file-left img {
  width: 18px;
  height: 18px;
}
.file-left span{
  font-weight: 500;
  font-family: "Lato", serif;
  font-size: 16px;
}
.timestamp {
  font-size: 12px;
  color: gray;
    flex: 0 0 80px;
    text-align: end;
}
span.fileCommitMsg {
  font-size: 12px;
  color: gray;
  flex: 0 0 160px;
  width: 160px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: bold;
  cursor: pointer;
  color: #525C66;
  padding: 12px 12px;
}
.file-container{
  max-height: 400px;
  overflow-y: auto;
}


/* width */
.file-container::-webkit-scrollbar {
  width: 10px;
  border-radius: 10px;
}

/* Track */
.file-container::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px;
}
 
/* Handle */
.file-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2); 
  border-radius: 10px;
}

/* Handle on hover */
.file-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 10px;
}
.loader-placeholder{
  display: flex;
  height: 400px;
  justify-content: center;
  align-items: center;
}
.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #47D764 #47D764 transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #47D764 #47D764;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 32px;
  height: 32px;
  border-color: #47D764 #47D764 transparent transparent;
  animation: rotation 1.5s linear infinite;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
#file-content h1{
  font-size: 24px;
  font-family: "Lato", serif;
  font-weight: 600;
  margin: 15px 0px 0px 0px;
  line-height: 35px;
}
#file-content p{
  font-size: 16px;
  font-family: "Lato", serif;
  font-weight: 500;
  color: #000;
}
#file-content p strong{
  font-weight: 600;
}
#file-content ul{
  list-style: circle;
  padding-left: 22px;
  font-family: "Lato", serif;
}
#file-content ul li strong{
  font-weight: 600;
  font-family: "Lato", serif;
}
#file-content h2{
  font-size: 22px;
  font-family: "Lato", serif;
  font-weight: 600;
  margin: 15px 0px 0px 0px;
  line-height: 28px;
}
#file-content h3{
  font-size: 20x;
  font-family: "Lato", serif;
  font-weight: 600;
  margin: 15px 0px 0px 0px;
  line-height: 28px;
}