*, *::after, *::before{padding: 0;margin: 0; box-sizing: border-box; font-family: "Inter", sans-serif;scroll-behavior: smooth;} 
li{list-style: none;}
a{text-decoration: none;}
a:visited{ color: inherit;}

:root{
    --primary-color: #1290A1;
    --primary-color-darker: #0e727f;
    --main-padding: 5rem;
    --main-mobile-padding: 1.5rem;

}

::-webkit-scrollbar{
    width: 5px;
}

::-webkit-scrollbar-thumb{
    background: var(--primary-color);
    border-radius: 10px;
}
@media screen and (max-width: 900px) {
    article{
        display: flex;
    }
    header{
        height: 3.5rem;
        background-color: var(--primary-color);
        display: flex;
        justify-content: space-between;
        padding: 0 var(--main-mobile-padding);
        width: 100vw;
        align-items: center;
        color: white;
        position: fixed;
        z-index: 1;

    }

    #text-logo{
        font-weight: 800;
        font-size: 1rem;
    }
    /* MENU */
    /* #menu-wrapper{
        display: flex;
        gap: 1rem;
        list-style: none;
    }
    .menu-item{
        align-self: center;
        transition: all ease .2s;
        position: relative;
        letter-spacing: 0.3px;
        font-size: 13px;
    }
    .menu-item a{
        color: white;
    }
     */
     #menu-wrapper{
        transform: translate(500px);
        transition: all .3s ease-in;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        position: absolute;
        left: 50%;
        top:0;
        width: 50vw;
        height: 100vh;
        z-index: -1;
        background-color: transparent;

    }

    
    .hamburguer {
        position: relative;
        display: block;
        background: #fff;
        width: 30px;
        height: 2px;
        /* top: 29px; */
        /* left: 15px; */
        transition: 0.5s ease-in-out;
    }
      
    .hamburguer:before,
    .hamburguer:after {
        background: #ffff;
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        transition: 0.5s ease-in-out;
    }
      
    .hamburguer:before {
        top: -10px;
    }
      
    .hamburguer:after {
        bottom: -10px;
    }
      
    input {
        display: none;
    }
   

    
    /* rotação dos elementos do span */
    input:checked ~ label .hamburguer {
        transform: rotate(45deg);
    }
    
    input:checked ~ label .hamburguer:before {
        transform: rotate(90deg);
        top: 0;
    }
      
    input:checked ~ label .hamburguer:after {
        transform: rotate(90deg);
        bottom: 0;
    }
    
    input:checked ~ .menu-hamburguer-elements{
        left: 0;
    }
    input:checked ~ #menu-wrapper{
        transform: translateX(0);
        background-color: #0e727f;

    }
    .services-figure img{
        max-height: 100%;
    }

    /* BOTONES */
    .button{
        border: 1px solid white;
        padding: 5px 20px;
        border-radius: 30px;
        font-weight: 600;
        transition: all ease-in-out .2s;
    }

    #home-section .button{
        padding: 13px 20px;
    }
    
    .button--primary{
        color: white !important;
        background-color: var(--primary-color);
    }

    .button--secondary{
        border: 1px solid var(--primary-color);
        
    }
    #home-section{
        justify-content: center;
        flex-direction: column;
        align-items:center;
        background-image: url(assets/image\ 2.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 100vh;
        position: relative;
    }
    .title-wrapper{
        /* padding-left: var(--main-mobile-padding); */
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #figure--wrapper{
        background-color: #1290A166;
        width: 90vw;
        height: 25vh;
        border-radius: 50px 50px 0 0;
        display: flex;
        padding: 20px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: absolute;
        bottom: 0;
    }

    .services-figure{
        height: 100%;
        background-color: #fff;
        width: 200px;
        border-radius: 35px;
        overflow: hidden;
        box-shadow: 0 0 20px 0px #28282848;
        opacity: 0;
    }
    .services-figure img{
        height: 100%;
    }

    .title-wrapper h1{
        color: var(--primary-color);
        font-size: 3.5rem;
        line-height: 3rem;
    }
    .title-wrapper p{
        letter-spacing: .3px;  
        margin-bottom: 20px; 
    }
    #experience{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: fit-content;
        height: 30vh;
        padding: 0 var(--main-mobile-padding);
        gap: .9rem;
        text-align: center;
    }
    article h2 {
        font-size: 2.5rem;
        text-align: center;
        color: var(--primary-color);
    }
    article:nth-child(3){
        flex-direction: column;
        align-items: center;
    }
    #service{
        padding: 2rem 0;
    }
    #services {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        max-width: 500px;
    }
    #service h2 {
        padding-bottom: 20px;
    }
    .services--cards{
        border-radius: 40px;
        padding-bottom: 30px;
        min-height: 300px;
        width: 45vw;
        max-width: 200px;
        background-color: #f1f1f1;
        position: relative;
        display: flex ;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
        text-align: center;
    }
    .services--cards h3{
        color: var(--primary-color);
        font-size: 1.5rem;
    }
    .services--cards div{
        width: 80%;
    }
    .services--cards figure{
        background-color: rgb(108, 108, 108);
        width: 200px;
        aspect-ratio: 1/1;
        border-radius: 50px;
        box-shadow: 0 0 10px 5px #53535353;
        overflow: hidden;
    }
    /* --- GALLERY --- */
    #gallery{
        overflow: hidden;
        padding-top: 40px;
        background-color: #f8f8f8;
        display: flex;
        flex-direction: column;
    }
    #gallery h2{
        display: block;
        text-align: center;
    }
    #gallery-container{
        display: flex;      
        /* overflow: scroll; */
        /* flex-wrap: wrap; */
        gap: 30px 30px;
        flex-direction: row;
        padding: 60px;
    }
    .gallery-item {
        overflow: scroll;
        width: 200px;
        animation: scroll-x 20s linear infinite alternate;
        max-height: 300px;
        border-radius: 50px;

    }

    .gallery-item img{
        white-space: nowrap;
        background-color: #432432;
        max-width: 100%;
    }

    @keyframes scroll-x {
        0%{
            transform: translateX(0);
        }
        100%{
            transform: translateX(calc(-200px * 12));
        }
        
    }
    /*--- LOCATION ---*/
    #location{
        height: 20vh;
        padding: 0 var(--main-mobile-padding);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
        position:relative;
    }
    #location > img{
        overflow: hidden;
        transform: scale(1.8);
    }

    #location--wrapper{
        display: flex;
        align-items: center;
        flex-direction: column;
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    #location h2{
        font-size: 5vw;
    }
    img[id="location--icon"]{
        height: 30px !important;
    }
    /* --- Footer --- */
    footer > div:nth-child(1){
        display: flex;
        flex-direction: column;
        padding: 0 var(--main-padding);
        justify-content: space-between;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    /* footer{
        display: flex;
        align-items: center;
        flex-direction: column;
    } */
    
    #about-footer{
        padding:  0 var(--main-mobile-padding);
        padding-top: 2rem;
    }
    #picsacode-seal{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 1rem;
    }
    .footer-picsa-logo{
        width: 80px;
        margin-bottom: 2rem;
        position: relative;
    }

}




