.hero {
  /* background: url('../assets/hero.jpg'); */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../assets/bg-2.jpg);
  object-fit: cover;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 900px;
  background-position: fixed;
  backdrop-filter: brightness(12%);
}
.services {
  background: rgba(0, 0, 0, 0.5);
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7rem;
}
.hero-img-container {
  width: 400px;
  max-width: 100vw;
  aspect-ratio: 1.3/1;
  margin: 0;
  border-radius: 2rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(30, 30, 30, 1);
}
.hero-img-container img {
  width: 100%;
  border: 2px solid rgba(30, 30, 30, 1);
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  transform: translate(1rem, -1rem);
  transition: transform 0.5s ease-in-out;
}
.hero-img-container img:hover {
  transform: translate(0.6rem, -0.6rem);
}
.hero-service {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.hero-service:nth-child(even) .hero-img-container img {
  transform: translate(-1rem, -1rem);
}
.hero-service:nth-child(even) .hero-img-container img:hover {
  transform: translate(-0.6rem, -0.6rem);
}
.hero-text-container {
  width: 400px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero {
  position: relative;
  height: 250px;
  padding-top: 100px;
}
.hero-text-container span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(30, 30, 30, 1);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 5rem;
  padding: 0.2rem 0.8rem;
  font-family: sans-serif;
  flex-grow: 1;
  flex-shrink: 0;
  width: fit-content;
}

.hero-title {
  font-family: sans-serif;
  font-size: 2rem;
}

.hero-description {
  font-family: sans-serif;
  font-size: 1.1rem;
}

.hero-text-container button {
  padding: 0.5rem 1.2rem;
  color: white;
  border-radius: 5rem;
  border: 1px solid rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0);
  width: fit-content;
  font-weight: 600;
  transition: all 250ms ease-in;
  cursor: pointer;
  font-size: large;
}
.hero-text-container button:hover {
  background-color: white;
  color: black;
}

@media (width <= 800px) {
  .hero-service:nth-child(even) {
    flex-direction: column-reverse;
  }
}
.hero h1,
.hero p {
  text-align: center;
  font-family: sans-serif;
}
.hero h1 {
  font-size: 3rem;
  color: white;
  font-weight: 700;
}
.hero p {
  margin-top: 5px;
  font-size: 1rem;
}
.hero span {
  margin-top: 12px;
  display: block;
  text-align: center;
}
