
*{
    margin: 0px;
    padding: 0px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}
html{
  
    scroll-behavior: smooth;
}
 body{
    background-color:rgb(27, 27, 33);
} 
nav{
    background-color: black;
    position: fixed;
    top: 1px;
    width: 1520px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
} 
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
   
    justify-content: flex-end;
    align-items: center;

}
nav li{
    height: 50px;

}
nav a{
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition-property: all;
    color: rgb(173, 225, 246);
    font-size: large;
    
}
 a:hover{
    color:white;
    
    text-shadow:2px 2px 5px rgb(246, 173, 225);
}
 a::after{
    content: '';
    width: 0;
    height: 3px;
    text-decoration: underline;
    position: absolute;
    left: 10;
    background:rgb(246, 173, 225);
    bottom: -6px;
    transition: 0.5s;
}
nav a:hover::after{
    width: 100%;
}
nav li:first-child{
    margin-right: auto;
    font-size: 250px;
    color:rgb(246, 173, 225) ;
}

 .sidebar{
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 250px;
    z-index: 1;
    background-color:black;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgb(26, 24, 24);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: right 0.5s;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100% ;
} 

main{
    width: 100%;
    margin-top: 100px;
}
 footer{
  background-color:black;
  width: 100%;
  color: white;
  text-align: center;
 left: 0;
 bottom: 0;
 } 
.menu-button{
    display: none;
}
.photo{
    display: block;
    width: 450px;
    
    float: right;
    margin-left: 100px;
    margin-right: 200px;
    border-radius: 50%;
    transition: transform 0.5s;
}
.photo:hover{
transform: scale(1.1);
}
 #intro{
    background-color:rgb(27, 27, 33);
    color: white;
    margin-left: 100px;
    height: 500px;
     font-family: 'Ubuntu','sans-serif';
    transition-property: all;
    /* background: linear-gradient(90deg ,black,rgb(10, 166, 251));  */
    transition-duration: 2s;
}
 #intro .text-1{
  margin-top: 30px;
  font-size: 27px;
 }
 #intro .text-2{
  font-size: 70px;
  font-weight: 600;
  margin-left: -3px;
 }
 #intro .text-3{
  font-size: 40px;
  margin: 5px 0;
 }
  #intro .text-3 span{
    color: rgb(246, 173, 225);
    font-weight: 500;
  }
  #aditee{
    color: rgb(173, 225, 246);
  }
#link{
    margin-left: 20px;
    
}
 #logo{
    width: 160px;
    height: 160px;
    margin-left: 10px;
    color: white;
}
#gfg{
    position: absolute;
    width:100%;
    height: 100%;
    z-index: 5;
    object-fit: cover;
    background-color: white;
    border-radius: 100%;
    border:rgb(173, 225, 246) solid 5px;
    object-position: center;
    top:0;
    left: 0;
    perspective: 600px;
    transform-origin: right center;
    transition: 0.5s all ease-in-out;
}
#gfg:hover{
    transform: rotateY(180deg);
}
.g{
    width: 100%;
    height: 100%;
    position: relative;
    top:0;
    left: 0;
    display: flex;
    justify-content: center;
    background-color: black;
    border-radius: 100%;
    perspective: 600px;
    
    object-fit: cover;
    align-items: center;
    text-align: center;
    flex-flow: column;
}
.p{
    font-size: 15px;
    text-align: center;
    color:white;
}
.gfg{
    width: 100px;
    height: 100px;
    perspective: 600px;
}
 #techid{
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    flex-direction: row;
   margin-top: 300px;
} 
#aboutme{
    width: 80px;
    margin-left: 520px;
    margin-top: 10px;
    
}
#atext{
    margin-left: 80px;
    font-size: 50px;
    margin-bottom: 10px;
    font-family: 'Ubuntu','sans-serif';
    transition-property: all;
    color: rgb(173, 225, 246);
}
#atext:hover{
    text-decoration: underline;
    transition: 0.5s;
    height: 3px;
}
#atext:hover{
    color: white;
}
#secimg{
    width: auto;
    height: 500px; 
    margin-top: 20px;
    margin-left: 10px;
    border-radius: 20%;
}
#about{

    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    flex-direction: row;
    width: 92%;
    border-radius: 10%;
    transition-property: all;
    font-size: 20px;
    transition-duration: 2s;
}
 
