:root{
    --purple:#2F192E;
    --purple-light:#30192d;
    --dark-blue:#012677;
    --blue:#5c65c0;
    --skyblue:#00b4fc;
    --light-blue:#005bc5;
    --dark-pink:#f64c57;
    --dark-magenta:#e21b5a;
    --light-green:rgb(54, 187, 154);
    --light-purple:#d9abff;
    --red:#d56161;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family:'Times New Roman', Times, serif;
}
body{
    background: linear-gradient(45deg,#8682db,#d977bd);
    
}
.container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 100%;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
}
.profile-card{
    background: #111;
    width: 400px;
    padding: 3rem;
    border-radius: 10px;
    min-height: 400px;
    position: relative;
    color: #fff;
    margin: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

  
.profile-card .profile-pic{
    margin-top: 15px;
    overflow: hidden;
    width: 200px;
    height: 200px;
    border-radius: 10px;
}
.profile-card .profile-pic img{
    border-radius: 10px;
} 
.profile-card .profile-details{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.profile-details .intro{
    display: flex;
    justify-content:center ;
    align-items: center;
    flex-direction: column;
}
.profile-details .intro h2{
    margin-top: 20px;
}
 .profile-details .intro h4{
  font-weight: 400;
  width: 16ch;
  animation: typing 3s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
} 
@keyframes typing {
    from {
      width: 0
    }
  }
      
  @keyframes blink {
    50% {
      border-color: transparent
    }
  }
.profile-details .intro  .social{
    margin-top: 10px;
    margin-bottom: 25px;
}
.profile-details .intro .social i{
    color: #fff;
    font-size: 16px;
    background-color: #2222;
    margin: 5px;
    height: 35px;
    width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 5px;
    transition: 0.5s;
}
.profile-details .intro .social i:hover{
    transform: scale(1.2);
    border: 1px solid rgba(250, 246, 246, 0.3);
    
}
.profile-details .contact-info{
    background-color: #1d1d1d;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
}
.profile-details .contact-info .row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
    margin-bottom: 10px;
}
.contact-info .row .icon{
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 5px;
    background-color: #111;
    text-align: center;
    color: #fff;
    transition: 0.5s;
}
.row .icon img{
    border-radius: 5px ;
}
.row .icon:hover{
    transform: scale(1.3);
    /* border-radius: 1px solid rgba(255,255,255,0.1); */
    background-color: #d56161;
}
.row .content{
    min-width: 40%;
    
    
}
.row .content a:hover{
    color: #d56161;
}

.row .content span{
    font-size: 12px;
       
}
.row .content a{
    color: #f2f2f2;
}
.download-resume{
    background: linear-gradient(45deg,#f54d59,#e21b5a);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 30px;
    margin-top:  1.5rem;
    border: none;
}
.download-resume a{
    color: #fff;
}
/* About CSS */
.about{
    background-color: #111;
    max-width: 600px;
    padding: 2rem 3rem;
    border-radius: 10px;
    margin-bottom: 5px;
}
.about h1{
    color: #f2f2f2;
    margin-bottom: 1.1rem;
    position: relative;
    display: inline-block;
    font-size: 3.5rem;
}
.about h1::after{
    position: absolute;
    content: "";
    top: 50%;
    right: -130px;
    width: 45%;
    height: 2.5px;
    background: linear-gradient(45deg,#cf898d,#e21b5a);
}

.about h2{
    color: #f2f2f2;
    font-size: 2rem;
    margin: 0.5rem 0;
}
.about p{
    color: #b2abab;
    margin: 1.5rem 0;
}
/* Make sure that padding behaves as expected */
.con{
    box-sizing:border-box;
}

/* Container for skill bars */
.contain {
  width: 100%; /* Full width */
  background-color: #b2aeae; /* Grey background */
}

/* footer */
.footer{
    text-align: center;
    background-color: #1d1d1d;
    font-size: 1.5rem;
    height: 50px;
    color: #fff;
    padding-top: 1rem;
}
/* Responsive Design */
@media(max-width:768px){
    .about{
        width: 1005;
        max-width: 300px;
        padding: 1rem;
        margin: 1rem;
    }
    .about h1{
        font-size: 2.2rem;
    }
    .about .work{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(4,auto);
    }
}
