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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <button type="button" id="large" class="btn btn-default btn-sm" data-mode="large">Large</button>
<button type="button" id="large" class="btn btn-default btn-sm" data-mode="medium">Medium</button>
<button type="button" id="small" class="btn btn-default btn-sm" data-mode="small">Small</button>

<div class="header" mode="large">
  <div class="logo">
    <!-- 84kb SVG -->
    <svg viewBox="0 0 315.994 185.13">
      <g id="LogoB">
        <g id="LogoBLogotype">
          <path d="M40.087,184.792v-0.261c0.243-0.023,0.374-0.136,0.374-0.377v-8.604c0-0.237-0.111-0.354-0.374-0.374v-0.26h3.322v0.26
            c-0.188,0.078-0.282,0.152-0.282,0.284c0,0.318,1.861,4.561,2.215,5.575c0.98-2.441,2.273-5.291,2.273-5.556
            c0-0.167-0.093-0.245-0.302-0.304v-0.26h3.288v0.26c-0.283,0.02-0.414,0.137-0.414,0.374v8.604c0,0.241,0.131,0.354,0.45,0.377
            v0.261h-2.63v-0.261c0.343-0.023,0.452-0.136,0.452-0.377v-6.947h-0.036c-0.843,2.569-2.046,5.065-3.023,7.585h-0.28
            c-0.942-2.461-2.124-4.938-2.893-7.512h-0.04v6.874c0,0.241,0.113,0.354,0.454,0.377v0.261H40.087z"/>
          <path d="M59.101,183.218h4.317c0.433,0,0.581-0.055,0.637-0.343h0.265v2.255h-0.265c-0.056-0.283-0.204-0.338-0.637-0.338H56.62
            v-0.265c0.508-0.05,0.602-0.171,0.602-0.485v-8.375c0-0.318-0.094-0.432-0.638-0.49v-0.26h6.574c0.429,0,0.581-0.055,0.634-0.343
            h0.263v2.217h-0.263c-0.053-0.241-0.205-0.3-0.634-0.3h-4.057v2.445h2.4c0.432,0,0.583-0.059,0.641-0.342h0.264v2.22h-0.264
            c-0.057-0.249-0.209-0.303-0.641-0.303h-2.4V183.218z"/>
          <path d="M70.268,184.792v-0.261c0.336-0.054,0.43-0.171,0.43-0.489v-8.375c0-0.318-0.093-0.432-0.358-0.49v-0.26h3.097v0.26
            c-0.262,0.02-0.336,0.059-0.336,0.172c0,0.318,3.249,5.369,3.436,6.213h0.038v-5.895c0-0.318-0.095-0.432-0.412-0.49v-0.26h2.555
            v0.26c-0.321,0.059-0.416,0.172-0.416,0.49v8.375c0,0.377,0.095,0.436,0.34,0.489v0.261h-2.743v-0.261
            c0.187-0.042,0.357-0.077,0.357-0.264c0-0.323-3.192-5.016-3.793-6.723h-0.036v6.497c0,0.318,0.093,0.436,0.395,0.489v0.261
            H70.268z"/>
          <path d="M85.263,175.667c0-0.318-0.094-0.432-0.45-0.49v-0.26h4.128c3.12,0,4.545,2.177,4.545,4.938
            c0,3.324-1.728,4.938-4.921,4.938h-3.752v-0.265c0.356-0.05,0.45-0.171,0.45-0.485V175.667z M87.14,183.218h1.091
            c2.494,0,3.376-0.79,3.376-3.363c0-2.574-0.882-3.363-3.376-3.363H87.14V183.218z"/>
          <path d="M103.62,174.804c2.876,0,4.506,2.231,4.506,5.051c0,2.814-1.63,5.051-4.506,5.051c-2.874,0-4.505-2.236-4.505-5.051
            C99.115,177.035,100.747,174.804,103.62,174.804 M103.62,183.326c1.672,0,2.627-1.24,2.627-3.472c0-2.235-0.955-3.476-2.627-3.476
            c-1.671,0-2.63,1.24-2.63,3.476C100.99,182.086,101.949,183.326,103.62,183.326"/>
          <path d="M118.577,176.495h-3.812c-0.432,0-0.579,0.051-0.633,0.467h-0.267v-2.423h0.267c0.054,0.323,0.201,0.378,0.633,0.378
            h6.688v0.26l-4.861,8.041h4.033c0.431,0,0.585-0.059,0.638-0.451h0.262v2.363h-0.262c-0.053-0.283-0.207-0.338-0.638-0.338h-6.836
            v-0.338L118.577,176.495z"/>
          <path d="M126.704,184.792v-0.265c0.244-0.02,0.34-0.299,0.396-0.447l2.741-8.04c0.114-0.334,0.169-0.486,0.169-0.638
            c0-0.112-0.071-0.19-0.412-0.226v-0.26h3.133v0.26c-0.281,0.023-0.395,0.133-0.395,0.323c0,0.108,0.059,0.265,0.228,0.77
            l2.686,7.811c0.113,0.339,0.187,0.412,0.394,0.447v0.265h-2.553v-0.265c0.242-0.035,0.338-0.073,0.338-0.202
            c0-0.097-0.019-0.19-0.076-0.322l-0.602-1.73h-3.377l-0.526,1.563c-0.056,0.132-0.078,0.26-0.078,0.338
            c0,0.163,0.096,0.334,0.416,0.354v0.265H126.704z M132.321,180.958l-1.24-3.941h-0.038l-1.22,3.941H132.321z"/>
          <path d="M146.657,179.384c0.714,0,1.282,0.544,1.282,1.275c0,0.73-0.568,1.279-1.282,1.279c-0.713,0-1.272-0.549-1.272-1.279
            C145.384,179.928,145.943,179.384,146.657,179.384"/>
          <path d="M157.678,184.792v-0.265c0.24-0.02,0.334-0.299,0.393-0.447l2.742-8.04c0.112-0.334,0.17-0.486,0.17-0.638
            c0-0.112-0.078-0.19-0.416-0.226v-0.26h3.133v0.26c-0.278,0.023-0.395,0.133-0.395,0.323c0,0.108,0.061,0.265,0.228,0.77
            l2.685,7.811c0.112,0.339,0.188,0.412,0.395,0.447v0.265h-2.554v-0.265c0.245-0.035,0.338-0.073,0.338-0.202
            c0-0.097-0.018-0.19-0.071-0.322l-0.605-1.73h-3.375l-0.528,1.563c-0.052,0.132-0.073,0.26-0.073,0.338
            c0,0.163,0.091,0.334,0.412,0.354v0.265H157.678z M163.291,180.958l-1.242-3.941h-0.035l-1.221,3.941H163.291z"/>
          <path d="M172.107,184.792v-0.261c0.318-0.054,0.412-0.171,0.412-0.489v-8.375c0-0.318-0.094-0.432-0.449-0.49v-0.26h4.696
            c2.062,0,3.3,1.049,3.3,2.74c0,1.428-0.692,2.477-2.12,2.796l1.465,2.854c0.41,0.848,0.508,1.171,0.883,1.225v0.261h-2.775v-0.261
            c0.205-0.023,0.372-0.077,0.372-0.249c0-0.093-0.021-0.187-0.224-0.583l-1.562-3.001h-1.708v3.344
            c0,0.318,0.096,0.436,0.451,0.489v0.261H172.107z M174.397,179.123h2.16c1.146,0,1.634-0.489,1.634-1.313
            c0-0.828-0.488-1.318-1.634-1.318h-2.16V179.123z"/>
          <path d="M193.074,181.149h-1.426c-0.434,0-0.583,0.054-0.637,0.505h-0.265v-2.531l0.265-0.02c0.076,0.394,0.392,0.618,1.312,0.618
            h3.115v0.265c-0.393,0-0.488,0.074-0.488,0.486v2.161c0,0.412,0.058,0.428,0.245,0.471v0.147c-0.96,1.108-2.496,1.653-3.945,1.653
            c-2.834,0-4.857-2.1-4.857-4.919c0-2.877,1.951-5.183,4.899-5.183c1.031,0,1.743,0.245,2.269,0.486
            c0.527,0.245,0.847,0.489,1.035,0.489c0.111,0,0.354-0.151,0.433-0.187l0.148,0.109l-1.616,2.29l-0.187-0.074
            c0.077-0.124,0.077-0.276,0.077-0.428c0-0.474-0.716-1.108-2.182-1.108c-1.913,0-3.002,1.389-3.002,3.492
            c0,2.702,1.73,3.452,3.173,3.452c0.92,0,1.35-0.334,1.633-0.579V181.149z"/>
          <path d="M203.433,183.218h4.319c0.432,0,0.584-0.055,0.637-0.343h0.266v2.255h-0.266c-0.053-0.283-0.205-0.338-0.637-0.338h-6.794
            v-0.265c0.504-0.05,0.6-0.171,0.6-0.485v-8.375c0-0.318-0.096-0.432-0.642-0.49v-0.26h6.576c0.43,0,0.579-0.055,0.637-0.343h0.26
            v2.217h-0.26c-0.058-0.241-0.207-0.3-0.637-0.3h-4.06v2.445h2.403c0.432,0,0.583-0.059,0.639-0.342h0.265v2.22h-0.265
            c-0.056-0.249-0.207-0.303-0.639-0.303h-2.403V183.218z"/>
          <path d="M214.602,184.792v-0.261c0.337-0.054,0.434-0.171,0.434-0.489v-8.375c0-0.318-0.097-0.432-0.36-0.49v-0.26h3.098v0.26
            c-0.261,0.02-0.336,0.059-0.336,0.172c0,0.318,3.248,5.369,3.436,6.213h0.04v-5.895c0-0.318-0.099-0.432-0.416-0.49v-0.26h2.552
            v0.26c-0.316,0.059-0.41,0.172-0.41,0.49v8.375c0,0.377,0.094,0.436,0.336,0.489v0.261h-2.739v-0.261
            c0.186-0.042,0.354-0.077,0.354-0.264c0-0.323-3.189-5.016-3.788-6.723h-0.038v6.497c0,0.318,0.096,0.436,0.394,0.489v0.261
            H214.602z"/>
          <path d="M231.551,184.792v-0.261c0.282-0.054,0.376-0.171,0.376-0.489v-7.547h-2.253c-0.431,0-0.581,0.051-0.636,0.428h-0.263
            v-2.345h0.263c0.055,0.284,0.205,0.339,0.636,0.339h6.384c0.432,0,0.579-0.055,0.637-0.339h0.263v2.345h-0.263
            c-0.058-0.377-0.205-0.428-0.637-0.428h-2.25v7.547c0,0.318,0.089,0.436,0.444,0.489v0.261H231.551z"/>
          <path d="M242.717,184.792v-0.261c0.545-0.054,0.641-0.171,0.641-0.489v-8.375c0-0.318-0.096-0.432-0.641-0.49v-0.26h3.157v0.26
            c-0.546,0.059-0.64,0.172-0.64,0.49v8.375c0,0.318,0.094,0.436,0.64,0.489v0.261H242.717z"/>
          <path d="M252.023,184.792v-0.261c0.343-0.054,0.435-0.171,0.435-0.489v-8.375c0-0.318-0.092-0.432-0.356-0.49v-0.26h3.098v0.26
            c-0.261,0.02-0.335,0.059-0.335,0.172c0,0.318,3.245,5.369,3.436,6.213h0.035v-5.895c0-0.318-0.094-0.432-0.414-0.49v-0.26h2.557
            v0.26c-0.318,0.059-0.412,0.172-0.412,0.49v8.375c0,0.377,0.094,0.436,0.331,0.489v0.261h-2.736v-0.261
            c0.187-0.042,0.352-0.077,0.352-0.264c0-0.323-3.186-5.016-3.788-6.723h-0.039v6.497c0,0.318,0.097,0.436,0.393,0.489v0.261
            H252.023z"/>
          <path d="M265.824,184.792v-0.265c0.24-0.02,0.334-0.299,0.393-0.447l2.741-8.04c0.112-0.334,0.171-0.486,0.171-0.638
            c0-0.112-0.078-0.19-0.416-0.226v-0.26h3.138v0.26c-0.284,0.023-0.394,0.133-0.394,0.323c0,0.108,0.059,0.265,0.222,0.77
            l2.683,7.811c0.117,0.339,0.195,0.412,0.397,0.447v0.265h-2.551v-0.265c0.241-0.035,0.334-0.073,0.334-0.202
            c0-0.097-0.016-0.19-0.073-0.322l-0.603-1.73h-3.379l-0.525,1.563c-0.054,0.132-0.073,0.26-0.073,0.338
            c0,0.163,0.093,0.334,0.416,0.354v0.265H265.824z M271.438,180.958l-1.24-3.941h-0.039l-1.217,3.941H271.438z"/>
          <polygon fill="#B7ADA5" points="25.336,144.575 19.772,126.383 18.509,130.89 22.691,144.575 		"/>
          <path fill="#B7ADA5" d="M27.681,159.407v-0.917c0.809-0.078,1.091-0.459,1.091-0.914c0-0.311-1.72-5.89-1.951-6.886H13.233
            c-0.111,0.432-0.211,0.789-0.313,1.163h11.618c0.225,0.995,1.953,6.582,1.953,6.882c0,0.462-0.292,0.84-1.091,0.917v0.918H36.69
            v-0.918c-0.24,0-0.433-0.093-0.621-0.245H27.681z"/>
          <path fill="#B7ADA5" d="M2.283,159.407v-0.917c0.807-0.229,1.151-0.533,1.491-1.762c0.52-1.757,10.208-35.396,10.208-35.851
            c0-0.241-0.143-0.404-0.338-0.518h-3.095v0.922c0.515,0.074,1.142,0.226,1.142,0.762c0,0.459-9.69,34.094-10.204,35.848
            c-0.346,1.229-0.689,1.535-1.487,1.761v0.918h10.146v-0.918c-0.433,0-0.687-0.093-0.845-0.245H2.283z"/>
          <path fill="#B7ADA5" d="M51.708,159.407v-0.917c1.429-0.156,1.604-0.685,1.604-1.377v-35.621c0-0.482-0.107-0.875-0.648-1.132
            h-3.241v0.922c1.431,0.147,1.604,0.688,1.604,1.372v35.622c0,0.691-0.173,1.229-1.604,1.376v0.918h11.81v-0.918
            c-0.438-0.035-0.726-0.136-0.956-0.245H51.708z"/>
          <path fill="#B7ADA5" d="M73.095,159.407v-0.917c0.804-0.078,1.256-0.459,1.256-1.377c0-0.688-6.075-11.236-6.822-12.842h-5.62
            v1.163h3.334c0.749,1.605,6.826,12.153,6.826,12.842c0,0.921-0.456,1.299-1.266,1.376v0.918h11.927v-0.918
            c-0.268,0-0.511-0.089-0.756-0.245H73.095z"/>
          <path fill="#B7ADA5" d="M73.671,133.121c0,1.12-0.258,2.177-0.954,2.951c2.454-0.416,3.244-2.174,3.244-4.114
            c0-2.212-1.033-4.198-4.414-4.198h-9.638v1.166h7.347C72.643,128.926,73.671,130.905,73.671,133.121"/>
          <path fill="#B7ADA5" d="M123.671,132.134c0,0.381-0.059,0.688-0.116,0.84l0.686,0.532l1.227-3.316
            c-1.425-1.349-5.985-2.889-9.947-2.889c-2.106,0-4.141,0.599-5.851,1.796c1.135-0.408,2.327-0.63,3.563-0.63
            C117.996,128.467,123.671,130.68,123.671,132.134"/>
          <path fill="#B7ADA5" d="M96.597,139.303c0-8.841,3.701-14.763,8.873-17.896c-6.33,2.671-11.16,8.966-11.16,19.06
            c0,13.837,9.06,20.566,18.632,20.566c5.809,0,11.064-1.317,15.625-3.907c-4.007,1.809-8.479,2.741-13.329,2.741
            C105.661,159.866,96.597,153.14,96.597,139.303"/>
          <path fill="#B7ADA5" d="M124.122,149.851v-5.046h-7.396c-0.542,0-0.737,0.462-0.823,1.162h5.93v4.615
            C122.62,150.372,123.385,150.143,124.122,149.851"/>
          <path fill="#B7ADA5" d="M113.578,136.795h-0.687v10.704h0.687c0.058-0.918,0.229-1.532,0.862-1.532h0.73v-7.795h-0.73
            C113.808,138.172,113.636,137.79,113.578,136.795"/>
          <path fill="#B7ADA5" d="M145.966,158.494c1.433-0.16,1.608-0.685,1.608-1.381v-35.621c0-0.482-0.116-0.875-0.653-1.132h-3.241
            v0.922c1.431,0.147,1.605,0.685,1.605,1.372v35.622c0,0.691-0.175,1.229-1.605,1.38v0.914h28.611c0.629,0,0.865,0.385,1.03,1.68
            h0.689v-2.843h-28.046V158.494z"/>
          <path fill="#B7ADA5" d="M156.179,129.381h16.114c0.629,0,0.864,0.385,1.031,2.139h0.687v-3.302h-17.832V129.381z"/>
          <path fill="#B7ADA5" d="M166.272,145.896h0.687v-2.904c-0.046-0.004-0.067-0.023-0.117-0.023h-10.664v1.167h8.378
            C165.697,144.136,166.1,144.901,166.272,145.896"/>
          <path fill="#B7ADA5" d="M213.801,122.654v15.926c0.864,1.252,1.656,2.391,2.285,3.32v-20.408c0-0.575-0.19-0.922-0.505-1.132
            h-2.979v0.922C213.343,121.356,213.801,121.737,213.801,122.654"/>
          <path fill="#B7ADA5" d="M214.484,159.407v-0.917c1.028,0,1.319-0.3,1.319-0.844c0-0.991-1.43-1.983-16.568-24.541v4.561
            c12.974,19.233,14.281,20.21,14.281,21.15c0,0.537-0.287,0.836-1.318,0.836v0.918h10.893v-0.918
            c-0.435-0.035-0.72-0.136-0.959-0.245H214.484z"/>
          <path fill="#B7ADA5" d="M189.951,159.407v-0.917c1.434-0.156,1.599-0.685,1.599-1.377v-35.621c0-0.482-0.107-0.875-0.647-1.132
            h-3.248v0.922c1.437,0.147,1.61,0.688,1.61,1.372v35.622c0,0.691-0.174,1.229-1.61,1.376v0.918h10.896v-0.918
            c-0.432-0.035-0.721-0.136-0.954-0.245H189.951z"/>
          <path fill="#B7ADA5" d="M257.427,129.688h7.577c0.63,0,0.858,0.39,1.034,2.135h0.684v-3.297h-9.295V129.688z"/>
          <path fill="#B7ADA5" d="M247.222,159.407v-0.917c1.434-0.156,1.608-0.685,1.608-1.377v-28.588h-9.865
            c-0.485,0-0.731,0.245-0.901,1.162h8.479v28.589c0,0.691-0.171,1.229-1.606,1.376v0.918h11.813v-0.918
            c-0.436-0.035-0.727-0.136-0.96-0.245H247.222z"/>
          <path fill="#B7ADA5" d="M235.646,118.223h-0.687v13.6h0.687c0.176-1.749,0.4-2.135,1.039-2.135h0.563v-9.327h-0.563
            C236.046,120.36,235.821,119.976,235.646,118.223"/>
          <path fill="#B7ADA5" d="M279.218,139.303c0-8.841,3.558-14.953,8.779-18.103c-6.45,2.625-11.073,9.184-11.073,19.266
            c0,13.378,8.149,20.566,17.896,20.566c3.305,0,6.415-0.847,9.098-2.461c-2.111,0.855-4.405,1.295-6.812,1.295
            C287.355,159.866,279.218,152.682,279.218,139.303"/>
          <path fill="#B7ADA5" d="M304.222,140.466c0,4.463-1.707,7.709-4.188,9.533c3.654-1.283,6.47-4.973,6.47-10.696
            c0-7.188-4.409-11.244-9.397-11.244c-1.894,0-3.697,0.591-5.214,1.707c0.934-0.326,1.909-0.54,2.928-0.54
            C299.809,129.226,304.222,133.28,304.222,140.466"/>
          <path d="M14.239,149.758c-1.491,5.575-1.839,6.57-1.839,7.025c0,0.463,0.23,0.77,1.034,0.77v0.918H3.284v-0.918
            c0.804-0.229,1.146-0.532,1.493-1.757c0.515-1.762,10.204-35.393,10.204-35.859c0-0.532-0.629-0.684-1.147-0.758v-0.922H28.8
            v0.922c-0.63,0.074-1.031,0.226-1.031,0.991c0,0.61,7.049,23.468,10.606,35.089c0.576,1.835,0.917,2.294,1.607,2.294v0.918H28.685
            v-0.918c0.803-0.077,1.086-0.459,1.086-0.917c0-0.308-1.713-5.887-1.944-6.878H14.239z M15.671,143.638h10.663l-5.558-18.191
            L15.671,143.638z"/>
          <path d="M62.911,156.177c0,0.688,0.176,1.225,1.606,1.376v0.918H52.709v-0.918c1.432-0.151,1.607-0.688,1.607-1.376v-35.622
            c0-0.688-0.175-1.225-1.607-1.376v-0.922H73.69c8.484,0,12.098,3.978,12.098,12.694c0,7.03-3.438,10.773-8.196,12.535l6.762,12.69
            c0.516,0.991,1.035,1.376,1.664,1.376v0.918H74.091v-0.918c0.806-0.077,1.264-0.459,1.264-1.376c0-0.692-6.075-11.24-6.823-12.838
            h-5.62V156.177z M62.911,135.232h9.633c3.385,0,4.417-1.987,4.417-4.207c0-2.216-1.032-4.203-4.417-4.203h-9.633V135.232z"/>
          <path d="M125.122,143.871h-7.397c-0.629,0-0.8,0.61-0.858,1.528h-0.688v-10.704h0.688c0.059,0.995,0.229,1.373,0.858,1.373h16.918
            v0.925c-0.687,0.074-0.917,0.459-0.917,1.295v12.69c0,0.688,0.116,1.299,0.684,1.299h0.291v0.917
            c-5.163,3.826-11.412,5.735-18.465,5.735c-9.577,0-18.636-6.727-18.636-20.563c0-13.842,9.059-20.563,18.636-20.563
            c3.78,0,5.444,0.381,9.344,1.835c1.894,0.684,3.73,1.982,4.188,1.982c0.345,0,0.632-0.303,0.805-0.61l0.688,0.308l-3.731,10.085
            l-0.688-0.532c0.056-0.152,0.114-0.459,0.114-0.836c0-1.458-5.675-3.671-10.437-3.671c-5.444,0-10.429,3.9-10.429,12.158
            c0,8.254,6.018,11.851,11.006,11.851c3.153,0,5.673-0.541,8.026-1.458V143.871z"/>
          <path d="M170.247,143.794h-0.688c-0.174-0.992-0.573-1.758-1.724-1.758h-10.664v7.111h18.411c0.627,0,0.857-0.385,1.022-2.302
            h0.691v13.312h-0.691c-0.165-1.303-0.396-1.688-1.022-1.688h-28.613v-0.918c1.433-0.151,1.607-0.688,1.607-1.376v-35.622
            c0-0.688-0.174-1.225-1.607-1.376v-0.922h28.613c0.627,0,0.857-0.381,1.022-2.134h0.691v13.297h-0.691
            c-0.165-1.754-0.396-2.143-1.022-2.143h-18.411v6.349h10.664c1.15,0,1.55-0.77,1.724-1.757h0.688V143.794z"/>
          <path d="M192.546,120.555c0-0.691-0.17-1.225-1.599-1.376v-0.922h13.813v0.922c-1.316,0.074-1.605,0.536-1.605,0.991
            c0,0.836,9.922,14.906,13.937,20.801v-20.416c0-0.917-0.461-1.302-1.206-1.376v-0.922h10.491v0.922
            c-1.434,0.151-1.605,0.685-1.605,1.376v35.622c0,0.688,0.172,1.225,1.605,1.376v0.918h-10.892v-0.918
            c1.029,0,1.316-0.307,1.316-0.84c0-0.991-1.433-1.986-16.572-24.541v24.005c0,0.688,0.176,1.225,1.61,1.376v0.918h-10.893v-0.918
            c1.429-0.151,1.599-0.688,1.599-1.376V120.555z"/>
          <path d="M248.224,158.471v-0.918c1.433-0.151,1.602-0.688,1.602-1.376v-28.592h-9.86c-0.629,0-0.86,0.381-1.031,2.142h-0.689
            v-13.604h0.689c0.171,1.753,0.402,2.134,1.031,2.134h28.328c0.626,0,0.859-0.381,1.034-2.134h0.681v13.604h-0.681
            c-0.175-1.761-0.408-2.142-1.034-2.142h-9.865v28.592c0,0.688,0.169,1.225,1.607,1.376v0.918H248.224z"/>
          <path d="M315.994,138.366c0,13.374-8.142,20.563-17.889,20.563c-9.751,0-17.889-7.189-17.889-20.563
            c0-13.379,8.138-20.563,17.889-20.563C307.853,117.803,315.994,124.987,315.994,138.366 M288.701,138.366
            c0,7.185,4.412,11.232,9.404,11.232c4.988,0,9.401-4.048,9.401-11.232c0-7.189-4.413-11.24-9.401-11.24
            C293.113,127.126,288.701,131.177,288.701,138.366"/>
        </g>
        <g id="LogoBRoundel">
          <path d="M182.5,70.836c-0.155-0.066-0.313-0.132-0.479-0.222c-1.212-1.011-2.283-2.896-3.204-5.591l-0.044-0.159
            c-0.598-1.73-12.878-40.276-13.409-42.093c-0.481-1.641,0.058-2.173,0.288-2.402c0.189-0.19,0.306-0.416,0.417-0.638l0.04-0.074
            c0.033-0.073,0.075-0.151,0.114-0.218c0.164-0.275,0.16-0.87-0.018-1.438c-0.179-0.567-0.688-1.605-2.084-2.224
            c-1.145-0.56-2.345-0.848-3.559-0.848c-2.215,0-3.898,0.934-4.462,1.291c-1.54-0.898-3.417-1.45-4.935-1.45
            c-1.533,0-2.908,0.524-3.858,1.478c-1.958,1.959-1.688,2.85-0.547,4.568c0.806,1.209,0.249,2.811,0.12,3.142
            c-0.12,0.381-13.919,44.013-14.323,45.396c-0.336,1.15-1.584,1.766-1.96,1.925c-0.04,0.02-0.078,0.031-0.116,0.043l-0.031,0.007
            c-0.225,0.07-0.611,0.191-0.811,0.584c-0.195,0.389-0.163,0.909,0.116,1.699c1.117,2.398,2.876,3.615,5.233,3.615
            c1.248,0,2.636-0.35,4.112-1.042c1.125,0.758,2.277,1.14,3.417,1.14c1.938,0,3.879-1.132,5.456-3.177
            c0.243-0.319,0.34-0.72,0.271-1.12c-0.054-0.381-0.262-0.727-0.549-0.917c-0.072-0.051-0.151-0.094-0.241-0.145
            c-0.291-0.167-0.524-0.291-0.659-0.797c-0.162-0.61,1.09-5.603,1.792-7.126c0.414-0.898,0.987-0.91,1.504-0.918l0.026-0.004
            c0.101-0.004,0.191-0.008,0.272-0.02c0.508-0.051,8.845-0.33,11.048-0.33c1.748,0,2.132,0.684,2.132,0.684l0.015,0.031
            c0.207,0.506,1.25,3.149,1.756,5.35c0.555,2.423,0.298,3.076,0.01,3.367l-0.323,0.222l-0.02,0.016
            c-0.489,0.475-0.557,0.626-0.448,1.594c0.16,1.361,1.863,3.5,4.995,3.783c0.036,0,0.077,0,0.111,0c0.133,0,0.265-0.008,0.398-0.02
            c0.115-0.016,0.225-0.027,0.32-0.027c2.281,0,3.647-0.964,4.187-1.349c0.727,0.342,2.373,1.026,3.561,0.891
            c4.495-0.518,5.467-4.281,5.467-5.183C183.598,71.322,183.086,71.097,182.5,70.836 M165.935,68.697
            c-0.403-1.776-1.427-4.879-1.716-5.447h0.014c-0.033-0.12-0.38-1.17-2.795-1.17c-2.026,0-10.548,0.202-11.113,0.265
            c-0.068,0.008-0.177,0.016-0.268,0.02c-0.384,0.008-1.562,0.031-2.251,1.539c-0.557,1.213-2.01,6.411-1.725,7.484
            c0.229,0.859,0.531,1.026,0.887,1.217c0.021,0.02,0.068,0.043,0.124,0.07c0.08,0.047,0.165,0.094,0.199,0.109
            c0.05,0.038,0.158,0.194,0.188,0.389c0.015,0.101-0.038,0.354-0.207,0.563c-1.393,1.823-3.079,2.826-4.747,2.826
            c-1.067,0-2.086-0.396-3.128-1.213c-0.232-0.206-0.646,0.062-0.75,0.14c-1.478,0.72-2.551,1.016-3.698,1.016
            c-2.004,0-3.573-1.089-4.521-3.126c-0.107-0.3-0.2-0.731-0.018-1.077c0.025-0.059,0.116-0.098,0.296-0.155
            c0.049-0.012,0.159-0.062,0.398-0.191c0.093-0.054,0.173-0.097,0.204-0.108c0.638-0.272,1.479-0.887,1.89-2.259
            c0.298-1.038,8.494-26.917,12.441-39.359c1.121-3.542,1.861-5.878,1.885-5.96c0.009-0.023,0.918-2.243-0.234-3.966
            c-0.904-1.36-0.921-1.959,0.722-3.6c0.721-0.728,1.865-1.108,3.301-1.108c1.377,0,3.04,0.544,4.58,1.501
            c0.099,0.058,0.301,0.116,0.486-0.027c0.018-0.016,1.779-1.407,4.21-1.407c1.041,0,2.155,0.275,3.234,0.809
            c1.748,0.777,1.779,2.352,1.734,2.523c-0.042,0.069-0.09,0.167-0.128,0.252c-0.014,0.039-0.034,0.078-0.056,0.109
            c-0.083,0.159-0.324,0.467-0.455,0.591c-0.245,0.249-0.768,1.275-0.209,3.052c0.123,0.389,0.729,2.333,1.622,5.179
            c3.345,10.669,11.165,35.639,11.619,36.964c0.257,0.72,1.595,4.374,3.767,6.136l0.346,0.19c0.615,0.33,0.678,0.377,0.678,0.661
            c-0.005,0.046-0.209,4.218-4.608,4.533c-1.414,0.089-2.942-0.812-3.232-0.995l-0.036-0.02c-0.285-0.098-0.418,0.008-0.462,0.065
            c-0.188,0.145-2.015,1.505-4.772,1.252c-3.008-0.275-4.23-2.375-4.309-3.075c-0.078-0.661-0.051-0.691,0.26-0.999l0.124-0.112
            C166.288,72.192,166.533,71.307,165.935,68.697"/>
          <path d="M137.537,55.031c0.013-0.043,0.024-0.09,0.038-0.132c-0.175,0.012-0.346,0.03-0.532,0.038
            C137.211,54.98,137.372,55.008,137.537,55.031"/>
          <path d="M164.041,63.375l-0.026-0.102c-0.008-0.02-0.065-0.21-0.311-0.42c0.375,0.93,0.771,1.874,1.151,2.823
            c-0.366-1.128-0.701-2.033-0.809-2.306L164.041,63.375z"/>
          <path d="M175.791,57.531c0.058,0.02,0.116,0.035,0.173,0.051c-0.057-0.027-0.125-0.059-0.185-0.082
            C175.779,57.508,175.791,57.52,175.791,57.531"/>
          <path d="M147.079,66.823c1.077-1.119,1.649-2.771,2.468-4.207c-0.217,0.047-0.448,0.137-0.668,0.284
            c-0.496,1.174-0.969,2.465-1.666,3.444C147.17,66.505,147.119,66.664,147.079,66.823"/>
          <path d="M169.612,77.157c-0.102-0.012-0.199-0.022-0.301-0.038c0.127,0.338-0.052,0.155,0.071,0.489
            c-0.35-0.326-0.322-0.171-0.569-0.579c-0.129-0.027-0.261-0.051-0.374-0.086c0.247,0.572,0.501,1.567,1.365,1.396
            c0.059-0.393,0.028-0.786-0.046-1.175C169.713,77.157,169.662,77.157,169.612,77.157"/>
          <path d="M155.577,16.617c0.364-0.012,0.714-0.035,1.074-0.039c0.221-0.136,0.525-0.311,0.89-0.478
            c-0.28-0.004-0.553-0.02-0.836-0.02c-0.687,0-1.367,0.026-2.052,0.065C154.961,16.287,155.272,16.442,155.577,16.617"/>
          <path d="M170.324,75.805c-1.149,0-2.219-0.393-3.172-1.162c-0.173-0.105-0.446-0.308-0.498-0.618
            c-0.055-0.347,0.171-0.615,0.404-0.887c0.042-0.059,0.094-0.121,0.148-0.187c0.363-0.475,0.864-1.108,0.44-2.698
            c-0.447-1.676-2.052-7.329-2.072-7.392c-0.017-0.093-0.425-1.943-2.691-1.943c0,0-0.469-0.008-0.832-0.02
            c-0.82-0.02-2.197-0.051-3.998-0.051c-2.967,0-3.533-0.062-6.462,0.116c-0.056,0-2.506,0.141-2.57,0.145
            c-0.633,0.065-1.873,0.334-2.437,2.251c-0.113,0.408-0.24,0.875-0.384,1.364c-0.687,2.435-1.894,6.144-1.463,7.041
            c0.205,0.436,0.639,0.898,0.887,1.132c0.355,0.338,0.803,0.524,0.27,1.205c-0.399,0.514-1.561,1.271-3.094,1.271
            c-1.132,0-2.203-0.416-3.189-1.225c-0.364-0.288-1.188,0.07-1.854,0.42c-0.298,0.151-0.582,0.296-0.825,0.369
            c-0.592,0.183-1.169,0.276-1.713,0.276c-1.451,0-2.608-0.638-3.449-1.917c-0.139-0.155-0.203-0.346-0.164-0.532
            c0.074-0.339,0.438-0.506,0.789-0.657c0.129-0.059,0.254-0.113,0.358-0.183c0.046-0.027,0.089-0.051,0.141-0.078
            c0.418-0.237,1.123-0.626,2.222-4.223c1.234-4.035,13.927-44.028,14.056-44.433c0.175-0.82,0.438-3.168-0.476-3.806
            c-0.267-0.21-0.378-0.479-0.327-0.778c0.092-0.56,0.729-1.022,1.278-1.221c0.406-0.144,1.133-0.404,2.091-0.404
            c1.24,0,2.486,0.443,3.698,1.307c0.144,0.086,0.223,0.167,0.305,0.214c0.554-0.393,2.45-1.621,4.601-1.621
            c0.965,0,1.865,0.245,2.669,0.723c0.615,0.439,0.877,0.785,0.862,1.116c-0.016,0.377-0.339,0.571-0.595,0.734l-0.07,0.043
            c-0.319,0.198-0.786,0.941-0.52,2.01c0.086,0.37,14.078,44.146,15.601,46.852c1.515,2.69,1.949,3.013,2.134,3.161
            c0.024,0.019,0.057,0.034,0.099,0.058c0.288,0.198,0.826,0.553,0.923,1.089c0.054,0.249-0.006,0.502-0.163,0.734
            c-0.329,0.471-1.545,2.003-3.495,2.003c-0.83,0-1.683-0.284-2.526-0.844c-0.249-0.132-0.517-0.202-0.762-0.202
            c-0.488,0-0.864,0.261-1.212,0.532C172.964,75.147,171.791,75.805,170.324,75.805 M132.069,72.769
            c0.588,1.831,2.564,2.387,4.489,1.792c0.185-0.059,0.884-0.315,1.159-0.463c0.547-0.28,0.888-0.459,1.463-0.459
            c0.287,0,0.652,0.284,0.864,0.443c0.885,0.728,1.911,0.926,2.904,0.926c1.248,0,2.354-0.696,2.695-1.132
            c0.192-0.245,0-0.497-0.387-0.867c-0.259-0.244-0.501-0.54-0.758-1.072c-0.49-1.02,0.4-3.877,1.385-7.333
            c0.138-0.494,0.289-0.956,0.393-1.365c0.649-2.647,2.952-2.461,2.952-2.461c2.878-0.175,5.74-0.334,8.715-0.334
            c1.805,0,3.299,0.059,4.119,0.078c0.36,0.011,0.914,0.022,0.914,0.022c2.468-0.054,3.197,2.858,2.936,2.193
            c0.011,0.039,1.601,5.688,2.047,7.375c0.498,1.866-0.011,2.508-0.402,3.01c-0.058,0.07-0.241,0.303-0.299,0.369
            c-0.117,0.14-0.215,0.443-0.197,0.514c0,0.012,0.228,0.338,0.458,0.481c0.876,0.704,1.813,0.98,2.826,0.98
            c1.303,0,2.625-0.813,2.882-1.019c0.412-0.315,0.625-0.443,1.293-0.443c0.345,0,0.691,0.218,1.051,0.412
            c0.783,0.505,1.615,0.645,2.331,0.645c1.705,0,2.788-1.473,3.031-1.741c0.16-0.183,0.139-0.544,0.127-0.61
            c-0.059-0.28-0.283-0.518-0.705-0.793c-0.05-0.031-0.265-0.214-0.286-0.241c-0.339-0.312-0.634-0.626-2.051-3.138
            c-1.639-2.885-15.572-46.587-15.675-46.956c-0.247-0.925-0.171-1.672,0.427-2.216l0.374-0.257c0.272-0.167,0.363-0.3,0.363-0.35
            c0,0,0.11-0.315-0.682-0.875c-0.689-0.412-1.615-0.677-2.473-0.677c-2.311,0-4.065,1.365-4.089,1.385c0,0-0.276,0.198-0.29,0.217
            c-0.203,0.202-0.412,0.023-0.412,0.023c-0.008-0.012-0.146-0.132-0.46-0.389c-1.261-0.703-1.846-1.221-2.963-1.221
            c-0.853,0-1.865,0.218-2.245,0.354c-0.517,0.184-1.107,0.606-1.14,0.824c-0.019,0.066-0.226,0.482-0.004,0.649
            c1.383,0.957,0.77,3.846,0.707,4.199c-0.146,0.428-12.633,39.899-13.732,43.966c-0.979,3.651-1.763,4.223-1.92,4.537
            C133.803,71.753,132.68,72.616,132.069,72.769 M152.425,52.686c-0.063,0-1.047-0.05-1.596-0.832
            c-0.416-0.591-0.456-1.419-0.127-2.453l2.854-9.066c0.176-0.553,1.117-3.301,2.389-3.359h0.05c1.547,0,2.22,2.939,2.298,3.266
            l3.035,9.425c0.02,0.051,0.533,1.275-0.074,2.139c-0.296,0.427-0.764,0.591-1.441,0.591
            C158.252,52.395,152.485,52.686,152.425,52.686 M155.903,37.271c-0.635,0.026-1.685,1.92-2.066,3.129l-2.896,9.048
            c-0.263,0.848-0.202,1.695,0.102,2.131c0.374,0.54,0.549,0.719,1.439,0.797c1.477,0,5.9-0.28,7.473-0.28
            c0.482,0,0.911-0.33,1.092-0.599c0.363-0.51,0.07-1.489-0.042-1.804l-2.951-9.343c-0.197-0.739-0.998-3.061-1.919-3.061
            L155.903,37.271z"/>
          <path d="M156.484,51.192c0,0-0.027,0.008-0.062,0.016c0.055-0.004,0.104-0.004,0.155-0.004c0.104-0.016,0.23-0.046,0.384-0.058
            c0.303-0.051,1.606-0.486,2.341-0.731c0.026-0.055,0.054-0.116,0.067-0.187c-0.651,0.245-1.145,0.428-1.285,0.486
            C157.643,50.886,156.484,51.192,156.484,51.192"/>
          <path d="M156.43,51.154c-0.112,0.038-0.112,0.05-0.078,0.054h0.068c0.035-0.004,0.062-0.012,0.062-0.012s1.161-0.311,1.6-0.481
            c0.141-0.059,0.635-0.241,1.285-0.486c0.03-0.097,0.056-0.21,0.058-0.338c-0.659,0.318-1.298,0.646-1.482,0.723
            C157.531,50.792,156.668,51.076,156.43,51.154"/>
          <path d="M156.578,51.204c0.183-0.012,0.359-0.016,0.535-0.022c0.589-0.105,1.551-0.323,1.825-0.424
            c0.042-0.016,0.098-0.031,0.161-0.051c0.071-0.074,0.146-0.175,0.203-0.292c-0.736,0.245-2.038,0.681-2.343,0.731
            C156.806,51.162,156.682,51.188,156.578,51.204"/>
          <path d="M153.85,51.208c0.319,0.016,0.758,0.02,1.199,0.02c-0.497-0.065-1.18-0.147-1.957-0.222
            C153.312,51.135,153.565,51.2,153.85,51.208"/>
          <path d="M152.973,50.462c-0.139-0.035-0.312-0.078-0.503-0.12c0.038,0.081,0.08,0.167,0.136,0.24
            c0.018,0.02,0.037,0.039,0.055,0.059c0.659,0.147,1.163,0.257,1.276,0.288c0.338,0.104,1.132,0.233,1.259,0.264
            c0.048,0.012,0.112,0.023,0.18,0.035c0.079,0,0.171,0,0.261-0.008c-0.296-0.073-0.776-0.171-0.888-0.218
            C154.58,50.921,153.943,50.688,152.973,50.462"/>
          <path d="M159.442,49.12c-0.289-1.321-2.186-8.044-2.205-8.105l-0.004-0.051c-0.304-1.299-0.834-1.575-1.232-1.575h-0.042
            c-0.046,0-0.103,0-0.147,0.004c-0.508,0.094-1.047,1.244-1.522,3.255c-0.393,1.637-1.928,6.804-1.947,6.858
            c-0.018,0.062-0.147,0.652,0.221,1.139c0.3,0.4,0.731,0.618,1.267,0.634c0.372,0.023,0.899,0.023,1.411,0.023
            c1.019,0,2.339-0.039,2.759-0.147l0.533-0.051l0.021-0.008C158.867,51.021,159.8,50.784,159.442,49.12"/>
          <path d="M112.462,47.266c0-0.042-0.028-0.901,0.723-1.851c0.481-0.606,0.461-1.508,0.403-2.088l-0.038-0.35l0.283,0.214
            c0.021,0.008,2.035,1.505,1.135,4.502c-0.009,0.055-0.341,1.385-1.164,1.354c-0.142-0.016-0.287-0.035-0.423-0.09
            C112.954,48.813,112.448,48.405,112.462,47.266 M113.506,45.528c-0.678,0.844-0.65,1.745-0.654,1.761
            c-0.015,0.941,0.217,1.544,0.909,1.571c0.463,0.027,0.818-0.98,0.894-1.303c0.637-2.135-0.262-3.32-0.754-3.83
            C113.919,44.288,113.949,44.964,113.506,45.528"/>
          <path d="M114.756,49.622c-0.442-0.155-0.398-0.482-0.368-0.681c0.325-2.434,4.443-3.717,4.984-3.802l0.203-0.035l-0.023,0.198
            c-0.024,0.35-0.837,2.353-2.284,3.601c-1.182,1.022-2.07,0.874-2.396,0.766C114.806,49.646,114.76,49.626,114.756,49.622
             M114.624,48.888c-0.024,0.198,0.004,0.307,0.24,0.396c0.009,0,0.198,0.062,0.239,0.077c0.281,0.094,0.818,0.105,1.888-0.809
            c1.167-1.011,1.744-2.267,1.951-2.881C117.86,45.964,114.888,46.986,114.624,48.888"/>
          <path d="M112.131,52.402c-0.703-1.318-0.207-3.985-0.183-4.099l0.043-0.214l0.188,0.113c1.033,0.61,1.899,1.894,2.327,3.433
            c0.188,0.681,0.159,1.21-0.087,1.575c-0.259,0.377-0.652,0.432-0.659,0.432c-0.163,0.031-0.331,0.012-0.489-0.043
            C112.868,53.464,112.482,53.06,112.131,52.402 M112.593,52.238c0.414,0.786,0.621,1.271,1.096,1.198
            c0.01-0.004,0.173,0,0.357-0.265c0.188-0.284,0.08-0.828-0.078-1.411c-0.374-1.357-0.99-2.749-1.867-3.355
            C112,49.074,112.053,51.228,112.593,52.238"/>
          <path d="M114.703,53.806c-0.253-0.194-0.416-0.56-0.434-0.968c-0.032-0.378,0.06-1.124,0.848-1.89
            c0.685-0.657,1.382-0.855,1.939-1.022c0.357-0.105,0.665-0.19,0.856-0.378l0.342-0.318l-0.076,0.463
            c-0.32,1.916-1.043,3.277-2.076,3.919c-0.021,0.023-0.659,0.485-1.193,0.303C114.841,53.898,114.773,53.853,114.703,53.806
             M117.14,50.232c-0.549,0.159-1.089,0.369-1.714,0.976c-0.707,0.681-0.784,1.307-0.765,1.626c0.019,0.322,0.015,0.458,0.198,0.595
            c0.03,0.027,0.229,0.226,1.039-0.229c0.9-0.553,1.694-1.645,2.019-3.285C117.725,50.011,117.389,50.154,117.14,50.232"/>
          <path d="M113.073,56.73c-0.227-0.249-1.06-1.189-1.441-3.026l-0.036-0.481l0.366,0.249c0.131,0.085,0.384,0.19,0.583,0.232
            c0.153,0.035,0.327,0.07,0.547,0.145c0.521,0.179,0.988,0.443,1.651,0.949c1.861,1.419,1.143,2.796,1.121,2.838
            c-0.278,0.486-0.766,0.482-1.262,0.319C114.021,57.745,113.656,57.36,113.073,56.73 M112.492,53.977
            c-0.091-0.02-0.418-0.108-0.496-0.128c0.438,1.311,0.978,2.042,1.308,2.535c0.058,0.094,0.58,0.778,1.015,1.073
            c0.179,0.121,0.454,0.381,1.057,0.051c0.382-0.322,0.719-1.364-0.562-2.406c-0.621-0.507-1.117-0.841-1.601-1.005
            C113.016,54.031,112.629,54.004,112.492,53.977"/>
          <path d="M115.821,55.389c0.095-0.622,0.683-1.322,1.208-1.948c0.268-0.335,0.533-0.649,0.676-0.898l0.174-0.314l0.111,0.346
            c0.048,0.151,0.1,0.303,0.15,0.447c0.368,1.076,0.784,2.299-0.363,4.001c-0.03,0.039-0.629,0.992-1.403,0.724
            C115.589,57.484,115.662,56.346,115.821,55.389 M117.158,53.588c-0.492,0.595-0.832,1.218-0.914,1.758
            c-0.127,0.771-0.376,1.999,0.188,2.193c0.543,0.187,0.992-0.766,0.996-0.777c1.066-1.583,0.874-2.536,0.509-3.586
            c-0.012-0.051-0.095-0.346-0.11-0.396C117.682,52.989,117.35,53.358,117.158,53.588"/>
          <path d="M200.404,48.957L200.404,48.957c-0.132,0.055-0.274,0.074-0.422,0.086c-0.818,0.035-1.151-1.295-1.163-1.35
            c-0.899-2.997,1.119-4.494,1.135-4.502l0.281-0.214l-0.032,0.354c-0.058,0.572-0.084,1.478,0.404,2.084
            c0.748,0.949,0.721,1.809,0.721,1.851C201.341,48.405,200.838,48.813,200.404,48.957 M199.89,43.728
            c-0.495,0.506-1.396,1.695-0.754,3.83c0.074,0.322,0.43,1.33,0.894,1.303c0.692-0.027,0.923-0.63,0.909-1.5
              
            
