@media (max-width: 1280px){
    /* services */
    .services-text-container > h2 {
        font-size: 3.2rem;
    }
    .subtitleServices {
        font-size: 1.3rem;
    }
    .servicesDescription {
        font-size: 1rem;
    }

    /* Main */
    .main-content-right {
        display: none;
    }
    .main-content-left {
        width: 100%;
    }
    .social-container {
        width: 20%;
    }
    .name-n-description {
        width: 50%;
    }
}

@media (max-width: 1024px){
    /* main */
    .name-n-description > h1 {
        font-size: 4rem;
    }
    main {
        background-position: bottom right;
    }

    /* Portfolio */
    .portfolio-container {
        padding: 5% 7% 0 7%;
    }

    /* about me */
    .about-me-TEXT-container  h3 {
        font-size: 2.5rem;
    }
    .about-me-TEXT-container p {
        font-size: 0.9rem;
    }
    .about-me-IMG-container > img {
        width: 100%;
        height: auto;
    }
    
}

@media (max-width: 970px){
    /* services */
    .services-text-container, .services-img-container {
        height: 50vh;
    }
    .services-text-container > h2 {
        font-size: 2.3rem;
    }
    .subtitleServices {
        font-size: 1.1rem;
    }
    .servicesDescription {
        font-size: 1rem;
    }
}

@media (max-width: 921px){
    /* Portfolio */
    .img-container, .img-container > img {
        height: 28dvw;
    }

    /* Services */
    .services-text-container, .services-img-container {
        /* width: 50%; */
        height: 45vh;
    }
}

@media (max-width: 850px){
    /* Main */
    .name-n-description {
        width: 100%;
    }
    /* services */
    .services-text-container, .services-img-container {
        height: 45vh;
    }
    .services-text-container {
        padding: 20px 25px;
    }
    .subtitleServices {
        font-size: 1.1rem;
    }
    .servicesDescription {
        font-size: 0.9rem;
    }

    /* about-me */
    .about-me-TEXT-container {
        padding: 2% 4% 5% 2%;
        gap: 0;
    }
    .about-me-TEXT-container p {
        line-height: 1.3;
    }
    .about-me-IMG-container > img {
        height: 44dvh;
        width: auto;
        margin: 20px 0 30px 10px;
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
    }
    .about-me-IMG-container span {
        width: 10px;
    }

    /* Portfolio */
    .portfolio-container {
        padding: 5% 5% 0 5%;
    }
}

@media (max-width: 750px){
    /* Services */
    .services-text-container, .services-img-container {
        height: 40vh;
    }
    .services-text-container {
        padding: 15px 20px;
    }
    .subtitleServices {
        font-size: 1rem;
    }
    .servicesDescription {
        font-size: 0.85rem;
    }
    
    /* About me */
    .about-me-IMG-container > img {
        height: 40dvh;
    }
    .about-me-TEXT-container p {
        line-height: 1.2;
    }
}
@media (max-width: 690px){
    /* about me */
    .about-me-TEXT-container > h3 {
        font-size: 1.8rem;
    }
    .about-me-TEXT-container p {
        font-size: 0.8rem;
    }
    .about-me-IMG-container > img {
        height: 34dvh;
        width: auto;
    }

    /* Services */
    .services-text-container{
        width: 60%;
    }
    .services-img-container {
        width: 40%;
    }
    .services-img-container > img {
        height: 100%;
        object-fit: cover;
        object-position: center center; 
    }
}

@media (max-width: 650px){
    /* Services */
    .services-text-container, .services-img-container {
        height: 30vh;
    }.services-text-container {
        padding: 15px 20px;
    }
    .services-text-container > h2 {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 1px;
    }
    .subtitleServices {
        font-size: 1rem;
        font-weight: 200;
    }
    .servicesDescription {
        font-size: 0.85rem;
    }

    /* Portfolio */
    .portfolio-container > h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 625px){
    /* main */
    .name-n-description > h1 {
        font-size: 3rem;
    }
    .btn-whats-main {
        font-size: 1rem;
    }

    /* Portfolio */
    .img-container, .img-container > img {
        height: 27dvw;
    }

    /* footer */
    footer {
        flex-direction: column;
    }
    .whatsapp-button {
        position: fixed;
        gap: 0;
        font-size: 0;
        border-radius: 50%;
        padding: 5px;
        right: 25px;
        bottom: 20px;
        z-index: 2;
    }
    .whatsapp-button > span > svg{
        height: 60px;
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 3px 3px;
    }


}

@media (max-width: 590px){
    /* about me */
    .about-me-TEXT-container > h3 {
        font-size: 1.7rem;
    }
    .about-me-IMG-container {
        align-items: center;
    }
    .about-me-IMG-container > img {
        height: 30dvh;
        margin-left: 0;
    }
    .about-me-IMG-container span {
        width: 20px;
        margin-top: 40%;
        align-self: start;
    }
}

@media (max-width: 560px){
    /* main */
    main::before {
        background: linear-gradient(to right, black 40%, transparent 100%);
    }
    .main-content-right {
        display: none;
    }
    .main-content-left {
        width: 100%;
        align-items: end;
    }
    .name-n-description > h1 {
        font-size: 2.9rem;
    }
    .btn-whats-main {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    /* Services */
    .services-img-container > a {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    .subtitleServices {
        font-size: 0.9rem;
    }
    .servicesDescription {
        font-size: 0.8rem;
    }
    .social-container {
        width: 25%;
    }
}

@media (max-width: 500px){
    /* about me */
    .about-me-TEXT-container > h3 {
        font-size: 1.6rem;
    }
    .about-me-IMG-container > img {
        height: auto;
        margin-left: 3px;
    }
    .about-me-IMG-container span {
        display: none;
    }

    /* Portfolio */
    .portfolio-buttons {
        flex-wrap: wrap;
        gap: 25px;
        margin: 20px;
    }
    .portfolio-buttons > h2 {
        margin: 0;
    }
    .portfolio {
        gap: 10vw;
    }
    .clear-container {
        display: none;
    }
    .img-container, .img-container > img {
        height: 22dvh;
    }
}

@media (max-width: 440px){
    /* main */
    main::before {
        background: linear-gradient(to right, black 40%, transparent 100%);
    }
    .main-content-right {
        display: none;
    }
    .main-content-left {
        width: 100%;
        align-items: end;
    }
    .name-n-description > h1 {
        font-size: 2.3rem;
    }
    .name-n-description > p {
        font-size: 0.8rem;
    }
    .social-container {
        width: 15%;
        margin-right: 20px;
    }

    /* Portfolio */
    .portfolio {
        gap: 5vw;
    }

    /* Services */
    .services-text-container > h2 {
        font-size: 1.4rem;
        font-weight: 400;
        letter-spacing: 0.6px;
    }
    .subtitleServices {
        font-size: 0.8rem;
        font-family: "Roboto";
    }
    .servicesDescription {
        font-size: 0.7rem;
        font-family: "Roboto";
    }
}

@media (max-width: 400px){
    /* Portfolio */
    .portfolio {
        gap: 5vw;
        flex-direction: column;
    }
    .img-container, .img-container > img {
        height: 40dvh;
    }

    /* About me */
    .about-me-TEXT-container > h3 {
        font-size: 1.4rem;
    }
    .about-me-TEXT-container p {
        font-size: 0.7rem;
    }

    /* Footer */
    .whatsapp-button {
        margin-bottom: 30px;
    }
}
