section.skills .switch-skills{
    display: flex;
    width: fit-content;
    margin: 0 auto 40px auto;
}

section.skills .switch-skills p{
    padding: 4px 8px;
    margin: 0 5px;
    border-radius: 16px;
    border: 1px solid #2e2d2f;
    background-color: #232123;
    color: white;
    cursor: pointer;
}

section.skills .switch-skills p:hover{
    background-color: rgba(48, 48, 48, 1);
    transform: scale(1.08);
}

section.skills .switch-skills p.selected{
    background-color: #f17448;
    border: 0;
}

section.skills .hard-section, .soft-section{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

section.skills .hard-section > div, section.skills .soft-section > div{
    display: flex;
    margin: 15px;
    justify-content: space-evenly;
}

.box-skill{
    border: 1px solid #2e2d2f;
    background-color: #232123;
    width: 340px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 0px 8px 0px #232123;
    border-radius: 8px;
}

.box-skill i{
    transform: scale(2.5);
    margin-bottom: 30px;
}

.box-skill h2{
    margin-bottom: 5px;
    font-size: 24px;
}

.box-skill p{
    font-size: 20px;
}

@media (min-width: 1280px) and (max-width: 1460px){
    section.skills .hard-section > div, section.skills .soft-section > div{
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .box-skill{
        margin: 10px;
    }
}

@media (max-width: 1280px) {
    .box-skill{
        width: 300px;
    }

    .box-skill h2{
        font-size: 22px;
    }
    
    .box-skill p{
        font-size: 18px;
    }
}

@media (max-width: 980px) {
    .box-skill{
        width: 260px;
    }

    .box-skill h2{
        font-size: 22px;
    }
    
    .box-skill p{
        font-size: 18px;
    }
}

@media (max-width: 880px){
    .box-skill{
        width: 340px;
    }

    .box-skill h2{
        font-size: 24px;
    }
    
    .box-skill p{
        font-size: 20px;
    }

    section.skills .hard-section > div, section.skills .soft-section > div{
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .box-skill{
        margin: 10px;
    }
}

@media (max-width: 450px){
    .box-skill{
        width: 300px;
    }

    .box-skill h2{
        font-size: 22px;
    }
    
    .box-skill p{
        font-size: 18px;
    }
}