
                /* Preloader */
                
/* .preloader{
  background: black;
  height: 100vh;  
  width: 100%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; 
     
}

.load {
  display: flex;
  border-radius: 50%;
  flex-direction: row;
}

.progress {
  width: 2em;
  height: 2em;
  margin: 0.4em;
  scale: 0;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  animation: loading_492 2s ease infinite;
  animation-delay: 1s;
}

@keyframes loading_492 {
  50% {
    scale: 1;
  }
}

.progress:nth-child(2) {
  animation-delay: 1.3s;
}

.progress:nth-child(3) {
  animation-delay: 1.7s;
} */
                             
             /* Google  fonts */
     
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&family=Ubuntu&display=swap');

  
             /* Variables */

:root{
    --bg-color: black;
    --text-color: white;
    --bg-navbar: #27333b;     
    --bg-skills: #151515;
    --bg-bar: #343434;
    --bg-circular-value: #acacac;
    --bg-input: #121212;    
    --white-line: white;
    --neon-color: #00dfc4;
    --bg-btn: #272727;
    --headings-color: #e9b171;  
    --navbar-text-color: #e9b171;
    --details-color: #ff1a75;   /* pink */
} 

.dark-mode{    
    --bg-color: #d5d2c5;
    --text-color: black;    
    --bg-navbar: #27333b;      
    --bg-skills: #c1c1c1;
    --bg-bar: #a3a3a3;
    --bg-circular-value: #105f11;
    --bg-input: #d5d2c5;       
    --white-line: #adadad;
    --neon-color: #105f11;   /* previous */
    --bg-btn: #6e6e6e;
    --headings-color: #49117c;
    --navbar-text-color: #d5d2c5;
    --details-color: #105f11;   /* green */
}            


             /* Utility classes  */

.gold{
    color: var(--headings-color);
}

.headings{
    font-size: 90px;
    color: var(--headings-color);         
}

a.no-underline{
    text-decoration: none;
  }  
.mode{ 
    height: 50px;
    width: 50px;     
    align-items: center;      
    position: absolute;    
    top: 65px; 
    right: 25%;              
}        

.mode-btn{               
    align-items: center;  
    font-size: 50px; 
    padding: 10px; 
    border: none;      
    outline: none; 
}


#sun {
    font-size: 50px;
    color: #F68B1F; 
    position: absolute;
    top: 0;
    left: 0;
    visibility: visible;
    transition: opacity 0.5s;    
} 

#moon {
    font-size: 60px;
    color: #8d8d8d;
    position: absolute;
    top: -3px;
    left: 3px;
    visibility: hidden;
    transition: opacity 0.5s;
}

                /* css reset */

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    background: none;   
      
}
  
html{
   scroll-behavior: smooth;    
}  
  
body {
   -webkit-tap-highlight-color: transparent;     
}   
          
           /* Navbar button */                

.top_navbar{
    position: fixed;                   
    top: 0px; 
    left: 0px;   
    height: 175px;
    width: 100%;       
    z-index: 900;  
    transition: 0.5s; 
    padding-top: 30px;   
    background: var(--bg-color);    
    border-bottom: 1px solid   var(--text-color);
}

.top_navbar img{
    width: 80px;    
    margin-top: 15px;
    margin-left: 60px;
    display: flex;
    align-items: center;    
}

 #checkbox2 {
  display: none;
}

.toggle {
  position: absolute; 
  display: inline-block;    
  top: 54px;
  right: 60px;
  height: 75px;
  width: 80px;      
  z-index: 900;          
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  transition-duration: 0.5s;
}

.bars {
  width: 100%;
  height: 8px;
  background-color: var(--headings-color);
  border-radius: 6px;
}

#bar2 {
  transition-duration: 0.8s;
}

#bar1,#bar3 {
  width: 80%;
}

#checkbox2:checked + .toggle .bars {
  position: absolute;
  transition-duration: .5s;
}

#checkbox2:checked + .toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}

#checkbox2:checked + .toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}

#checkbox2:checked + .toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}

#checkbox2:checked + .toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}

#checkbox2:checked ~ .navbar{      
    opacity: 1; 
    visibility: visible;
    display: flex; 
} 

#checkbox2:checked + .toggle {
   position: fixed; 
} 

             /* Navbar content */            