/* --- DESKTOP --- */
@media screen and (min-width: 900px) {
    header{
        height: 3.5rem;
        background-color: var(--primary-color);
        display: flex;
        justify-content: space-between;
        padding: 0 var(--main-padding);
        width: 100vw;
        align-items: center;
        color: white;
        position: fixed;
        z-index: 1;

    }

    #text-logo{
        font-weight: 800;
        font-size: 1.3rem;
    }
    /* MENU */
    #menu-wrapper{
        display: flex;
        gap: 2rem;
        list-style: none;
    }
    .menu-item{
        align-self: center;
        transition: all ease .2s;
        position: relative;
        letter-spacing: 0.5px;
        font-size: 13px;
    }
    .menu-item a{
        color: white;
    }
    .menu-item:not(:nth-child(4))::after {
        content: " ";
        position: absolute;
        width: 0;
        height: 2px;
        border-radius: 10px;
        background-color: beige;
        bottom: -2px;
        left: 0;
        transition: ease .2s;

    }
    .menu-item:not(:nth-child(4)):hover:after {
        width: 100%;
    }

    .menu-item:nth-child(4):hover{
        color: var(--primary-color-darker);
        background-color: var(--primary-color-darker);
    }
    .services-figure img{
        max-height: 100%;
    }
    #menu-hamburguer{
        display: none;
    }
    /* BOTONES */
    .button{
        border: 1px solid white;
        padding: 5px 20px;
        border-radius: 30px;
        font-weight: 600;
        transition: all ease-in-out .2s;
    }

    #home-section .button{
        padding: 13px 20px;
    }
    #home-section .button:hover{
        transform: scale(1.2);
    }
    .button--primary{
        color: white !important;
        background-color: var(--primary-color);
    }
    .button--primary:hover{
        background-color: var( --primary-color-darker);
    }
    .button--secondary{
        border: 1px solid var(--primary-color);
        
    }

    article{
        display: flex;
    }
    #home-section{
        justify-content: space-between;
        align-items:center;
        background-image: url(assets/image\ 2.png);
        background-repeat: no-repeat;
        background-size:contain;
        background-position: left 60px;
        gap: 4rem;
        height: 100vh;


    }
    .title-wrapper{
        padding-left: var(--main-padding);
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #figure--wrapper{
        background-color: #1290A166;
        width: 70vw;
        height: 80vh;
        border-radius: 60px 0 0 60px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        position: relative;
        margin-top: 2rem;
    }

    .services-figure{
        height: 90%;
        background-color: #fff;
        width: 200px;
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 0 20px 0px #28282848;
        opacity: 0;
    }
    .zoomEffect{
        transition: all .33s ease-out;
    }
    .zoomEffect:Hover{
        transform: scale(1.05);
    }
    /* .services-figure:nth-child(1){
        background-image: url(assets/drywall.jpg);
        background-size: cover;
        background-position: 60%;

    } */
    .services-figure:nth-child(1):hover{

        animation: home--services-animation .2s ease-out forwards ;

    } 

    .title-wrapper h1{
        color: var(--primary-color);
        font-size: 5rem;
        width: 100%;
        line-height: 4.5rem;
    }
    .title-wrapper p{
        width: 100%; 
        letter-spacing: .5px;   
    }
    article:nth-child(2){
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: fit-content;
        /* border: 1px solid red; */
        height: 30vh;
        gap: .9rem;
    }
    article h2 {
        font-size: 3.5rem;
        color: var(--primary-color);
    }
    article:nth-child(3){
        flex-direction: column;
        align-items: center;
    }
    #service{
        padding: 2rem 0;
    }
    #services {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    #service h2 {
        padding-bottom: 60px;
    }
    .services--cards{
        border-radius: 50px;
        height: 12rem;
        width: 45vw;
        background-color: #f1f1f1;
        position: relative;
        display: flex ;
        justify-content: space-between;
        overflow: hidden;
    }

    .services--cards:hover img{
        transform: scale(1.1);
    }
    .services--cards h3{
        color: var(--primary-color);
        font-size: 1.8rem;
    }
    .services--cards div{
        padding-top: 2rem;
        padding-left: 2rem;
        max-width: 65%;
    }
    .services--cards p{
        margin-top: 15px;
    }
    .services--cards figure{
        background-color: rgb(108, 108, 108);
        width: 200px;
        aspect-ratio: 1/1;
        border-radius: 50px;
        box-shadow: 0 0 10px 5px #53535353;
        overflow: hidden;
    }

    .services--cards img{
        transition: transform .5s ease-in-out;
    }
