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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <!--Burger-->
<div class="burger">
	<!--Burger wrapp-->
	<div class="burger__wrapp">

		<!--Burger info-->
		<div class="burger__info js-info">
			<span class="js-info-text">Click on circles and try to make your "Good Burger"</span>
		</div>
		<!--/Burger info-->

		<!--Burger results-->
		<div class="burger__circle js-circle">
			<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><g class="buns-top"><path fill="#c98028" d="M465.6 217.6c0 68-96.8 49.6-216 49.6s-216 18.4-216-49.6 96.8-124 216-124 216 55.2 216 124z"/><path fill="#e5a641" d="M465.6 217.6c0 68-96.8-1.6-216-1.6s-216 69.6-216 1.6 96.8-124 216-124 216 55.2 216 124z"/><path fill="#d89636" d="M249.6 93.6c119.2 0 216 55.2 216 124 0 68-96.8-1.6-216-1.6"/><g fill="#d38d31"><ellipse cx="188.8" cy="131.2" rx="15.2" ry="5.6"/><ellipse cx="229.6" cy="158.4" rx="15.2" ry="5.6"/></g><g fill="#e5a641"><ellipse cx="318.4" cy="154.4" rx="15.2" ry="5.6"/><ellipse cx="288" cy="125.6" rx="11.2" ry="4"/><ellipse cx="383.2" cy="183.2" rx="11.2" ry="4"/></g><ellipse cx="146.4" cy="157.6" fill="#d38d31" rx="11.2" ry="4"/><path fill="#f2c56d" d="M119.2 150.4c8 7.2 0 27.2-18.4 44s-40 25.6-48 17.6c-8-7.2 0-27.2 18.4-44s40-24.8 48-17.6z"/></g><g class="salad"><path fill="#52a305" d="M140.8 284.8S67.2 247.2 32 262.4c-34.4 16-20 48.8-2.4 50.4 0 0-8.8 16.8 1.6 22.4s12 2.4 12 2.4-12.8 6.4-9.6 28.8S74.4 396 80.8 340c4-34.4 48-46.4 48-46.4l22.4-1.6-10.4-7.2z"/><path fill="#448400" d="M80.8 340.8c4-34.4 48-46.4 48-46.4l22.4-1.6-9.6-8s-35.2-18.4-68.8-24c-14.4-2.4-28.8-2.4-40 2.4"/><g fill="#76ce19"><path d="M35.2 268.8c2.4 1.6 0 7.2-4 12.8-4.8 5.6-10.4 8-12 6.4-2.4-1.6 0-7.2 4-12.8 4.8-4.8 9.6-8 12-6.4zM42.4 295.2c2.4.8 3.2 4.8 1.6 10.4-1.6 5.6-4 9.6-6.4 8.8s-3.2-5.6-1.6-10.4 4-8.8 6.4-8.8zM50.4 340.8c2.4.8.8 5.6-1.6 10.4-3.2 4.8-7.2 8-8.8 7.2s-1.6-5.6 1.6-10.4c3.2-5.6 7.2-8.8 8.8-7.2z"/></g><path fill="#52a305" d="M358.4 284.8s73.6-37.6 108.8-22.4c34.4 16 20 48.8 2.4 50.4 0 0 8.8 16.8-1.6 22.4s-12 2.4-12 2.4 12.8 6.4 9.6 28.8-40.8 29.6-47.2-26.4c-4-34.4-48-46.4-48-46.4L348 292l10.4-7.2z"/><path fill="#448400" d="M418.4 340.8c-4-34.4-48-46.4-48-46.4l-22.4-1.6 9.6-8s35.2-18.4 68.8-24c14.4-2.4 28.8-2.4 40 2.4"/><g fill="#76ce19"><path d="M464 268.8c-2.4 1.6 0 7.2 4 12.8 4.8 5.6 10.4 8 12 6.4 2.4-1.6 0-7.2-4-12.8-4.8-4.8-9.6-8-12-6.4zM456.8 295.2c-2.4.8-3.2 4.8-1.6 10.4s4 9.6 6.4 8.8c2.4-.8 3.2-5.6 1.6-10.4s-4-8.8-6.4-8.8zM448.8 340.8c-2.4.8-.8 5.6 1.6 10.4 3.2 4.8 7.2 8 8.8 7.2 1.6-.8 1.6-5.6-1.6-10.4-3.2-5.6-7.2-8.8-8.8-7.2z"/></g></g><g class="buns-bottom"><path fill="#a56016" d="M460.8 432.8c0 58.4-94.4 66.4-211.2 66.4s-211.2-8.8-211.2-66.4 94.4-51.2 211.2-51.2 211.2-7.2 211.2 51.2z"/><path fill="#d38d31" d="M460.8 432.8c0 58.4-94.4 66.4-211.2 66.4s-211.2-8.8-211.2-66.4 94.4-21.6 211.2-21.6 211.2-36.8 211.2 21.6z"/><path fill="#c67822" d="M249.6 411.2c116.8 0 211.2-36 211.2 21.6s-94.4 66.4-211.2 66.4"/><path fill="#e5a641" d="M113.6 450.4c-4.8 11.2-22.4 15.2-38.4 8.8-16.8-6.4-26.4-20-21.6-30.4C58.4 417.6 76 413.6 92 420c16 5.6 26.4 19.2 21.6 30.4z"/><g fill="#e5a641"><ellipse cx="161.6" cy="427.2" rx="12.8" ry="4.8"/><ellipse cx="200" cy="457.6" rx="12.8" ry="4.8"/><ellipse cx="222.4" cy="435.2" rx="12.8" ry="4.8"/></g><g fill="#a56016"><ellipse cx="340" cy="436" rx="12.8" ry="4.8"/><ellipse cx="297.6" cy="460.8" rx="12.8" ry="4.8"/><ellipse cx="380" cy="463.2" rx="12.8" ry="4.8"/></g></g><g class="cheese"><path fill="#ffd400" d="M447.2 309.6c0 11.2-10.4 20-22.4 20H74.4c-12.8 0-22.4-8.8-22.4-20s10.4-20 22.4-20h350.4c12 0 22.4 8.8 22.4 20z"/><path fill="#ffb000" d="M447.2 308.8c0 11.2-10.4 20.8-22.4 20.8H74.4c-12.8 0-22.4-8.8-22.4-20.8"/></g><g class="meat"><path fill="#6d3113" d="M444 361.6c0 16.8-14.4 32-32.8 32H88c-18.4 0-32.8-15.2-32.8-32s14.4-32 32.8-32h323.2c18.4 0 32.8 15.2 32.8 32z"/><path fill="#562306" d="M444 362.4c0 16.8-14.4 31.2-32.8 31.2H88c-18.4 0-32.8-14.4-32.8-31.2 0-16.8 14.4-32.8 32.8-8.8h323.2c18.4-24 32.8-8 32.8 8.8z"/></g><g class="egg"><path fill="#fff" d="M440.8 280.8c0 16.8-85.6 8-191.2 8s-191.2 8.8-191.2-8 85.6-31.2 191.2-31.2 191.2 14.4 191.2 31.2z"/><path fill="#e2d9c5" d="M249.6 249.6c105.6 0 191.2 13.6 191.2 30.4s-85.6 8-191.2 8"/><path fill="#ffb000" d="M349.6 252.8c0 16-44.8 7.2-100 7.2s-100 8.8-100-7.2 44.8-28.8 100-28.8c55.2.8 100 13.6 100 28.8z"/><path fill="#ff8b00" d="M249.6 224.8c55.2 0 100 12.8 100 28.8s-44.8 7.2-100 7.2"/><path fill="#ffd400" d="M234.4 233.6c.8 3.2-10.4 8.8-24.8 11.2-14.4 2.4-26.4 1.6-27.2-1.6-.8-3.2 10.4-8.8 24.8-11.2 14.4-2.4 26.4-1.6 27.2 1.6z"/><path fill="#fff" d="M123.2 290.4s9.6-1.6 14.4 7.2c4 8.8 15.2 8.8 31.2 2.4 15.2-6.4 21.6-.8 29.6 8.8 8 9.6 20-12.8 27.2-4s12.8 12.8 15.2 15.2c6.4 5.6 8.8 0 8.8 0v-39.2l-81.6-7.2-24 9.6-20.8 7.2z"/><path fill="#e2d9c5" d="M376 290.4s-9.6-1.6-14.4 7.2c-4 8.8-15.2 8.8-31.2 2.4-15.2-6.4-21.6-.8-29.6 8.8-8 9.6-20-12.8-27.2-4s-12.8 12.8-15.2 15.2c-6.4 5.6-8.8 0-8.8 0v-39.2l81.6-7.2 24 9.6 20.8 7.2z"/></g><g class="flag"><ellipse cx="249.6" cy="115.2" fill="#c98028" rx="32" ry="8"/><path fill="#562306" d="M257.6 107.2c0 4.8-4 8-8 8s-8-4-8-8V8c0-4.8 4-8 8-8s8 4 8 8v99.2z"/><path fill="#f73939" d="M257.6 7.2v65.6L334.4 40z"/><path fill="#d32e26" d="M257.6 37.6v35.2L334.4 40z"/></g></svg>
		</div>
		<!--/Burger results-->

		<!--Burger ingredients-->
		<ul class="burger__ingredients">
			<li class="burger__ingredients-item burger__ingredients-item--meat">
				<div class="burger__ingredients-item-inner js-meat">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#6d3113" d="M444 361.6c0 16.8-14.4 32-32.8 32H88c-18.4 0-32.8-15.2-32.8-32s14.4-32 32.8-32h323.2c18.4 0 32.8 15.2 32.8 32z"/><path fill="#562306" d="M444 362.4c0 16.8-14.4 31.2-32.8 31.2H88c-18.4 0-32.8-14.4-32.8-31.2 0-16.8 14.4-32.8 32.8-8.8h323.2c18.4-24 32.8-8 32.8 8.8z"/></svg>
				</div>
				<span class="burger__ingredients-item-title">Meat</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--flag">
				<div class="burger__ingredients-item-inner js-flag">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><ellipse cx="249.6" cy="115.2" fill="#c98028" rx="32" ry="8"/><path fill="#562306" d="M257.6 107.2c0 4.8-4 8-8 8s-8-4-8-8V8c0-4.8 4-8 8-8s8 4 8 8v99.2z"/><path fill="#f73939" d="M257.6 7.2v65.6L334.4 40z"/><path fill="#d32e26" d="M257.6 37.6v35.2L334.4 40z"/></svg>
				</div>
				<span class="burger__ingredients-item-title">Flag</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--buns-bottom">
				<div class="burger__ingredients-item-inner js-buns-bottom">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#a56016" d="M460.8 432.8c0 58.4-94.4 66.4-211.2 66.4s-211.2-8.8-211.2-66.4 94.4-51.2 211.2-51.2 211.2-7.2 211.2 51.2z"/><path fill="#d38d31" d="M460.8 432.8c0 58.4-94.4 66.4-211.2 66.4s-211.2-8.8-211.2-66.4 94.4-21.6 211.2-21.6 211.2-36.8 211.2 21.6z"/><path fill="#c67822" d="M249.6 411.2c116.8 0 211.2-36 211.2 21.6s-94.4 66.4-211.2 66.4"/><path fill="#e5a641" d="M113.6 450.4c-4.8 11.2-22.4 15.2-38.4 8.8-16.8-6.4-26.4-20-21.6-30.4C58.4 417.6 76 413.6 92 420c16 5.6 26.4 19.2 21.6 30.4z"/><g fill="#e5a641"><ellipse cx="161.6" cy="427.2" rx="12.8" ry="4.8"/><ellipse cx="200" cy="457.6" rx="12.8" ry="4.8"/><ellipse cx="222.4" cy="435.2" rx="12.8" ry="4.8"/></g><g fill="#a56016"><ellipse cx="340" cy="436" rx="12.8" ry="4.8"/><ellipse cx="297.6" cy="460.8" rx="12.8" ry="4.8"/><ellipse cx="380" cy="463.2" rx="12.8" ry="4.8"/></g></svg>
				</div>
				<span class="burger__ingredients-item-title">Buns</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--chees">
				<div class="burger__ingredients-item-inner js-chees">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#ffd400" d="M447.2 309.6c0 11.2-10.4 20-22.4 20H74.4c-12.8 0-22.4-8.8-22.4-20s10.4-20 22.4-20h350.4c12 0 22.4 8.8 22.4 20z"/><path fill="#ffb000" d="M447.2 308.8c0 11.2-10.4 20.8-22.4 20.8H74.4c-12.8 0-22.4-8.8-22.4-20.8"/></svg>
				</div>
				<span class="burger__ingredients-item-title">Cheese</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--salad">
				<div class="burger__ingredients-item-inner js-salad">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#52a305" d="M140.8 284.8S67.2 247.2 32 262.4c-34.4 16-20 48.8-2.4 50.4 0 0-8.8 16.8 1.6 22.4s12 2.4 12 2.4-12.8 6.4-9.6 28.8S74.4 396 80.8 340c4-34.4 48-46.4 48-46.4l22.4-1.6-10.4-7.2z"/><path fill="#448400" d="M80.8 340.8c4-34.4 48-46.4 48-46.4l22.4-1.6-9.6-8s-35.2-18.4-68.8-24c-14.4-2.4-28.8-2.4-40 2.4"/><g fill="#76ce19"><path d="M35.2 268.8c2.4 1.6 0 7.2-4 12.8-4.8 5.6-10.4 8-12 6.4-2.4-1.6 0-7.2 4-12.8 4.8-4.8 9.6-8 12-6.4zM42.4 295.2c2.4.8 3.2 4.8 1.6 10.4-1.6 5.6-4 9.6-6.4 8.8s-3.2-5.6-1.6-10.4 4-8.8 6.4-8.8zM50.4 340.8c2.4.8.8 5.6-1.6 10.4-3.2 4.8-7.2 8-8.8 7.2s-1.6-5.6 1.6-10.4c3.2-5.6 7.2-8.8 8.8-7.2z"/></g></svg>
				</div>
				<span class="burger__ingredients-item-title">Salad</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--buns-top">
				<div class="burger__ingredients-item-inner js-buns-top">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#c98028" d="M465.6 217.6c0 68-96.8 49.6-216 49.6s-216 18.4-216-49.6 96.8-124 216-124 216 55.2 216 124z"/><path fill="#e5a641" d="M465.6 217.6c0 68-96.8-1.6-216-1.6s-216 69.6-216 1.6 96.8-124 216-124 216 55.2 216 124z"/><path fill="#d89636" d="M249.6 93.6c119.2 0 216 55.2 216 124 0 68-96.8-1.6-216-1.6"/><g fill="#d38d31"><ellipse cx="188.8" cy="131.2" rx="15.2" ry="5.6"/><ellipse cx="229.6" cy="158.4" rx="15.2" ry="5.6"/></g><g fill="#e5a641"><ellipse cx="318.4" cy="154.4" rx="15.2" ry="5.6"/><ellipse cx="288" cy="125.6" rx="11.2" ry="4"/><ellipse cx="383.2" cy="183.2" rx="11.2" ry="4"/></g><ellipse cx="146.4" cy="157.6" fill="#d38d31" rx="11.2" ry="4"/><path fill="#f2c56d" d="M119.2 150.4c8 7.2 0 27.2-18.4 44s-40 25.6-48 17.6c-8-7.2 0-27.2 18.4-44s40-24.8 48-17.6z"/></svg>
				</div>
				<span class="burger__ingredients-item-title">Buns</span>
			</li>
			<li class="burger__ingredients-item burger__ingredients-item--egg">
				<div class="burger__ingredients-item-inner js-egg">
					<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 499.2 499.2"><path fill="#fff" d="M440.8 280.8c0 16.8-85.6 8-191.2 8s-191.2 8.8-191.2-8 85.6-31.2 191.2-31.2 191.2 14.4 191.2 31.2z"/><path fill="#e2d9c5" d="M249.6 249.6c105.6 0 191.2 13.6 191.2 30.4s-85.6 8-191.2 8"/><path fill="#ffb000" d="M349.6 252.8c0 16-44.8 7.2-100 7.2s-100 8.8-100-7.2 44.8-28.8 100-28.8c55.2.8 100 13.6 100 28.8z"/><path fill="#ff8b00" d="M249.6 224.8c55.2 0 100 12.8 100 28.8s-44.8 7.2-100 7.2"/><path fill="#ffd400" d="M234.4 233.6c.8 3.2-10.4 8.8-24.8 11.2-14.4 2.4-26.4 1.6-27.2-1.6-.8-3.2 10.4-8.8 24.8-11.2 14.4-2.4 26.4-1.6 27.2 1.6z"/><path fill="#fff" d="M123.2 290.4s9.6-1.6 14.4 7.2c4 8.8 15.2 8.8 31.2 2.4 15.2-6.4 21.6-.8 29.6 8.8 8 9.6 20-12.8 27.2-4s12.8 12.8 15.2 15.2c6.4 5.6 8.8 0 8.8 0v-39.2l-81.6-7.2-24 9.6-20.8 7.2z"/><path fill="#e2d9c5" d="M376 290.4s-9.6-1.6-14.4 7.2c-4 8.8-15.2 8.8-31.2 2.4-15.2-6.4-21.6-.8-29.6 8.8-8 9.6-20-12.8-27.2-4s-12.8 12.8-15.2 15.2c-6.4 5.6-8.8 0-8.8 0v-39.2l81.6-7.2 24 9.6 20.8 7.2z"/></svg>
				</div>
				<span class="burger__ingredients-item-title">Egg</span>
			</li>
		</ul>
		<!--/Burger ingredients-->

	</div>
	<!--/Burger wrapp-->
