

:root{
    --background-color:#444A34;
    --background-color:#000000;
    /* --background-color:#B0A184; */
    --font-color: #BAD3E7;
}

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

body{
    margin:0;
    padding: 0;
    background-color: var(--background-color);
    /* overflow-y: hidden; */
    overflow-x: hidden;
    
}

@font-face {
    font-family: "NeueMetanaNext-SemiBold";
    src: url('font/NeueMetanaNext-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
} 

/*algo no kerning n ta bem*/

@font-face {
    font-family: "NeueMetanaNextOutline-Black";
    src: url('font/NeueMetanaNextOutline-Black.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
} 

/* #noiseFilter{
    position: absolute;
    z-index: -1;
}  */



#noise {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 1900px;
  background-color: transparent;
  /* background: rgba(100, 100, 100, 0.6), */
  /* background: linear-gradient(to top, black, transparent), */
     background:url(https://grainy-gradients.vercel.app/noise.svg); 
    /* url(grain_1.svg); */

  filter: contrast(200%) brightness(20%);

  /* filter: invert(1); */
}

/* .nome{
    height: 700px;
} */

.n{
    margin-top: 0;
    padding: 100px;
    padding-bottom: 0px;
    margin-bottom: 10px;
}

#ema,#gomes{
    display: block;
    position: absolute;
    /* z-index: 2; */
}

#ema{
    top: 50px;
    left: 400px;
    transform:rotate(3deg);
    /* filter: drop-shadow(5px 5px 5px #222); */
    /* filter: invert(1); */
}

#ema:hover ~ #gomes, #ema:hover, #ema:hover { 
    filter: invert(1);
}


#gomes{
    top: 400px;
    left: 400px;
    transform: rota(-10deg);
    /* filter: drop-shadow(5px 5px 5px #222); */
    /* filter: invert(1); */
}


h1{
    font-family: "NeueMetanaNextOutline-Black";
    font-size: 10em;
    color: var(--font-color);
}

h2 {
    font-family: "NeueMetanaNext-SemiBold";
    font-size: 3em; 
    color: var(--font-color);
}

h3 {
    font-family: "NeueMetanaNext-SemiBold";
    font-size: 2em; 
    color: var(--font-color);
    margin-bottom: 10px;
}

.n2 {
    padding-left: 5%;
}

.n3 {
    padding-left: 5%;
}

p{
    font-family: "consolas";
    font-size: 1.8em; 
    color: var(--font-color);
    margin: 0;
}

.buttons{
    color: var(--font-color);
    font-family: "NeueMetanaNext-SemiBold";
    display: flex;
    flex-wrap: wrap;
    gap: 5px 5px;
    margin-bottom: 20px;
}

.bt-select{
    padding: 10px;
    border: #444A34 0.5px solid;
    border-radius: 5px;
    cursor: pointer;
}

.bt-select:hover{
    background-color: #444A34;
}

.work{
    margin-bottom: 200px;
}

.desc{
    padding: 20px;;
    padding-left: 5%;
    font-size: 1.2em;
    width: 60%;
    text-wrap: pretty;
}

.desc1{
    margin-bottom: 100px;
}

.imagens, .slide{
    width: 100vw;
    height: 500px;
    position: relative; /*adicionado*/
    display: flex;
    gap: 4vw;
    margin: 0;
    overflow-x: scroll;
    /* overflow-x: hidden; */
    scroll-behavior: smooth;
    /* scroll-snap-type: x mandatory; */
    /* anchor-name: --my-carousel; */
    -webkit-overflow-scrolling: touch; 
    overflow-x: hidden;
}

.imagens-mobile{
    display: none;
}

/* .slide{
    overflow-x: hidden;
    overflow-y: hidden;
} */

.work1 .item img{
    width: calc(100%/3);
}

.work1 .item, .work3 .item, .work5 .item, .work10 .item, 
.work19 .item, .work20 .item, .work21 .item{
    background-color: #000000;
}

.work1 .item iframe, .work12 .item iframe, .work13 .item iframe{
    display: block;
    width: 860px;
    height:100%;
    /* object-fit: cover; */
    margin: auto;
}

.work1 .item-5 img{
    width: calc(100%/4);
}

img{
    height:100%;
    object-fit: cover;
}

.work2 .item img{
    width: calc(100%/2);
}

.work2 .item iframe{
    height: 100%;
    width: calc(100%/2);
}

.work3 .item img{
    width: calc(100%/2);
}

.work3 .item iframe{
    width: calc(100%/2);
    height: 100%;
}

.work3 .item iframe{
    width: calc(100%/2);
}

.work3 .item-2 iframe{
    display: block;
    margin: auto;
}

