



*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    scroll-padding-top: 0rem;

}

:root{
    --bg-color: #10101a;
    --main-color: #2fbf71;
    --2nd-main-color: #ffffffcc;
    --text-color: #fff;
    --big-font: 5rem;
    --h2-font: 1.9rem;
    --p-font: 1rem;
}
body{
    background:var(--bg-color) ;
    color: var(--text-color);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    padding: 20px 10%;
    transform: .3s;
}
.logo{
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
}

span{
     color: var(--main-color );

}
.navbar{
    display: flex;

}
.navbar a{
    color: var(--text-color);
    font-size: 1rem;
    padding: 14px 20px;
    font-weight: 500;
}
.navbar a:hover{
    background: var(--main-color);
    transition: .3s;


}
#menu-icon{
    font-size: 28px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

section{

    padding: 120px 14%;
}
.home{

    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
}
.home-img img{
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 50%;
    margin-left: 150px;
}
.home-text h5{
    color: var(--text-color);
    font-size: 25px;
    font-weight: 500;
    margin: 0 0 20px;
}

.home-text h1{
    font-size: 50px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 20px;


}
.home-text h6{
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
}
.home-text p{
    max-width: 470px;
    font-size: var(--p-font);
    font-weight: 300;
    line-height: 2rem;
    margin-bottom: 1.5rem;
    color: var(--2nd-main-color);
}
.btn{
    background: var(--main-color);
    /* background: -webkit-linear-gradient(0deg, #8490ff 0%, #62bdfc 100%); */
    color: var(--text-color);
    box-shadow: 4px 4px var(--text-color);
    padding: 0 25px;
    line-height: 42px;
    display: inline-block;
    border: 1px solid transparent;
    font-weight: 400;
    letter-spacing: 2px;
    transition: ease all 0.35s;
}

.btn:hover{
    background: var(--text-color);
    color: var(--main-color);
    box-shadow: 4px 4px var(--main-color);
}

.about{
    display: flex;
    grid-template-columns: repeat(2,2fr);
    grid-gap: 5rem;
    align-items: center;
    /* margin-bottom: 40px; */
}

.about-img img{
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 5%;

}
.about-text h3{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 0 0 30px;
}

.about-text p{
    max-width: 570px;
    font-size: var(--p-font);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.8rem;
    color: var(--2nd-main-color);

}

.main-btn .btn{
    margin-right: 20px;

}

.skills-section h1{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 0 0 30px;
}

/* .skills-section{
    position: relative;
    margin: 100px 0;

} */


/* education */




.timeline h1{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 0 0 10px;

}
.timeline{
    display: block;
    width: 80%;
    grid-template-columns: repeat(2,2fr);
    grid-gap: 5rem;
    /* margin: 150px auto; */

}
.card{
    width: 45%;
    padding: 7px;
    border-radius: 10px;
    color: white;
    display: block;
    margin: 0;
    position: relative;
    background: red;


}

.card:nth-child(even){
    margin-left: auto;
}

.card:nth-child(even):before{
    content: '';
    position: absolute;
    left: -15%;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 5px solid black;
    border-radius: 50%;
}
.card:nth-child(even)::after{
    content: '';
    position: absolute;
    left: -8.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 7%;
    height: 2px;
    background: white;
    z-index: -1;
}
.card:nth-child(odd):before{
    content: '';
    position: absolute;
    right: -13%;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 5px solid black;
    border-radius: 50%;
}
.card:nth-child(odd)::after{
    content: '';
    position: absolute;
    right : -8.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    height: 2px;
    background: white;
    z-index: -1;
}

.card:nth-child(2), .card:nth-child(2)::before{
    background: #ff4f4f;
}
.card:nth-child(3), .card:nth-child(3)::before{
    background: #2fbf71
}
.card:nth-child(4), .card:nth-child(4)::before{
    background: #565252;
}

.social{
    display: flex;


}

.social-btn{

     font-size: 50px;


}

.resume-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px,auto));
    grid-gap: 2rem;
    align-items: center;
    margin-top: 4.4rem;
}

.about-skill h1{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 0 0 30px;
}











        /* projects */






.centre h2{
    color: var(--text-color);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 0 0 30px;

}

.resume-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,auto ));
    grid-gap: 1rem;
    align-items: center;
    margin-top: 4rem;
}

.box{
    background: #0b0b13;
    padding: 40px 30px;
    border-radius: 5px;
    transition: all .4sec;
}

.box h6{
    color: #ffba08;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;


}

.box h4{
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 13px;
}




/* skilss */






@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

.row{
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.row .col .skill{
    width: 150px;
    height: 150px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5),
                -5px -5px 15px rgba(0, 0, 0, 0.5);
}
.row .col:nth-child(1) .skill{
    background: conic-gradient(#ffba08 75%, transparent 0);
}
.row .col:nth-child(2) .skill{
    background: conic-gradient(#ffba08 75%, transparent 0);
}
.row .col:nth-child(3) .skill{
    background: conic-gradient(#ffba08 72%, transparent 0);
}

.row .col:nth-child(4) .skill{
    background: conic-gradient(#ffba08 71%, transparent 0);
}
.row .col:nth-child(5) .skill{
    background: conic-gradient(#ffba08 75%, transparent 0);
}

.row .col:nth-child(6) .skill{
    background: conic-gradient(#ffba08 70%, transparent 0);
}

.row .col:nth-child(7) .skill{
    background: conic-gradient(#ffba08 75%, transparent 0);
}


.row .col .skill::before{
    content: '';
    position: absolute;
    width: 85%;
    height: 85%;
    background: #03071e;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) inset,
                -5px -5px 15px rgba(0, 0, 0, 0.5) inset;
}
.row .col .skill .content{
    color: #ffba08;
    position: absolute;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    user-select: none;
}
.row .col .skill .content span{
    display: block;
    padding: 5px 0;
    letter-spacing: 2px;
}