:root {
  --primary: #9c27b0;
  --secondary: #ffce00;
  --primarydark: #89119d;
  --secondarydark: rgb(233,187,2);
  --white: #fff;
  --black: #000;

  --mainFont: 'Staatliches', cursive;
}
html {
  box-sizing: border-box;
  font-size: 62.5%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
/*Globales*/
body {
  background-color: var(--primary);
  font-size: 1.6rem;
  line-height: 1.5;
}
p {
  font-size: 1.8rem;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
}
a {
  text-decoration: none;
}
img {
  width: 100%;
}
.container {
  max-width: 120rem;
  margin: 0 auto;
}
h1, h2, h3 {
  text-align: center;
  color: var(--secondary);
  font-family: var(--mainFont);
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3.2rem;
}
h3 {
  font-size: 2.4rem;
}

/*Header*/
.header {
  display: flex;
  justify-content: center;
}
.header__logo {
  margin: 3rem 0;
}

/*Navegacion*/
.nav {
  background-color: var(--primarydark);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 2rem; /**separacion nueva forma**/
}
.nav__enlace {
  font-family: var(--mainFont);
  color: var(--white);
  font-size: 3rem;
  margin-right: 2rem; /**separacion vieja forma**/
}
.nav__enlace:last-of-type {
  margin-right: 0;
}
.nav__enlace--active,
.nav__enlace:hover {
  color: var(--secondary);
}

/*Footer*/
.footer{
  background-color: var(--primarydark);
  padding: 1rem 0;
  margin-top: 2rem;
}
.footer__text {
  font-family: var(--mainFont);
  font-size: 2.2rem;
  text-align: center;
}
/*Grid*/
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/*Productos*/
.producto {
  background-color: var(--primarydark);
  padding: 1rem;
}
.producto__nombre {
  font-size: 4rem;
}
.producto__precio {
  font-size: 2.8rem;
  color: var(--secondary);
}
.producto__nombre,
.producto__precio {
  font-family: var(--mainFont);
  margin: 1rem 0;
  text-align: center;
  line-height: 1.2;
}
/*Graficos*/
.grafico {
  min-height: 30rem;
  background-repeat: no-repeat;
  background-size: cover;
  grid-column: 1 / 3;
}
.grafico__camisas {
  grid-row: 2 / 3;
  background-image: url(../img/grafico1.jpg);
}
.grafico__node {
  background-image: url(../img/grafico2.jpg);
  grid-row: 8 / 9;
}
@media (min-width: 768px) {
  .grafico__node {
    grid-row: 5 / 6;
    grid-column: 2 / 4;
  }
}
/*Nosotros*/
.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;
}
@media (min-width: 768px) {
  .nosotros__imagen {
    grid-column: 2 / 3;
  }
}

/*Bloques*/
.bloques {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .bloques {
    grid-template-columns: repeat(4, 1fr);
  }
}
.bloque {
  text-align: center;
}
.bloque__titulo {
  margin: 0;
}
/*Producto*/
@media (min-width: 768px) {
  .camisa {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }
}
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.form__campo {
  border-color: var(--primarydark);
  border-width: 1rem;
  border-style: solid;
  background-color: transparent;
  color: var(--white);
  font-size: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  padding: 1rem;
  appearance: none;

  /* border: 1 rem solid var(--primarydark); */
}
.form__submit {
  background-color: var(--secondary);
  border: none;
  font-size: 2rem;
  font-family: var(--mainFont);
  padding: 2rem;
  transition: background-color .3s ease;
  grid-column: 1 / 3;
}
.form__submit:hover {
  font-size: 2.4rem;
  cursor: pointer;
  background-color: var(--secondarydark);
}
