@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: rgb(255,255,255);
background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(0,74,173,0.18531162464985995) 35%, rgba(241,176,32,0.19091386554621848) 100%);
}

a {
    cursor: pointer;
}

.whatsapp .wtsapp i {
    font-size: 25px; /* Reduz o tamanho do ícone globalmente */
    transform: translateY(-5px);
}

.whatsapp .wtsapp {
    z-index: 1;
    position: fixed;
    transform: all .5s ease;
    background-color: #25d366;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    bottom: 30px;
    left: 30px;  /* Ajuste para telas menores */
    border: 0;
    z-index: 9999;
    width: 40px;
    height: 40px;
    line-height: 50px;
}


.whatsapp .wtsapp:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
}

.whatsapp .wtsapp:focus {
    border: none;
    outline: none;
}

.whatsapp a:hover {
    color: #fff !important;
}

@keyframes pulse-border {
    0%{transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1;}
    100%{transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0;}
}

.fale a {
    width: 100%;
    height: 100%;
}

.fale a:hover {
   color: rgb(255, 255, 255);
   width: 100%;
   height: 100%;
}

a{
    text-decoration: none;
    color: #1c1e53;
    transition: color 0.3s ease;
}

a:hover{
    color: #004aad;
}

h5{
    font-size: 20px;
}

li{
    list-style: none;
}

nav{
    background-color: #fff;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    box-shadow: 0 5px 80px rgba(0, 0, 0, 0.1);
}

nav .logo,
footer .logo{
    display: flex;
    align-items: center;
}

nav .logo a,
footer .logo a{
    margin-left: 8px;
    font-weight: bold;
    font-size: 20px;
}

nav .logo img,
footer .logo img{
    width:290px;
    height: 290px;
    margin-top: 40px;
}

nav ul,
footer .top ul{
    display: flex;
    gap: 40px;
}

nav button{
    color: #1c1e53;
    background-color: transparent;
    padding: 12px 16px;
    border-radius: 5px;
    border: 1px solid #1c1e53;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav button:hover{
    background-color: #004aad;
    border-color: #004aad;
    color: #fff;
}

nav button#menuButton{
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    padding: 7px;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas, o que vai garantir o mesmo tamanho para as imagens */
    grid-template-rows: auto auto auto;   /* Três linhas para as 8 imagens */
    grid-gap: 10px;  /* Espaçamento entre as imagens */
    width: 90%;      /* Largura da grid */
    max-width: 900px; /* Largura máxima */
    margin: 20px auto; /* Centraliza a grid na tela */
    padding-top: 20px; /* Espaço no topo */
    align-items: center;
}

.grid-container > .grid-item:nth-child(7),
.grid-container > .grid-item:nth-child(8) {
    margin-left: 150px; /* Centraliza na linha */
}

/* Estilo para cada imagem */
.grid-item {
    width: 90%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 18px;
    align-items: center;
    left: 30px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efeito de zoom quando passa o mouse */
.grid-item:hover img {
    transform: scale(1.05); /* Aumenta levemente a imagem ao passar o mouse */
}

/* Responsivo para celulares */
@media screen and (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
    }

    .grid-item img {
        object-fit: contain; /* Ajusta as imagens para se ajustarem melhor em telas pequenas */
    }

    .grid-container > .grid-item:nth-child(7),
.grid-container > .grid-item:nth-child(8) {
    margin-left: 0px; /* Centraliza na linha */
}
}

@media screen and (min-width: 1920px) and (max-width: 1080px) {
    .whatsapp .wtsapp i {
        font-size: 30px; /* Tamanho padrão do ícone */
    }
    
  }


