@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Gabarito:wght@400;500;600&family=Nunito:wght@600&family=Poppins:wght@500;600;700&display=swap');

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    /* font-family: 'Caveat', cursive;
    font-family: 'Gabarito', sans-serif;
    font-family: 'Nunito', sans-serif; */
    font-family: 'Poppins', sans-serif;
}

.heading {
    text-align: center;
    padding-bottom: 40px;
}

.heading h2 {
    font-size: 30px;
}

.heading span {
    font-size: 0.941rem;
    color: rgb(2, 166, 70);
    font-weight: 600;
}

.content {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.content .left {
    width: 45%;
    height: auto;
    /* height: 500px; */
    /* border: 1px solid red; */
    padding: 0 20px;
}

.content .right {
    width: 45%;
    height: auto;
    /* height: 500px; */
    /* border: 1px solid red; */
    padding: 0 20px;
}

/* bars code here */
.skill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px 0;
}

.skill-name {
    width: 100%; 
}

.skill-bar {
    width: 100%;
    height: 15px;
    background-color: #eee;
    border-radius: 5px;
    margin-top: 5px; 
    /* changes */
    position: relative; 
}

.skill-level {
    height: 100%;
    background-color: #2a2a2a; 
    /* background-color: rgb(2, 166, 70); */
    border-radius: 5px;
    /* change */
    text-align: center;
    color: #fff;
    line-height: 15px; /* Center the text vertically */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .content {
      display: flex;
      flex-direction: column;
    }

    .content .left{
        width: 100%;
        padding: 0;
    }

    .content .right{
        width: 100%;
        padding: 0;
    }
  }