.servicos-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.servicos-content > div {
  max-width: fit-content;
  min-width: fit-content;
  flex: 1;
}
.servicos-grid {
  display: grid;
  justify-items: center;
  gap: 40px;
}
.servicos {
  padding: 60px 10px;
}
@media only screen and (min-width: 500px) and (max-width: 780px) {
  .servicos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
    gap: 20px;
    justify-items: center;
    align-items: center;
  }
  .servicos-content > div {
    max-width: inherit;
    min-width: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .servicos-content > div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}

@media only screen and (min-width: 0px) and (max-width: 499px) {
  .servicos-content {
    display: grid;
    grid-template-columns: 1fr;
    flex-wrap: wrap;
    gap: 20px;
    justify-items: center;
    align-items: center;
  }
  .servicos-content > div {
    max-width: inherit;
    min-width: inherit;
    max-height: 280px;
    width: 100%;
    max-width: 300px;
    height: 100%;
    object-fit: cover;
  }
  .servicos-content > div img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
}


@media only screen and (max-width:380px) {

    .servicos .btn {
        font-size: 1rem;
    }
    
}