:root 
{
      --text-color : #fefbfb;
      --link-color : #f4f4f8;
      --background-color :	#000000;
}
*
{
    margin : 0px;
    padding : 0;
    box-sizing : border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    font-family: 'poppins','sens-serif';
    background-color: var(--background-color);
    color: #f4f4f8;

}
a
{
    color: var(--link-color);
    text-decoration: solid;
}
h1{
    color :cyan;
    align-content : center;
    font-size: 30px;
}
/******************************** nav *************************/
nav
{
    display:flex;
    justify-content: space-between;
    padding : 10px 50px;
  
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
    background-color: rgba(32, 30, 30, 0.99);
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}
.hero {
    margin-top: 50px; /* This pushes section 1 content below the nav */
}

nav .left{
    margin-top: 15px;
}
nav .left a
{
    color : var(--text-color);
  
    background-color: rgb(67, 67, 67);
    border-radius: 8px;
    padding: 3px 15px;
    margin : 90px 0px;

}
nav .right a
{
    
    color : var(--text-color);
    margin : 0 20px;
    font-size : 19px;
    font-weight: 400;
    
}

nav .right a:hover
{
    
    color : cyan;
    
    margin : 0 20px;
    font-size : 19px;
    font-weight: 400;
    
   
    
}


.right{
    margin-right: 80px;
    margin-top: 10px;
}
/************************ section 1*************************/
.hero{
    color: var(--text-color);
    display: flex;
    justify-content : space-between;
   /* align-items: center;*/
    padding: 60px 50px;
    margin-bottom: 10PX;
   
}
.welcome1{
    padding : 30px 81px;
    color :rgb(255, 255, 255);
    align-content : center;
    font-size: 25px;
    margin-top:110px ;

    
}
.slide-in-text {
      opacity: 0;
      transform: translateY(-70%);
      animation: slideUp 3s ease-out forwards;
      margin-bottom: 10px;
      color :cyan;
      align-content : center;
      font-size: 50px;
      word-spacing: 15px;
      letter-spacing: 3px;
      
    }

@keyframes slideUp {
      to {
        opacity: 1;
        transform: translateY(0);
      } }
.hero .sp1{
    color: red;
    font-size: 37px;
      align-content : center;
      font-size: 50px;
}
.std{
    color: #f4f2f2;
    font-family: default;
    margin-bottom: 50px;
    font-weight: 50;
    word-spacing: 15px;
    opacity: 0;
      transform: translateY(-40%);
      animation: slideUp 2s ease-out forwards;
    
}
.hero .text{
    flex: 6;
  
}
.hero .img{
   
    display: flex;
    justify-content: right;
}



  


.hero .text .link {
    margin-top: 35px; 

}
.hero .text .link a {
    display: inline-block;
    padding : 5px 20px;
    border: 2px solid cyan ;
    border-radius: 5px ;
    margin : 0 20px;
    margin-bottom: 5px;
    margin-right: 5px;
    transition: .3s;
}
.hero .text .link a:hover{

    color:var(--background-color);
    background-color:cyan;
    transform: scale(1.1);
    color: black
}

/*********************section 2************************/
#about{
    
    padding : 90px 50px;
    margin-bottom: 20px;
}
.row{
 
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
     
}
.col1 img{
    border-radius: 20px;
     width: 370px;
    height: 440px;

}
.col1{
    margin-left: 30px;
    flex-basis: 30%;
}
.col2{
    flex-basis: 65%;
}
.col2 h1{
    font-size: 59px;
}
.col2 p{
     margin-bottom: 10px
}
.edu{
    color: cyan;
    margin-bottom: 10px;
}
.inter{
    margin-bottom: 15px;
}
.school{
    margin-bottom: 15px;
}.eng{
    margin-bottom: 15px;
}
.education span{
    color: red;
}
.education h4{
    padding: 0 20px;
}
/*********************section 3************************/
.skill-section{
    padding :80px 50px;
    
}
.skill-section h1{
    font-size: 50px;
    text-align: center;
   margin-bottom: 19px;
}
.skill-section b{
    color: red;
    font-size: 20px;
}
.skill-section p{
    text-align: center;
     margin-bottom: 25px;
}
.icons{
    display: flex;
    justify-content: center;
    
}
.icon{
    justify-content: center;
    align-items: center;
    display: flexbox;  
}
.icons .icon img{
    margin-bottom: 20px;
}
.icons .icon h3{
    text-align: center;
    color: #f4f2f2;
    text-shadow:5px 5px 5px #060606,
                0 0 10px #000000,
                0 0 10px cyan,
                0 0 5px cyan,
                0 0 0px #00f,
                0 0 0px #00f;
}

