*::before,
*::after
{
  box-sizing: border-box;
}

*
{
  margin: 0;
  padding: 0;
}

main 
{
  width: 85%;
  height: 100vh;
  perspective: 2px;
  margin: 0 auto;
}

.section 
{
  transform-style: preserve-3d;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
}

.section h1
{
  text-align: center;
  font-size: 1rem;
  font-family: sans-serif;
}

.section h2
{
  text-align: center;
  font-size: 1rem;
  font-family: sans-serif;
}

.section h3
{
  text-align: justify;
  font-size: 1rem;
  font-family: sans-serif;
}

.no-parallax 
{
  /*background-color: #5333ed;*/
  z-index: 999;
}

.parallax h1 
{
  width: 60%;
  font-size: 2rem;
}

.parallax::after 
{
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateZ(-1px) scale(1.5);
  background-size: 90%;
  z-index: -1;
}

.bg::after 
{
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url("../imagenes/photo.jpg");
  background-size: cover;
}

@media screen and (min-width: 768px) 
{
  .section h1 
  {
    font-size: 4rem;
  }
  
  .parallax h1 
  {
    font-size: 4em;
  }

  .section h2
{
  text-align: center;
  font-size: 3rem;
  font-family: sans-serif;
}

.section h3
{
  text-align: justify;
  font-size: 2rem;
  font-family: sans-serif;
}
}