JSFiddle - React, Tailwind, and code Playground

by dife

HTML

<header id="inicio">
      <section>
            <nav>
               <a href="#">Início</a>
                <a href="#">itens</a>
                <a href="#">Promoções</a>
                <a href="#">Site</a>
            </nav>
            
            <a href="#item-content" class="btn">
              <div class="botao">
                 <p>Ir Para o Site</p>
              </div>
            </a>
            
      </section>
      
      <section class="img"></section>
      
</header>
<div id="content">
    <section id="item-content">
        <a href="#">Voltar ao topo do site</a>
    </section>

</div>

CSS

html {
  scroll-behavior: smooth;
}
header{
  width: 100%;
  height: 620px;
  background: url(https://images3.alphacoders.com/837/837671.jpg);
  background-size: cover;
  position: relative;
}

header section{
  position: relative;
  width: 100%;
  height: 40px;
  background: rgba(255,255,255, 0.8);
  z-index: 1;
}

nav{
   position: absolute;
   display: inline-block;
   left: 8pc;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16pt;
   line-height: 40px;
   transition: color .25s ease;
}

nav a{
  text-decoration: none;
  color:#113672;
}

nav a:hover{
  color: #125ace;
}

.btn{
  display: block;
  color:#113672;
}

 div.botao{
  display: inline-block;
  position: absolute;
  top: 3px;
  right: 50px;
  width: 200px;
  height: 30px;
  transition: all .30s linear;
  border: 2px solid #113672;
  cursor: pointer;
  line-height: 30px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16pt;
  text-transform: uppercase;
}



div.botao:hover{
  background: #113672;
  color: #fff;
}

section.img{
  width: 790px;
  height: 80px;
  background: url(https://i.imgur.com/hcPpeVF.png);
  position: absolute;
  top: 30pc;
  left: 16pc;
}

#content{
  width: 100%;
  height: 620px;
  background: #000;
  position: relative;
}

#content section{
  width: 960px;
  height: 600px;
  background: #fff;
  margin: 0 auto;
  position: relative; 
}

#item-content a{
   color:#113672;
   position: relative;
   top: 10pc;
   left: 22pc;
   font-family: Arial, Helvetica, sans-serif;
  font-size: 16pt;
  text-transform: uppercase;
  text-decoration: none;
}


#item-content  a:hover{
  color: #125ace;
}

JavaScript

https://www.noblecollection.fr/images/categories/bandeau-categorie-game-of-thrones.jpg