@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;700&family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --gradient: linear-gradient(to left, #870000, #601f0a);
  --borderRadius: 20px;
  --btnPadding: 7px 20px;
}

body, html{
  scroll-padding-top: 62px;
  overflow-x: hidden;
}

.cursive {
  font-family: 'Dancing Script', cursive;
}

/*MODAL*/
#modal.active{
  align-items: center;
  background-image: url(../imagenes/guitar-neck.jpg);
  box-shadow: 0 0 0 50vmax rgba(0, 0, 0, 0.7);
  display: flex;
  transform: translate(-50%, -50%);
  padding: 40px;
  overflow: hidden;
  position: fixed;
  top: 50%;
  left: 50%;
  justify-content: center;
  flex-direction: column;
  width: clamp(310px, 90%, 500px);
  border: 3px solid; 
  border-image: linear-gradient(white, orangered) 1;
  z-index: 5;
  text-align: center;
  animation: border .7s infinite alternate;
}



@keyframes border {
  0%{
    border-image: linear-gradient(transparent, orange) 1;
  }
  100%{
    border-image: linear-gradient(orange, transparent) 1;
  }
}

#modal h2{
  font-size: 4rem;
}


/* header - nav */
.navbar{
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: linear-gradient(hsla(0, 0%, 0%, 0.5), hsla(0, 0%, 0%, 0.5)),url(../imagenes/guitar-frets.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 5;
  overflow: hidden;
}

.guitar-pick{
  width: 40px;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  0%{
    transform: rotateY(0deg);
  }
  100%{
    transform: rotateY(360deg);
  }
}

.navbar-brand{
  font-size: 2rem;
  position: relative;
}

.navbar-brand span{
  color: darkorange;
}

.navbar-toggler-icon{
  background-image: url(../imagenes/icono.png);
}

.nav-link,
.navbar-brand{
  color: #fff;
}

.nav-link:hover{
  color: orange;
}

.cart::after{
  content: "+4";
  position: absolute;
  top: 0;
  background-color: orangered;
  border-radius: 50%;
  width: 25px;
}

.xmashat{
  position: absolute;
  top: -22%;
  left: -10%;
}
.xmashat img{
  width: 30px;
}


/* MAIN */
main{
  background: linear-gradient(to left, hsla(0, 100%, 26%, 0.377), #601f0a8e),url('../imagenes/banner.jpg'); 
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}


.main__btns{
  margin-top: 25px;
}
.main__btns a{
  text-decoration: none;
  color: #fff;
  padding: var(--btnPadding);
  background-color: rgba(0, 0, 0);
}

.main__btns a:nth-child(2){
  background-color: darkorange;
}




/* NOSOTROS */
.brands img{
  width: 200px;
  height: 40px;
}

.brands img:nth-child(1){
  height: 80px;
}

.banner2{
  background: linear-gradient(to left, hsla(0, 100%, 26%, 0.377), #601f0a8e),url('../imagenes/banner2.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 400px;
}

/* PRODUCTOS */
#productos{
  max-width: 70%;
}

.banner3{
  background: linear-gradient(to left, hsla(0, 100%, 26%, 0.377), #601f0a8e),url('../imagenes/banner3.jpeg');
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 400px;
}

/* FAQS */
#faqs{
  width: 60%;
}
.accordion-button:not(.collapsed){
  background-color: #fff;
}

.accordion-button::after{
  background-image: url(../imagenes/rockhand.png);
  transform: rotate(180deg);

}
.accordion-button:not(.collapsed)::after{
  background-image: url(../imagenes/rockhand.png);
  transform: rotate(0deg);
}

/* FOOTER */
footer{
  background: url(../imagenes/guitar-neck.jpg);
}

.redes a{
  color: orange;
}

.github{
  color: orange;
}
.github:hover{
  color: orange;
}

/*AUDIOS*/
audio{
  display: none;
}

@media screen and (max-width: 991px){
  .navbar-brand{
    font-size: 1.5rem;
  }

  main{
    height: 100vh;
  }
  
  #productos{
    max-width: 100%;
  }
  #faqs{
    width: 90%;
  }

  #modal h2{
    font-size: 2rem;
  }
  .xmashat{
    left: -17%;
  }
}






