@import url(/css/themes.css);
@import url(/assets/fonts/general-sans.css);
@import url(/css/animation.css);

@import url(/css/components/cards.css);
@import url(/css/components/btn.css);
@import url(/css/components/badge.css);
@import url(/css/components/modal.css);
@import url(/css/components/inputs.css);
@import url(/css/components/hintbox.css);

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}
:focus-visible{
    outline: 4px solid var(--lds-color-text-accent);
}
body{
    font-family: 'GeneralSans-Variable', sans-serif;
    color: var(--lds-color-text);
    background-color: var(--lds-color-bg-page);
    text-align: start;
    height: auto;
    overflow: hidden;
    width: 100vw;

}

html.dark_mode{
    transition: all ease 10s;
}
html{
    height: 100vh;
}
h1{
    font-style: italic;
    font-size: 48px;
    font-weight: 100;
    color: var(--lds-color-text);
}
h2{
    text-align: start;
    font-style: italic;
    font-weight: 500;
    font-size: 32px;
}
h3{
    font-weight: 500;
    font-size: 24px;
    font-style: italic;
}
h4{
    font-weight: 500;
    font-size: 20px;
    font-style: italic;
}

p{
    font-size: 18px;
    line-height: 150%;
    color: var(--lds-color-text);
    text-align: start;

}
li{
    font-size: 18px;
    line-height: 150%;
    color: var(--lds-color-text);
    text-align: start;
}
ul{
    margin-bottom: 16px;
}


.material-symbols-sharp {
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
    transition: font-variation-settings ease-in-out 200ms;
    translate: no;
}


main{
    display: grid;
    grid-template-columns: 452px 1fr 1fr;
    grid-template-rows: 100%; 
    width: 1400px;
    height: 100vh;
    padding: 24px;
    gap: 16px;
    transform: scale(1);
    transition: transform ease-in-out 300ms;
    overflow: auto;

    margin: 0 auto;

}
.scaled {
    transform: scale(0.8);
}
#mysections{
    display: flex;
    flex-direction: column;
    gap: 48px;
    grid-column: 2/4;
    grid-row: 1/2;
    height: 100%;
    /* overflow: auto; */

}
#secjobs{
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    div{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 280px;
        gap: 16px;
    }

    h2{
        margin-left: 16px
    }
    .txt_fixed{
        display: flex;
        gap: 8px;
        h2{
            margin: 0;
        }
    }
}
#secexp{
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    #uishots-group{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 272px);
        gap: 16px;
    }

    h2{
        margin-left: 16px
    }
    .txt_fixed{
        display: flex;
        gap: 8px;
        h2{
            margin: 0;
        }
    }
}
#secpersonal{
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    div{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 272px;
        gap: 16px;
    }

    h2{
        margin-left: 16px
    }
    .txt_fixed{
        display: flex;
        gap: 8px;
        h2{
            margin: 0;
        }
    }
}
#secothers{
    display: flex;
    flex-direction: column;
    gap: 16px;
    
    div{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 272px;
        gap: 16px;
    }

    h2{
        margin-left: 16px
    }
    .txt_fixed{
        display: flex;
        gap: 8px;
        h2{
            margin: 0;
        }
    }
}


.articlesWidget{
    width: 100%;
    height: 100%;
    display: flex;
    gap: 16px;

    & #articles_card{
        width: 100%;
        height: 100%;
    }

    & #widget_card{
        width: 100%;
        height: 100%;
    }
}
.lang_container{
    display: flex;
    position: absolute;
    right: 0px;
    top: -144px;
    width: 50%;
    height: 144px;
    overflow: hidden;
    transition: top 400ms ease-in-out;

}
.lang_container button{
    flex-grow: 1;
    border: none;
}
#lang_br{
    background: linear-gradient(180deg, rgba(248, 195, 1, 0.80) 0%, rgba(248, 195, 1, 0.40) 20%, rgba(248, 195, 1, 0.10) 40%, rgba(248, 195, 1, 0.00) 60%);
    cursor: pointer;
}
#lang_usa{
    background: linear-gradient(180deg, rgba(23 , 58, 121, 0.80) 0%, rgba(23 , 58, 121, 0.40) 20%, rgba(23 , 58, 121, 0.10) 40%, rgba(23 , 58, 121, 0.00) 60%);
    cursor: pointer;
}
#lang_es{
    background: linear-gradient(180deg, rgba(173, 21, 25, 0.80) 0%, rgba(173, 21, 25, 0.40) 20%, rgba(173, 21, 25, 0.10) 40%, rgba(173, 21, 25, 0.00) 60%);
    cursor: pointer;
}