.navbar{   
    background: var(--bg-navbar);
    position: fixed;
    top: 220px;
    right: 0px; 
    opacity: 0;   
    height: 990px;
    width: 500px;
    display: none;
    justify-content: center;
    align-items: center; 
    transition: 1s ease;
    z-index: 999; 
    border: 0px solid black;
    border-radius: 30px 0px 0px 30px;    
    padding-left: 25px;  
    transition-duration: 0.5s;
}

.navbar ul{    
    background: var(--bg-navbar);     
}

.navbar ul a{
    text-decoration: none;      
}

.navbar ul a span{
    color: var(--navbar-text-color);
    font-size: 60px; 
    background: var(--bg-navbar); 
    padding: 0px 40px 0px 0px;   
}


.navbar ul a li{      
    list-style: none;  
    padding: 30px;  
    color: var(--navbar-text-color);
    font-size: 65px;    
    font-weight: 700;  
    font-weight: 550; 
    background: var(--bg-navbar);  
    margin: 20px 50px 0px 0px;   
    display: flex;    
    align-items: center;            
}

.navbar ul:nth-child(1){
    margin-top: 0px;
}
   
               /* Header */

.header{
    height: 105vh;
    width: 100%;    
    display: flex;
    align-items: center;
    justify-content: center;   
    flex-direction: column;     
    background: var(--bg-color);
}

.header h1{
    font-size: 90px;
    color: var(--text-color);            
}

.header h1 span{
    font-size: 120px;
    color: var(--headings-color);    
}

.header p{
    margin-top: 50px;
    color: var(--text-color);
    font-size: 40px;
    animation: scroll 4s; 
    opacity: 0;
    animation-iteration-count: 1;
    animation-fill-mode: both;    
}

@keyframes scroll{
    0%{
       opacity: 0; 
       margin-top: 50px;
    }
    
     100%{
       opacity: 0.5; 
       margin-top: 270px;
    }       
}

.main p{    
    color: var(--text-color);
    margin: 5px 0px 0px 10px;
    font-size: 50px;
    animation: ani 13s;
    animation-iteration-count: 1;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes ani{
    0%{
        opacity: 0;
    }
            
    100%{
        opacity: 1;
    }
}

.header video{
     margin-top: 150px;
     height: 650px;   
     width: 650px;        
}
 
            /* About  section */
            
.about-div{
     padding: 60px;
     background: var(--bg-color);
}

.about-div p{
    margin-top: 40px;
    font-size: 40px;
    line-height: 1.7;
    color: var(--text-color);
}

.about-div p i{
     color: #3366CC;
     text-decoration: none;
}

                /* Details */

.details-head{
    font-size: 70px;
    font-weight: 599;  
    padding: 90px 0px 30px 0px;  
    color: var(--text-color);
}

.details ul{           
    margin: 10px 0px 20px 120px;
    color: var(--text-color);
}


.details ul li{
    position: relative;
    list-style-type: none;
    padding: 15px;
    font-size: 50px; 
    font-weight: 599;         
}

.details ul li span{
    color: var(--details-color);       
    margin-right: 20px;    
    font-size: 60px; 
    font-weight: 400;     
}

#eng{
    margin: 35px 0px 0px 250px; 
    color: var(--text-color);   
    font-size: 50px;
    font-weight: 599;  
}

.details ul li::before{
     position: absolute;     
     content: '\00BB';
     color: var(--headings-color);
     font-size: 80px;
     font-weight: 600;
     margin-left: -90px;
     margin-top: -24px;                
}

               /* Education */

.education-div{
    position: relative;    
    padding: 50px 0px 0px 50px;
    background: var(--bg-color);
}

.education{          
    color: var(--text-color);   
    width: 800px;
    height: 60vh;   
    margin-left: 130px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}              

.white-line-div{
    position: absolute;    
    width: 7px;
    height: 51vh;
    border: 0px solid white;
    border-radius: 2px;
    background: var(--white-line);
    top: 120px;
    left: 146px;
    margin-top: 90px;    
}

.pink-line-div{
    position: absolute;    
    width: 7px;
    height: 0vh;
    border: 0px solid var(--text-color);
    border-radius: 2px;
    background: var(--details-color);
    top: 120px;
    left: 146px;
    margin-top: 90px;
    animation: pinkline 2s linear forwards;    
    animation-fill-mode: both;    
}