.work3 .item-3 img{
    width: calc(100%/4);
}
/* .work3 .item-2 iframe{
    display: block;
    margin: auto;
} */

.work4 .item .img-horizontal{
    width: calc(100%/3);
}
.work4 .item .img-vertical{
    width: calc(100%/6);
}

.work5 .item img{
    width: calc(100%/3)
} 

.work6 .item img{
    width: calc(100%/2);
}

.work6 .item iframe{
    width: calc(100%/2);
    height: 100%;
}

.work6 .item-3 img{
    width: calc(100%/3);
}

.work7 .item img{
    width: calc(100%/2.3);
    height: 100%;
}

.work7 .item img, .work19 .item img{
    display: block;
    margin: auto;
}

.work9 .item, .work3-erd .item, .work2-erd .item, .work1-erd .item, 
.work11 .item, .work12 .item, .work16 .item, .work13 .item{
    display:flex;
    justify-content: center;
    gap:0;
}

.work9 .item{
    background-color: #F3D8C7;
}

.work11 .item, .work12 .item,.work14 .item,
 .work15 .item, .work16 .item, .work18 .item{
    background-color: #000000;
}

.work13 .item{
    background-color: #111111;
}



.work1-erd .item{
    /* background: #E81F76; */
    background: #F3D8C7;
    background: linear-gradient(128deg, rgba(232, 31, 118, 0.2) 0%, rgba(210, 29, 121, 0.4) 12%, rgba(153, 25, 131, 0.7) 38%, rgba(63, 19, 147, 0.7) 75%, rgba(0, 15, 159, 0.1) 100%);
}

.work2-erd .item{
    background-color: #C2B59B;
}

.work3-erd .item{
    /*background-color: #A95229;*/
    /* background-color: rgba(0,0,0,0); */
    background-image: url("laranja_.jpg");
    background-color: rgba(64,32,19,0.5);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-size: cover;
}

.work10 .item iframe, .work19 .item iframe, .work20 .item iframe, 
.work21 .item iframe, .work14 .item iframe, .work15 .item iframe{
    display: block;
    width: 860px;
    height:100%;
    /* object-fit: cover; */
    margin: auto;
}

.work10 .item-1 img{
    width: calc(100%/2.3);
    /* height: 100%; */
}

.work10 .item-1 .img2{
    margin-right: 5%;
    margin-left: 5%;
    object-fit: scale-down;
    
}

/* .work10 .item-2 .img-vertical{
    object-fit: scale-down;
} */



.work10 .item-2 img{
    object-fit: scale-down;
    /* flex:1; */
    
}

.work10 .item-2, .work10 .item-3, .work10 .item-4, .work10 .item-5, .work10 .item-6, .work10 .item-7, .work18 .item-1{ 
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.work18 .item-1 video{
    width:100%;
    height: auto;
}

@media screen and (max-width: 1100px){

    .work10 .item-2 img, .work10 .item-3 img, .work10 .item-4 img, .work10 .item-5 img, .work10 .item-6 img, .work10 .item-7 img{
        height: calc(100%/1.5);
    }

}

.en{
    display: none;
}

.head-nav{
    position: sticky;
    top: -200px;
    z-index: 3;
}

.bt-pt, .bt-en{
    display: flex;
    font-family: "NeueMetanaNext-SemiBold";
    font-size: 1em;
    color: var(--font-color);
    position: absolute;
    /* background-color: #6e2f2f; */
    top: 20px;
    right: 25px;
    /* height: 20px;
    width: 30px; */
    padding: 5px;
}

.bt-pt{
    right: 65px;
    
}

.bt-pt:hover, .bt-en:hover{
    background-color: #BAD3E7;
    /* width: 30px; */
    cursor:pointer;
    color: #000000;
    /* height: 20px;
    width: 30px; */
}



/* .imagens::scroll-button(*){
    border: 0;
    font-size: 2rem;
    background: none;
    color:#000000;
    opacity: 0.7;
    cursor: pointer;
    position: absolute;
    position-anchor: --my-caroussel;
    
} */

/* .imagens::scroll-button(*):hover,
.imagens::scroll-button(*):focus{
    opacity: 1;
}

.imagens::scroll-button(*):disabled{
    opacity:0.2;
    cursor: unset;
} */

/* .imagens::scroll-button(left){
    content: "◄" / "Previous";
    right: calc(anchor(left) - 70px);
    bottom: calc(anchor(top) + 13px);
}

.imagens::scroll-button(right){
    content: "►" / "Next";
    right: calc(anchor(left) - 70px);
    bottom: calc(anchor(top) + 13px);
} */

.slide{
    position: relative;
    overflow-x: hidden;
}

.item{
    position: absolute;
    background-color: rgba(173, 37, 37, 0.432);
    /* border: 1px solid brown; */
    /* padding: 20px; */

    flex: 0 0 100%;
    scroll-snap-align: center;
    font-size: 0;
    inset: 0; /*adicionado*/
    opacity: 0;/*adicionado*/
    margin:0;/*adicionado*/
    padding:0;/*adicionado*/
    pointer-events: none;
}

.item[data-active]{
    opacity: 1;
    pointer-events: all;
    overflow-x: hidden;
}

/* slide in from the right (next)*/
@keyframes slideInFromRight {
    from { transform: translate(100%); }
    to { transform: translate(0%);}
}

/*slide in from the left (prev)*/
@keyframes slideInFromLeft {
    from { transform: translateX(-100%) }
    to { transform: translateX(0); }
}

.item[data-active][data-direction = "next"] {
    animation: slideInFromRight 0.4s ease forwards;
}

.item[data-active][data-direction = "prev"] {
    animation: slideInFromLeft 0.4s ease forwards;
}

.carrossel-button{
    position: absolute;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    /* border-radius: .25rem; */
    padding: 0 .5rem;
    /* background-color: rgba(0, 0, 0, .1); */
}

.carrossel-button:hover,
.carrossel-button:focus{
    color:white;
    /* background-color: rgba(0, 0, 0, .2); */
}

/* .carrossel-button:focus{
    outline: 1px solid black;
} */

.carrossel-button.prev {
    left: 1rem;

}

.carrossel-button.next {
    right: 1rem;

}


.work7 .item{
    background-color: #C1E0A0;
   
}


#capa-alta-baixa{
    filter: hue-rotate(7deg);
    /* filter: saturate(200%); */
}

