
/*::webkit-scrollbar {
  width: 12px; /* Adjust the width as needed */


/*::webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ffcc00, #ff6600); /* Gradient colors */
  /*border-radius: 6px; /* Rounded corners */


/*::webkit-scrollbar-track {
  background-color: #f0f0f0; /* Track color */
  /*border-radius: 6px; /* Rounded corners */

body{
  background: url("pexels-pixabay-414144.jpg") no-repeat;
  background-size: 100% 100%;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  cursor: url("normal.cur"), auto;
  scroll-behavior:smooth;
  position: relative;
  z-index: 1; /* 👈 Yeh add karo */
}



h1{
  background-color: rgb(92, 93, 94);
  color: whitesmoke;
  text-align: center;
  height: fit-content;
  font-size: 50px;
  font-family: "Trade Winds", system-ui;
  font-weight: 400;
  font-style: normal;
  margin-left: 90px;
  text-shadow: 2px 2px 8px #000;
  
}
h2{
  color: white;
  text-align: center;
  background-color: #FFA725;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  height: fit-content;
  justify-content: center;
  font-size: 35px;
  font-family: "Kreon", serif;
  border-radius: 20px;
  filter: drop-shadow(0 0 5px #000);
  text-shadow: 2px 2px 8px #000;
}
p{
  color: wheat;
  text-align: center;
  background-color: #11999E;
  height: fit-content;
  width: 80%;
  margin-left: 10%;
  border-radius: 22px;
  text-align: center;
  filter: drop-shadow(0 0 5px #000);
  text-shadow: 2px 2px 8px #000;
}
#top {
  font-size: 21px;
  position: relative;
  top: 20px; 
  padding: 5px;
}


#Python{
  background: url("python2.jpg") ;
  overflow: auto;
  height: 60%;
  overflow-x: hidden;
  margin-left: 90px;
  background-size: 50%;
}
#Python::-webkit-scrollbar{
  width: 10px;
}
#Python::-webkit-scrollbar-thumb{
  background: linear-gradient(to bottom, #ffcc00, #ff6600);
  border-radius: 6px;
}
#Python::-webkit-scrollbar-track {
  background-color: #f0f0f0; /* Track color */
  border-radius: 6px; /* Rounded corners */
}
#html::-webkit-scrollbar{
  width: 10px;
}
#html::-webkit-scrollbar-thumb{
  background: linear-gradient(to bottom, #2772db, #3ab1c8);
  border-radius: 6px;
}
#html::-webkit-scrollbar-track {
  background-color: #f0f0f0; /* Track color */
  border-radius: 6px; /* Rounded corners */
}
#html{
  background: url("Html.jpg");
  overflow: auto;
  height: 60%;
  overflow-x: hidden;
  margin-left: 90px;
  margin-bottom: 30px;
}
#html h2{
  background-color: #fc3a52;
  display: flex;
  justify-content: center;
  align-items: center;
}

#html div{
  display: flex;
  align-items: center;
  justify-content: center;

}
#html a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  margin: 8px;
}
#html a button {
  font-weight: 550;
  font-size: 25px;
}
#h3{
  background-color: red;
  width: fit-content;
  color: blue;
  font-size: 25px;
  font-size: 35px;
}

#Python,
#html,
h1,
p,
.overlay,
.popup {
  position: relative;
  z-index: 1; /* 👈 Add this */
}


.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 1000;
    width: 80%;
    max-width: 400px;
    display: none;
    text-align: center;
}
.popup h2 {
    color: #00ffcc;
    font-size: 24px;
    margin-bottom: 10px;
}
.popup p {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 20px;
}
.popup button {
    background: #00ffcc;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    color: black;
    cursor: pointer;
    border-radius: 5px;
}
.popup button:hover {
    background: #00997a;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

a{
  text-decoration: none;
  cursor: url("normal.cur"), auto;
}
@keyframes button {
0%{background-color: rgb(50, 216, 139); color: white;}
50%{background-color: rgb(17, 204, 195); color:red;}
100%{background-color: rgb(10, 106, 184); color: rgb(241, 14, 14);}
}
#btn{
  height: 50px;
  width: 200px;
  border-radius: 15px;
  font-size: 25px;
  font-family: "Truculenta", sans-serif;
  border-color: transparent;
  background-color: #1bf5af;
  color: #005792;
}
#btn:active{
  border-color: #ff6600;
}


