*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    background:#000;
    width: 100%;
    height:100vh;
    background-position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-
}
/*header section*/
header{
    width:100%;
}
nav{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:10px 0;
}
nav ul li{
    display: inline-block;
    margin: 10px 20px;
}
nav ul li a{
    text-decoration: none;
    color:#fff;
    font-size: 20px;
    font-family: sans-serif;

}
#active{
    color:rgb(255, 47, 71);
}
nav ul li a:hover{
    color:rgb(255, 47, 71);
    transition:0.5s;
}
h1{ margin-left: 25px;
    font-size:50x;
    font-weight: bold;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color:#fff;
}
h1 span{
    color:rgb(255, 47, 71)
}
nav ul li{
    list-style: none;
    display:inline-block
}

#phone a{
    margin-right: 25px;
    float: right;
    top:0;
    bottom:0;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    border:1px solid rgb(255, 47, 71);
    padding:5px 10px;
}
#phone a:hover{
    background: rgb(255, 47, 71);
    transition:0.5s;
}
.btn{
    margin-right: 25px;
    float: right;
    display:flex;
    font-size: 20px;
    outline:0;
    top:0;
    bottom:0;
    align-items: center;
    background: rgb(196, 34, 53);
    color:#fff;
    padding:5px 10px;
    border: 1px solid  rgb(196, 34, 53); ;

    
}
.btn:hover{
    background:rgb(255, 47, 71);
    transition:0.5s;
    bottom:0;
    top:0;
}
/*home section*/
.container{
    width:100%;
    min-height: 150vh;
    
}
#picture{
    width:250px;
    height: 250px;
    border-radius: 100%;
    float: right;
    outline-style: outset;
    outline-color: rgb(255, 47, 71);
    outline-width: 4px;
    shape-outside: margin-box;
}
h3{
    margin: 75px 25px;
    font-size: 50px;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-break: 1.2rem;
    color:#d4cfcf;
}
h3 span{
    color:rgb(255, 47, 71);
}
h2{
    color:#d4cfcf;
    font-size: 22px;
    line-height: 1.9rem;
    margin:25px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
p{  justify-content: space-between;
    color:#fff;
    font-size: 16px;
    line-break: 2.5rem;
    font-family: 'Poppins' , sans-serif;
    margin:25px;
}
/*menu section*/
.skill{
    margin:35px;
    background:transparent;
    display:flex;
}
.box img{
    border-radius: 8px;
    margin:25px;
    top:0;
    bottom:0;
    position:relative;
}
.box{
    margin: 0;
    box-shadow: 0,0 2px rgb(255, 47, 71);
    transition: 0.5s;

}
.box:hover{
    transform: scale(1.1);
    z-index: 1;
}

.skills h2{
    flex-basis:50%;
    color:#d4cfcf;
    font-size:25px;
    font-family: 'Poppins', sans-serif;
    margin: 25px;
}
.skills label{
    color:#fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    list-style: none; 
    
    margin:18px;
}
.title h4{
    flex-basis:50%;
    color:#d4cfcf;
    font-size:25px;
    font-family: 'Poppins', sans-serif;
    margin: 25px;
}
ul{
   color:#fff;
   font-size: 16px;
   font-family: 'Poppins', sans-serif;
   line-height: 1.4rem;
   list-style: none; 
   float: left;
   margin:18px;
}
ul li span{
    color:rgb(255, 47, 71);
    font-weight: 900;
}
.skills{
    flex-basis:50%;
    color:#d4cfcf;
    font-size:25px;
    font-family: 'Poppins', sans-serif;
    margin:-2px 25px;
}
.progress-bar{
    padding:25px 30px;
    width:350px;
    font-family: 'Poppins',sans-serif;
    color:#fff;
    
}
.progress-bar .bar{
    margin:30px 0;
}
.progress-bar .bar:first-child{
    margin-top: 0;
}
.progress-bar .bar .subject{
    margin-bottom: 5px;
}
.progress-bar .bar .subject span{
    font-family: 500;
    font-size: 17px;
    opacity:0;
    animation: showtext 0.5s 1s linear forwards;
}
@keyframes showtext{
    100%{
        opacity: 1;
    }
}
.progress-bar .bar .bar-line{
    height: 2px;
    width: 100%;
    background: #353b48;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 8px;
    box-shadow: 0 0 10px #2187e7b3;
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}
@keyframes animate{
    100%{
        transform: scaleX(1);
    }
}
.bar .bar-line span{
  height: 2px;
  position: absolute;
  border-radius: 8px;
  transform: scaleX(0);
  transform-origin: left;
  background: rgb(255, 47, 71);
  animation: animate 1s 1s cubic-bezier(1,0,0.5,1)forwards;

}
.bar .html span{
    width: 85%;
}
.bar .css span{
    width: 65%;
}
.bar .javascript span{
    width: 55%;
}
.bar-line span::before{
    position: absolute;
    content:"";
    top: -10px;
    right: 0;
    height: 0;
    width: 0;
    border-top-color: #000;
    opacity: 0;
    animation: showtext2 0.5s 1.5s linear forwards;
}
.bar-line span::after{
    position: absolute;
    top: -28px;
    right: 0;
    font-weight: 500;
    color: #fff;
    padding: 1px 8px;
    font-size: 12px;
    border-radius: 3px;
    animation: showtext2 0.5s 1.5s linear forwards;
}
@keyframes showtext2 {
    100%{
        opacity: 1;

    }
}
.html span::after{
    content:"85%";
}
.css span::after{
    content:"65%";
}
.javascript span::after{
    content:"55%";
}
#main{
    padding:30px 0;
    
}
.section{
    display:flex;
}
.box-1{
    box-shadow: 0,0 2px rgb(255, 47, 71);
    transition: 0.3s;
}
.box-1:hover{
    transform: scale(1.1);
    z-index: 1;
}
.service{ 
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
  grid-gap:40px;
  margin-top: 50px;
    margin:25px;
    background: rgb(5,63,63);
    padding: 25px;
    width:400px;
    height: 300px;
    border-radius: 10px;
}
.service h4{
    font-size: 25px;
    font-family: 'Poppins' , sans-serif;
    color: #d4cfcf;
    text-align: center;
}
.service a{
    float: right;
    text-decoration: none;
    padding-top:25px;
    color:#fff;


}
.service a:hover{
    color:rgb(196, 34, 53);
}
.service:hover{
    background:rgb(255, 47, 71);
    transition:0.5s;
}
.box-2{
    box-shadow: 0,0 2px rgb(255, 47, 71);
    transition: 0.3s;
}
.box-2:hover{
    transform: scale(1.1);
    z-index: 1;
}
.service1{ 
    float: right;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;
      margin:25px;
      background: rgb(5,63,63);
      padding: 25px;
      width:400px;
      height: 300px;
      border-radius: 10px;
  }
  .service1 h4{
      font-size: 25px;
      font-family: 'Poppins' , sans-serif;
      color: #d4cfcf;
      text-align: center;
  }
  .service1 a{
      float: right;
      text-decoration: none;
      padding-top:25px;
      color:#fff;
  
  
  }
  .service1 a:hover{
      color:rgb(196, 34, 53);
  }
  .service1:hover{
      background:rgb(255, 47, 71);
      transition:0.5s;
  }
  .box-3{
    box-shadow: 0,0 2px rgb(255, 47, 71);
    transition: 0.3s;
}
.box-3:hover{
    transform: scale(1.1);
    z-index: 1;
}
  .service2{ 
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap:40px;
    margin-top: 50px;
      margin:25px;
      background: rgb(5,63,63);
      padding: 25px;
      width:400px;
      height: 300px;
      border-radius: 10px;
  }
  .service2 h4{
      font-size: 25px;
      font-family: 'Poppins' , sans-serif;
      color: #d4cfcf;
      text-align: center;
  }
  .service2 a{
      float: right;
      text-decoration: none;
      padding-top:25px;
      color:#fff;
  
  
  }
  .service2 a:hover{
      color:rgb(196, 34, 53);
  }
  .service2:hover{
      background:rgb(255, 47, 71);
      transition:0.5s;
  }
  /*about*/
  .main-2{
    padding:30px 0;
    display:flex;
  }
   img{
    border-radius: 8px;
    margin: 25px;
  }
  .box-5{
        transition: 0.3s;
    }
   .box-5:hover{
        transform: scale(1.1);
        z-index: 1;
  }
  #about{
    width:100%;
    font-size: 30px;
    margin-top: 2px;
  }
  .para-2{
    line-height: 1.3rem;
    width:100%;
  }
  .child-2{
    display:gird;
    width:50%;
    float:right;
    padding:25px;
  }
  .child-2 a{
    float: right;
    text-decoration: none;
    font-size: 22px;
    background:rgb(255, 47, 71);
    padding:5px;
    color:#fff;
    top:0;
    bottom:0;
    font-family: 'Poppins' , sans-serif;
    border-radius: 5px;

  }
  .child-2 a:hover{
    background:rgb(242, 9, 37);
    transition: 0.5s;
    animation-duration: 0.5s;
  }
  /*contact*/
  .contact{
    padding:200px;

  }
  .contact-1{
    flex-basis: 50%; 
}
.personal form{
    width:100%;
}
form input, form textarea{
    width:75%;
    border: 0;
    outline:none;
    background:#262626;
    padding: 15px;
    margin:15px 0;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
}
.text{
    text-align: center;
}
.btn-2{
    border-radius: 5px;
    border:0;
    outline: none;
    color:#d4cfcf;
    float: left;
    padding:14px 50px;
    background:rgb(255, 47, 71);
    font-size: 20px;
}
.btn-2:hover{
    background:rgb(242, 9, 37);
    transition:transform 0.5s;
}
.footer{
    width:100%;
    height: 80px;
    background: #353b48;
}
.footer h5{
    padding-top: 25px;
    text-align: center;
    color:#d4cfcf;
    font-family: 'Poppins' , sans-serif;
    font-size: 20px;

}
