title: SASS code problems
body: <p>I've been trying to learn flexbox and I messed around with my codepen on mobile and something happened, I can't pin-point the problem but it keeps giving me an error and I can not for the life of me spot it! Everything seems fine.</p>
  
  <p>The code isn't amazing, I'm not great at coding yet, it's not DRY, it's messy, not very readable and whatever else but it was working. The page was working even with the error. Now it isn't doing anything at all, won't even load.</p>
  
  <p>There is an error in the CSS editor and I can not fix it! </p>
  
  <p>Please help me, it's really annoying me, I've been looking through it for hours changing things.</p>
  
  <p>Here is the codepen: <a href="http://codepen.io/joecox91/pen/GrJXQX" rel="nofollow noreferrer">http://codepen.io/joecox91/pen/GrJXQX</a></p>
  
  <p>Sorry I can't remember how to embed the codepen into the question!</p>
  
  <pre><code>    @import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300,400');
  
  * {
    padding:0;
    margin:0;
    text-decoration:none;
    box-sizing:border-box;
  }
  body, html {
    padding:0;
    margin:0;
    width:100%;
    height:100%;
  }
  
  header {
    background:#ffffff;
    border-bottom:1px solid #cccccc;
  }
  
  /* flex-flow: flex-direction flex-wrap */
  
  .container {
    display:-webkit-flex;
    display:flex;
    justify-content:center;
    flex-flow: row wrap;
  }
  
  /* flex:flex-grow flex-shrink flex-basis */
  
  .container section {
    height:auto;
    flex-grow:1;
    padding:20px 0;
    flex-shrink:1;
    flex-wrap:wrap;
  }
  
  .two {
    align-content:space-around;
    margin:40px 20px;
    font-family: 'Roboto Mono', monospace;
  }
  
  
  
  #content {
    padding:20px;
    width:60%;
  }
  
  #sidebar {
    background:black;
    width:20%;
  }
  
  // .container section:nth-child(2n) {
  //   background:black;
  // }
  
  #header {
    display: flex;
    height:100%;
    align-items:center;
    justify-content: center;
    flex-flow:column wrap;
    font-family:helvetica;
  
    h1 {
      font-size:2em;
      letter-spacing:1.5px;
    }
  
    h2 {
      font-size:1.2em;
    }
  }
  
  #nav {
    display:flex;
    justify-content:center;
    align-items:center;
    a {
      padding:20px;
      color:#aaaaaa;
      font-family:helvetica;
      font-size:14px;
      margin-right:1px;
      text-transform:uppercase;
      border-bottom:2px solid white;
      transition:0.2s ease-out;
  
      &amp;.active {
        border-bottom:2px solid black;
        color:black;
      }
  
      &amp;:last-child {
        margin-right:0;
        margin-left:20px;
        border:1px solid #aaaaaa;
        border-radius:5px;
  
        &amp;.active {
          border:1px solid black;
        }
      }
  
      &amp;:hover {
        color:black;
        transition:0.2s ease-out;
  
        &amp;:last-child {
          border:1px solid black;
        }
      }
    }
  
  
  }
  
  .spin1 {
          position:relative;
    animation:menutate 1.5s infinite;
  animation-timing-function: linear;
          top:-1px;
           left:10px;
          width:1px;
    border-top:5px solid rgba(0,0,0,0);
    border-right:5px solid white;
    border-left:5px solid white;
    border-bottom:5px solid rgba(0,0,0,0);
  
          background:black;
        }
  
  #mobile-menu {
    display:none;
  }
  
  #mobile-header {
  }
  
  @keyframes menutate {
    0% {
      transform:rotate(0);
    }
  
    100% {
      transform:rotate(360deg);
    }
  }
  
  
  #navi {
    display:none;
  }
  
  
    @media screen and (max-width:720px) {
  
      .container,
      .two, {
      flex-flow:column wrap;
      }
  
      #content {
        width:100%;
      }
  
      #sidebar {
        width:100%;
      }
  
      #navi {
        position:absolute;
        display:block;
        height:100%;
        top:0;
        left:0;
        background:deepskyblue;
        width:80%;
        transform:translate(-100%);
        z-index:10000;
      }
  
      #navi.extend {
        box-shadow:0px 0px 10px 10px rgba(0,0,0,0.4);
      }
  
      #header {
        justify-content:flex-end;
        align-items:flex-end;
        padding-right:20px;
  
        h1 {
          padding:0;
          margin:0;
        }
      }
  
      #nav {
        display:none;
      }
  
      .mobile-hide {
        display:none;
      }
  
      body {
        position:relative;
        transform:translate(0);
        transition:0.3s ease-out;
      }
  
  
      body.extend {
        transform:translateX(80%);
        transition:0.3s ease-out;
      }
  
      #mobile-menu {
        position:fixed;
        top:22px;
        left:20px;
        display:block;
        height:50px;
        overflow:none;
        width:50px;
        padding:8px;
        z-index:500000;
        transition:0.2s ease;
        filter: opacity(1);
  
        &amp;.extend {
          transform:translateX(-180%);
          transition:0.4s ease;
        }
  
        &amp;:hover {
          cursor:pointer;
          transition:0.5s ease;
          filter:opacity(0.6);
        }
  
        span {
          position:absolute;
          height:4px;
          background:black;
          width:40px;
          text-align:center;
          transition:0.5s ease;
  
          &amp;.menu-animate {
            transition:0.5s ease;
          }
  
        &amp;:hover {
          cursor:pointer;
        }
  
          &amp;:last-child {
            border:none;
            font-size:12px;
            background:none;
            height:auto;
            width:40px;
            top:38px;
            text-align:center;
          }
         
          &amp;:nth-child(1) {
            top:8px;
  
            &amp;.menu-animate {
              top:13px;
              transform:rotate(45deg);
            }
          }
  
          &amp;:nth-child(2) {
            top:18px;
  
             &amp;.menu-animate {
               top:13px;
              transform:rotate(-45deg);
            }
          }
  
          &amp;:nth-child(3) {
            top:28px;
               &amp;.menu-animate {
              top:13px;
              filter:opacity(0);
            }
          }
        }
  
      
    }
    
  }
  </code></pre>
  
  <p>There is the SASS, or half SASS. The problem I'm getting is: </p>
  
  <pre><code>Invalid CSS after "... position:fixed": expected "{", was ";"
  </code></pre>
  
  <p>This makes no sense to me! Why would it be expecting an opening curly bracket anywhere? After position:fixed... What is going on?</p>
  
  <p>Send help! </p>
  
  <p>Thank you</p>