Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <svg style="position: absolute; width: 0; height: 0; overflow: hidden;" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<symbol id="icon-message" viewBox="0 0 32 32">
<title>message</title>
<path class="path1" d="M21.4 31.8l-9.8-7.8h-9.1c-1.381 0-2.5-1.119-2.5-2.5v-19c0-1.381 1.119-2.5 2.5-2.5h27c1.381 0 2.5 1.119 2.5 2.5v19c0 1.381-1.119 2.5-2.5 2.5h-6.5v7c-0.007 0.401-0.249 0.744-0.594 0.897l-0.406 0.003zM2.5 2c-0.276 0-0.5 0.224-0.5 0.5v19c0 0.276 0.224 0.5 0.5 0.5h9.5l0.6 0.2 8.4 6.7v-5.9c0-0.552 0.448-1 1-1h7.5c0.276 0 0.5-0.224 0.5-0.5v-19c0-0.276-0.224-0.5-0.5-0.5z"></path>
</symbol>
<symbol id="icon-noun_600849" viewBox="0 0 32 32">
<title>noun_600849</title>
<path class="path1" d="M24.034 28.964c-0.096 0-0.192-0.023-0.279-0.069l-7.755-4.078-7.755 4.078c-0.202 0.106-0.447 0.088-0.632-0.046s-0.277-0.362-0.239-0.587l1.482-8.636-6.274-6.116c-0.164-0.159-0.222-0.398-0.152-0.615s0.258-0.376 0.484-0.408l8.671-1.26 3.878-7.857c0.101-0.204 0.31-0.334 0.538-0.334s0.437 0.13 0.538 0.334l3.878 7.857 8.67 1.26c0.226 0.033 0.414 0.191 0.484 0.408s0.012 0.456-0.152 0.615l-6.274 6.115 1.464 8.541c0.022 0.061 0.033 0.128 0.033 0.196 0 0.331-0.268 0.6-0.6 0.6-0.002-0-0.005-0-0.008 0zM16 23.54c0.096 0 0.192 0.023 0.279 0.069l6.958 3.658-1.328-7.748c-0.033-0.195 0.031-0.393 0.173-0.531l5.629-5.488-7.779-1.131c-0.195-0.028-0.364-0.151-0.452-0.328l-3.48-7.049-3.479 7.050c-0.088 0.177-0.256 0.3-0.452 0.328l-7.78 1.13 5.63 5.487c0.142 0.138 0.206 0.336 0.173 0.531l-1.329 7.748 6.958-3.658c0.087-0.046 0.183-0.068 0.279-0.068z"></path>
</symbol>
<symbol id="icon-noun_367676" viewBox="0 0 40 32">
<title>noun_367676</title>
<path class="path1" d="M29.92 6.577c-5.48-5.479-14.361-5.478-19.84 0-5.48 5.481-5.481 14.363-0.001 19.842 5.479 5.48 14.363 5.481 19.844 0.001 5.479-5.478 5.477-14.363-0.002-19.844zM26.809 12.211l-7.955 10.416c-0.256 0.334-0.642 0.53-1.061 0.54h-0.032c-0.407 0-0.789-0.177-1.048-0.487l-3.409-4.030c-0.236-0.279-0.349-0.635-0.318-1.001s0.201-0.699 0.481-0.935c0.54-0.458 1.482-0.378 1.937 0.161l2.305 2.725 6.916-9.058c0.43-0.562 1.361-0.689 1.926-0.259 0.292 0.223 0.48 0.546 0.528 0.909 0.047 0.365-0.047 0.725-0.27 1.018z"></path>
</symbol>
<symbol id="icon-noun_41233" viewBox="0 0 32 32">
<title>noun_41233</title>
<path class="path1" d="M26.752 13.312v0c0-5.938-4.814-10.752-10.752-10.752s-10.752 4.814-10.752 10.752c0 5.938 10.752 16.128 10.752 16.128s10.752-10.19 10.752-16.128zM20.925 13.566v0c0 2.72-4.925 7.388-4.925 7.388s-4.925-4.668-4.925-7.388c0-2.72 2.205-4.925 4.925-4.925s4.925 2.205 4.925 4.925z"></path>
</symbol>
<symbol id="icon-circle-right" viewBox="0 0 32 32">
<title>circle-right</title>
<path class="path1" d="M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13z"></path>
<path class="path2" d="M11.086 22.086l2.829 2.829 8.914-8.914-8.914-8.914-2.828 2.828 6.086 6.086z"></path>
</symbol>
<symbol id="icon-circle-left" viewBox="0 0 32 32">
<title>circle-left</title>
<path class="path1" d="M16 32c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16zM16 3c7.18 0 13 5.82 13 13s-5.82 13-13 13-13-5.82-13-13 5.82-13 13-13z"></path>
<path class="path2" d="M20.914 9.914l-2.829-2.829-8.914 8.914 8.914 8.914 2.828-2.828-6.086-6.086z"></path>
</symbol>
<symbol id="icon-check" viewBox="0 0 20 20">
<title>check</title>
<path class="path1" d="M8.294 16.998c-0.435 0-0.847-0.203-1.111-0.553l-3.573-4.721c-0.465-0.613-0.344-1.486 0.27-1.951 0.615-0.467 1.488-0.344 1.953 0.27l2.351 3.104 5.911-9.492c0.407-0.652 1.267-0.852 1.921-0.445s0.854 1.266 0.446 1.92l-6.984 11.21c-0.242 0.391-0.661 0.635-1.12 0.656-0.022 0.002-0.042 0.002-0.064 0.002z"></path>
</symbol>
</defs>
</svg>