#about ul li{
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content:space-evenly;
    flex-direction: row;
}
#cv{
    background-color:blueviolet ;
    text-align: center;
    margin-left: 200px;
    font-size: medium;
    border-radius: 40px;
    padding: 20px;
    text-decoration: underline;
}
#cv:hover{
    background-color:rgb(173, 225, 246) ;
    box-shadow:blueviolet;
}
#edph{
    width: 80px;
    margin-left: 520px;
    margin-top: 10px;
}
#Education{
    margin-top: 30px;
    height: 650px;
    width: 92%;
    border-radius: 10%;
   
}
#clg{
    width: 1150px;
    height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: rgb(255, 255, 255);
  
    display: inline-block;
    
    margin-left: 150px;
    margin-top: 40px;
   
    display: flex;
    
    color: black;
    /* justify-content:space-evenly; */
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
    color: black;
  }
  #clg:hover {
    
    box-shadow: 0 8px 16px 0 rgb(168, 165, 165) ;
  }
  #gweca{
    width: 300px;
    margin-left: 0;
  }
 #clgpara{
    margin-top: 50px;
    margin-left: 100px;
 }
 #schl{
    width: 1150px;
    height: 200px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: rgb(255, 255, 255);
  
    display: inline-block;
    
    margin-left: 150px;
    margin-top: 40px;
   
    display: flex;
    
    color: black;
    /* justify-content:space-evenly; */
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
    color: black;
 }
 #schl:hover {
    
    box-shadow: 0 8px 16px 0 rgb(168, 165, 165) ;
  }
  #schlpara{
    margin-top: 40px;
    margin-left: 100px;
 }
  #eye{
    margin-top: 140px;
    margin-left: 10px;
    width: 50px;
    height: 50px;
  }
  #view{
    margin-top: 155px;
    margin-left: 10px;
    font-size: 20px;
    color: black;
    text-decoration: none;
  }
  #eyeschl{
    margin-top: 140px;
    margin-left: 35px;
    width: 50px;
    height: 50px;
  }
  #viewschl{
    margin-top: 155px;
    margin-left: 20px;
    font-size: 10px;
    color: black;
    text-decoration: none;
  }
  #gs{
    width: 400px;
    height: 400px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: black;
    text-align: center;
    display: inline-block;
    justify-content:centre;
    margin-top: 50px;
     margin-left: 50px;
    margin-right: 1px; 
    padding: 25px;
    border: 3px solid white;
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
    color: white;
  }
  #gs:hover {
    /* background-color: yellow;
    color: black; */
    box-shadow: 0 8px 16px 0 rgb(173, 225, 246);
  }
  #experience h1{
    color: white;
    margin-left: 600px;
   font-size: 30px;
  }
  #idex{
    width: 400px;
    height: 400px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    background-color: black;
    text-align: center;
    display: inline-block;
    justify-content:centre;
    
    
    padding: 25px;
    border: 3px solid white;
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
    color: white;
  }
  .vl2{
    border-left: 6px solid rgb(173, 225, 246);
    height: 1500px;
     /* margin-right: 300px; */
    margin-left: 600px;  
  }
  #timeline{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
  }
  #timeline::after{
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: white;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
  }
 
  @keyframes moveline {
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
  }
  #exp{
    width: 70px;
    height: 70px;
    margin-left: 550px;
  }
  #exptext{
    margin-left:10px;
    font-size: 50px;
    margin-bottom: 10px;
    transition-property: all;
    color: rgb(173, 225, 246);
}
#exptext:hover{
    text-decoration: underline;
    transition: 0.5s;
    height: 3px;
}
#exptext:hover{
    color: white;
}
  .container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    /* background-color: rgb(0, 0, 0,0.3); */
    animation: movedown 1s linear forwards;
    opacity: 0;
  }
  @keyframes movedown{
    0%{
        opacity: 1;
        transform: translateY(-30px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
  }
  .container:nth-child(1){
    animation-delay: 0s;
  }
  .container:nth-child(2){
    animation-delay: 4s;
  }
  .container:nth-child(3){
    animation-delay: 6s;
  }
  .text-box{
    padding: 20px 30px;
    background-color:white;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    color: black;
  }
  .right-container{
       left: 50%;
  }
  .left-container{
    left: 0;
  }
  .container img{
    position: absolute;
    width: 40px;
    border-radius: 50%;
    right: -70px;
    top: 32px;
    z-index: 10;
  }
  .right-container img{
    left: -70px;
  }
  .left-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px  solid white;
    right: -15px;
  }
  .right-container-arrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px  solid white;
    left: -14px;
  }
  
   .card_title{
    font-weight: 500;
    margin-bottom: .75rem;
   }
   .card_button{
    text-decoration: none;
    font-weight: 500;
    color: var(--first-color);
   } 
   .card_button:hover{
    text-decoration: underline;
   }
   .card_article:hover .card_data{
    animation: show-data 1s forwards;
    opacity: 1;
    transform: opacity .3s;
   }
   .card_article:hover{
    animation: remove-overflow 2s forwards;
   }
   @keyframes show-data {
    50%{
      transform: translateY(-8rem);
    }
    100%{
      transform: translateY(-5rem);
    }
   }
   @keyframes remove-overflow {
    to{
      overflow: hidden;
    }
   }
   @keyframes remove-data {
    0%{
      transform: translateY(-7rem);
    }
    50%{
      transform: translateY(-10rem);
    }
    100%{
      transform: translateY(.5rem);
    }
   }
   @keyframes show-overflow{
    0%{
      overflow: initial;
      /* pointer-events: none; */
    }
    50%{
      overflow: hidden;
    }
   }
   .card_article:not(:hover){
    animation: show-overflow 2s forwards;
   }
   .card_article:not(:hover) .card_data{
    animation: remove-data 1s forwards;
   } 

  .project_list{
   
    margin-top: 50px;
    justify-content:space-evenly;
    flex-direction: row;
    display: flex;
}
.project-work{
 border-radius: 10px;

 position: relative;
 overflow: hidden;
}