</div>
<!--Burger-->

<p class="burger-icon">Burger SVG icon made by <a href="https://www.flaticon.com/authors/roundicons" target="_blank">Roundicons</a> from www.flaticon.com</p>


<div class="link">
  <a href="https://codepen.io/microfront/pens/public/" target="_blank">   <span class="fa fa-codepen"></span>my other Pens</a> 
</div>
              
            
!

CSS

              
                body {
  width: 100%;
  min-height: 100vh;
  display: block;
  background: #fcd750 url("http://res.cloudinary.com/dnhvfgp9c/image/upload/v1521734636/bcg-pattern.png")
    repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Patrick Hand", cursive;
  padding: 20px 0 50px;
  position: relative;
  @media only screen and (max-width: 600px) {
    display: block;
    height: auto;
  }
}

.burger {
  h1 {
    color: #000;
    font-size: 35px;
    margin-bottom: 30px;
  }
  &__wrapp {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    @media only screen and (max-width: 600px) {
      display: block;
    }
  }
  
  &__info {
    border: 4px solid #ddb737;
    animation: 1.4s cubic-bezier(0.4, 0.25, 0.3, 1) shadowAnimation infinite;
    background: #fff url(http://12dishes.com/assets/images/noise-pattern.png)
      repeat;
    width: 130px;
    height: 130px;
    border-radius: 100px;
    position: absolute;
    top: -10px;
    right: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 1;
    &.error {
      span {
        color: #f10202;
      }
    }
    &.correct {
      span {
        color: #0f83d0;
      }
    }

    span {
      font-size: 17px;
      text-align: center;
      line-height: 19px;
      color: #2f1303;
    }
    @media only screen and (max-width: 600px) {
      width: 90px;
      height: 90px;
      border-width: 2px;
      animation: none;
      right: 5px;
      span {
        font-size: 14px;
        line-height: 16px;
      }
    }
  }
  &__circle {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 6px solid #ddb737;
    box-shadow: 1px 0px 0px 6px rgba(221, 183, 55, 0.5),
      1px 0px 0px 12px rgba(221, 183, 55, 0.2);
    background: #fff
      url("http://res.cloudinary.com/dnhvfgp9c/image/upload/v1521734636/bcg-pattern.png")
      repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    overflow: hidden;
    @media only screen and (max-width: 600px) {
      width: 280px;
      height: 280px;
      border-width: 4px;
      margin: 0 auto 25px;
    }
    &.finished {
      animation: 1.4s cubic-bezier(0.4, 0.25, 0.3, 1) shadowBigAnimation
        infinite;
    }

    svg {
      width: 230px;
      height: 350px;
      position: relative;
      z-index: 1;
      .buns-top,
      .salad,
      .egg,
      .buns-bottom,
      .cheese,
      .meat,
      .flag {
        opacity: 0;
      }
      @media only screen and (max-width: 600px) {
        width: 150px;
        height: 272px;
      }
    }
    &:after {
      content: "";
      height: 200px;
      width: 400px;
      border-bottom-left-radius: 194px;
      border-bottom-right-radius: 194px;
      position: absolute;
      bottom: 0;
      left: 50%;
      z-index: 0;
      background: #f2f2f2
        url("http://res.cloudinary.com/dnhvfgp9c/image/upload/v1521734636/bcg-pattern.png")
        repeat;
      box-shadow: inset 0px 11px 70px rgba(0, 0, 0, 0.17);
      transform: translateX(-50%);
      @media only screen and (max-width: 600px) {
        height: 140px;
        width: 280px;
        border-bottom-left-radius: 137px;
        border-bottom-right-radius: 137px;
      }
    }
  }
  &__ingredients {
    display: flex;
    @media only screen and (max-width: 600px) {
      flex-flow: wrap;
      justify-content: center;
      align-items: center;
    }
  }
  &__ingredients-item {
    cursor: pointer;
    float: none;
    margin: 0 8px;
    @media only screen and (max-width: 600px) {
      margin: 0px 0 5px;
    }
    &:hover {
      .burger__ingredients-item-inner {
        background: #f2f2f2
          url("http://res.cloudinary.com/dnhvfgp9c/image/upload/v1521734636/bcg-pattern.png")
          repeat;
      }
      .burger__ingredients-item-title {
        transform: translateY(8px);
        @media only screen and (max-width: 600px) {
          transform: translateY(4px);
        }
      }
    }
    &--meat {
      svg {
        width: 64px;
        left: 3px;
        top: -10px;
      }
    }
    &--flag {
      svg {
        width: 147px;
        left: -43px;
        top: 14px;
      }
    }
    
    &--buns-bottom {
      svg {
        width: 60px;
        left: 5px;
        top: -17px;
      }
    }
    &--chees {
      svg {
        width: 64px;
        left: 3px;
        top: -4px;
      }
    }
    &--flag {
      svg {
        width: 147px;
        left: -47px;
        top: 16px;
      }
    }
    &--salad {
      svg {
        width: 107px;
        left: 18px;
        top: -32px;
      }
    }
    &--buns-top {
      svg {
        width: 58px;
        left: 6px;
        top: 12px;
      }
    }
    &--egg {
      svg {
        width: 68px;
        left: 0px;
        top: -2px;
      }
    }
    svg {
      position: absolute;
    }
  }
  &__ingredients-item-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ddb737;
    background: #fff
      url("http://res.cloudinary.com/dnhvfgp9c/image/upload/v1521734636/bcg-pattern.png")
      repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: 1.4s cubic-bezier(0.4, 0.25, 0.3, 1) shadowAnimation infinite;
    transition: background-color 0.5s ease;
    position: relative;
    &.is-disabled {
      opacity: 0.7;
      pointer-events: none;
      animation: none;
      ~ .burger__ingredients-item-title {
        opacity: 0.5;
        transform: translateY(0) !important;
      }
    }
    @media only screen and (max-width: 600px) {
      transform: scale(0.8);
    }
  }
  &__ingredients-item-title {
    display: block;
    text-align: center;
    margin-top: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 18px;
    @media only screen and (max-width: 600px) {
      font-size: 14px;
      line-height: 16px;
      margin-top: 2px;
    }
  }
}