@media screen and (max-width: 1200px) {

.main {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Garante que a altura da main seja esticada */
}
.main .right {
    height: 100%; /* Ajusta a altura da div.right para ocupar toda a altura da main */
}

.main .left h5{
    font-size: 18px;
}

.main .left h3{
    font-size: 36px;
}

.main .left p{
    font-size: 18px;
}

.main .right img{
    width: 380px;
}

.skills .skill-items{
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.skills .skill-items .item{
    width: 49%;
}

.about .left img{
    width: 370px;
}

.skills h3,
.about .right h3,
.portfolio .header h3,
.feedback h3{
    font-size: 32px;
}

.about .right p{
    font-size: 15px;
}

.feedback .customers .item .rating{
    font-size: 20px;
}

.feedback .customers .item p{
    font-size: 13px;
}

footer .top ul{
    gap: 20px;
}

.whatsapp .wtsapp {
    left: 10px; /* Posição ajustada para telas menores */
    bottom: 20px; /* Ajuste a posição inferior */
    width: 40px;
    height: 40px;
    font-size: 30px;
}

}


@media screen and (max-width: 1024px) {

nav {
    justify-content: space-between;
    padding: 0 42px;
}

nav ul {
    gap: 15px;
}

nav ul li a {
    font-size: 15px;
}

.main {
    flex-direction: column;
    padding: 60px 42px;
    align-items: center;
}

.main .left h3 {
    font-size: 36px;
}

.main .left p {
    font-size: 18px;
}

.main .left button {
    width: 100%;
}

.main .right img {
    max-width: 70%;
    height: auto;
    margin-top: 20px;
}

.info h1 {
    display: flex;
    margin-left: 55px;
}

.skills {
    padding: 85px 42px 0;
}

.skills .skill-items {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.skills .skill-items .item {
    width: 45%;
}

.about {
    padding: 85px 42px;
    flex-direction: column;
    align-items: center;
}

.about .left img {
    max-width: 100%;
}

.portfolio {
    padding: 85px 42px;
}

.portfolio .portfo-items {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio .portfo-items .item {
    width: 45%;
}

.feedback {
    padding: 85px 42px;
}

.feedback .customers {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.feedback .customers .item {
    width: 45%;
}

footer {
    padding: 85px 42px;
}

footer .bottom {
    flex-direction: column;
    gap: 14px;
}

.whatsapp .wtsapp {
    left: 10px; /* Ajuste a posição para dispositivos menores */
    bottom: 20px;
    width: 50px;
    height: 50px;
    font-size: 28px; /* Font-size ajustado */
}
}

@media screen and (max-width: 992px) {

nav button{
    display: none;
}

nav ul{
    gap: 10px;
}

nav ul li a{
    font-size: 11px;
}

.main{
    flex-direction: column;
}

.about{
    flex-direction: column;
    justify-content: center;
}

.portfolio .portfo-items{
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.portfolio .portfo-items .item{
    width: 48%;
}

.feedback .customers{
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.feedback .customers .item{
    width: 48%;
}

footer .top ul{
    display: none;
}

.info h1 {
    position: relative;
    left: -9px; 
    bottom: 0px;
}

.whatsapp .wtsapp {
    left: 10px; /* Mantém o botão mais visível */
    bottom: 15px;
    width: 45px;
    height: 45px;
    font-size: 25px;
}

}

@media screen and (max-width: 768px) {

.whatsapp .wtsapp {
    left: 10px;  /* Ajuste para telas pequenas */
    bottom: 20px;  /* Ajuste a posição inferior */
    width: 45px;
    height: 45px;
    font-size: 25px;
}

.whatsapp .wtsapp:before {
    width: 50px;
    height: 50px;
}

nav{
    justify-content: space-between;
    padding: 0 42px;
}

nav ul{
    display: none;
    gap: 10px;
}

nav.open .logo{
    display: none;
}

nav.open ul{
    display: flex;
}

nav button#menuButton{
    display: flex;
}

.main{
    padding: 42px;
}

.skills{
    padding: 85px 42px 0;
}

.skills .skill-items{
    gap: 8px;
}

.about{
    padding: 85px 42px;
}

.portfolio{
    padding: 60px 42px;
}

.portfolio .portfo-items{
    gap: 18px;
}

.feedback{
    padding: 85px 42px;
}

footer{
    padding: 85px 42px;
}

footer .bottom{
    flex-direction: column-reverse;
    gap: 14px;
}

}

@media screen and (max-width: 576px) {

.whatsapp .wtsapp {
    left: 5px;  /* Mais ajuste para telas menores */
    bottom: 15px;
    width: 40px;
    height: 39px;
    font-size: 22px;
}

i {
    font-size: 27px;
}

.whatsapp .wtsapp:before {
    width: 45px;
    height: 45px;
}

.main .right {
    height: 100%; /* Herda a altura do contêiner pai */
}

.main .right img {
    position: relative; /* Permite ajustar a posição da imagem */
    top: 46px; /* Move a imagem 20px para baixo */
    left: 33%;
    transform: translateX(-50%); /* Garante que fique perfeitamente centralizada */
    max-width: 100%; /* Garante que a imagem não ultrapasse os limites horizontais */
    height: auto; /* Mantém a proporção da imagem */
}

nav ul li a{
    font-size: 11px;
    font-weight: 600;
}

nav .logo a{
    font-size: 18px;
}

.main .left h3{
    font-size: 32px;
}

.main .left p{
    font-size: 16px;
}

.main .left button{
    width: 100%;
}

.skills .skill-items .item{
    width: 100%;
}

.portfolio .header button{
    font-size: 12px;
    padding: 8px 14px;
}

.portfolio .portfo-items .item{
    width: 80%;
}

.feedback .customers .item{
    width: 100%;
}

body {
    overflow-x: hidden;
}

/* Galaxy S8+ */
@media screen and (max-width: 360px) and (min-height: 740px) {

html {
    overflow-x: hidden; /* Impede o corte lateral */
  }

  .whatsapp .wtsapp {
    left: 10px; /* Ajuste mais para dispositivos menores */
    bottom: 5px;
    width: 50px;
    height: 50px;
    font-size: 25px;
}

.whatsapp .wtsapp:before {
    width: 50px;
    height: 50px;
}

  .main .right {
    width: 100%;  /* A div ocupa 100% da largura da tela */
    height: auto; /* Ajusta a altura proporcionalmente */
    box-sizing: border-box; /* Garante que o padding e borda sejam incluídos na largura */
  }

  .main .right img {
    width: 100%;  /* A imagem ocupa toda a largura da div */
    height: auto; /* A altura é ajustada automaticamente */
    object-fit: contain; /* A imagem se ajusta sem cortar */
    object-position: center; /* Centraliza a imagem */
  }

.main .left h3 {
    font-size: 28px;
}

.main .left p {
    font-size: 14px;
}

.main .left button {
    width: 100%;
    padding: 10px 16px;
    
}

.main .right img {
    width: 90%;
    margin-top: 20px;
}

 footer .logo {
    height: 250px;
    width: 250%;
 }

footer .logo img {
    position: relative;
    right: 15%;
}

body {
    overflow-x: hidden;
}

nav {
    margin: 5px;
}

nav ul li a{
    font-size: 8.5px;
}


}

/* Galaxy S9+ */
@media screen and (max-width: 320px) and (min-height: 658px) {

    html{
        overflow-x: hidden; /* Impede o corte lateral */
      }


      .whatsapp .wtsapp {
        left: 10px; /* Ajuste mais para dispositivos menores */
        bottom: 5px;
        width: 50px;
        height: 50px;
        font-size: 25px;
        
    }

    .whatsapp .wtsapp:before {
        width: 50px;
        height: 50px;
    }
    
      .main .right {
        width: 100%;  /* A div ocupa 100% da largura da tela */
        height: auto; /* Ajusta a altura proporcionalmente */
        box-sizing: border-box; /* Garante que o padding e borda sejam incluídos na largura */
      }
    
      .main .right img {
        width: 100%;  /* A imagem ocupa toda a largura da div */
        height: auto; /* A altura é ajustada automaticamente */
        object-fit: contain; /* A imagem se ajusta sem cortar */
        object-position: center; /* Centraliza a imagem */
      }

    .main .left h3 {
        font-size: 28px;
    }

    .main .left p {
        font-size: 14px;
    }

    .main .left button {
        width: 100%;
        padding: 10px 16px;
        
    }

    .main .right img {
        width: 90%;
        margin-top: 20px;
    }

     footer .logo {
        height: 250px;
        width: 250%;
     }

    footer .logo img {
        position: relative;
        right: 15%;
    }

    nav ul li a{
        font-size: 7px;
    }

    
}

  /* Galaxy S5 */
  @media screen and (max-width: 360px) and (min-height: 640px) {

    html {
        overflow-x: hidden; /* Impede o corte lateral */
      }

      * {
        margin: 0;
        padding: 0;
        border: none;
        overflow-x: hidden !important;
    }

      .whatsapp .wtsapp {
        left: 10px; /* Ajuste mais para dispositivos menores */
        bottom: 5px;
        width: 50px;
        height: 50px;
        font-size: 25px;
        overflow-x: hidden !important;
    }

    .whatsapp .wtsapp:before {
        width: 50px;
        height: 50px;
    }

    nav {
        justify-content: space-between;
    }
    
      .main .right {
        width: 100%;  /* A div ocupa 100% da largura da tela */
        height: auto; /* Ajusta a altura proporcionalmente */
        box-sizing: border-box; /* Garante que o padding e borda sejam incluídos na largura */
      }
    
      .main .right img {
        width: 100%;  /* A imagem ocupa toda a largura da div */
        height: auto; /* A altura é ajustada automaticamente */
        object-fit: contain; /* A imagem se ajusta sem cortar */
        object-position: center; /* Centraliza a imagem */
      }

    .main .left h3 {
        font-size: 28px;
    }

    .main .left p {
        font-size: 14px;
    }

    .main .left button {
        width: 100%;
        padding: 10px 16px;
        
    }

    .main .right img {
        width: 90%;
        margin-top: 20px;
    }

     footer .logo {
        height: 250px;
        width: 250%;
     }

    footer .logo img {
        position: relative;
        right: 15%;
    }

    body {
        overflow-x: hidden;
    }

    
}

/* LG */
@media screen and (max-width: 384px) and (min-height: 640px) {

html {
    overflow-x: hidden;
}


nav ul li a{
    font-size: 9.7px;
}



}

/* MOTO G4 */
@media screen and (max-width: 360px) and (min-height: 640px) {

    html {
        overflow-x: hidden;
    }




    nav ul li a{
        font-size: 8.7px;
    }

}

    /* iPHONE SE */
@media screen and (max-width: 375px) and (min-height: 667px) {

html {
    overflow-x: hidden;
}


nav ul li a{
    font-size: 8.7px;
}

.info h1 {
    position: relative;
    left: -32px; 
    bottom: 0px;
}



}

/* IPHONE 12PRO */
@media screen and (max-width: 390px) and (min-height: 844px) {

    html {
        overflow-x: hidden;
    }

    nav ul li a{
        font-size: 9.7px;
    }

    .info h1 {
        position: relative;
        left: -22px; 
        bottom: 0px;
    }

    .grid-container {
    margin-left: 20px;
}

}

 /* IPHONE 12PRO */
 @media screen and (max-width: 375px) and (min-height: 812px) {

   body {
    height: 100%;
    width: 100%;
    object-fit: contain;
   }

   .grid-container {
    margin-left: 20px;
}

}

/* iPad Mini */
@media screen and (max-width: 768px) and (min-height: 1024px) {

.whatsapp .wtsapp {
    left: 1vh; /* Ajuste para tablets */
    bottom: 15px;
    width: 50px;
    height: 50px;
    font-size: 25px;
    overflow: hidden;
}

.whatsapp .wtsapp:before {
    width: 55px;
    height: 55px;
}

.main .right {
    width: 100%;
    height: 100%;  /* Garantir que a div.right tenha altura 100% */
    position: relative;
    overflow: hidden; /* Cortar qualquer parte da imagem que ultrapasse os limites */
}

.main .right img {
    width: 100%;  /* A imagem vai ocupar 100% da largura */
    height: 100%;  /* Ajusta a altura da imagem para 100% da altura da div */
    object-fit: contain;  /* Ajuste da imagem para caber sem distorcer */
    position: relative;
    top: 0;  /* Alinha a imagem no topo da div */
    left: 0;  /* Alinha a imagem à esquerda */
    max-height: 100%; /* Garante que a imagem não ultrapasse a altura da div */
}

.skills .skill-items .item {
    width: 48%;
}

.portfolio .portfo-items .item {
    width: 48%;
}
}

/* iPad Air */
@media screen and (min-width: 820px) and (max-width: 1180px) and (min-height: 1180px) {

.whatsapp .wtsapp {
    left: 515px; /* Ajuste para iPad */
    bottom: 15px;
    width: 50px;
    height: 40px;
    font-size: 25px;
}

.main {
    padding: 70px;
}

.portfolio .portfo-items .item {
    width: 40%;
}
}

/* iPad Pro */
@media screen and (max-width: 1024px) and (min-height: 1366px) {
.main {
    padding: 80px 50px;
}

.portfolio .portfo-items {
    gap: 20px;
    flex-wrap: wrap;
}

.feedback .customers .item {
    width: 48%;
}
}

/* Surface Pro 7 */
@media screen and (min-width: 912px) and (max-width: 1280px) {
.main {
    padding: 60px 80px;
}

.main .right img {
    top: 60px; /* Ajuste específico para a Surface Pro 7 */
}

.skills .skill-items .item {
    width: 45%;
}

.whatsapp .wtsapp {
    left: 30px;  /* Ajuste a posição para telas maiores, mas ainda móveis */
    bottom: 50px;  /* Ajuste para se manter visível */
    width: 60px;
    height: 60px;
    font-size: 32px;
}

.whatsapp .wtsapp:before {
    width: 65px;
    height: 65px;
}
}


/* Galaxy Z Fold 5 */
@media screen and (max-width: 344px) and (min-height: 882px) {

.whatsapp .wtsapp {
    left: 1005px; /* Ajuste para dispositivos dobráveis */
    bottom: 5px;
    width: 45px;
    height: 45px;
    font-size: 25px;
}

.whatsapp .wtsapp:before {
    width: 50px;
    height: 50px;
}

.main .right img {
    width: 80%;
    
}

.skills .skill-items .item {
    width: 100%;
}

.portfolio .portfo-items .item {
    width: 90%;
}

.whatsapp .wtsapp {
    left: 5px; /* Ajuste para dispositivos dobráveis */
    bottom: 5px;
    width: 45px;
    height: 45px;
    font-size: 18px;
}

.whatsapp .wtsapp:before {
    width: 50px;
    height: 50px;
}

nav ul li a{
    font-size: 8px;
}


.grid-container {
    margin-left: 20px;
}

}

/* Asus Zenbook Fold */
@media screen and (min-width: 1280px) and (max-width: 853px)  {

.right img {
   top: 100px;
   overflow: hidden;
}

.skills .skill-items .item {
    width: 22%;
}

.portfolio .portfo-items .item {
    width: 30%;
}
}

@media screen and (min-width: 1024px) and (max-height: 600px) {
.main .right {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
}

/* Nest Hub Max */
@media screen and (min-width: 1280px) and (max-height: 800px) {



.main .left h3 {
    font-size: 29px;
}

.main .right img {
    width: 55%;
    top: 55px;
}


.feedback .customers .item {
    width: 35%;
}



}

@media screen and (max-width: 1024px) and (min-height: 1024px) {
.whatsapp .wtsapp {
    left: 20px;  /* Ajuste a posição do botão no meio da tela */
    bottom: 40px; /* Coloque mais para cima em tablets */
    width: 50px;
    height: 50px;
    font-size: 22px;
}

.whatsapp .wtsapp:before {
    width: 55px;
    height: 55px;
}

.grid-container {
    margin-left: 20px;
}

}

@media screen and (min-width: 1280px) {


.grid-container {
    margin-left: 20px;
}

.whatsapp .wtsapp {
    left: 40px;  /* Posição para telas maiores */
    bottom: 60px; /* Posição inferior para não se sobrepor */
    width: 70px;
    height: 70px;
    font-size: 36px;
}

.whatsapp .wtsapp:before {
    width: 75px;
    height: 75px;
}

}


}