.project-work img{
width: 100%;
border-radius: 10px;
display: block;
transition:transform 0.5s;
}
.project-work:hover img{
transform: scale(1.1);
}
 .card_data{
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0,0,0,0.6),rgb(246, 173, 225));
  border-radius: 10px;
  color: white;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  transition: height 0.5s;
} 
.project-work:hover .card_data{
  height: 100%;
}

   .container-form{
    justify-content:space-evenly;
    flex-direction: row;
    display: flex;
   
  } 
  .contact-left{
    margin-top: 20px;
    flex-basis: 35%;
  }
  .contact-right{
    margin-top: 20px;
    flex-basis: 60%;
    
  }
  .contact-left p{
    margin-top: 30px;
  }
  form input,form textarea{
    width: 50%;
    border: 0;
    margin-left: 300px;
    outline: none;
    background: black;
    padding: 15px;
    margin-top: 10px;
    color: #fff;
    border-radius: 6px;
  }
  #submit{
    background-color:rgb(246, 173, 225) ;
    text-align: center;
    margin-left: 450px;
    font-size: medium;
    border-radius: 40px;
    padding: 20px;
    text-decoration: underline;
}
#submit:hover{
    background-color:rgb(173, 225, 246);
    box-shadow:blueviolet;
}

  /* @media (max-width:400px) {
    .sidebar{
        width: 100%;
    }}  */