@keyframes shadowBigAnimation {
  0% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
  50% {
    box-shadow: 1px 0px 0px 15px rgba(221, 183, 55, 0.5),
      1px 0px 0px 30px rgba(221, 183, 55, 0.2);
  }
  100% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
}

@-moz-keyframes shadowBigAnimatio {
  0% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
  50% {
    box-shadow: 1px 0px 0px 15px rgba(221, 183, 55, 0.5),
      1px 0px 0px 30px rgba(221, 183, 55, 0.2);
  }
  100% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
}

@keyframes shadowAnimation {
  0% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
  50% {
    box-shadow: 1px 0px 0px 5px rgba(221, 183, 55, 0.5),
      1px 0px 0px 10px rgba(221, 183, 55, 0.2);
  }
  100% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
}

@-moz-keyframes shadowAnimation {
  0% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
  50% {
    box-shadow: 1px 0px 0px 5px rgba(221, 183, 55, 0.5),
      1px 0px 0px 10px rgba(221, 183, 55, 0.2);
  }
  100% {
    box-shadow: 1px 0px 0px 1px rgba(221, 183, 55, 0.5),
      1px 0px 0px 3px rgba(221, 183, 55, 0.2);
  }
}

.burger-icon {
  font-size: 12px;
  color: #ccae40;
  position: absolute;
  right: 5px;
  bottom: 5px;
  a {
    color: #ccae40;
  }
}


