body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
}

html {
    scroll-behavior: smooth;
}

.header {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 0px;
    bottom: 50px;
}

.nav {
    color: #00FF41;
    font-size: 25px;
    font-weight: 700;
    margin-left: 200px;
    padding-top: 15px;
    display: inline-block;

}

.nav2 {
    color: #00FF41;
    display: inline-block;
    margin-right: 20px;
    position: absolute;
    right: 100px;
}

li {
    display: inline-block;
    margin-right: 20px;
}

li:hover {
    color: blue;
    cursor: pointer;
    transition: 0.5s;
}

.navigate {
    text-decoration: none;
    color: #00FF41;
}

.img {
    display: flex;
    justify-content: center;
    margin-top: 90px;
    object-fit: cover;
}

#img1 {
    height: 240px;
    width: 225px;
    border-radius: 100px;
    opacity: inherit;
    border: 1px #00FF41 solid;
}

#img1:hover {
    box-shadow: 0 0 20px #00FF41;
    transition: 0.5s;
}

.content {
    color: white;
    width: 100%;
}

#name {
    text-align: center;
    font-size: 45px;
}

#name1 {
    text-align: center;
    font-size: 18px;
}

#institute {
    text-align: center;
    color: #00FF41;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

#contacttag {
    color: white;
    text-align: center;
    padding-top: 25px;
}

.icons {
    /* background-color:green; */
    margin-top: 25px;
    padding: 10px;
    /* text-align:center; */
    display: flex;
    gap: 15px;
    justify-content: center;
}

#linkedinicon,
#githubicon {
    height: 30px;
    width: 30px;
}

#githubicon {
    height: 35px;
    width: 35px;
}

#linkedinicon:hover,
#githubicon:hover,
#mailicon:hover,
#mobileicon:hover {
    transform: scale(1.1);
    color: #00ffff;
}

#aboutme,
.skill,
#experience,
.projects {
    margin-left: 210px;
    margin-top: 120px;
}

#aboutmeline {
    background-color: #00FF41;
    height: 2px;
    width: 160px;
    margin-left: 210px;
}

#skill-line {
    background-color: #00FF41;
    height: 2px;
    width: 160px;
}

.exp {
    background-color: #00FF41;
    height: 2px;
    width: 130px;
}

.pro {
    background-color: #00FF41;
    height: 2px;
    width: 115px;
}

.aboutmeclass {
    /* background-color:grey; */
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 30px;

}

#professionalsummary,
#education {
    height: 300px;
    width: 600px;
}

.company {
    background-color: #00FF41;
    padding: 2px 2px 2px 20px;
    border-radius: 10px 10px 0px 0px;
    width: 1200px;
    margin-top: 30px;
}

.exp {
    margin-top: 0px;
}

.company-content,
.project-content {
    width: 1200px;
    background-color: black;
    color: white;
    padding: 0px 20px;
    border: 1px grey solid;
    border-top: none;
    border-radius: 0px 0px 10px 10px;
}

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

.sourcelink {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #00FF41;
}

.sourcelink:hover {
    cursor: pointer;
}

.company-line {
    background-color: grey;
    height: 1px;
    width: 100%;
    margin-bottom: 10px;
}

#prof,
#edu {
    background-color: #00FF41;
    padding: 18px;
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 0px;
}

#prof-para,
.edu-para {
    background-color: black;
    color: white;
    padding: 18px;
    margin-top: 0px;
    border: 1px grey solid;
    border-radius: 0px 0px 10px 10px;
}

.edu-content {
    border-left: 3px solid #00b8ff;
    padding: 0px 0px 0px 10px;
}

#edu-content2 {
    margin-top: 20px;

}

.skill {
    margin-top: 100px;
}

.skill-class {
    overflow: hidden;
}

.skill-badge {
    padding: 10px 25px;
    background: #10b9810d;
    border: 1px solid rgba(0, 255, 65, .2);
    color: #00FF41;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: default;
    transition: all .3s ease;
    white-space: nowrap;
}

.skills-track {
    display: flex;
    gap: 2rem;
    animation: scroll 10s linear infinite;
    white-space: nowrap;
    margin: 30px;
    position: relative;
}

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

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

.point {
    background-color: white;
    height: 6px;
    width: 6px;
    border-radius: 10px;
    display: inline-block;
    margin-right: 10px;
}

.footer {
    margin-top: 190px;
}

.footerline {
    background-color: grey;
    height: 1px;
    width: 100%;
    margin-bottom: 10px;
}

.footercontent {
    color: white;
    text-align: center;
}

/* ========================================================
   GLOBAL FIX: Prevents borders/padding from breaking widths
   ======================================================== */
* {
    box-sizing: border-box;
}

/* /* ========================================================
   LAPTOP SCREENS (Screens smaller than 1400px)
   ======================================================== */
@media (max-width: 1400px) {

    /* Brings the navigation in slightly */
    .nav {
        margin-left: 50px;
    }

    .nav2 {
        right: 50px;
    }

    /* Changes huge fixed margins to flexible percentages */
    #aboutme,
    .skill,
    #experience,
    .projects,
    #aboutmeline {
        margin-left: 5%;
    }

    /* Allows the About Me boxes to shrink nicely */
    .aboutmeclass {
        padding: 0 5%;
    }

    #professionalsummary,
    #education {
        width: 48%;
    }

    /* Shrinks the 1200px boxes to fit the laptop screen */
    .company {
        width: 90%;
        margin-left: 5%;
    }

    .company-content,
    .project-content {
        width: 90%;
        margin-left: 5%;
    }
}

/* ========================================================
   MOBILE SCREENS (Screens smaller than 768px)
   ======================================================== */
@media (max-width: 768px) {

    /* Stacks the navigation bar vertically */
    .header {
        flex-direction: column;
        align-items: center;
        position: static;
        background-color: black;
    }

    .nav {
        margin-left: 0;
        padding-top: 10px;
    }

    .nav2 {
        position: static;
        margin-top: 15px;
        right: 0;
    }

    .nav2 ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    /* Stacks the About Me and Education sections vertically */
    .aboutmeclass {
        flex-direction: column;
        height: auto;
    }

    #professionalsummary,
    #education {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    /* Stacks the Project buttons vertically */
    .source {
        flex-direction: column;
    }

    .sourcelink {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
    }
}