@keyframes pinkline{
    0%{        
       height: 0;       
    }
    100%{
       height: 40vh;          
    }
}

.education h1{    
    margin-left: -80px;
    margin-top: -90px;
}

.timeline{ 
    position: relative;   
    margin-left: 30px;    
    z-index: 55;      
}

.timeline::after {
    content: '';
    position: absolute;
    width: 33px;
    height: 33px;
    left: -80px;
    background-color: var(--details-color);
    border: 4px solid var(--details-color);
    top: 19px;
    border-radius: 50%;    
} 

.timeline:nth-child(4)::after { 
    position: absolute;
    top: -90px;
    background-color: var(--white-line);
    border-color: var(--white-line); 
    animation: whitedot 3s ease;    
    animation-iteration-count: infinite;
    animation-delay: 4s;
    opacity: 1;  
    transition: 3s ease;
    animation-fill-mode: forward;     
}

.timeline:nth-child(3)::after { 
    animation: pinkdot 2s; 
    animation-delay: 0.5s;
    background: var(--details-color);
    border: 4px solid var(--text-color);  
    animation-fill-mode: both;   
}

@keyframes pinkdot{
    0%{
        background: var(--details-color);
     border: 4px solid var(--details-color);   
    }
    
   100%{
        background: var(--details-color);
     border: 4px solid var(--details-color);    
    }     
}


@keyframes whitedot{
    0%{
        opacity: 1;
    }
    50%{
        opacity: 0;
    }
   100%{
        opacity: 1;
    }     
}

.education-text{
    font-size: 40px;         
    padding: 20px 0px 20px 0px ;  
    line-height: 1.5;   
    margin-left: 90px; 
}

.marks{
    font-size: 50px;
    font-weight: 600;      
    margin-left: 90px;  
}

.education-head{
    font-size: 60px;
    padding: 20px 0px 20px 0px;
    display: inline;  
}

.year{
    position: absolute;
    background: var(--bg-skills);
    color: var(--headings-color);
    font-size: 40px;
    font-weight: 700;
    margin-top: 0px;
    padding:  7px 20px 7px 20px;
    margin-left: 50px;
    border: 5px solid var(--bg-skills);
    border-radius: 10px;
}

.sgpa{
    width: 50%;
    margin: -71px 80px 0px 0px; 
    float: right; 
    font-size: 35px;
    font-weight: 500;     
    line-height: 1.8;
}

             /* circular-skills */

.skills_01{
    padding: 60px; 
    padding-top: 40px;
    background: var(--bg-color); 
}

.skills-01-content{ 
    margin-top: 30px;  
    display: block;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: space-around;     
}


.circular-skills{     
     height: 530px;
     width: 470px;                       
     border: 0px solid black;
     border-radius: 30px;  
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center; 
     background: var(--bg-skills);   
}

.circular-progress{
     height: 340px;
     width: 340px;
     background: var(--neon-color);     
     border: 0px solid var(--text-color);
     border-radius: 100%;
     display: flex;     
     justify-content: center; 
     align-items: center;  
     margin-top: 40px;                         
}

#html{
    background: conic-gradient(var(--neon-color) 
                  324deg, var(--bg-bar) 7deg);                       
}

#css{
    background: conic-gradient(var(--neon-color) 
                  306deg, var(--bg-bar) 7deg);                             
}

#javascript{
    background: conic-gradient(var(--neon-color) 
                  108deg, var(--bg-bar) 7deg);                       
}

.circular-progress::before{
     position: absolute;
     content: '';
     height: 270px;
     width: 270px;
     background: var(--bg-skills);
     border: 0px solid black;
     border-radius: 100%;
}     


.progress-value{
     position: relative; 
     background: var(--bg-skills);  
     font-size: 50px;
     font-weight: 500;  
     color: var( --bg-circular-value);     
}

.progress-text{    
    background: var(--bg-skills);
    margin-top: 40px;
    padding: 20px;
    font-size: 45px;
    font-weight: 700;
    color: var(--text-color);         
} 

              /* Skills bar */

.skills_02{
    padding: 60px; 
    padding-bottom: 50px;       
    background: var(--bg-color); 
}

.others{
    color: var(--text-color);
    font-size: 70px;
}

.skills_02 ul{
    color: var(--text-color);
    list-style: none;
    margin: 80px 20px 80px 20px; 
    padding: 40px;        
}