.link{
  position:absolute;
  left:0;
  bottom:0;
  padding:20px;
  a{
      display:flex;
      align-items:center;
      text-decoration:none;
      color:#483902;
  }
  .fa{
    font-size:28px;
    margin-right:8px;
    color:#483902;
  }
}
              
            
!

JS

              
                
//Good burger
function goodBurger() {
  var ingredientsTitle = "",
    meatBtn = $(".js-meat"),
    flagBtn = $(".js-flag"),
    bunsTopBtn = $(".js-buns-top"),
    bunsBottomBtn = $(".js-buns-bottom"),
    cheesBtn = $(".js-chees"),
    saladBtn = $(".js-salad"),
    eggBtn = $(".js-egg"),
    info = $(".js-info"),
    infoText = $(".js-info-text"),
    burgerCircle = $(".js-circle");

  function _ingredientsAnimation(
    btn,
    prevIngredientsTitle,
    target,
    currentIngredientsTitle
  ) {
    btn.on("click", function() {
      if (ingredientsTitle == prevIngredientsTitle) {
        CustomEase.create(
          "bounce",
          "M0,0 C0.14,0 0.242,0.438 0.272,0.561 0.313,0.728 0.354,0.963 0.362,1 0.37,0.985 0.384,0.98 0.444,0.936 0.512,0.886 0.571,0.911 0.586,0.916 0.682,0.948 0.719,0.981 0.726,0.998 0.788,0.914 0.855,0.964 0.874,0.978 0.893,0.992 0.897,0.985 0.911,0.998 0.922,0.994 0.939,0.984 0.954,0.984 0.969,0.984 1,1 1,1"
        );
      
        TweenMax.fromTo(
          target,
          0.8,
          {
            y: "-100%",
            autoAlpha: 0
          },
          {
            y: "0%",
            autoAlpha: 1,
            ease: "bounce"
          }
        );
        

        ingredientsTitle = currentIngredientsTitle;
        btn.addClass("is-disabled");
        infoText.text("You are on the right path :)");
        info.removeClass("error");
        info.addClass("correct");
        if (ingredientsTitle == "flag") {
          burgerCircle.addClass("finished");
          infoText.text("Congratulations, help yourself :) It is free...");
        }
      } else {
        info.removeClass("correct");
        info.addClass("error");
        infoText.text("Sorry, it is a wrong order. Try again :)");
        TweenMax.to(info, 0.06, {
          x: "+=10",
          yoyo: true,
          repeat: 10,
          onComplete: function() {
            TweenMax.set(info, { clearProps: "all" });
          }
        });
      }
    });
  }

  _ingredientsAnimation(bunsBottomBtn, "", ".buns-bottom", "buns-bottom");
  _ingredientsAnimation(meatBtn, "buns-bottom", ".meat", "meat");
  _ingredientsAnimation(flagBtn, "buns-top", ".flag", "flag");
  _ingredientsAnimation(bunsTopBtn, "salad", ".buns-top", "buns-top");
  _ingredientsAnimation(cheesBtn, "meat", ".cheese", "cheese");
  _ingredientsAnimation(saladBtn, "egg", ".salad", "salad");
  _ingredientsAnimation(eggBtn, "cheese", ".egg", "egg");
}

goodBurger();

              
            
!
999px

Console