html {
  box-sizing: border-box;
  font-size: 62.5%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
    background-color: cadetblue;
    font-size: 1.6rem;
    line-height: 1.5;
}
p {
    font-size: 1.8rem;
    color: #333;
}
a {
  text-decoration: none;
}
img { max-width: 100%; }
.contenedor {
  max-width: 1200px;
  margin: 0 auto;
}
h1, h2, h3 {
  font-family: 'Arial', sans-serif;
  color: #000;
  text-align: center;
}
h1 {
  font-size: 4rem;
} 
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2rem;
}
.header {
  display: flex;
  justify-content: center;;
}
.header img {
  margin: 0 20px;
}
.nav {
  background-color: #333;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.nav-link {
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 1.6rem;
  margin-right: 2rem;
}
.nav-link:hover{
  background-color: #555;
  border-radius: 5px;
}
.nav-link--active{
  color: #ff0;
}
.footer {
  background-color: #333;
  font-size: 1.4rem;
  padding:1rem 0 ;
  text-align: center;
  margin-top: 20px;

}
.footer p {
  color: #fff;
  margin: 0;
}
.Productos {
  background-color: #f3f3f3;
  display: flex;
  justify-content: center;
  padding: 0.6rem;

}
.producto__imagen{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  width: 100%;
  height: 100%;

}
.producto__nombre {
  font-size: 4rem;
}
.producto__precio {
  font-size: 3rem;
  color: #555;
}
.producto__nombre,.producto__precio{
  text-align: center;
  margin: 1rem 0;
  line-height: 1.2;
}
.grid img {
  width: 250px;   /* Ancho fijo */
  height: 250px;  /* Alto fijo (mismo que el ancho para cuadradas) */
  object-fit: cover; /* Recorta la imagen para llenar el espacio */
  border-radius: 8px; /* Opcional: bordes redondeados */
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas siempre */
  gap: 20px; /* Espacio entre los elementos */
}

@media (min-width: 768px) {
  .grid{
    grid-template-columns:repeat(3,1fr);
    justify-content: center;
  }
}
.grafico {
  min-height: 30rem;
  background-repeat: no-repeat;
  background-size: cover;
  grid-column: 1/3;

}
.grafico--camisas {
  grid-row: 2/3 ;
  background-image: url("fondo.jpg");
}
.grafico--node {
  grid-row: 7/8;
  background-image: url("capyfamily.jpg");
}	
@media (min-width: 768px) {
  .grafico--node { 
  grid-row: 5/6;
  grid-column: 2/4;
}
}
.nosotros {
  display: grid;
  grid-template-rows: repeat(2, auto);
}
@media (min-width: 768px) { 
  .nosotros { 
    grid-template-columns: repeat(2,1fr);
    column-gap: 2rem;
}
}
.nosotros__imagen { 
  grid-row: 1/2;
  width: 100%;

}
@media (min-width: 768px) {
  .nosotros__imagen {
    grid-column: 2/3;
  }
}
.bloques{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .bloques {
    grid-template-columns: repeat(4,1fr); /* Una columna en pantallas pequeñas */
  }
  
}
.bloque{
  text-align: center;
}
.bloque__titulo {
  margin:0;
}
.bloque__imagen{
  width: 100%;
  height: auto;
  border-radius: 8px;
}
img{
  width: 100%;
}
@media (min-width: 768px) {
  .camisa{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
  }
}
.formulario{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:2rem;

}
.formulario__campo {
  border: 1rem solid hsl(165, 3%, 76%);
  background-color: transparent;
  padding: 1rem;

}
.formulario__submit {
  background-color: #333;
  color: #fff;
  padding: 2rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  grid-column: 1/3;
}
.formulario__submit:hover {
  cursor: pointer;
  background-color: #777272d5;
}