#skills {
    flex-direction: column;
}

.skills-section {
    width: 90%;
    max-width: 800px;
    padding: 20px;
    background-color: white;
    border: 2px solid black;
    border-radius: 5px;
    position: relative;
}

/* Navigation Bar */
.skills-tabs {
    display: flex;
    justify-content: space-around;
    position: relative;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    flex-wrap: wrap;
}

/* Individual Tabs */
.skill-tab {
    padding: 10px;
    font-size: 16px;
    color: black;
    position: relative;
    cursor: pointer;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease-in-out;
}

/* Active Tab */
.skill-tab.active {
    font-weight: bold;
    background-color: #eee;
    border-radius: 3px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

/* Skills Content */
.skills-content {
    display: none;
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 5px;
    border: 2px solid black;
    margin-top: 10px;
}

.skills-content.active {
    display: block;
}

/* Skill Boxes */
.skill-box {
    display: inline-block;
    padding: 9px;
    margin: 5px;
    font-size: 18px;
    background-color: #fff;
    border: 2px solid black;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover effect for skill boxes */
.skill-box:hover {
    background-color: #f0f0f0;
}


/* Small Screen Navigation */
@media (max-width: 768px) {
    .skills-tabs {
        display: none; /* Hide tabs */
    }

    .skills-nav-arrows {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #f7f7f7;
        border-radius: 5px;
        margin-top: 10px;
    }

    .nav-arrow {
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        color: black;
        background: none;
    }
 

    .prev{
        rotate: -180deg;
    }
    .nav-arrow:hover {
        color: gray;
    }

    #current-tab-label {
        font-size: 18px;
        font-weight: bold;
        color: black;
      
    }
}

/* Show normal tabs on larger screens */
@media (min-width: 769px) {
    .skills-nav-arrows {
        display: none;
    }
}


/* Underline Animation for Tabs */
.underline {
    position: absolute;
    bottom: 2px; /* Add gap here, adjust as needed */
    height: 2px;
    background-color: black;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}


.ski{
    font-size: 5.5rem;
    color: #eee;
    padding-bottom: 25px;

}