/* --- GALLERY --- */
    #gallery{
        padding-top: 40px;
        background-color: #f8f8f8;
        display: flex;
        flex-direction: column;
    }
    #gallery h2{
        display: block;
        text-align: center;
    }
    #gallery-container{
        /* justify-content: center; */
        display: flex;      
        overflow: hidden;
        /* flex-wrap: wrap; */
        gap: 30px 30px;
        flex-direction: row;
        padding: 60px;
        /* grid-template-rows: repeat(2, 300px); */
    }
    .gallery-item {
        overflow: hidden;
        width: clamp(200px, 300px, 400px);
        animation: scroll-x 40s linear infinite alternate;
        max-height: 500px;
        border-radius: 50px;

    }

    .gallery-item img{
        white-space: nowrap;
        background-color: #432432;
        max-width: 100%;
    }

    @keyframes scroll-x {
        0%{
            transform: translateX(0);
        }
        100%{
            transform: translateX(calc((-215px * 12)));
        }
        
    }
    /*--- LOCATION ---*/
    #location{
        height: 50vh;
        padding: 0 var(--main-padding);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position:relative;

    }
    #location img{
        height: 700px;
    }

    #location--wrapper{
        position: absolute;
        top: 12%;
        text-align: center;
        overflow: hidden;

    }
    img[id="location--icon"]{
        height: 70px !important;
    }
    /* --- Footer --- */
    footer > div{
        display: flex;
        height: 8rem;
        padding: 0 var(--main-padding);
        justify-content: space-between;
        align-items: center;
        padding-top: 2.5rem;
    }
    /* footer{
        display: flex;
        align-items: center;
        flex-direction: column;
    } */
    
    #about-footer{
        width: 40%;
        overflow: hidden;

    }
    #picsacode-seal{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .footer-picsa-logo{
        width: 80px;
        margin-bottom: 0;
        display: block;
        position: relative;
    }
}
/* ------------------------------------ */

.fa-whatsapp {
    background-color: #25D366;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px rgba(19, 19, 19, 0.2);
            box-shadow: 0 0 10px rgba(19, 19, 19, 0.2);
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-out;
    opacity: 0;
  }
  .fa-whatsapp:hover{
    transform: scale(1.1);
    background-color: #1fad53;
  }

  .whatsapp{
    height: 40px;
    width: 40px;
  }
  
  /* .show{
    background-color: #0e727f;
  } */