*{
    margin: 0;
    padding: 0;
    font-family:  'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: black;
    color: white;
}
#header{
    /* background: url(img/back2.jpg);
    background-size: cover;
    background-position: center; */
    width: 100%;
    height: 100vh;

}
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.container{
    padding: 10px 10px;
}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo{
    width: 200px;
    z-index: 1;

}
nav ul li{
    list-style: none;
    display: inline-block;
}
nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 18px;
    position: relative;
    padding: 10px 20px;
    margin: 0 5px;
}
nav ul li a:hover{
    background-color: red;
    border-radius: 10px;
}
.header-text{
    position: absolute;
    margin-top: 15%;
    margin-left: 60px;
    font-size: 30px;
}
.header-text h1{
    font-size: 80px;
    /* margin-top: 20px; */
}
.header-text p{
    font-size: 20px;
}

/* ---------------about------------ */
#about{
    padding: 50px 0;
    color: aliceblue;
}
.row{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 10px;
}
.col-1{
    flex-basis: 45%;
    font-weight: 10;
    text-align: justify;
    text-justify: inter-word;
    color: white;  
}
.col-1 p{
    color: #b3b0b0;
      line-height: 20px;
      margin-bottom: 50px;
}
.sub-title{
    font-size: 60px;
    margin-bottom: 20px;
}
.col-2{
    flex-basis: 35%;
}
.col-2 img{
    width: 90%;
    height: 95%;
    border-radius: 15px;
    /* box-shadow: 15px 15px 20px white; */
}
.details{
    display: flex;
    justify-content: space-evenly;
    margin-top: 30px;
}
.details p{
    color: #808080;
}
.co1,.co2,.co3{
    flex-basis: 30%;
    line-height: 50px;
}
/* ------------------------------top button------------------- */
#top{
    height: 50px;
    width: 50px;
    background-color: #343131;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1;
    border-radius: 30%;
    display: flex;
    cursor: pointer;
}
#top a{
    text-decoration: none;
    font-style: none;
    color: #fff;
    font-size: 30px;
    padding: 25%;
}
#top:hover{
    background-color: #808080;
}
/* ------------------------education------------------ */
#education{
    padding: 40px 50px;
    margin: 60px 0;
    color: aliceblue;
}
.timeline {
    position: relative;
    width: 100%;
    height: 5px;
    margin-top: 200px;
    padding-top: 50px;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.timeline::before {
content: '';
position: absolute;
width: 100%;
height: 5px;
background-color: white;
border-radius: 5px;
}
.line-container {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.line-container h3{
    font-size: 20px;
    padding: 5px 0;
    color: rgb(230, 232, 233);
}
.line-container p{
    color: #808080;
}
.line-top{
    padding: 15px 30px;
    margin: 20px;
    background-color: #343131;
    border-radius: 10px;
    position: absolute;
    bottom: 100%;
}
.line-top::after{
    content: '';
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 30px solid #343131;
    position: absolute;
    top: 95%;
    left: 7%;
}
.line-buttom::after{
    content: '';
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 30px solid #343131;
    position: absolute;
    bottom: 95%;
    left: 7%;
}
.line-buttom{
    padding: 15px 30px;
    margin: 20px;
    background-color: #343131;
    border-radius: 10px;
    position: absolute;
    top: 100%;
}
.line-container::after{
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background-color: red;
    bottom: 12%;
    left: 25%;
}
/* ----------------------skills---------------------*/
#skills{
    padding: 80px 50px;
}
#skills .container .row .co1,.co2{
    flex-basis: 35%;
}
.subject{
    font-size: 18px;
    font-weight: thin;
    color: #808080;
    padding-bottom: 15px;
    margin-right: 10px;
}
.progress-bar{
    position: relative;
    width: 100%;
    height: 7px;
    background-color: #808080;
    border-radius: 15px;
    margin-bottom: 20px;
}
.progress-bar::after{
    position: absolute;
    content: attr(value);
    color: #808080;
    font-size: 18px;
    bottom: 100%;
    right: 0;
}
.progress-line{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(170, 16, 16);
    border-radius: 15px;
}
.progress-line::after{
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgb(170, 16, 16) ;
    left: 98%;
    top: -50%;
}
/* -----------------profiles------------------ */
#profiles{
    padding: 30px 50px;
}
#profiles .row{
    padding: 30px;
    margin: 20px;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 400px 400px 400px;
    justify-content: center;
    flex-wrap: wrap;
}
#profiles .row a{
    color: #fff;
    border: 1px solid white ;
    text-align: center;
    /* flex-basis: 30%; */
    font-size: 50px;
    padding: 50px 0;
    /* flex-wrap: wrap; */
    cursor: pointer;
}
#profiles .row i {
    display: inline-block;
    align-items: center;
    justify-content: center;
    margin: 10px;
  }
  
#profiles .row a i.background-icon-1 {
/* Styles for the first icon with a background image */
background: url(img/leetcode-white.svg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
height: 100%;
width: 100%;
}
#profiles .row a i.background-icon-2 {
    /* Styles for the first icon with a background image */
    background: url(img/codechef-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 100%;
    width: 100%;
}
#profiles .row a i.background-icon-3 {
    /* Styles for the first icon with a background image */
    background: url(img/iron-man-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 100%;
    width: 100%;
    filter: invert();
}
#profiles .row a i.background-icon-4 {
    /* Styles for the first icon with a background image */
    background: url(img/cib-hackerrank-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 100%;
    width: 100%;
}
#profiles .row a i.background-icon-5 {
    /* Styles for the first icon with a background image */
    background: url(img/credly-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20%;
    height: 100%;
    width: 100%;
}
#profiles .row a i.background-icon-6 {
    /* Styles for the first icon with a background image */
    background: url(img/geeksforgeeks-white.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20%;
    height: 100%;
    width: 100%;
}


/* ------------------contact--------------- */
#contact{
    padding-top: 30px;
}
.contact-left{
    flex-basis: 30%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: red;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration-style: none;
    font-size: 30px;
    margin-right: 15px;
    color: aliceblue;
    display: inline-block;
    transition: 0.5s;
}
.social-icons a:hover{
    color: red;
    transform: translateY(-5px);
}
.contact-right{
    flex-basis: 60%;
}
.btn.btn2{
    display: inline-block;
    background-color: red;
    border-radius: 5px;
    padding: 10px 50px;
    color: white;
}
.contact-right form{
    width: 90%;
}
form input,form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background-color: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align:center;
    padding: 25px 0;
    background-color: #262626;
    margin-top: 20px;
    font-weight: 300;
}
.copyright i{
    color: red;
}
#msg{
    color: lightseagreen;
    margin-top: 20px;
    display: block;

}

@media screen and (max-width:600px){

    
}
