/*===== GOOGLE FONTS =====*/
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&display=swap');

/*========== BASE CSS Styles ==========*/
*,::before,::after{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

h1,h2,h3,p,ul{
  margin: 0;
}

ul{
  padding: 0;
  list-style: none;
}

a{
  text-decoration: none;
}

#header-img {
  width: 100px;
  height: 30px;
  position: left;
  object-fit: cover; /* Asegura que la imagen no se deforme */
}

img{
  max-width: 100%;
  height: auto;
}

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --primary-color: 	#002a4c;
  --primary-color-alt: 	#002a4c;
  

  /*========== Colors ==========*/
  --title-color: #222;
  --p-text-color: #ffffff;
  --text-color: #141414;
  --text-color-light: #666666;
  --body-color: #fefbfb;
  --container-color: #FFFFFF;

  /*========== Font and typography ==========*/
  --body-font: 'Sora', sans-serif;
  --large-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .638rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margins ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z-index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

body{
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

/*========== LAYOUT ==========*/
.bd-container{
  max-width: 960px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.l-header{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*========== NAV ==========*/
.nav{
  max-width: 1024px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px){
  .nav__menu{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0 1rem;
    text-align: center;
    background-color: var(--body-color);
    transition: .4s;
    box-shadow: 0 4px 4px rgba(0,0,0,.1);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);
  }
}

.nav__item{
  margin-bottom: var(--mb-2);
}

.nav__link, .nav__logo, .nav__toggle{
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.nav__logo:hover{
  color: var(--primary-color);
}

/* Show menu */
.show-menu{
  top: var(--header-height);
}

.nav__link{
  transition: .3s;
}

.nav__link:hover{
  color: var(--primary-color);
}

.nav__toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

/* Active menu */
.active-link{
  color: var(--primary-color);
}

/********************************** End Of Part 1 **************************************/

/*========== CLASS CSS ==========*/
.section{
  padding: 4rem 0 2rem;
}

.section-title, .section-subtitle{
  text-align: center;
}

.section-title{
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
}

.section-subtitle{
  display: block;
  color: var(--primary-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}


/*========== HOME ==========*/
.home__container{
  height: calc(100vh - var(--header-height));
  align-content: center;
}

.bd-grid{
  display: grid;
  gap: 1.5rem;
}



.home__title{
  font-size: var(--h1-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.home__subtitle{
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-4);
}

.home__img{
  width: 300px;
  justify-self: center;
}

.button{
  display: inline-block;
  background-color: var(--primary-color);
  color: #FFF;
  color: var(--p-text-color);
  padding: .75rem 1rem;
  border-radius: .5rem;
  transition: .3s;
}

.button:hover{
  background-color: var(--primary-color-alt);
}

.image-wrapper {
  /* margin-right: 20px; */
  margin-left: 100px;
}

.image-wrapper img {
  max-width: 100%;
  height: 250px;
}

.text-wrapper {
  flex: 1;
}

.text-wrapper .p .img {
  border-radius: 50px;
}
.vinilobot {
  position: relative;
  animation: rotate 3s linear infinite; /* Ajusta la duración y la dirección de la rotación */
}

@keyframes rotate {
  0% {
    transform: rotate(0deg); /* Inicio de la rotación */
  }
  100% {
    transform: rotate(360deg); /* Fin de la rotación */
  }
}


.puntavinilo {
  position: absolute;
  z-index: 1;
}

.sticker {
  position: absolute;
  width: auto;
  height: 5px;
  z-index: 1;
}


.lista {
  font-size: 12px;
  text-align: left; /* Alinea el texto a la izquierda */
  margin: 20px; /* Espacio alrededor del contenedor, ajustable según sea necesario */
}

.lista ul {
  list-style-position: inside; /* Muestra los puntos de la lista dentro del contenedor */
  padding-left: 0; /* Elimina el padding por defecto */
}

.lista li {
  margin-bottom: 10px; /* Espacio entre los elementos de la lista */
}

/********************************** End Of Part 2 **************************************/

.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: var(--mb-3);
}

.about__img{
  width: 280px;
  border-radius: .5rem;
  justify-self: center;
}

/* Change background header */
.scroll-header{
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/*========== Dark theme Variables CSS  ==========*/
body.dark-theme{
  --primary-color: 	#00ffbb;
  --primary-color-alt: 	#00ffbb;
  --title-color: #F1F3F2;
  --text-color: #C7D1CC;
  --body-color: #1e2124;
  --container-color: #1e2124;
  --p-text-color: #1e2124;
}

@media screen and (min-width: 768px){
  :root{
    --large-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== Button Dark/Light ==========*/
.change-theme{
  position: absolute;
  right: 1rem;
  top: 1.6rem;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
}


/* Scroll top */
.scrolltop{
  position: fixed;
  color: #fff;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: rgba(37, 84, 214, 0.5);
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover{
  background-color: var(--primary-color-alt);
}

/* Show scrolltop */
.show-scroll{
  visibility: visible;
  bottom: 1.5rem;
}

/****************************** End Of Three ****************************************/

/*========== SERVICES ==========*/
.services__container{
  row-gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__content{
  text-align: center;
}

.services__img{
  width: 64px;
  height: 64px;
  fill: var(--primary-color);
  margin-bottom: var(--mb-2);
}

.services__title{
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.services__description{
  padding: 0 1.5rem;
}


/*========== MENU ==========*/
/* Se asegura de que el contenedor y los elementos sean flexibles y estén alineados correctamente */

.menu__container {
  display: flex;
  justify-content: center; /* Espacio entre los cuadros */
  gap: 2rem; /* Añade un poco de espacio entre los cuadros */
  flex-wrap: wrap; /* Los cuadros se envolverán si el ancho de pantalla es pequeño */
  margin-top: 5rem; /* Espacio superior */
  padding: 0 2rem; /* Padding para que no toquen los bordes de la pantalla */
}

.menu__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--container-color);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(3, 74, 40, 0.15);
  padding: 2rem 1rem; /* Relleno del cuadro */
  max-width: 500px; /* Ancho máximo */
  flex: 1 1 48%; /* Asegura que los cuadros ocupen un 48% del ancho disponible */
  text-align: center;
}

.menu__img {
  width: 400px; /* Tamaño de los GIFs */
  height: auto;
  margin-bottom: 1rem;
}

.menu__name {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  font-size: 1.8rem; /* Aumenté el tamaño */
  margin-bottom: 1rem;
}

.menu__detail, .menu__preci {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.menu__button {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  border-radius: 50%;
}



/*========== APP ==========*/
.app__data{
  text-align: center;
}

.app__description{
  margin-bottom: var(--mb-5);
}

.app__stores{
  margin-bottom: var(--mb-4);
}

.app__stores i{
  font-size: var(--h1-font-size);
  color: var(--primary-color);
}

.app__store{
  width: 120px;
  margin: 0 var(--mb-1);
  font-size: var(--large-font-size);
}

.app__img{
  width: 230px;
  justify-self: center;
}

/*========== CONTACT ==========*/
.contact__container{
  text-align: center;
}

.contact__description{
  margin-bottom: var(--mb-3);
}

/*========== FOOTER ==========*/
.footer__container{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__logo{
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

.footer__description{
  display: block;
  font-size: var(--small-font-size);
  margin: .25rem 0 var(--mb-3);
}

.footer__social{
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-2);
}

.footer__title{
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}

.footer__link{
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}

.footer__link:hover{
  color: var(--primary-color);
}

.footer__copy{
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
}




.animated-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradiente atractivo */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación suave */
  position: relative;
  overflow: hidden;
}

.animated-button:hover {
  transform: translateY(-5px); /* Levanta el botón al pasar el ratón */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.animated-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-45deg);
  transition: all 0.5s ease;
}

.animated-button:hover::before {
  left: 100%;
}


/* animacion */

.music {
  display: inline flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 300px;
  height: 200px;
  margin-left: 50px;
}

.music .bar {
  width: 12px;
  height: 2px;
  border-radius: 10px;
  background-color: white;
  animation: up_down 1.5s ease-in-out infinite;
}

@keyframes up_down {
  0%,
  100% {
      height: 2px;
  }
  50% {
      height: 80px;
  }
}

.music .bar:nth-child(1) {
  background-color: purple;
  animation-delay: 1s;
}
.music .bar:nth-child(2) {
  background-color: crimson;
  animation-delay: 0.8s;
}
.music .bar:nth-child(3) {
  background-color: deeppink;
  animation-delay: 0.6s;
}
.music .bar:nth-child(4) {
  background-color: orange;
  animation-delay: 0.4s;
}
.music .bar:nth-child(5) {
  background-color: gold;
  animation-delay: 0.2s;
}
.music .bar:nth-child(6) {
  background-color: gold;
  animation-delay: 0.2s;
}
.music .bar:nth-child(7) {
  background-color: orange;
  animation-delay: 0.4s;
}
.music .bar:nth-child(8) {
  background-color: deeppink;
  animation-delay: 0.6s;
}
.music .bar:nth-child(9) {
  background-color: crimson;
  animation-delay: 0.8s;
}
.music .bar:nth-child(10) {
  background-color: purple;
  animation-delay: 1s;
}

@keyframes rotate {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

/* Estilo para el cuadro emergente */
.popup {
  display: none; /* Inicialmente oculto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: #535353;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 50px;
  font-weight: bold;
  color: #ff0000;
  cursor: pointer;
}

.close-btn:hover {
  color: #d01b1b;
}

/* Estilo para la X */


/* *************************************** Comandos ******************************** */

.container__commands {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  padding: 20px;
  gap: 20px;
}

.box {
  width: 90%;
  max-width: 1000px;
  padding: 10px;
  border: 2px solid #001a2f;
  border-radius: 10px;
  background-color: #000f5c;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.box h3 {
  margin: 0 0 10px;
  color: #979797;
}
.box p {
  margin: 0;
  color: #e9e9e9;
}
