body {
  transition: background-color 0.5s ease-out;
  max-width: 100vw;
}

header {
  height: 100dvh;
}
.hd2 {
  display: flex;
  align-items: center;
  height: 100%;
  width: 990px;
  margin: 0 auto;
  gap: 100px;
}
.hd2 img {
  width: 340px;
}
.hd2 div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hd2 h2 {
  font-weight: 900;
  font-size: clamp(1.5rem, 0.25rem + 4vw, 2.5rem);
  color: var(--hard-purple);
  text-align: center;
  user-select: none;
  margin-block: 0;
  margin-bottom: 1vh;
}
.hd2 p {
  font-weight: 600;
  font-size: clamp(1rem, 0.375rem + 2vw, 1.5rem);
  color: var(--text-black);
  text-align: justify;
  user-select: none;
  margin-block: 0;
  margin-bottom: 4vh;
}
.hd2 a {
  max-width: 340px;
  padding: 12px 16px;
}
.a-yellow-2 {
  display: none;
  margin-top: 2vh;
}

@media screen and (max-width: 1080px) {
  .hd1 {
    justify-content: center;
    border-bottom: none;
  }
  .hd1 img {
    width: 210px;
  }
  .hd2 {
    width: 80vw;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 4vh;
  }
  .hd2 img {
    max-width: 250px;
    width: 40vw;
  }
  .hd2 h2 {
    line-height: 40px;
    margin-bottom: 3vh;
  }
  .hd2 p {
    text-align: center;
  }
  .a-yellow {
    display: none;
  }
  .a-yellow-2 {
    display: initial;
  }
}

/* Estilos para Google Nest Hub */
@media screen and (min-width: 600px) and (max-width: 1080px) and (max-height: 850px) {
  .hd2 {
    flex-direction: row;
    width: 90vw;
  }
  .hd2 div {
    width: 60vw;
    max-width: 650px;
  }
  .hd2 img {
    max-width: 280px;
  }
  .hd2 h2 {
    font-size: 2rem;
  }
  .hd2 a,
  .hd2 p {
    font-size: 1.35rem;
  }
}
