
@media (max-width: 150rem) {
    .header-left .site-title {
        font-size: 2rem;
    }
    
    .header-left .name {
        font-size: 1.1rem;
    }
    
    .header-right button {
        font-size: 1.25rem;
    }
    .skill-card i {
        font-size: 2.5rem;
    }
    
    .skill-card h3 {
        font-size: 1.5rem;
    }
    
    .skill-card p {
        font-size: 1rem;
    }

    .skill-card i {
        font-size: 3rem;
    }
    
    .skill-card h3 {
        font-size: 2rem;
    }
    
    .skill-card p {
        font-size: 1.3rem;
    }
    .contato i {
        font-size: 2rem;
    }
    .contato p,.contato a {
        font-size: 1.5rem;
    }
    header,footer {
        padding: 1rem 2rem;
    }
    .card,.card-5 {
        height: 500px;
    }
    .skills-container {
        max-width: 80rem;
    }

    h1 {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    p{
        font-size: 1.2rem;
    }
    .sobre-img {
        height: 800px;
        width: 540px;
    }
    footer a {
        font-size: 2rem;
    }

}



@media (max-width: 140rem) {
    .card,.card-5 {
        height: 460px;
    }
    .skills-container {
        max-width: 80rem;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.5rem;
    }
    p{
        font-size: 1.2rem;
    }
    .sobre-img {
        height: 800px;
        width: 540px;
    }

}

@media (max-width: 120rem) {
    .header-left .site-title {
        font-size: 1.6rem;
    }
    
    .header-left .name {
        font-size: 0.9rem;
    }
    
    .header-right button {
        font-size: 0.938rem;
    }
    .skill-card i {
        font-size: 2.5rem;
    }
    
    .skill-card h3 {
        font-size: 1.5rem;
    }
    
    .skill-card p {
        font-size: 1rem;
    }
    header {
        padding: 0.625rem 1.25rem;
    }
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
    p{
        font-size: 1rem;
    }
    .card {
        height: 428px;
    }
    .card-5{
        height: 428px;
    }
    .sobre-content {
        margin-right: 0%;
        margin-left: 0%;
    }
    .contato p {
        font-size: 1rem;
    }
    .contato i {
        font-size: 1.5rem;
    }
}

@media (max-width: 110rem) {
    footer a {
        font-size: 1.2rem;
    }
    .card {
        height: 400px;
    }
    .card-5{
        height: 400px;
    }
}

@media (max-width: 80rem) {
    .sobre-text {
        padding-top: 3.125rem;
        padding-left: 0rem;
    }

    .sobre-img {
        display: none;
    }

    .sobre-text {
        padding: 0;
    }

}

@media (max-width: 75rem) {

    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr));
    }

}

@media (max-width: 67rem) {

    .skills-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
        width: 90%
    
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-left,
    .header-right {
        flex-direction: column;
        align-items: center;
    }

    .header-right button {
        margin: 0.313rem 0;
    }

    .perfil-section {
        margin-top: 7.5rem;
        padding: 0.625rem;
    }

    .contatos-icons {
        flex-direction: column;
        gap: 0.938rem;
    }

    footer {
        font-size: 0.9rem;
    }

}

@media (max-width: 40rem) {

    .card {
        min-width: calc(50% / 1);
    }
}

@media (max-width: 38rem) {
    .card {
        min-width: calc(40% / 1);
    }
}

@media (max-width: 35rem) {
    .skills-container {
        display: grid;
        grid-template-columns: repeat(1, 4fr);
        grid-gap: 1rem;
        width: 90%
    }

}

@media (max-width: 35rem) {
    .carousel-container {
        overflow: hidden;
        width: 100%;
    }

    .card {
        min-width: 40%;
        height: 450px;
    }

    .card-5 {
        height: 450px;
    }
}

@media (max-width: 30rem) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .header-right button {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .carousel {
        flex-wrap: nowrap;
    }

    .contato i {
        font-size: 1.2rem;
    }

    .contato p,
    .contato a {
        font-size: 0.9rem;
    }

}