/***************** section 4********************/
.pro{
    padding :80px 50px;
    margin-bottom: 60px;
   
}
.pro .o{
    font-size: 50px;
    text-align: center;
   margin-bottom: 19px;
  
}
.work-con{
    display: flex;
    justify-content: center;
   margin-bottom: 30px;
}
.work{

    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 19px;
    
}
.work img{
    width: 360px;
    height: 430px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    margin-right: 40px;
}
.work h1{
    font-size: 40px;
    color: black;
}
.work h4{
    margin-bottom: 18px;
 
}
.work p{
    text-align: left;
    padding-left: 20px;
}
.prop{
    text-align: left;
    padding-top: 40px;
    margin-left: 20px;

}
.layer{
    width: 360px;
    height: 0;
    background: linear-gradient(to top,rgba(215, 142, 142, 0.95), rgb(182, 243, 234));
    border-radius: 10px;
    position: absolute;    
    top: 0;
    left: 0;
    color:black;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    flex-direction: column;
    display: block;
    transition : height 0.5s;


}

.layer p{
 margin-bottom: 20px;

}
.layer a{
    border: 1px solid white;
    background-color: white;
    border-radius: 20px;
    border-width: 4px;
    color: var(--background-color);
}
.layer a:hover{
    background-color:  rgb(240, 59, 59);
   color: var(--text-color);
    border: 1px solid rgb(240, 59, 59);
     border-width: 4px;
      
}
.work:hover .layer{
     height: 100%;
   
}
.pro p{
    margin-bottom: 20px;
    
}
.pro .show a {
  
    padding : 5px 40px;
    border: 2px solid cyan ;
    border-radius: 5px ;
    margin : 0 20px;
    margin-bottom: 5px;
    margin-right: 5px;
   
  transition: all .3s ease;
}
.pro .show a:hover{

    color:var(--background-color);
    background-color:cyan;
    transform: scale(1.1);
    color: black
}
/********************** SECTION 4 CONTACT****************/
.heading {
    
    text-align: center;
    font-size: 50px;
    margin-bottom: 15px;
}
.sub-con{
    margin-bottom: 33px;
    text-align: center;
  
}
.con{
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    justify-items: center;
    margin-right :70px ;
}
.media{
margin-right:200px ;
margin-bottom: 50px;
}
.media h3{
   
    margin-bottom: 20px;
    margin-right: 90x;
 
}
.media span{
    color: red;

}


.social a {
    padding: 0 10px;
    font-size: 35px;
     color: var(--text-color);
    transition: all 0.5s ease;
}
.social a:hover {
    padding: 0 10px;
    font-size: 36px;
    color:cyan;
    border-radius: 90px;
}


.form{
    display: flex;
     
}
.subform1 h3{
    margin-bottom: 10px;
}
.subform2{
    margin-left: 10px;
    
}
.subform2  form input,.subform2  form textarea{
    outline: none;
    resize: none;

}
form div {
  margin-bottom: 10px;

}
input, textarea {
  display: block;
  width: 100%;
  height: 30px;

}
.b1{
    border: 3px solid rgb(45, 45, 45);
    border-radius: 5px;
    background-color: rgb(45, 45, 45);
    color: white;
    font-family: 'poppins';
    padding: 0 5px;
   
}
textarea {
    height : 100px;

}
.but{
    margin: 20 px;
    padding: 3px 30px;
    border-radius: 5px;
    background-color: rgb(84, 240, 84);
}

.cv
{
   
    border: 0px solid  green;
    background-color: rgb(7, 7, 7);
    color: black;
    border-radius: 5px;
    padding: 0 10px;
}
.download{
    margin-left: 360px;
    display: flex;
    
}
.cvr{
    padding : 10px 0px;

}
/*********************back to top**************************/
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.back-to-top:hover {
 
    transform: scale(1.1);
}

.back-to-top p{
    color: cyan;
}
/*********************media************************/

@media (max-width:735px)
    {
    nav{
        padding : 25px 20px;
    }
    nav .right  a span{
        display: none;
    }
    nav .right a:last-child{
        color :var(--text-color);
        background-color: var(--background-color);
        padding : 0px 0px;
    }
    nav .right a{
        font-size: 25px;
    }
    nav .left 
    {
    color : var(--text-color);
    font-size : 18px;
    font-weight: 600;
    }
}