/* Sidebar Styling */
.back {
  background-color: white;
  height: 100%;
  width: 90px;
  position: fixed;
  overflow: hidden;
  transition: width 0.4s ease-in-out;
  z-index: 998;
}

.overlay,
.popup,
.skeleton-loader {  /* id ya class jo bhi use kar rahe ho */
  z-index: 1000;  /* High enough to be on top */
}


/* Expand Sidebar on Hover */
.back:hover {
  width: 220px;
}

/* Sidebar Links (Icons + Text) */
.slide {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  width: 90px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: width 0.3s ease-in-out;
  white-space: normal;
  word-wrap: break-word;
}

/* Expand Links when Sidebar is Hovered */
.back:hover .slide {
  width: 240px;
}

/* Icons */
.slide img {
  flex-shrink: 0;
}

/* Text Styling */
.slide::after {
  content: attr(data-text);
  font-size:31px;
  font-family: "Bungee Spice", sans-serif;
  font-weight: 350;
  font-style: normal;
  color: #4361ee;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  white-space: normal;
  word-wrap: break-word;
}
#menu::after{
  font-size: 32px;
  font-family: "Emblema One", system-ui;
  font-weight: 400;
  font-style: normal;
}
/* Show Text when Hovering on Sidebar */
.back:hover .slide::after {
  opacity: 1;
}
.slide:hover{
  background-color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
@media (max-width:500px) {
  #top{
    margin-left: 60px;
    
  }
  p{
    font-size: 30px;
  }
  #Python{
    font-size: 40px;
    margin-left: 60px;
    background-image: url('https://i.pinimg.com/736x/44/d4/04/44d4049bb0cea0723e61dce8403ef1ff.jpg');
    background-attachment: fixed;
    background-size: 100% 100%;

  }
  #btn{
    margin-top: 9px;
  }

  .slide{
    width: 60px;
    padding: 10px;
    gap: 10px;
  }
  .back{
    width: 60px;
  }
  img{
    height: 40px;
  }
  h1{
    margin-left: 60px;
  }
  #html{
    margin-left: 60px;
  }
  #html div{
    display: contents;
  }
  #html a{
    margin-left: auto;
    margin-right: auto;
  }

}
@media (min-width:500px) and (max-width:800px) {
  #top{
    margin-left: 90px;
  }
  #Python{
    background-image: url('https://i.pinimg.com/736x/d5/e8/86/d5e88644c0a2c2dee0f1bbb7ab4a2365.jpg');
    background-size: 100% 100%;
    background-attachment: fixed;
  }

}
@media (max-height:450px) {
  #Python{
    height: 280px;
  }
  #html{
    height: 280px;
  }
  #top{
    width: fit-content;
  }  
}




@keyframes pulse {
  0% {
    background-color: #333;
  }
  50% {
    background-color: #444;
  }
  100% {
    background-color: #333;
  }
}

#skeleton-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:9999;
  background:#121212;
  display:flex;
  flex-direction:column;
  gap:20px;
  justify-content:center;
  align-items:center;
}
#skeleton-loader div{
  height:20px;
  background:#333;
  border-radius:4px;
  animation:pulse 1.5s infinite;
}
#skeleton-loader div:nth-child(3){
  width:80%;
  max-width: 600px;
}
#skeleton-loader div:nth-child(4){
  width:40%;
  max-width: 400px;
}
#skeleton-loader div:nth-child(5){
  width:60%;
  max-width: 500px;
}
#skeleton-loader div:nth-child(1){
  width:90%;
  max-width: 950px;
  position: relative;
  top: -38%;
}
#skeleton-loader div:nth-child(6){
  width: 70px;
  position:absolute;
  top: 5%;
  left: 10px;
  height: 90%;
}
#skeleton-loader div:nth-child(2){
  width: 80%;
  position:relative;
  top: -30%;
  height: 50px;
}
.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  display: flex;
  justify-content: center;
  background-color: rgb(110, 110, 110);
  align-items: center;
  z-index: 999;
}
.footer img{
  margin-left: 18px;
  height: 45px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-in-out;
  
}
.footer img:hover{
  background-color: rgb(151, 151, 150);
}
