* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.valor {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 30px;
}

.valor h1 {
  background: linear-gradient(to right, #00b9cd, #6484c4);
  text-align: center;
  color: white;
  width: 280px;
  border-radius: 20px;
  padding: 0.5rem 0.5rem;
}

.valor p {
  text-align: justify;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: black;
}

.imagen {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.imagen img {
  width: 100%;
  width: 200px;
}

.puntos {
  background-color: inherit;
  display: inherit;
  flex-direction: inherit;
  align-items: inherit;
  justify-items: inherit;
  gap: 10px;
}

.puntos button {
  width: 300px;
  margin-top: 0.3rem;
  border-radius: 15px;
  padding: 1rem 1rem;
  background: linear-gradient(to right, #00b9cd, #6484c4);
  border: none;
  font-weight: bold;
  font-size: 15px;
  color: white;
  text-align: left;
  transition: all 2s ease;
}

.puntos button:hover {
  background: linear-gradient(to left, #224369, #3b46dd);
}

@media (min-width: 768px) {
  .valor {
    background-color: white;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
  }

  .valor h1 {
    background: linear-gradient(to right, #00b9cd, #6484c4);
    text-align: center;
    color: white;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 550px;
    font-size: 2.5rem;
    grid-column: 1/4;
  }

  .valor p {
    text-align: center;
    padding: 2rem 2rem;
    font-size: 2rem;
    color: black;
    grid-column: 1/4;
    grid-row: 2/2;
  }
  .imagen img {
    background-color: white;
    display: flex;
    max-width: 300px;
    width: 100%;
    align-items: right;
    object-fit: cover;
    grid-column: 1/1;
    grid-row: 3/3;
  }

  .valor .puntos {
    grid-column: 2/4;
    grid-row: 3/3;
    padding: 1rem 1rem;
  }
  .puntos button {
    width: 600px;
    background: linear-gradient(to right, #00b9cd, #6484c4);
    border: none;
    font-size: 1.7rem;
    color: white;
    transition: 2s;
  }

  .puntos button:hover {
    background: linear-gradient(to left, #224369, #3b46dd);
  }
}
