* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/laptop\ view.png);
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 10%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    text-decoration: none;
    color: #201d73;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #201d73;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

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

.header-text {
    margin-top: 20%;
    font-size: 30px;

}

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

.header-text p {
    font-size: 20px;
    color: #1e1a9d;
    margin-top: 20px;
}

.header-text h1 span {
    color: #ffffff;
    font-size: 60px;
    font-weight: 600;
}

/* ------------about section------------------ */
#about {
    padding: 80px 0;
    color: #ababab;
    background-color: #1a0e9b;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}



.about-col-1 {
    flex-basis: 35%;

}

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

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

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #ffffff;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}

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

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

.tab-links.active-link::after {
    width: 50%;

}

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

.tab-contents ul li span {
    color: #fff;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

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

}

/* -----------------Skills Section----------------- */
/* CSS */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}
.skills-container h1 {
    text-align: center;
    color:#1a0e9b;
    font-size: 40px;
    margin-bottom: 20px;
    text-underline-offset: 5px;
}

.skills-container {
    background-color: #7db5ff;
    /* Your uploaded blue */
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.skills-track {
    display: inline-block;
    animation: scrollSkills 20s linear infinite;
}

.skills-track span {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1px;
}

@keyframes scrollSkills {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}



/* ----------------services---------------- */
#services {
    padding: 30px 0;
}

.services {
    background-color: #1a0e9b;
}

.services h1 {
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    color: #201d73;
}

.services-list div {
    background: #82aeff;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2 {
    color: #1a0e9b;
    font-size: 30px;
    font-weight: 10000;
    margin-bottom: 15px;
}

.services-list div a {
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
    margin-top: 20;
    display: inline-block;
}

.services-list div:hover {

    background: #6262fe;
    transform: translateY(-10px);
}

/* --------------portfolio------------------ */
#portfolio {
    padding: 50px 0;
    background: #1a0e9b;
}

.sub-title {
    text-align: center;
    justify-content: center;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    color: #201d73;
}

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

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

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(7, 4, 110, 0.5), rgba(4, 57, 136, 0.5));
    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: 14px;
    transition: height 0.5s;
}

.layer p {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 5px;
}

.layer h3 {
    font-size: 20px;
    font-weight: 10000;
    color: #ffffff;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-decoration: underline;
    margin-bottom: 5px;
    /* margin-bottom: 20px; */
}

.layer a i {
    font-size: 15px;
}

.layer a {
    margin-top: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    line-height: 30px;
    background: #0e08af;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
}


.work:hover img {
    transform: scale(1.1);
}

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


.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid;
    padding: 14px 50px;
    border-radius: 6px;
    color: #1a0e9b;
    background: #82aeff;
}

/* ------------------contact------------------ */
#contact {
    background: #1a0e9b;
}

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

.contact-left p {
    margin-top: 50px;

}

.social-icons a {
    margin-top: 30px;
    text-decoration: none;
    margin-right: 15px;
    color: #82aeff;
    font-size: 20px;
    transition: 0.5s;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffffff;
    transform: translateY(-5px);
    transition: 0.5s;
}

.contact-left p i {
    font-size: 20px;
    color: #b4b1ff;
    margin-right: 15px;
}

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

.btn.btn2 {
    display: inline-block;
    background: #82aeff;
}

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

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #ffffff;
    color: #1a0e9b;
    font-size: 15px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 20px;
    margin-top: 18px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: #82aeff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 300;
}

nav .fas {
    display: none;
}


/* --------------media query------------------ */
@media only screen and (max-width: 600px) {
    #header {
        background-image: url(images/mobile\ view.png);
    }

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

    .header-text h1 {
        font-size: 30px;
    }

    .header-text h1 span {
        font-size: 30px;
    }

    nav .fas {
        display: block;
        position: absolute !important;
        font-size: 25px;
        color: #ffffff;
        top: 25px;
        right: 25px;
    }

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

    nav ul li {
        display: block;
        margin: 25px;
        color: #82aeff;
    }

    ;

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

    }

    nav ul li a {
        font-size: 20px;
        color: #82aeff;
    }

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

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

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

    .about-col-2 {
        font-size: 12px;

    }

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

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

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

#msg {
    color: #ffffff;
    display: block;
    margin-top: -15px;
    font-size: 20px;
    font-weight: 600;
}