!

CSS

              
                // [mode] attribute selection for demo purposes
// use media queries in production

.header {
  background: #e8e4db;
  height: 50px;
  
  &[mode='medium'] {
    height: 90px;
  }
  
  &[mode='large'] {
    height: 180px;
  }
}

.logo {
  height: 32px;
  width: 31px;
  
  [mode='medium'] & {
    height: 70px;
    width: 114px;
  }
  
  [mode='large'] & {
    height: 141px;
    width: 240px;
  }
}

#LogoC {
	[mode='small'] & {
    opacity: 1;
    transform: translate(-107px);
	}

	[mode='medium'] & {
    opacity: 1;
    transform: translate(0);
	}

	[mode='large'] & {
    opacity: 0;
    transform: translate(0);
	}
}

#LogoBRoundel {
	[mode='small'] & {
		opacity: 0;
	}

	[mode='medium'] & {
		opacity: 0;
	}

	[mode='large'] & {
		opacity: 1;
	}
}

#LogoBLogotype {
	[mode='small'] & {
		opacity: 0;
    transform: translate(0);
	}

	[mode='medium'] & {
		opacity: 1;
    transform: translateY(6px);
	}

	[mode='large'] & {
		opacity: 1;
    transform: translate(0);
	}
}
              
            
!

JS

              
                var header     = document.querySelector('.header');
