html {
  scroll-snap-type: y mandatory;
}

body {
  scroll-snap-type: y mandatory;
  transition: background-color 0.5s ease-out;
  max-width: 100vw;
}

header {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.hd1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1vh 15vw;
  border-bottom: 2px solid var(--line-gray);
}

.hd1 img {
  width: 210px;
}

.hd2 {
  display: flex;
  align-items: center;
  height: 100%;
  width: 990px;
  margin: 0 auto;
}

.imgslogan2 {
  width: 950px;
  margin: auto;
}
.imgslogan3 {
  max-width: 540px;
  width: 70%;
  display: none;
  margin: auto;
}

/* SECTIONs */
section {
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.section1 {
  height: 100dvh;
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
}
.section1 h3 {
  font-weight: 900;
  font-size: clamp(1.5rem, -0.0625rem + 5vw, 2.75rem);
  text-align: center;
  margin-block: 0;
  margin-bottom: 3vh;
  color: var(--hard-purple);
  user-select: none;
}

.carrousel {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  position: relative;
  overflow-x: hidden;
  user-select: none;
}

.slide {
  min-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  /* margin-inline: -2vw; */
  transform: scale(0.85);
  margin-inline: -2.5vw;
  cursor: pointer;
}
.slide.active {
  transform: scale(1);
}

.slide img {
  width: 27vw;
  height: auto;
}

.carrousel::before,
.carrousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  cursor: pointer;
}
.carrousel::before {
  left: 0;
}
.carrousel::after {
  right: 0;
}

.section2 {
  height: 100dvh;
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
}
.section2 h3 {
  font-weight: 900;
  font-size: clamp(2rem, 0.75rem + 4vw, 3rem);
  text-align: center;
  margin-block: 0;
  margin-bottom: 3vh;
  color: var(--hard-purple);
  user-select: none;
}

.carrousel2 {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  position: relative;
  overflow-x: hidden;
  user-select: none;
}

.slide2 {
  min-width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  cursor: pointer;
}

.slide2 img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  border: 3px solid var(--line-gray);
  border-radius: 50%;
}

.slide2.small {
  transform: scale(0.7);
  margin-inline: 2.5vw;
}
.slide2.medium {
  transform: scale(0.85);
}
.slide2.active {
  transform: scale(1);
  margin-inline: 5.65vw;
}

.carrousel2::before,
.carrousel2::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  cursor: pointer;
}
.carrousel2::before {
  left: 0;
}
.carrousel2::after {
  right: 0;
}

.section3 {
  height: 100dvh;
  width: 490px;
  margin: 0 auto;
  flex-direction: column;
}
.section3 h3 {
  font-weight: 900;
  font-size: clamp(2rem, 0.75rem + 4vw, 3rem);
  text-align: center;
  margin-block: 0;
  margin-bottom: 3vh;
  color: var(--hard-purple);
  user-select: none;
}
.section3 a {
  max-width: 360px;
  padding: 12px 16px;
  margin-top: 5vh;
}

@media screen and (max-width: 1080px) {
  .hd1 {
    justify-content: center;
    border-bottom: none;
  }
  .hd1 img {
    width: 210px;
  }
  .a-yellow {
    display: none;
  }
  .hd2 {
    width: 90vw;
  }
  .imgslogan2 {
    max-width: 800px;
    width: 80%;
  }
  .section3 {
    max-width: 400px;
    width: 70vw;
  }
  .slide img {
    width: 40vw;
  }
  .slide2 {
    margin-inline: 20vw;
  }
  .slide2 img {
    width: 35vw;
  }
}
@media screen and (max-width: 540px) {
  .imgslogan2 {
    display: none;
  }
  .imgslogan3 {
    display: initial;
  }
  .slide {
    margin-inline: 10vw;
  }
  .slide img {
    width: 60vw;
  }
  .slide2 {
    margin-inline: 35vw;
  }
  .slide2 img {
    width: 50vw;
  }
}

/* Estilos para Google Nest Hub */
@media screen and (min-width: 600px) and (max-width: 1080px) and (max-height: 850px) {
}