.skills_02 ul li{    
    list-style: none;   
    margin-top: 90px; 
}

.skills_02 ul li h3{    
    display: inline;
    font-size: 50px;      
}

.skills_02 ul li h4{    
    display: inline;    
    float: right;
    margin: 8px 30px;
    font-size: 40px;
    opacity: 0;    
    animation: percentage 7s;
    animation-fill-mode: both;
    animation-delay: 2s;
}

@keyframes percentage{
    0%{
        opacity: 0;
    }
    
    100%{
        opacity: 1;
    }
}

.skills_02 ul li:nth-child(1){    
    margin-top: 0px; 
}


.bar{
    display: block;
    height: 30px;    
    margin-top: 30px;             
    background: var(--bg-bar);      
    border: 0px solid #404040;
    border-radius: 13px;
}

.bar span{
    height: 30px;
    float: left;    
    border: 0px solid #404040;
    border-radius: 13px 4px 4px 13px;
    background: var(--neon-color);  
    box-shadow: 0 0 20px var(--neon-color);    
}

.skills_02 .bootstrap{       
    animation: bootstrap 4s;
    animation-fill-mode: both;
}

.skills_02 .C-language{        
    animation: C-language 4s;
    animation-fill-mode: both;
}

.skills_02 .java{        
    animation: java 4s;
    animation-fill-mode: both;
}

.skills_02 .python{        
    animation: python 4s;
    animation-fill-mode: both;
}

.skills_02 .canva{        
    animation: canva 4s;
    animation-fill-mode: both;
}


@keyframes bootstrap{
    0%{
        width: 0px;
    }
    
    100%{
        width: 65%;
    }
}

@keyframes C-language{
    0%{
        width: 0px;
    }
    
    100%{
        width: 85%;
    }
}

@keyframes java{
    0%{
        width: 0px;
    }
    
    100%{
        width: 60%;
    }
}


@keyframes python{
    0%{
        width: 0px;
    }
    
    100%{
        width: 35%;
    }
}


@keyframes canva{
    0%{
        width: 0px;
    }
    
    100%{
        width: 65%;
    }
}

            /* My works */
            
#work-div{
    color: var(--text-color);
    padding: 60px; 
    background: var(--bg-color); 
    margin-top: 0px;
}

#work-div h1{
    margin-top: 0px;
    margin-bottom: 80px; 
}

.works{    
    margin-top: 100px;
    position: relative;
}

.works, .long_works{    
    border: 5px solid black;
}

.long_works{    
    margin-top: 100px;
    position: relative;
}

.task-img{
    width: 100%;
}

#task-01, #task-04, #task-05, #task-06, #task-08, #task-10{
    height: 30vh;
    overflow: auto;  
}

.long_works::-webkit-scrollbar {     
    width: 20px;
    height: 1vh;
}

.long_works::-webkit-scrollbar-track {
   background: var(--bg-bar);      
}

.long_works::-webkit-scrollbar-thumb {
    background-color: var(--headings-color);
    border-radius: 20px; 
    border: 5px solid transparent;
    background-clip: content-box;              
} 

.overlay-div{
    position: relative;
}

.overlay{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #606060;
    opacity: 0.8;
    visibility: hidden;
    transition: 0.5s;
}

.forward_logo{    
    position: absolute;
    top: 50%;  
    left: -150px;                 
    transform: translate(-50%, -50%);     
    transition: 0.5s;      
    padding: 20px;  
    background: #e9b171; 
    visibility: hidden;         
    padding: 50px;
    border: 3px solid #e9b171;
    border-radius: 50%;
}
 
.forward_logo-active{
    left: 50%;
    transform: translate(-50%, -50%); 
    visibility: visible;      
} 

.forward_logo a i{
    font-size: 80px; 
    color: var(--text-color);               
}

.active-overlay{
    width: 100%;
    visibility: visible;             
}

#car{
    width: 100%; 
    height: 100%; 
    color: var(--text-color);   
}
 
.material-symbols-outlined{
    font-size: 100px; 
    color: red;   
    padding: 0px;        
}


            /* Contact Section */

.contact-div{
    padding: 60px;
    background: var(--bg-color);
}

.contact-section{
    position: relative;   
    display: flex; 
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    background: var(--bg-color);
    height: 50vh;    
}
            