<section class="map">
  <img class="map-area" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/barcelona-map-bw.gif"></div>
</section>

<section class="filters">
  <div class="search">
    <div class="input"><span class="initial">Search</span><span class="search-text">La Sagrada Família</span></div>
    <button class="mag"><svg class="mag-glass" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48"><g><path d="M47.008,41.814L32.016,27.129c1.754-2.77,2.68-5.968,2.68-9.262c0-9.565-7.783-17.349-17.348-17.349   C7.783,0.518,0,8.301,0,17.867c0,9.565,7.783,17.346,17.348,17.346c3.654,0,7.151-1.133,10.127-3.281l14.908,14.605   c0.621,0.609,1.441,0.945,2.313,0.945c0.896,0,1.736-0.354,2.363-0.994C48.333,45.186,48.311,43.09,47.008,41.814z M17.348,30.418   c-6.92,0-12.55-5.631-12.55-12.551s5.63-12.55,12.55-12.55s12.549,5.63,12.549,12.55c0,3.259-1.242,6.347-3.5,8.696   C24.007,29.049,20.793,30.418,17.348,30.418z"></path></g></svg></button>
  </div>
  <div class="filter-buttons">
    <button class="button sights">Sights</button>
    <button class="button food">Food</button>
    <button class="button transit">Transit</button>
    <button class="button pubs">Pubs</button>
    <button class="button hotels">Hotels</button>
  </div>
</section>