var logoSVG    = document.querySelector('.logo svg');
var viewbox    = logoSVG.getBBox();
var logoWidth  = Math.floor(viewbox.width * 1000) / 1000;
var logoHeight = Math.floor(viewbox.height * 1000) / 1000;

// values from Illustrator's info panel
var logoWidthMd  = 316;
var logoHeightMd = 194;
var logoWidthSm  = 102;
var logoHeightSm = 107;

// setMode for demo purposes, use media queries in production
var setMode = function(mode) {
  header.setAttribute('mode', mode);
};

// setViewbox for matching viewBox to new size of paths
var setViewbox = function(w, h) {
  logoSVG.setAttribute('viewBox', '0 0 ' + w + ' ' + h);
}

// update logo size when crossing breakpoints
enquire
  .register("screen and (max-width: 499px)", function() {
    setViewbox(logoWidthSm, logoHeight);
    setMode('small');
  })
  .register("screen and (min-width: 500px)", function() {
    setViewbox(logoWidthMd, logoHeight);
    setMode('medium');
  })
  .register("screen and (min-width: 700px)", function() {
    setViewbox(logoWidth, logoHeight);
    setMode('large');
  });

// ==============================
// boilerplate demo code...
// ==============================
document.addEventListener('click', function(e) {
  if (e.target.type !== 'button') return;

  var mode = e.target.getAttribute('data-mode');
  setMode(mode);
  
  if (mode == 'small') {
    setViewbox(logoWidthSm, logoHeightSm);
  } else if (mode == 'medium') {
    setViewbox(logoWidthMd, logoHeightMd);
  } else {
    setViewbox(logoWidth, logoHeight);
  }
});
              
            
!
999px

Console