.contact-section form{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 60px;              
    height: 45vh;   
    width: 890px;
    padding: 30px;    
    margin-top: 50px;       
    background: var(--bg-color);       
} 

.row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;           
}

form input,
.description .textarea{
    background: var(--bg-input);    
    outline: none;
    border: none; 
    border: 3px solid #404040;     
    border-radius: 10px;      
    color: var(--text-color);
    font-size: 35px;
    padding: 9px 20px 9px 20px;   
} 

.description .textarea{
    padding: 40px 30px 40px 30px;
    font-size: 30px; 
}

form span {
    color: #404040;
    position: absolute;
    top: 23px;
    left: 20px;    
    pointer-events: none;
    font-size: 35px;    
    padding: 5px 15px 5px 15px;
    transition: 0.5s;
    background: var(--bg-input);      
}

.description .textarea:focus ~ span,
form input:valid ~ span,  
form input:focus ~ span{
    color: var(--neon-color);
    font-size: 25px;
    transform: translateX(5px)    
               translateY(-40px);    
    border-left: 3px solid var(--neon-color);
    border-right: 3px solid var(--neon-color);  
    background: linear-gradient(to bottom, var(--bg-color) 53%, var(--bg-input) 47%);        
                       
} 

form input:focus,
form input:valid,
.description .textarea:focus{
    border: 3px solid var(--neon-color);
} 

.description{  
    position: relative;  
    width: 100%; 
    height: 180px;   
}

.row .row-input-box{
    position: relative;
    width: 395px;
}
 
.row .row-input-box input{
    width: 100%;
    height: 100px;          
} 
 
.input-box{
    position: relative;
    width: 100%;
}        

.input-box input{
    width: 100%;
    height: 100px;   
}

.textarea{
    height: 100%;
    width: 100%;        
}


.btn-div{
    margin: 20px auto;
}


.btn{
    width: 200px;
    height: 80px;    
    font-size: 35px;
    padding: 10px 20px 10px 20px;
    background: var(--bg-btn); 
    color: white;
    border: 3px solid var(--bg-btn); 
    border-radius: 10px; 
    margin-right: 30px;   
    align-items: center;                    
}

.btn:active{
    color: var(--bg-color);    
    background: var(--neon-color);
    border: 3px solid var(--neon-color); 
    box-shadow: 0 0 30px var(--neon-color);   
}

              /* Footer */

.footer{
    background: var(--bg-navbar);
    height: 15vh;
    position: relative;
    display: flex;
    flex-direction: column;    
}     

.social-media{   
    width: 600px;       
    background: var(--bg-navbar);
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 25px;
    display: block;         
}

.footer .social-media i{
    color: var(--navbar-text-color);
    font-size: 90px;
    padding: 25px;
}              

.creator-div{
    background: var(--bg-navbar);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    border-top: 1px solid black;
}

.creator{
    color: #919191;
    padding: 30px;    
    font-size: 30px;      
}

.copyright{
    color: #919191;
    padding: 30px;    
    font-size: 30px;
}

.copyright b{
     color: var(--navbar-text-color);
}

              /* Scroll top */

.scroll-top{
     position: fixed;
     bottom: 50px;
     right: 60px;        
     background: none;
     display: flex;
     justify-content: center;
     align-items: center;
     border: 8px solid var(--neon-color);  
     border-radius: 50%; 
     padding: 10px;         
     transition: 2s;         
     opacity: 0;   
     visibility: hidden;  
     cursor: pointer;                       
}

.scroll-top-active{     
     opacity: 1;      
     visibility: visible;    
}

.scroll-top a i{
     color: var(--neon-color);
     font-size: 55px;     
     z-index: 999;  
     filter: drop-shadow(0 0 30px 
             var(--neon-color));             
}


            /* Like Button */
 
.container {  
     border: 1px solid #ccc;
     position: fixed;
     top: 50%;
     right: 30px;   
     border: none;
}

.like-count {
  font-size: 50px;  
  margin-top: 10px;
  color: white;   
  display: flex;
  justify-content: center;
  align-items: center; 
}

.like-btn {  
  color: white;  
  border: none;
  cursor: pointer;  
  background: none;  
}


.like-btn i{  
  color: white;  
  border: none;
  cursor: pointer;  
  font-size: 85px;  
}



