* {
  font-family:
    "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica,
    Arial, "Lucida Grande", sans-serif;
}

button {
  color: #878889;
  width: 100%;
  padding: 20px 40px;
  text-align: start;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  position: relative;
}

button:hover {
  background-color: #ebebeb;
}

button::after {
  position: absolute;
  background-color: red;
  bottom: 0;
  width: 0px;
  height: 1px;
  content: "";
  left: 40px;
  transition: all 0.2s;
}

button.active {
  background-color: #ebebeb;
  color: #313131;
}

button.active::after {
  width: calc(100% - 80px);
}

.features-text {
  z-index: 1;
  opacity: 0%;
  user-select: none;
  pointer-events: none;
}

.features-text.active {
  z-index: 2;
  opacity: 100%;
  user-select: text;
  pointer-events: all;
}

.features-text-phone {
  max-height: 0px;
  overflow: clip;
  padding: 0px 40px;
  transition: none 0.5s;
}

.features-text-phone.active {
  max-height: 100%;
  overflow: clip;
  padding: 40px 40px;
}

@media screen and (min-width: 1280px) {
  .features-text-phone {
    display: none !important;
  }
}

/* flex flex-col gap-8 aspect-square h-full bg-[#ee312d] items-center justify-center p-5 rounded-sm */
.macItem {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  background-color: #f0f0f0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 4px;
}

.macItem p {
  color: #313131;
}

p {
  letter-spacing: 0.03rem;
}

@media (min-resolution: 120dpi) {
  html {
    font-size: 13px;
  }
  img.scaling-img {
    aspect-ratio: 1.8 !important;
  }
}
