@import url('vars.css');

* {
  margin: 0;
  box-sizing: border-box;
  font-family: var(--fuente-principal);
  scroll-behavior: smooth;
}

.service__container{
  font-size: 1rem;
  margin-top: 90px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  color: var(--color-primario);
  justify-content: center;
  margin-bottom: 30px;

}

.service__title{
  text-align: center;
}

.service__description{
  text-align: justify;
}

.service__image{
  margin-top: 1rem;
  text-align: center;
}

.service__image-image{
  max-width: 100%;
  height: 350px;
  border-radius: 1rem;
  box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.6);
}

/* Tablet (>= 600px) */
@media (width >=600px) {
  .service__container{
    flex-direction: row;
  }
  .service__text {
    width: 50%;
    margin-right: 10%;
  }
}

/* Tablet horizontal y laptops pequeños (>= 768px) */
@media (width >=768px) {

  .service__container{
    width: 80%;
    margin-left: 10%;
  }
}

/* Laptops estándar (>= 1024px) */
@media (width >=1024px) {

  .service__container {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-primario);
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.6);
    width: 60%;
    margin-left: 20%;
  }
}

/* Pantallas grandes (>= 1280px o 1440px) */
@media (width >=1280px) {
  /* Contenedor más ancho, tipografía más grande */
}