/* // @note Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #wrapperMenuMobile ul li a{
        font-size: 50px;
        display: block;
        padding-bottom: 50px;
    }
    .labelMobile::before {
        top: 34px;
        height: 25px;
    }
    .labelMobileHome {
        --label-width: 156px;
    }
    .labelMobileProjects {
        --label-width: 306px;
    }
    .labelMobileContact {
        --label-width: 300px;
    }
    .marginStartMenu{
        margin-left: 5%;
    }
    #aboutImg{
        width: 400px;
    }
} 

/* // @note Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

    #headerSG {
        position: static; 
        left: auto;
        transform: none;
        margin-left: auto;
        margin-right: auto;
        height: auto;
    }
    #overlayImg{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,rgba(41, 48, 56, 1) 10%, rgba(41, 48,  56,0) 90%);
        z-index: -1;
        opacity: 0.8;
    }

    #wrapperMenuMobile ul li a{
        font-size: 60px;
        display: block;
        padding-bottom: 50px;
    }
    .labelMobile::before {
        top: 41px;
        height: 30px;
    }
    .labelMobileHome {
        --label-width: 184px;
    }
    .labelMobileProjects {
        --label-width: 363px;
    }
    .labelMobileContact {
        --label-width: 357px;
    }
    .marginStartMenu{
    margin-left: 10%;
    }
    .social-icon {
        font-size: 26px;
    }


    #iconSocial{
        display: block;
        font-size: 24px;
        padding-bottom: 30px;
    }
    #aboutImg{
        width: 400px;
    }

    #dotMenuMobile{
        display: none;
    }
    


    #marginTopMob{
        margin-top: 0;
    }

    #menuDesktop{
        color: var(--clr-surface-dark-a0);    
    }
    #menuDesktop ul li{
        list-style-type: none;
        font-family: var(--fontBase);
    }

    #menuDesktop ul li a{
        color: var(--clr-text-light-a0);
        font-size: 16px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0;
        padding-right: 50px;
        text-decoration: none;
        display: block;
    }

    #logoSG{
        width:55px;
        height: auto;
    }

    .trasfTextLabel{
        transform: translateX(15%);
    }

    .containerScrollIcons {
        overflow: hidden;
        white-space: nowrap;
    }

    .scrollTrackIcons {
        display: inline-block;
        animation: scroll-left 25s linear infinite;
    }

    .containerScrollIcons:hover .scrollTrackIcons {
        animation-play-state: paused;
    }

    .iconSkillsDesktop{
        display: inline-block;
    }

    .iconSkills {
        display: inline-block;
        width: 120px;
        margin: 0 40px;
    }

    .iconPng {
        width: 60px;
        height: 60px;
        filter: none;
    }
    .pButtonLarge{
        width: 320px;
    }
    
}

/* // @note Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {



    .pFooterMobile{
        font-size: 15px;
    }

    .pButtonLarge{
        width: 390px;
    }
    .pButtonLargeAbout{
        width: 390px;
    }
    .pButtonLargeProjects{
        width: 390px;
    }
    #aboutImg{
        width: 450px;
    }




}

/* // @note X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {


    h1 { font-size: 45px; }
    h2 { font-size: 37px; }
    h3 { font-size: 31px; }
    h4 { font-size: 26px; }
    h5 { font-size: 21px; }

    #wrapperMenuMobile ul li a{
        font-size: 70px;
        display: block;
        padding-bottom: 50px;
    }
    .labelMobile::before {
        top: 46px;
        height: 37px;
    }
    .labelMobileHome {
        --label-width: 212px;
    }
    .labelMobileProjects {
        --label-width: 420px;
    }
    .labelMobileContact {
        --label-width: 414px;
    }
    .marginStartMenu{
        margin-left: 15%;
    }
    .social-icon {
        font-size: 28px;
    }
    .iconSocialMobile {
        display: flex;
        gap: 50px;
        margin-top: 100px;
    }
    #aboutImg{
        width: 550px;
    }

    #dotMenuMobile {
        position: relative; 
        width: 48px; 
        height: 48px; 
        cursor: pointer;
    }

    #dotMenuMobile span { 
        width: 10px;
        height: 10px;
        background-color: var(--clr-surface-light-f0); 
        border-radius: 50%;
        position: absolute;
        transition: background-color 0.3s ease, opacity 0.3s ease;
    }
    #dotMenuMobile span:nth-of-type(1) { top: 0; left: 0; }
    #dotMenuMobile span:nth-of-type(2) { top: 0; left: 19px; }
    #dotMenuMobile span:nth-of-type(3) { top: 0; left: 38px; }

    #dotMenuMobile span:nth-of-type(4) { top: 19px; left: 0; }
    #dotMenuMobile span:nth-of-type(5) { top: 19px; left: 19px; }
    #dotMenuMobile span:nth-of-type(6) { top: 19px; left: 38px; }

    #dotMenuMobile span:nth-of-type(7) { top: 38px; left: 0; }
    #dotMenuMobile span:nth-of-type(8) { top: 38px; left: 19px; }
    #dotMenuMobile span:nth-of-type(9) { top: 38px; left: 38px; }


    #logoSG{
        width:69px;
        height: auto;
    }
    
    .BigTitle{
        font-size: 65px;
        font-weight: 700;
        line-height: 90%;
        letter-spacing:  0.02em;
        margin-bottom: 20px;
    }

    p {
        font-family: var(--fontBase);
        font-size: 15px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.02em;
        padding-bottom: 14px !important;
    }


    .profiloLabel {
        position: relative;
        text-align: center;
        z-index: 1;
        padding-bottom: 10px !important;
        display: inline-block; 
    }

    .profiloLabel::after {
        content: ""; 
        position: absolute;
        width: 81px; 
        height: 10px;
        background-color: var(--clr-secondary-a0); 
        bottom: 10px; 
        left: -12px; 
        z-index: -1; 
    }

    .myLabel{
        position: relative;
    }
    .myLabel::after {
        content: ""; 
        position: absolute;
        bottom: 6px;
        width: 25px; 
        height: 3px;
        background-color: var(--clr-secondary-a0); 

    }

    .trasfTextLabel{
        transform: translateX(20%);
    }

    /* --- HOVER cardService --- */
    .cardService {
        background-color: var(--clr-surface-light-a0-opaticy);
        border: 1px solid var(--clr-secondary-a0-opacity);
        padding: 34px 50px;
        cursor: pointer;
        transition: all 0.4s ease-in-out; 
    }

    .cardDescVisibleMobile,
    .cardTagsVisibleMobile {
        display: none !important; 
    }
    
    .cardDescVisible {
        display: block !important; 
        opacity: 1;
        color: var(--clr-surface-dark-a0) !important;
    }

    .cardTagsHidden{
        display: flex; 
        flex-wrap: wrap; 
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: opacity 0.4s ease-in-out;
        margin-top: 0; 
    }
    
    .pTags {
        font-family: var(--fontBase);
        font-size: 15px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.02em;
        color: var(--clr-text-light-a0);
        background-color: var(--clr-surface-tags-opacity);
        border: 1px solid var(--clr-secondary-a0-opacity);
        padding: 10px 8px !important;
        transition: transform 0.4s ease-out, opacity 0.4s ease-out; 
        opacity: 0;
        transform: translateY(20px);
    }
    
    .cardService h3,
    .cardService .card-icon {
        color: var(--clr-surface-dark-a0) !important; 
    }

    .cardService:hover {
        background: var(--clr-surface-dark-a0); 
        padding: 54px 50px;
    }

    .cardService:hover h3,
    .cardService:hover .card-icon {
        color: var(--clr-secondary-a0) !important; 
    }

    .cardService:hover .cardDescVisible {
        max-height: 0; 
        opacity: 0;
        margin-bottom: 0 !important;
    }

    .cardService:hover .cardTagsHidden {
        display: flex !important; 
        align-items: center;
        justify-content: start;
        max-height: 200px;
        opacity: 1;
        overflow: visible;
        margin-top: 10px; 
    }
    
    .cardService:hover .pTags {
        opacity: 1; 
        transform: translateY(0); 
    }
    .cardService:hover .pTags:nth-child(1) {
        transition-delay: 0.2s; 
    }
    .cardService:hover .pTags:nth-child(2) {
        transition-delay: 0.3s; 
    }
    .cardService:hover .pTags:nth-child(3) {
        transition-delay: 0.4s; 
    }
    .cardService:hover .pTags:nth-child(4) {
        transition-delay: 0.5s; 
    }
    .cardService:hover .pTags:nth-child(5) {
        transition-delay: 0.6s; 
    }

    #iconEdu{
        font-size:31px;
    }
    #iconWork{
        font-size:31px;
    }



}

