JSFiddle - React, Tailwind, and code Playground

by RamonECOWD

HTML

<link rel="stylesheet" href="https://componentes.interago.com.br/bootstrap-grid.css">
<link rel="stylesheet" href="https://componentes.interago.com.br/global-css.css">
<script src="https://kit.fontawesome.com/1c22df820e.js"></script>
 <section class="sectionCTA">
    <div class="itemOne">
      <h3>
        Não fique sem sair de casa
      </h3>

      <p>
        Conforto, segurança e economia. Baixe nosso App e vamos viajar!
      </p>

      <div class="dFlex">
        <!-- <a href="#" target="_blank" rel="noopener noreferer nofollow" title="Google Play"
          class="whats-link">
          <img class="img-fluid iconBanner" alt="GooglePlay" src="https://cdn.interago.com.br/img/png/w_0_q_8/118/mc/INICIAL//Google_Play"></a> -->
       <a href="contato" rel="noopener noreferer nofollow" class="btnCustom">Contato</a>
        <span>ou</span> 
        <!-- <a href="#" rel="noopener noreferer nofollow" target="_blank"
          title="App Store" class="whats-link">
          <img class="img-fluid iconBanner" alt="AppStore" src="https://cdn.interago.com.br/img/png/w_0_q_8/118/mc/INICIAL//App_Store"></a> -->
            <a href="contato" rel="noopener noreferer nofollow" class="btnCustom whats-link"><i class="fab fa-whatsapp"></i> via WhatsApp</a>
      </div>
    </div>

    <div class="itemTwo">
      <img class="img-fluid" alt="CTA" src="https://www.interago.com.br/App/Sites/118/mc/Vetor Motorista CTA.svg">
    </div>
  </section>

CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
  font-family: 'Montserrat', sans-serif;
}

/* CTA */

*{
  transition:0.3s ease;
}
  .sectionCTA {
    background-image: url("https://cdn.interago.com.br/img/jpg/w_0_q_8/118/mc//CTA-min");
    background-size: cover;
    /* background-attachment: fixed; */
    position: relative;
    overflow: hidden;
    z-index: 2;
    display:flex;
    justify-content:flex-end;
    align-items:center;
  }

  .sectionCTA .dFlex{
    align-items:center;
    display:flex;
  }

  .sectionCTA .dFlex img{
    width:180px;
  }

  .sectionCTA .dFlex a{
    display:block;
  }

  .sectionCTA .dFlex a:hover{
    transform:scale(0.98);
  }

   .sectionCTA .itemOne {
    max-width: 750px;
    position: absolute;
    bottom: 150px;
    left: 250px;
  }

  @media(max-width:992px){
    .sectionCTA{
      display:block !important;
    }

    .sectionCTA .itemOne{
      width:90%;
      margin:auto;
      position: inherit !important;
      bottom: 0 !important;
      left: 0 !important;
    }
  }

  /* .sectionCTA::after{
    content:'';
    width:2000px;
    height:600px;
    background-color:rgba(0,0,0,0.7);
    display:block;
    position:absolute;
    bottom:0;
    z-index:-1;
  } */

  .sectionCTA span{
    color: black;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 15px;
  }
  

  .sectionCTA .index{
    z-index:2;
  }


  .sectionCTA h3 {
    font-size: 50px;
    margin: 0;
    color: #000;
    font-weight: bold;
  }

  .sectionCTA p {
    margin-top: 15px;
    color: #000;
    font-weight: 500;
    font-size: 18px;
  }
  
 .sectionCTA .btnCustom{
  border-radius: 5px;
  background-color: #E31D25;
  padding: 10px;
  color: white;
  display: inline-block;
 }
 
 .sectionCTA .whats-link{
  background-color: #009505;
 }