<main class="featured">
  <svg class="icon icon-circles icon-circle-left"><use xlink:href="#icon-circle-left"></use></svg>

  <section class="sights-featured">

    <div class="sports outer-left featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>Camp Nou</h1>
        <div class="divider stagger"></div>
        <p class="stagger">Barcelona's most famous street is both a tourist magnet and a window into Catalan culture, with cultural centres, theatres and intriguing architecture. Set between narrow traffic lanes and flanked by plane trees, the middle of La Rambla is a broad
          pedestrian...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/sports-barcelona.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"></div> Choose <span class="rest">this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

    <div class="ramblas left featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>La Rambla</h1>
        <div class="divider stagger"></div>
        <p class="stagger">Barcelona's most famous street is both a tourist magnet and a window into Catalan culture, with cultural centres, theatres and intriguing architecture. Set between narrow traffic lanes and flanked by plane trees, the middle of La Rambla is a broad
          pedestrian...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/rambla2.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"><svg class="icon icon-check check1"><use xlink:href="#icon-check"></use></svg></div> Choose <span class="rest">this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

    <div class="sagrada mid featured-item">
      <div class="sagrada-hide">
        <div class="left-side">
          <h4 class="stagger">Sights</h4>
          <h1>La Sagrada<br>Família</h1>
          <div class="divider stagger"></div>
          <p class="stagger">If you have time for only one sightseeing outing, this should be it. La Sagrada Família inspires awe by its sheer verticality, and in the manner of the medieval...</p>
          <div class="social">
            <button class="more stagger">Read More</button>
            <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
            <div class="stagger social-item"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
          </div>
        </div>
        <!--left-side-->
        <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/sagrada.jpg" />
      </div>
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"><svg class="icon icon-check check2"><use xlink:href="#icon-check"></use></svg></div><span class="rest">Choose this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

    <!--right-->
    <div class="picasso right featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>Picasso Museum</h1>
        <div class="divider stagger"></div>
        <p class="stagger">If you have time for only one sightseeing outing, this should be it. La Sagrada Família inspires awe by its sheer verticality, and in the manner of the medieval...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/picasso.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"><svg class="icon icon-check check3"><use xlink:href="#icon-check"></use></svg></div> Choose <span class="rest">this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

  </section>
  <!--sights-featured-->


  <section class="food-featured">

    <div class="catalan outer-left2 featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>New Catalan</h1>
        <div class="divider stagger"></div>
        <p class="stagger">Barcelona's most famous street is both a tourist magnet and a window into Catalan culture, with cultural centres, theatres and intriguing architecture. Set between narrow traffic lanes and flanked by plane trees, the middle of La Rambla is a broad
          pedestrian...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/new-catalan.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"></div> Choose <span class="rest">this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

    <div class="calvet left2 featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>Casa-Calvet</h1>
        <div class="divider stagger"></div>
        <p class="stagger">Barcelona's most famous street is both a tourist magnet and a window into Catalan culture, with cultural centres, theatres and intriguing architecture. Set between narrow traffic lanes and flanked by plane trees, the middle of La Rambla is a broad
          pedestrian...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/casa-calvet.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"><svg class="icon icon-check check1"><use xlink:href="#icon-check"></use></svg></div><span class="rest">Choose this destination</span>
         <div class="mobile-r"> 
          <svg class="mobile-send" xmlns="http://www.w3.org/2000/svg" width="25" height="20" viewBox="0 0 49.1 31.8" aria-labelledby="title">
            <title id="title">Send to Mobile Icon</title>
            <path id="phone" d="M46,0H3C1.4,0,0,1.6,0,3.6V28.1c0,2,1.4,3.6,3,3.6H46c1.7,0,3-1.6,3-3.6V3.6C49.1,1.6,47.7,0,46,0ZM36.6,25.1a2.5,2.5,0,0,1-2.3,2.7H6.3A2.5,2.5,0,0,1,4,25.1V6.7A2.5,2.5,0,0,1,6.3,3.9h28a2.5,2.5,0,0,1,2.3,2.7Zm6.2-4.7a3.8,3.8,0,1,1,3.8-3.8A3.8,3.8,0,0,1,42.9,20.4Z"/>
            <g fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3">
              <path id="m-mid" d="M9.6 15.7L31.3 15.7"/>
              <path id="m-top" d="M25 9.4L31.3 15.7"/>
              <path id="m-bottom" d="M31 16L24.7 22.4"/>
            </g>
          </svg>
          <span class="m-rest">Choose and Send Itinerary</span>
        </div><!--mobile-r-->
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

    <div class="quimet mid2 featured-item">
      <div class="quimet-hide">
        <div class="left-side">
          <h4 class="stagger">Sights</h4>
          <h1>Quimet i Quimet</h1>
          <div class="divider stagger"></div>
          <p class="stagger">An early Gaudí masterpiece loaded with his trademark curvy features houses a swish restaurant (just to the right of the building’s main entrance). Dress up and ask for an intimate taula cabina (wooden booth). You could opt for scallops and razor
            clams with...</p>
          <div class="social">
            <button class="more stagger">Read More</button>
            <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 5/5 </span></div>
            <div class="stagger social-item"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 52 </span></div>
          </div>
        </div>
        <!--left-side-->
        <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/quimet.jpg" />
      </div>
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ">
          <svg class="icon icon-check check2">
            <use xlink:href="#icon-check"></use>
          </svg>
        </div>
        <span class="rest">Choose this destination</span>
        <div class="mobile-r"> 
          <svg class="mobile-send" xmlns="http://www.w3.org/2000/svg" width="25" height="20" viewBox="0 0 49.1 31.8" aria-labelledby="title">
            <title id="title">Send to Mobile Icon</title>
            <path class="phone" d="M46,0H3C1.4,0,0,1.6,0,3.6V28.1c0,2,1.4,3.6,3,3.6H46c1.7,0,3-1.6,3-3.6V3.6C49.1,1.6,47.7,0,46,0ZM36.6,25.1a2.5,2.5,0,0,1-2.3,2.7H6.3A2.5,2.5,0,0,1,4,25.1V6.7A2.5,2.5,0,0,1,6.3,3.9h28a2.5,2.5,0,0,1,2.3,2.7Zm6.2-4.7a3.8,3.8,0,1,1,3.8-3.8A3.8,3.8,0,0,1,42.9,20.4Z"/>
            <g class="checkmark" fill="none" stroke="#000" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3">
              <path class="m-mid" d="M9.6 15.7L31.3 15.7"/>
              <path class="m-top" d="M25 9.4L31.3 15.7"/>
              <path class="m-bottom" d="M31 16L24.7 22.4"/>
            </g>
          </svg>
          <span class="m-rest">Choose and Send Itinerary</span>
        </div><!--mobile-r-->
    </div>
    <!--select-item-->
    </div>
    <!--featured-item-->

    <!--right-->
    <div class="calpep right2 featured-item">
      <div class="left-side">
        <h4 class="stagger">Sights</h4>
        <h1>Cal Pep</h1>
        <div class="divider stagger"></div>
        <p class="stagger">If you have time for only one sightseeing outing, this should be it. La Sagrada Família inspires awe by its sheer verticality, and in the manner of the medieval...</p>
        <div class="social">
          <button class="more stagger">Read More</button>
          <div class="social-item stagger"><svg class="icon icon-message"><use xlink:href="#icon-message"></use></svg><span class="i-text"> 4/5 </span></div>
          <div class="social-item stagger"><svg class="icon icon-noun_600849"><use xlink:href="#icon-noun_600849"></use></svg><span class="i-text"> 34 </span></div>
        </div>
      </div>
      <!--left-side-->
      <img class="featured-img" src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/cal-pep.jpg" />
      <div class="clear"></div>
      <div class="select-item">
        <div class="select-circ"><svg class="icon icon-check check3"><use xlink:href="#icon-check"></use></svg></div> Choose <span class="rest">this destination for the trip</span>
      </div>
      <!--select-item-->
    </div>
    <!--featured-item-->

  </section>
  <!--food-featured-->

  <svg class="icon icon-circles icon-circle-right"><use xlink:href="#icon-circle-right"></use></svg>