@media screen and (max-width: 800px){
    h1{
        font-size: 7em;

    }

    .n{
        margin-top: 40px;
        padding: 50px;
        padding-bottom: 50px;
        margin-bottom: 10px;
    }

    .imagens{
        display: none;
    }

    .imagens-mobile{
        width: 100vw;
        height: 500px;
        position: relative; /*adicionado*/
        display: flex;
        gap: 4vw;
        margin: 0;
        overflow-x: scroll;
        /* overflow-x: hidden; */
        scroll-behavior: smooth;
        /* scroll-snap-type: x mandatory; */
        /* anchor-name: --my-carousel; */
        -webkit-overflow-scrolling: touch; 
        overflow-x: hidden;
    }

    .work4 .imagens-mobile .item{
        display: flex;
        justify-content: center;
        background-color: #000000;
    }

    .imagens-mobile .item img{
        width: calc(100%);
    }

    .imagens-mobile .item iframe{
        width: calc(100%);
    }

 

    .work4 .item .img-vertical{
        width: auto;
    }

    .work4 .item .img-horizontal{
        width: auto;
    }

    .work9 .item img, .work3-erd .item img, .work2-erd .item img, 
    .work1-erd .item img, .work12 .item-3 img, .work12 .item-4 img,
    .work16 .item img, .work13 .item img{
        object-fit: scale-down;
    }

    .work10 .imagens-mobile .item .img-mob, .work19 .imagens-mobile .item img{
        object-fit: scale-down; 
        height: 485px;
        width: auto;
    }


    .carrossel-button-mobile{
        position: absolute;
        background: none;
        border: none;
        font-size: 4rem;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, .5);
        cursor: pointer;
        /* border-radius: .25rem; */
        padding: 0 .5rem;
        /* background-color: rgba(0, 0, 0, .1); */
    }

    .carrossel-button-mobile:hover,
    .carrossel-button-mobile:focus{
        color:white;
        /* background-color: rgba(0, 0, 0, .2); */
    }

    /* .carrossel-button:focus{
        outline: 1px solid black;
    } */

    .carrossel-button-mobile.prev {
        left: 1rem;

    }

    .carrossel-button-mobile.next {
        right: 1rem;

    }

    .desc{
        padding: 20px;
        padding-left: 7%;
        padding-right: 7%;
        font-size: 1.2em;
        width: 100%;
        text-wrap: pretty;
    }

    .desc1{
        margin-bottom: 120px;
    }

    .n2 {
        margin-top: 30px;
        padding-left: 7%;
    }

    .n3 {
        padding-left: 7%;
    }

    h3{
        font-size: 1.6em;
    }
}

@media screen and (max-width: 600px){
    h1{
        font-size: 5em;

    }
}

@media screen and (max-width: 450px) {
    h1{
        font-size: 4em;

    }
}


.linkdin{
    height:30px;
    width: 30px;
    
}

.gmail, .cv{
    height:30px;
    
}

.contactos-lista{
    display: flex;
    gap: 20px;

    margin-bottom: 100px;
}