@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=BBH+Bartle&family=Jost:ital,wght@0,100..900;1,100..900&family=Share+Tech&display=swap");
html, body {
  min-width: 320px;
  overflow-x: hidden;
}

body {
  background-image: url("../recursos/img/fondo.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* reset de css , siempre presente*/
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

h2, h3 {
  color: blue !important;
}

h3 {
  font-size: 1.3rem;
  align-items: left;
}

h4 {
  font-size: 0.1;
}

a.nav-link.menuFont {
  font-size: 1.4rem !important;
}

.producto {
  width: 12rem;
  position: relative;
  background-color: #f0f0f0;
}
.producto__imagen {
  width: auto;
  height: auto;
}
.producto__imagen--foto {
  width: 12rem;
  height: 12rem;
}
.producto__titulo {
  height: 3rem;
  margin-bottom: 0;
}
.producto__precio {
  height: 2rem;
  color: green;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0;
}
.producto__boton {
  position: absolute;
  top: 0;
  right: 0;
  height: 1.6rem;
  background-color: rgba(57, 110, 255, 0.596);
  border-radius: 12% 0% 12% 12%;
  border: none;
}
.producto__boton:hover {
  background-color: rgba(21, 190, 21, 0.819);
  transform: scale(1.2);
  transform-origin: right top;
}

.producto {
  perspective: 60;
  width: 12rem; /* ancho de la tarjeta */
  height: 17rem; /* alto de la tarjeta */
  position: relative;
}

.producto__check {
  appearance: none; /* elimina estilo nativo del checkbox */
  position: absolute; /* lo posiciona dentro de .card */
  bottom: 0; /* esquina superior */
  right: 0; /* esquina derecha */
  width: 2rem; /* tamaño del área clickeable */
  height: 2rem;
  background: green; /* color visible */
  cursor: pointer; /* indica interacción */
  z-index: 20; /* lo pone por encima de la card */
  /* recorta el cuadrado en forma triangular */
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
  padding: 0.6rem 1.2rem; /* espacio interno → agranda área clickeable */
  /* definimos qué propiedades se animan */
  transform-origin: bottom right; /* punto desde donde escala (esquina superior derecha,no desde el centro) */
  transition: background-color 0.5s ease-in-out, transform 1s ease;
}

.producto__check:hover {
  background-color: rgb(0, 191, 255); /* color al pasar el mouse */
  transform: scale(1.2); /* agranda el elemento 20% */
}

.producto__tarjeta {
  width: 100%; /* ocupa toda la card */
  height: 100%;
  transform-style: preserve-3d; /* mantiene a los hijos en 3D */
  transition: transform 0.6s; /* animación suave al girar */
}

.producto__check:checked ~ .producto__tarjeta {
  transform: rotateY(180deg); /* rotación horizontal */
}

.producto__frente {
  width: 100%; /* ocupa toda la card */
  height: 100%;
  transform-style: preserve-3d; /* mantiene a los hijos en 3D */
  transition: transform 0.6s; /* animación suave al girar */
}

.producto__atras {
  transform: rotateY(180deg); /* lista para aparecer al girar */
}
.producto__atras h4 {
  font-size: 1.2rem;
}

.producto__frente, .producto__atras {
  width: 100%; /* cubren toda la tarjeta */
  height: 100%;
  position: absolute; /* se superponen */
  inset: 0; /* top/right/bottom/left = 0 */
  backface-visibility: hidden; /* oculta la cara trasera al girar */
}

.logo {
  margin: 1rem;
  padding: 1rem;
  margin-bottom: 0;
}
.logo h1 {
  text-align: center;
  color: red;
  font-family: "BBH Bartle", sans-serif;
}
.logo img {
  width: 4.5rem;
  height: auto;
}

.contactanos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3rem !important;
}
.contactanos .formularioContacto {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  width: 20rem !important;
  grid-template-rows: auto;
}
.contactanos .formularioContacto .formularioContacto__campo {
  display: flex;
  align-items: center;
}
.contactanos .formularioContacto .formularioContacto__campo label {
  width: 5rem;
  text-align: left;
}
.contactanos .formularioContacto .formularioContacto__campo input:valid {
  border: 2px solid #00ff1a;
}
.contactanos .formularioContacto .formularioContacto__campo input:invalid {
  border: 2px solid red;
}

.text_info {
  font-family: "Jost", sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left !important;
  justify-content: center !important;
  margin: 1rem !important;
}
.text_info .textParrafo {
  text-align: left;
  position: relative !important;
  margin: 0.5rem !important;
}
.text_info .textParrafo ul {
  list-style: none;
}

.accordion-item {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.accordion-button {
  background-color: rgba(0, 200, 255, 0.2) !important;
}

.indice {
  list-style: none;
  padding: 0;
  margin: 2rem;
  display: flex;
  gap: 1rem; /* Espacio entre los elementos del índice */
  justify-content: center;
  gap: 1rem;
}
.indice a {
  color: inherit; /* Mantiene el color del texto del enlace */
  text-decoration: none;
}

@media (max-width: 576px) {
  .indice {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.piePagina {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 3rem;
}

main {
  text-align: center;
  align-items: center;
}

.gridProductos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 2rem;
  gap: 1.5rem;
  justify-content: center;
  justify-items: center;
}

/*# sourceMappingURL=styles.css.map */
