@import url("./root.css");

.hero_sect {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  /* width: 98vw; */
  height: 100vh;
  position: relative;
  top: -10vh;
}

.hero_sect > h1,
.hero_sect > h5,
.contact_sect_container > div {
  margin-left: 10px;
}

#hero_sect_bck {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100vw;
  height: 100vh;
  bottom: 0;
  transform: translateY(60vh) translateX(-1%);
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  overflow: hidden;
}

#hero_sect_bck > img {
  width: 150%;
  height: 150%;
}

.hero_sect h5,
.hero_sect h1 {
  margin-right: 25%;
}

.services_list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  padding: 60px 16px;
  backdrop-filter: blur(12px);
  box-sizing: border-box;
  position: relative;
}

.services_list_header {
  text-align: center;
  margin-bottom: 25px;
}

.offer_list_container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}

.offer_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 16px;
  background-color: color-mix(in srgb, var(--color-white) 60%, transparent);
}

.offer_container h3,
.offer_container h5 {
  margin-top: 0;
}

.contact_sect_container,
.service_table {
  padding: 0 10px;
}

.service_table,
.services_list {
  margin: 0 auto;
  max-width: 1920px;
}

.autopharm_service_header {
  text-align: center;
  margin-bottom: 25px;
}

@media screen and (min-width: 500px) {
  .offer_list_container {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .offer_container {
    width: calc((100% - 20px) / 2);
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1024px) {
  #hero_sect_bck > img {
    width: 120%;
    height: 120%;
  }

  .hero_sect,
  .contact_sect_container,
  .service_table {
    padding: 0 25px;
  }
}

@media screen and (min-width: 1440px) {
  .offer_container {
    width: calc((100% - 40px) / 3);
  }
}

@media screen and (min-width: 2000px) {
  .hero_sect h5,
  .hero_sect h1 {
    margin-left: 250px;
  }
}
