*{ margin: 0; padding: 0; box-sizing: border-box; }

.header-imusica {
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20%;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
}

.navbar-links {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
}

.nav-links {
  text-decoration: none;
}

.hero-imusica {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 16px 20%;
  height: auto;
}

.hero-imusica img {
  width: 50%;
}

.text-hero {
  font-family: var(--font-family-highlight);
  font-weight: var(--font-weight-regular);
  line-height: var(--font-line-height-md);
  font-size: var(--font-size-lg);
  width: 100%;
}

.hero2-imusica {
  color: rgb(255, 255, 255);
  font-family: var(--font-family-highlight);
  width: 100%;
}

.title-hero2 {
  font-family: var(--font-family-highlight);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-md);
  line-height: var(--font-line-height-sm);
  margin: 0px 0px var(--spacing-stack-xs) 0px;
}

.background-hero2 {
  background: linear-gradient(90deg, rgb(0, 133, 255) 0%, rgb(34, 67, 183) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-stack-md) 20% var(--spacing-stack-md) 20%;
}

.text-hero2 {
  font-family: var(--font-family-highlight);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  line-height: var(--font-line-height-sm);
  margin: 0px;
}

.social {
  display: flex;
  flex-direction: row;
  padding: var(--spacing-stack-md) 0px 0px 0px;
  gap: var(--spacing-inline-xs);
}

.social div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-stack-xxs);
  color: rgb(255, 255, 255);
  font-family: var(--font-family-base);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-light);
}

.items-wrapper {
  padding: var(--spacing-stack-md) 20% var(--spacing-stack-md) 20%;
  position: relative;
}

.items {
  display: flex;
  flex-direction: row;
  padding: var(--spacing-stack-xs) 0px;
  overflow-x: hidden;
  gap: var(--spacing-stack-xs);
  flex-wrap: nowrap;
}

h2 {
  font-family: var(--font-family-highlight);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-md);
  line-height: var(--font-line-height-sm);
  margin: 0px;
  margin-bottom: var(--spacing-stack-xs);
}

main header {
  position: relative;
  padding-bottom: [footer-height];
}

.footer-imusica {
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  height: [footer-height];
  padding: 28px 20% 28px 20%;
  color: rgb(255, 255, 255);
  font-family: var(--font-family-base);
  font-size: var(--font-size-xxxs);
  font-weight: var(--font-weight-medium);
  display: flex;
  flex-direction: column;
  background-color: #1B1B1B;
}

.social-footer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 16px;
  margin-bottom: var(--spacing-stack-xs);
}

.social-footer a {
  text-decoration: none;
  font-size: var(--font-size-xxxs);
  font-weight: var(--font-weight-medium);
}

.imusica-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0px;
}

.imusica-info p {
  margin-bottom: var(--spacing-stack-xs);
}

.links-imusica {
  gap: 16px;
}

.links-imusica p {
  margin-bottom: var(--spacing-stack-xs);
}

.links-imusica a {
  color: rgb(255, 255, 255);
}

.links-imusica a:visited {
  color: rgb(255, 255, 255);
}

.carousel {
  display: none;
}

@media (max-width: 1870px) {
  .items {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .items::-webkit-scrollbar {
    display: none;
  }

  .item {
    opacity: 0.2;
  }

  .current-item {
    opacity: 1;
  }

  .items-wrapper .carousel-right {
    bottom: 346px;
    right: 18%;
    display: block;
    justify-self: right;
  }

  .items-wrapper .carousel-left {
    bottom: 346px;
    left: 18%;
    display: block;
    justify-self: left;
  }

  .carousel-right {
    position: absolute;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    background-image: url("./assets/icons/carousel-button-right.svg");
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border: none;
  }

  .carousel-left {
    position: absolute;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    background-image: url("./assets/icons/carousel-button-left.svg");
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border: none;
  }

  footer {
    z-index: 2;
  }

}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .header-imusica {
    position: relative;
    flex-direction: column;
    justify-content: center;
    top: 0;
    left: 0;
  }

  .hero-imusica {
    padding: var(--spacing-inline-xs);
    flex-direction: column-reverse;
    justify-content: end;
    align-items: center;
    text-align: center;
  }

  .hero-imusica img {
    width: 100%;
  }

  .background-hero2 {
    padding: var(--spacing-inline-xs);    
    text-align: center;
  }

  .items-wrapper {
    padding: var(--spacing-stack-md) 20% var(--spacing-stack-md) 20%;
    text-align: center;
    width: 100vw;
  }

  .items {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .items-wrapper .carousel {
    display: none;
  }

  .item {
    flex: none;
    scroll-snap-align: start;
    width: 100%;
    pointer-events: none;
    opacity: 1;
  }

  .items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .social-footer {
    display: none;
  }

  main header {
    position: absolute;
    padding-bottom: 0px;
  }

  .footer-imusica {
    position: relative;
    flex-direction: column-reverse;
    align-items: center;
  }

  .imusica-info {
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    align-items: center;
    text-align: center;
  }

  .container-footer-imusica {
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    align-items: inherit;
    color: rgb(255, 255, 255);
  }

  .container-footer-imusica span {
    margin-bottom: var(--spacing-stack-xs);
  }

  .footer-imusica img {
    margin-bottom: var(--spacing-stack-xs);
  }

  .items-wrapper .carousel-left {
    display: none;
  }

  .items-wrapper .carousel-right {
    display: none;
  }

}