.lang_container button img{
    width: 32px;
}

#changeLangbtn{
    opacity: 1;
    transition: opacity ease-in-out 200ms;
}

#uishots-group{
    display: flex;
    width: 100%;
    gap: 16px;
}
#uishots-group > * {
    flex-grow: 1;
}
#strapi-img{
    display: flex;
    flex-direction: row;
    gap: 40px;
}
#strapi-img img{
    width: 50%;
}

.invert{
    flex-direction: column-reverse;
    gap: 32px;
}
.invert span{
    margin: 0;
    font-size: 40px;   
}
#metric-time{
    display: flex;
    flex-direction: row;
    gap: 16px;
}
#colaboration-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr; 
    gap: 16px;
}
#header{
    grid-column: 1 ;  /* Ocupa da primeira à terceira coluna (2 colunas) */
    grid-row: 1 / 4;
    height: 96vh;
    display:flex;
    position: sticky;
    top: 0px;
    flex-direction: column;
    justify-content: space-between;

}
@media (min-width: 1921px ) {
    main{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr; 
        width: 1400px;
        height: 100vh;
        gap: 16px;
        margin: 0 auto;
    }
    .social_links .btn_icon_large{
        width: 100%;
    }
}
@media (max-width: 1920px ) {
    .social_links .btn_icon_large{
        width: 100%;
    }
}


@media (max-width: 1220px ) {
    main{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr; 
        width: 100%;
        height: 100vh;
        gap: 16px;
        margin: 0 auto;
    }
    #header{
        grid-row: 1/1;
    
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 98%;
        height: 100%;
    }
    .social_links{
        display: flex;
        flex-direction: row;
        height: 88px;
       
    }
    .social_links .btn_icon_large{
        width: 120px;
    }
    h1{
        font-style: italic;
        font-size: 40px;
        font-weight: 100;
    }
    .articlesWidget{
        flex-direction: column;
    }
    #widget_card{
        background: none;
    }
    #mysections{
        grid-column: auto;
        grid-row: 2;
        height: 100%;
    }
}
@media (max-width: 736px ) {
    body{
        width: 100vw;
        margin: 0;
        padding: 0;
    }
    .articlesWidget{
        flex-direction: column;
    }
    #widget_card{
        background-image: url(/assets/images/sn2.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    main{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr; 
        width: 100vw;
        height: 100vh;
        gap: 16px;
        margin: 0 auto;
    }
    #header{
        grid-row: 1/1;
    
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        width: 94%;
        height: 100%;
    }
    .social_links{
        display: flex;
        flex-direction: row;
        height: 88px;
       
    }
    .social_links .btn_icon_large{
        width: 100%;
    }
    h1{
        font-style: italic;
        font-size: 32px;
        font-weight: 100;
    }
    
    #secjobs{
        div{
            grid-template-columns: 1fr;
            grid-template-rows: repeat(3, 280px);
        }
    }
    #secexp{
        #uishots-group{
            grid-template-columns: 1fr;
            grid-template-rows: repeat(4, 280px);
        }
    }
    #secpersonal{
        div{
            grid-template-columns: 1fr;
            grid-template-rows: repeat(2, 280px);
        }
    }
    #secothers{
        div{
            grid-template-columns: 1fr;
            grid-template-rows: repeat(2, 280px);
        }
    }
    
}
#header_text{
    display: flex;
    padding: 32px;
}
#myname{
    color: var(--lds-color-text-accent);
}

.social_links{
    display: flex;
    flex-direction: row;

    width: 100%;
}


