<!DOCTYPE html>
<html>

  <head>
    <link rel="stylesheet" href="style.css">
    <script src="script.js"></script>
  </head>

  <body>
    <section>
      <p>Coiwn erjuionawe ifawh awefiajo aweijawe foiae  ehjnnawo eki.</p>
    </section>
  </body>

</html>
// Code goes here


/*Default style*/
section {
  position: relative;
}

section:before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
  z-index: 1;
  background-color: tomato;
  opacity: 0.5;
}

section p {
  z-index: 2;
  position: relative;
}


/*If browser support background-blend-mode, we want to apply it
  and disable our default style
*/

@supports (background-blend-mode: multiply) {
  section {
    background-color: tomato;
    background-blend-mode: multiply;
  }
  section:before{
    display: none;
  }
}






body {
  margin: 0;
  font-family: monospace;
}

p {
  margin: 0;
  font-size: 2rem;
  padding: 0 5rem;
  text-shadow: 1px 1px #333;
  color: #fff;
}

section {
  
  margin-top: 20vh;
  margin-bottom: 20vh;
  
  width: 100vw;
  height: 60vh;
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment:fixed;
}

section:nth-of-type(1) {
  background-image: url('https://unsplash.it/1024/683?image=1067');
}