/* for body */
* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* to set backgroung color and text color */
body {
    background-color: #000000;
    color: white;
}


/* background image setting */
#header {
    height: 100%;
    width: 100%;
    background-image: url(Images/bgimgdarksc.png);
    background-size: cover;
    background-position: center;
}


/*logo  space setting*/
.container {
    padding: 10px 10%;
}


/* logo and menu bar position */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 140px;
}

/* manu bar design */
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}


/* menu bar item design */
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

/* to set hover effect in menu item */
nav ul li a ::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}


nav ul li a:hover::after {
    width: 100%;

}

/*  */
.container ul li a:hover {
    border-bottom: 2px solid red;
    /* background: rgb(241, 241, 244); */
    /* color: #000;
padding: 2px; */

}

/*  */



/* header text */
.header-text {
    margin: 20%;
    font-size: 30px;
}

.header-text h1 {
    font-size: 60px;
    margin-top: 20px
}

/* span */
.header-text h1 span {
    color: #ff004f;
}


/* About section */
#about {
    padding: 0px;
    color: white;
}

/* About me */
.row {
    padding-top: 40;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* for about section img */
.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 50%;
}

.sub-title {

    text-align: start;
    font-size: 30px;
    font-weight: 600;
    color: red;
}

/* for lins eg. about/education/resume/contact */
.tab-titles {
    display: flex;
    margin: 20px  40px;
}

.tab-links {
    padding-top: 20;
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-titles tab-links {
    content: '';
    width: 3px;
    height: 3px;
    background: red;
    position: absolute;
    left: 0;
    bottom: 8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
    border-bottom: 2px solid red;
}

.tab-links:hover {
    border-bottom: 2px solid red;
}



.tab-contents ul li {
    list-style: none;
    margin: 10px 0;

}

.tab-contents ul li span {
    color: #e84661;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* skils section started */


* {
    box-sizing: border-box;

}
.details{
    display: flex;
    padding-top: 20px;
    /* white-space: break-spaces; */
}

.details p{
    padding: 10px;
}

/* Container for skill bars */

.skill-left {
    flex-basis: 48%;
}

.skill-right {
    flex-basis: 48%;
}

.skills-container {
    width: 100%;
    /* Full width */
    background-color: #ddd;
    border-radius: 5px;
    /* Grey background */
}

.skills {
    text-align: right;
    /* Right-align text */
    padding-top: 1px;
    /* Add top padding */
    padding-bottom: px;
    /* Add bottom padding */
    color: white;
    /* White text color */
}

.html {
    width: 90%;
    background-color: #09565d;
}

/* Green */
.css {
    width: 90%;
    background-color: #49571b;
}

/* Blue */
.js {
    width: 65%;
    background-color: #700f0f;
}

/* Red */
.SQl {
    width: 60%;
    background-color: #ad2c2c;
}
.Web-Development{
    width: 90%;
    background-color: #174178;
}

/* Green */
.App-Development {
    width: 90%;
    background-color: #063f49;
}

/* Blue */
.Flutter{
    width: 65%;
    background-color: #4177cf;
}

/* Red */
.dart {
    width: 60%;
    background-color:blue;
}

/* Dark Grey */




/* portfolio */

#portfolio {

    padding: 10px 0;
}


/* .work-list img{
    width: 100%;
    height: 160%;
} */
.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    height: 460;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}


.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(rgb(0, 0, 0, 0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 15px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 40px;
    color: #45ef08;
    text-decoration: none;
    font-size: 20px;
    line-height: 60px;
    /* background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center; */
}


.work:hover img {
    transform: scale(1.5)
}

.work:hover .layer {
    height: 100%;
}


.btn {
    background: #000;
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 0.5px solid white;
    padding: 14px 50px;
    border-radius: 10px;
    text-decoration: none;
    color: red;
    transition: background 0.5s;
}

.btn:hover {
    background: red;
    color: white;
    font-weight: bold;

}


/* contact  */

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}



.contact-left p {
    margin-top: 35px;
}

.contact-left p i {
    color: white;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    margin-right: 15px;
    color: white;
    display: inline-block;
    transition: transform 0.5s
}

.social-icons a:hover {
    color: blue;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: rgb(61, 61, 60);
    padding: 15px;
    margin: 15px 0;
    color: white;
    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: 10px;
    background: rgb(75, 74, 74);
}

/* to hide the narbar for full screen */
nav .fas {
    display: none;
}

.f-social{
    padding: 20px;
    font-weight: bolder;
}

/* css for small screen */
@media only screen and (max-width:600px) {
    #header {
        background-image: url(Images/bgremove.png);
    }

    .header-text {
        margin-left: 20px;
        margin-top: 100%;
        font-size: 16px;
    }

    .header-text h1 {
        font-size: 40px;
        color: #250fef;
    }

    .header-text h1 span {
        color: rgb(55, 17, 209);
    }

    nav .fas {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: red;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .sub-title {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 50px;
    }

    .about-col-2 {
        padding-top: 0px;
    }

    .tab-links {
        font-size: 16px;
    }

    .contact-right {
        flex-basis: 100%;
        /* display: block; */
    }

    .contact-left {
        flex-basis: 100%;
    }

    /*  */


    /*  */
    .copyright {
        font-size: 14px;
    }
}



/* education time line */
/* The actual timeline (the vertical ruler) */
.timeline {
    font-family: Helvetica, sans-serif;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}


/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 25%;
    margin-left: -3px;
}

/* Container around content */
.containers {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 70%;
}

/* The circles on the timeline */
.containers::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    /* right: -17px; */
    left: 31px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */

/* Place the container to the right */
.right {
    left: 25%;
    
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: rgb(50, 46, 46);
    position: relative;
    border-radius: 6px;
    transition: transform 0.5s
}

.content:hover {
    background: white;
    color: black;
    transform: translate(-10px);
}


/* .content.text{
    color: #000000;
  } */



/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .containers {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .containers::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}