</main>

<div class="grad">
  <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/grad.png" />
</div>

<section class="sights-markers">
  <svg class="icon icon-noun_41233 m1"><use xlink:href="#icon-noun_41233"></use></svg>
  <svg class="icon icon-noun_41233 m2"><use xlink:href="#icon-noun_41233"></use></svg>
  <svg class="icon icon-noun_41233 m3"><use xlink:href="#icon-noun_41233"></use></svg>
  <svg class="icon icon-noun_41233 m4"><use xlink:href="#icon-noun_41233"></use></svg>
</section>

<div class="mouse"></div>

<svg class="icon icon-check-bright icon-noun_367676"><use xlink:href="#icon-noun_367676"></use></svg>
              
            
!

CSS

              
                /* -----------------------------------------------
This is a prototype, 
it looks best full screen and desktop
https://codepen.io/sdras/full/amJLxN/
------------------------------------------------*/

html, body {
  width: 100vw;
  height: 100vh;
  font-family: 'Ideal Sans A', 'Ideal Sans B', sans-serif;
  overflow: hidden;
}

.sm-txt {
  font-weight: normal;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.centered {
  left: 50%;
  transform: translateX(-50%);
}

section.filters {
  position: absolute;
  z-index: 5000;
  bottom: 0;
  background: black;
  width: 800px;
  height: 75px;
  opacity: 0;
  @extend .centered;
  padding: 20px 50px 18px;
  border-radius: 5px 5px 0 0;
  button {
    border: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 6px 10px;
    width: 150px;
    border-radius: 3px;
    margin-right: 5px;
    color: #e4e3e3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.3s all ease-in;
    &:focus { outline: 0; }
    &.selected, &:hover {
      transition: 0.1s all ease-out;
      background: white;
      color: black;
    }
    &.another {
      width: 300px;
      display: table;
      margin: 0 auto;
    }
  }
}

.search {
  color: white;
  padding-bottom: 10px;
  .input {
    background: white;
    width: 85%;
    float: left;
    color: black;
    padding: 7px 10px;
    margin-right: 5px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: none;
  }
  .mag-glass {
    fill: white;
    width: 15px;
    height: 15px;
  }
  button.mag {
    margin-top: -1px;
    width: 9.75%;
    padding: 8px 10px;
    &:hover {
      .mag-glass {
        fill: black;
      }
    }
  }
}

section.map {
  width: 1500px;
  height: 1050px;
}

.map-area {
  width: 110%;
  height: 110%;
  filter: grayscale(1);
}

.left, .outer-left, .left2, .outer-left2 {
  transform: translateX(40px);
}

.right, .right2 {
  transform: translateX(1046px);
}

.featured {
  position: absolute;
  top: 10px;
}

.featured-item {
  background: white;
  position: absolute;
  height: 350px;
  overflow: hidden;
  box-shadow: 0 2px 10px 3px rgba(150, 150, 150, 0.5);
  h1 {
    margin-top: 0;
    margin-bottom: 15px;
    transition: 0.5s all ease;
  }
  p {
    padding-bottom: 10px;
  }
}

.mid, .mid2 {
  width: 600px;
  transform: translateX(388px);
  .featured-img {
    float: right;
  }
}

.mid2 {
  transform: translate3d(388px, 57px, 0);
}

.featured-img {
  height: 300px;
}

h4 {
  @extend .sm-txt;
  margin-bottom: 5px;
  margin-top: 10px;
}

.divider {
  width: 30px;
  border-top: 2px solid black;
}

.left-side {
  padding: 10px 30px;
  width: 240px;
  font-size: 14px;
  text-overflow: ellipsis;
  float: left;
}

button.more {
  @extend .sm-txt;
  padding: 10px 15px;
  border: 2px solid black;
  background: none;
  transition: none;
  float: left;
  &:hover {
    background: black;
    color: white;
    transition: none;
  }
}

.social {
  display: inline;
  .icon-noun_600849 {
    width: 17px;
    height: 17px;
  }
  .icon-message {
    width: 14px;
    height: 14px;
  }
}

.i-text {
  letter-spacing: 0.1em;
}

.social-item {
  padding: 18px 0 0 15px;
  float: left;
  span {
    vertical-align: super;
    padding: 0 0 0 2px;
  }
}

.clear {
  clear: both;
}

.select-item {
  background: white;
  color: black;
  border-top: 1px solid black;
  @extend .sm-txt;
  width: calc(100% - 40px);
  font-size: 11px;
  padding: 19px 20px 21px;
  .select-circ {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid black;
    float: left;
    margin: -5px 10px 0 8px;
  }
}

.grad {
  background: conic-gradient(rgba(lime, 0) 315deg, 
rgba(lime, .32) 345deg, rgba(lime, .7));
  animation: r 2s linear infinite;
  position: absolute;
  left: 30%;
  top: 20%;
  transform: rotate(0);
  width: 450px;
  height: 450px;
  opacity: 0;
  img {
    width: 100%;
    height: 100%;
  }
}

.icon-check {
  width: 15px;
  height: 15px;
  margin: 3px;
  opacity: 0;
  fill: white;
}

.icon-circles {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  top: 130px;
}

.icon-circle-left {
  transform: translateX(330px);
}

.icon-circle-right {
  transform: translateX(1010px);
}

//markers
.sights-markers {
  position: absolute;
  top:0;
}

.icon-noun_41233 {
  position: absolute;
}

.m2, .m3, .m4 {
  fill: #862d40;
  width: 25px;
  height: 25px;
}

.m1 { 
  transform: translate3d(700px, 450px, 0); 
  width: 45px;
  height: 45px;
  fill: #e62e09;
}

.m2 { transform: translate3d(550px, 410px, 0); }
.m3 { transform: translate3d(370px, 630px, 0); }
.m4 { transform: translate3d(900px, 390px, 0); }

.mouse {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  z-index: 10000;
  transform: translate3d(500px, 400px, 0);
  opacity: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  box-shadow: 0px 0px 1px 1px rgba(200, 200, 200, 0.3);
}

.left-side {
  background: white;
}

//starting out styles
.right, .left, .outer-left, .right2, .left2, .outer-left2 {
  .stagger, .select-item {
    display: none;
    opacity: 0;
  }
  h1 {
    margin-bottom: 0;
  }
}

.featured, .sights-markers .icon {
  visibility: hidden;
}

section.food-featured {
  opacity: 0;
  z-index: 10000000;
}

.sagrada .select-item {
  z-index: 20000000;
}

.mobile-r {
  float: right;
  margin-top: -4px;
  .mobile-send {
    display: inline;
    vertical-align: middle;
  }
  .m-rest {
    padding-left: 5px;
  }
  .m-rest2 {
    color: #20b500;
    padding-left: 5px;
  }
}

.quimet-hide, .sagrada-hide {
  overflow: hidden;
}

.icon-check-bright {
  @extend .centered;
  position: absolute;
  opacity: 0;
  top: 200px;
  fill: #20b500;
  z-index: 200000000;
}
              
            
!

JS

              
                var h = (window.innerHeight / 2),
  searchText = $(".search-text");

TweenMax.set(".right.featured-item, .left.featured-item, .outer-left.featured-item, .outer-left2.featured-item, .right2.featured-item, .left2.featured-item", {
  scale: 0.6
});
TweenMax.set(".featured", {
  autoAlpha: 0,
  visibility: "visible"
});
TweenMax.set(".sights-markers .icon", {
  autoAlpha: 0,
  visibility: "visible"
});
TweenMax.set(".filters", {
  y: -h + 50,
  opacity: 1
});

//search part, intro
function sceneOne() {
  var tl = new TimelineMax(),
    st = new SplitText(searchText, {
      type: "chars"
    });

  tl.add("begin");
  tl.to(".initial", 0.1, {
    autoAlpha: 0,
    display: "none",
    ease: Sine.easeOut
  }, "begin+=1");
  tl.staggerFromTo(st.chars, 1, {
    opacity: 0
  }, {
    opacity: 1,
    ease: Power4.easeOut
  }, 0.08, "begin+=1.25");
  tl.to("button.sights", 1, {
    className: "+=selected"
  }, "begin+=3");
  tl.to("button.mag", 0.2, {
    className: "+=selected"
  }, "begin+=4");
  tl.to("button.mag", 0.2, {
    className: "-=selected"
  }, "begin+=4.2");
  tl.to(".search", 0.4, {
    autoAlpha: 0,
    ease: Sine.easeOut
  }, "begin+=4.2");
  tl.to(".search", 0.1, {
    display: "none"
  }, "begin+=4.2");
  tl.to(".filters", 0.5, {
    height: "40px",
    y: 0,
    ease: Power3.easeOut
  }, "begin+=4.2");
  tl.to(".grad", 2, {
    opacity: 0.3,
    rotation: 360,
    ease: Linear.easeNone
  }, "begin+=4.2");
  tl.to(".map", 0.5, {
    x: -30,
    y: -30,
    ease: Sine.easeOut
  }, "begin+=4.2");
  tl.to(".grad", 0.15, {
    autoAlpha: 0,
    ease: Sine.easeIn
  }, "begin+=5");
  tl.staggerFromTo(".sights-markers .icon", 1, {
    autoAlpha: 0,
    scale: 0
  }, {
    autoAlpha: 1,
    scale: 1,
    ease: Back.easeOut
  }, 0.15, "begin+=4.5");
  tl.to(".featured", 0.25, {
    autoAlpha: 1,
    ease: Sine.easeOut
  }, "begin+=5.25");

  tl.timeScale(1.05);

  return tl;
}

//switcher, selector
function sceneTwo() {
  var tl = new TimelineMax(),
    boxS = "0 2px 10px 3px rgba(150, 150, 150, 0.5)";

  tl.add("start");
  tl.to(".mouse", 0.2, {
    opacity: 1,
    ease: Sine.easeOut
  }, "start");
  tl.to(".mouse", 0.7, {
    x: 1020,
    y: 150,
    ease: Sine.easeOut
  }, "start+=0.1");
  tl.to(".icon-circle-right", 0.1, {
    fill: "#bbb",
    ease: Sine.easeOut
  }, "start+=0.8");
  tl.to(".icon-circle-right", 0.1, {
    fill: "black",
    ease: Sine.easeIn
  }, "start+=0.9");
  tl.to(".map", 0.5, {
    x: -60,
    y: -20,
    ease: Sine.easeOut
  }, "start+=1.5");
  tl.to(".m1", 0.5, {
    scale: 0.6,
    fill: "#862d40",
    ease: Sine.easeOut
  }, "start+=1.5");
  tl.to(".m4", 0.5, {
    scale: 1.8,
    fill: "#e62e09",
    ease: Sine.easeOut
  }, "start+=1.5");

  //move the things
  tl.add( moveOver(".left", ".mid", ".right", 0), "start+=1" );
  
  //tl.timeScale(0.5);

  return tl;
}

function sceneThree() {
  var tl = new TimelineMax();
  
  tl.add("start2");
  //back one
  tl.to(".mouse", 0.8, {
    x: 330,
    ease: Sine.easeOut
  }, "start2");
  tl.to(".icon-circle-left", 0.1, {
    fill: "#bbb",
    ease: Sine.easeOut
  }, "start2+=0.8");
  tl.to(".icon-circle-left", 0.1, {
    fill: "black",
    ease: Sine.easeIn
  }, "start2+=0.9");
  tl.to(".map", 0.5, {
    x: -30,
    y: -30,
    ease: Sine.easeOut
  }, "start2+=0.8");
  tl.to(".m1", 0.5, {
    scale: 1,
    fill: "#e62e09",
    ease: Sine.easeOut
  }, "start2+=0.8");
  tl.to(".m4", 0.5, {
    scale: 1,
    fill: "#862d40",
    ease: Sine.easeOut
  }, "start2+=0.8");
  
  //move back
  tl.add( moveBack(".left", ".mid", ".right"), "start2+=1.3" );
  
  return tl;
}

//helper function timelines
//can call to move between them
function moveOver(left, middle, right, ymid) {
  var tl = new TimelineMax(),
    boxS = "0 2px 10px 3px rgba(150, 150, 150, 0.5)";

  tl.add("start1");

  //move the things
  tl.to(left + ".featured-item", 0.1, {
    background: "none",
    boxShadow: "none",
    ease: Sine.easeOut
  }, "start1+=0.6");
  tl.to(left + ".featured-item", 0.3, {
    x: 388,
    width: 600,
    y: ymid,
    scale: 1,
    ease: Sine.easeOut
  }, "start1+=0.9");
  tl.to(left + ".featured-item", 0.3, {
    background: "white",
    boxShadow: boxS,
    ease: Sine.easeOut
  }, "start1+=1.2");
  tl.fromTo(left + " .select-item", 0.5, {
    opacity: 0,
    display:"none"
  }, {
    opacity: 1,
    display:"block",
    ease: Sine.easeOut
  }, "start1+=1.2");
  tl.to(left + " .featured-img", 0.3, {
    float: "right",
    ease: Sine.easeOut
  }, "start1+=0.9");
  tl.to(left + " h1", 0.1, {
    marginBottom: "+=15",
    ease: Sine.easeOut
  }, "start1+=0.9");
  tl.staggerFromTo(left + " .stagger", 0.8, {
    autoAlpha: 0,
    display: "none"
  }, {
    autoAlpha: 1,
    display: "block",
    ease: Sine.easeOut
  }, 0.1, "start1+=1.2");
  tl.to(middle + ".featured-item", 0.3, {
    x: 1046,
    width: 300,
    scale: 0.6,
    ease: Sine.easeOut
  }, "start1+=0.9");
  tl.to(middle + " .featured-img", 0.3, {
    float: "none",
    ease: Sine.easeOut
  }, "start1+=0.7");
  tl.to(middle + " .stagger", 0.2, {
    autoAlpha: 0,
    display: "none",
    ease: Sine.easeOut
  }, "start1+=0.7");
  tl.to(middle + " .select-item", 0.2, {
    autoAlpha: 0,
    display: "none",
    ease: Sine.easeOut
  }, "start1+=0.7");
  tl.to(middle + " h1", 0.1, {
    marginBottom: "0",
    ease: Sine.easeOut
  }, "start1+=0.9");
  tl.to(right + ".featured-item", 0.3, {
    autoAlpha: 0,
    scale: 0.3,
    ease: Sine.easeOut
  }, "start1+=0.9");

  return tl;
}

//can call to move between them
function moveBack(left, middle, right) {
  var tl = new TimelineMax(),
    boxS = "0 2px 10px 3px rgba(150, 150, 150, 0.5)";

  tl.add("start41");
  //move the things
  tl.to(right + ".featured-item", 0.3, {
    autoAlpha: 1,
    scale: 0.6,
    ease: Sine.easeIn
  }, "start41+=0.1");
  tl.to(middle + ".featured-item", 0.3, {
    x: 388,
    width: 600,
    scale: 1,
    ease: Sine.easeIn
  }, "start41");
  tl.to(middle + " h1", 0.1, {
    marginBottom: "+=15",
    ease: Sine.easeIn
  }, "start41");
  tl.to(middle + " .featured-img", 0.3, {
    float: "right",
    ease: Sine.easeIn
  }, "start41");
  tl.staggerTo(middle + " .stagger", 0.3, {
    autoAlpha: 1,
    display: "block",
    ease: Sine.easeIn
  }, 0.1, "start41+=0.3");
  tl.to(middle + " .select-item", 0.2, {
    autoAlpha: 1,
    display: "block",
    ease: Sine.easeIn
  }, "start41+=0.3");
  
  //left one
  tl.to(left + ".featured-item", 0.3, {
    x: 40,
    width: 300,
    y: 0,
    scale: 0.6,
    ease: Sine.easeIn
  }, "start41");
  tl.to(left + " .stagger", 0.1, {
    autoAlpha: 0,
    display: "none",
    ease: Sine.easeIn
  }, "start41");
  tl.to(left + " h1", 0.1, {
    marginBottom: 0,
    ease: Sine.easeIn
  }, "start41");
  tl.to(left + " .select-item", 0.5, {
    opacity: 0,
    display:"none",
    ease: Sine.easeIn
  }, "start41");
  tl.to(left + " .featured-img", 0.3, {
    float: "none",
    ease: Sine.easeIn
  }, "start41");
 
  //tl.timeScale(0.6);

  return tl;
}


//select this section
function sceneFour() {
  var tl = new TimelineMax();
  
  tl.add("scFour");
  tl.to(".mouse", 0.8, {
    x: 417,
    y: 327,
    ease: Sine.easeOut
  }, "scFour");
  tl.to(".mouse", 0.2, {
    x: 475,
    y: 325,
    ease: Sine.easeOut
  }, "scFour+=1");
  tl.to(".sagrada .select-circ", 0.1, {
    background: "#33c513",
    ease: Sine.easeOut
  }, "scFour+=1");
  tl.to(".sagrada .check2", 0.1, {
    opacity:1,
    ease: Sine.easeOut
  }, "scFour+=1");
  tl.to(".sagrada .select-item", 0.1, {
    background: "#eee",
    ease: Sine.easeOut
  }, "scFour+=1");
  tl.to(".sagrada .select-item", 0.4, {
    position: "absolute",
    y: -300,
    borderTop: 0,
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".sagrada.mid", 0.4, {
    background: "none",
    boxShadow: "none",
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".featured-item.left, .featured-item.right, .featured-item.outer-left", 0.1, {
    autoAlpha: 0,
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".sagrada-hide", 0.2, {
    opacity: 0,
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".sagrada .select-circ", 0.1, {
    background: "#ccc",
    ease: Sine.easeOut
  }, "scFour+=1");
   tl.call(function() {
    $(".sagrada .rest").replaceWith('<span class="rest2">Sight selected: La Sagrada Familia</span>');
  });
  tl.to("button.sights", 1, {
    className: "-=selected"
  }, "scFour+=1.2");
  tl.to("button.food", 1, {
    className: "+=selected"
  }, "scFour+=1.2");
  tl.to("section.food-featured", 0.4, {
    opacity: 1,
    ease: Sine.easeOut
  }, "scFour+=1.6");
  tl.to(".map", 0.5, {
    x: 0,
    y: 0,
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".m1", 0.5, {
    scale: 0.6,
    fill: "#862d40",
    x: "+=50",
    y: "+=100",
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".m2", 0.5, {
    scale: 1.8,
    x: "-=50",
    y: "+=100",
    fill: "#e62e09",
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".m3", 0.5, {
    x: "-=10",
    y: "+=50",
    ease: Sine.easeOut
  }, "scFour+=1.2");
  tl.to(".m4", 0.5, {
    x: "+=20",
    y: "+=80",
    ease: Sine.easeOut
  }, "scFour+=1.2");
  
  tl.timeScale(1.1);
  
  return tl;
}

//switcher, selector
function sceneFive() {
  var tl = new TimelineMax();

  tl.add("sc5");
  tl.to(".mouse", 0.2, {
    opacity: 1,
    ease: Sine.easeOut
  }, "sc5");
  tl.to(".mouse", 0.7, {
    x: 1020,
    y: 150,
    ease: Sine.easeOut
  }, "sc5+=0.1");
  tl.to(".icon-circle-right", 0.1, {
    fill: "#bbb",
    ease: Sine.easeOut
  }, "sc5+=0.8");
  tl.to(".icon-circle-right", 0.1, {
    fill: "black",
    ease: Sine.easeIn
  }, "sc5+=0.9");
  tl.to(".map", 0.5, {
    x: -60,
    y: -20,
    ease: Sine.easeOut
  }, "sc5+=1.5");
  tl.to(".m2", 0.5, {
    scale: 1,
    fill: "#862d40",
    ease: Sine.easeOut
  }, "sc5+=1.5");
  tl.to(".m4", 0.5, {
    scale: 1.8,
    fill: "#e62e09",
    ease: Sine.easeOut
  }, "sc5+=1.5");

  //move the things
  tl.add( moveOver(".left2", ".mid2", ".right2", 57), "sc5+=1" );
  
  //tl.timeScale(0.5);

  return tl;
}

function sceneSix() {
  var tl = new TimelineMax();
  
  tl.add("sc6");
  //back one
  tl.to(".mouse", 0.8, {
    x: 330,
    ease: Sine.easeOut
  }, "sc6");
  tl.to(".icon-circle-left", 0.1, {
    fill: "#bbb",
    ease: Sine.easeOut
  }, "sc6+=0.8");
  tl.to(".icon-circle-left", 0.1, {
    fill: "black",
    ease: Sine.easeIn
  }, "sc6+=0.9");
  tl.to(".map", 0.5, {
    x: -30,
    y: -30,
    ease: Sine.easeOut
  }, "sc6+=0.8");
  tl.to(".m2", 0.5, {
    scale: 1.8,
    fill: "#e62e09",
    ease: Sine.easeOut
  }, "sc6+=0.8");
  tl.to(".m4", 0.5, {
    scale: 1,
    fill: "#862d40",
    ease: Sine.easeOut
  }, "sc6+=0.8");
  
  //move back
  tl.add( moveBack(".left2", ".mid2", ".right2"), "start2" );
  
  return tl;
}

//select and send
function sceneSeven() {
  var tl = new TimelineMax();
  
  tl.add("scSeven");
  tl.to(".mouse", 0.8, {
    x: 730,
    y: 385,
    ease: Sine.easeOut
  }, "scSeven");
  tl.to(".mouse", 0.2, {
    x: 775,
    y: 385,
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".quimet .select-circ", 0.1, {
    background: "#33c513",
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".quimet .check2", 0.1, {
    opacity:1,
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".quimet .select-item", 0.1, {
    background: "#eee",
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".scSeven .select-item", 0.4, {
    position: "absolute",
    y: -300,
    borderTop: 0,
    ease: Sine.easeOut
  }, "scSeven+=1.2");
  tl.to(".quimet.mid2", 0.4, {
    background: "none",
    boxShadow: "none",
    ease: Sine.easeOut
  }, "scSeven+=1.2");
  tl.to(".featured-item.left2, .featured-item.right2, .featured-item.outer-left2", 0.1, {
    autoAlpha: 0,
    ease: Sine.easeOut
  }, "scSeven+=1.2");
  tl.to(".quimet-hide", 0.2, {
    opacity: 0,
    height: 0,
    ease: Sine.easeOut
  }, "scSeven+=1.2");
  tl.to(".quimet .select-circ", 0.1, {
    background: "#ccc",
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".icon-circles", 0.1, {
    opacity: 0,
    ease: Sine.easeIn
  }, "scSeven+=1");
  tl.to(".sights-markers", 0.2, {
    opacity: 0,
    ease: Sine.easeIn
  }, "scSeven+=1");
  
  //mobile icon stuff
  tl.to(".quimet .m-top", 0.1, {
    opacity: 0,
    ease: Sine.easeIn
  }, "scSeven+=1");
  tl.to(".quimet .phone", 0.2, {
    fill: "#20b500",
    ease: Sine.easeOut
  }, "scSeven+=1");
  tl.to(".quimet .checkmark", 0.2, {
    stroke: "#20b500",
    rotation: 120,
    transformOrigin: "50% 50%",
    ease: Sine.easeOut
  }, "scSeven+=1");
    tl.to("button.food", 0.2, {
    className: "-=selected"
  }, "scSeven+=1");
  
  //text
   tl.call(function() {
    $(".quimet .rest").replaceWith('<span class="rest2">Food selected: Quimet i Quimet</span>');
  });
  tl.call(function() {
    $(".quimet .m-rest").replaceWith('<span class="m-rest2">Itinerary Sent</span>');
  });
  tl.call(function() {
    $(".filter-buttons").replaceWith('<button class="button another">Create Another Trip</button>');
  });
  tl.fromTo(".icon-check-bright", 2.2, {
    opacity: 0, 
    scale: 0,
    rotation: 180
  }, {
    rotation: 0,
    scale: 0.5, 
    opacity: 1, 
    ease: Elastic.easeOut
  });
  
  return tl;
}

var master = new TimelineMax();
master.add(sceneOne(), "scene1");
master.add(sceneTwo(), "scene2");
master.add(sceneThree(), "scene3");
master.add(sceneFour(), "scene4");
master.add(sceneFive(), "scene5");
master.add(sceneSix(), "scene6");
master.add(sceneSeven(), "scene7");

master.timeScale(1.2);

//master.seek("scene6");
              
            
!
999px

Console