/* // @note XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {


    h1 { font-size: 54px; }
    h2 { font-size: 45px; }
    h3 { font-size: 37px; }
    h4 { font-size: 31px; }
    h5 { font-size: 26px; }
    h6 { font-size: 21px; }

    .BigTitle{
        font-size: 78px;
        font-weight: 700;
        line-height: 90%;
        letter-spacing:  0.02em;
        margin-bottom: 20px;
    }

    p {
        font-family: var(--fontBase);
        font-size: 18px;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 0.02em;
        padding-bottom: 14px !important;
    }

    #pRightE{
        padding-right: 50px;
        font-weight: 600;
        margin: 0;
        padding-bottom: 40px !important;
    }
    .trasfTextLabel{
        transform: translateX(15%);
    }
    #wrapperMenuMobile ul li a{
        font-size: 80px;
        display: block;
        padding-bottom: 50px;
    }
    .labelMobile::before {
        top: 55px;
        height: 40px;
    }
    .labelMobileHome {
        --label-width: 236px;
    }
    .labelMobileProjects {
        --label-width: 477px;
    }
    .labelMobileContact {
        --label-width: 471px;
    }
    .marginStartMenu{
        margin-left: 20%;
    }
    .social-icon {
        font-size: 30px;
    }
    #aboutImg{
        width: 650px;
    }
}