/* shadow on scroll */
.main-header {
    transition: .10s;
    -moz-transition: .10s;
    -webkit-transition: .10s;
  
    font-weight:100; 
      z-index: 100;
      width:100%;
     /* position:fixed; */
      /*background:#F2F4F7;*/
       background:white;
      height:120px;
     /* box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
      opacity:.97;
      transition: 0.2s; /* Add a transition effect (when scrolling - and font size is decreased) */
  }
  
  .box-shadow {
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
  }
  
  
  /* shadow on scroll end */
  
  
  
  #back {
         
      transition:ease-out 0.3s; 
  }
  
  #back:hover{
   
      transform:scale(.85);
      transition: transform 200ms ease-in;
  }
  
  
  /* The Overlay (background) */
  .overlay {
      /* Height & width depends on how you want to reveal the overlay (see JS below) */    
      height: 100%;
      width: 0;
      position: fixed; /* Stay in place */
      z-index: 500; /* Sit on top */
      left: 0;
      top: 0;
      background-color: rgb(0,0,0); /* Black fallback color */
      background-color: rgba(0,0,0, 1); /* Black w/opacity */
      overflow-x: hidden; /* Disable horizontal scroll */
      transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }
  
  /* Position the content inside the overlay */
  .overlay-content {
      position: relative;
      top: 15%; /* 25% from the top */
      width: 100%; /* 100% width */
      text-align: center; /* Centered text/links */
      margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  }
  
  /* The navigation links inside the overlay */
  .overlay a {
      padding: 8px;
      text-decoration: none;
      font-size: 36px;
      color: #818181;
      display: block; /* Display block instead of inline */
      transition: 0.3s; /* Transition effects on hover (color) */
  }
  
  /* When you mouse over the navigation links, change their color */
  .overlay a:hover, .overlay a:focus {
      color: #f1f1f1;
  }
  
  /* Position the close button (top right corner) */
  .overlay .closebtn {
      position: absolute;
      top: 20px;
      right: 45px;
      font-size: 60px;
  }
  
  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
  @media screen and (max-height: 450px) {
      .overlay a {font-size: 20px}
      .overlay .closebtn {
          font-size: 40px;
          top: 15px;
          right: 35px;
      }
  }
      
  
  
  
  
  
  #flow img{
     width:100%;
     
  }
      
  h1, h2,h3{
              
      font-weight:normal;        
      font-family: 'Oswald', sans-serif;
          
  }
          
  p ,ul{
              
      font-weight: lighter;
          
  }
  
  
  
  body{
     
      
      overflow-x: hidden;       
      margin: 0 auto;     
      font-family: 'Open Sans Condensed', sans-serif;
      font-family: 'Lato', sans-serif;
   
         
  }
  
  h1,h2{
      
      padding-left:40px;
  }
  
  
  
  #assets{
      
      margin:0 auto;
      height:100%;
     
  
      
  }
  
  #vlink:visited {
      
      color:black;
  }
  
             
  header {
  
   
      
      
      
   
      z-index: 1;
  }
  
  #menu-icon {
      display: none;
      margin:0;
   
  }
          
  nav {
      font-size:17px;  
      margin-top:60px;
      margin-right:1%;
      float: right;   
      height:90px;
      z-index:2000;
     
    
  } 
  
      
  
  nav ul {
      
         margin: 0;
      margin-top:-30px;
      padding: 0;
      list-style-type: none;
      list-style-position: inside;
  }
  
  nav li {
            
  
      display: inline-block;
      padding: 10px;
  }
  
  
  
  nav li a {
  
         font-family: 'Lato', sans-serif;
      font-weight: 900; 
      color: #1C1B1B;
      text-decoration: none;
        
  }
     
  #resume a{
       transition:ease-out 0.3s; 
      text-decoration: none;
     
  color:black;
      
  }
  #resume a:hover{
  opacity: .6;
  }
  
  #about3 a{
        transition:ease-out 0.3s; 
      text-decoration: none;
      color:black;
  }
  #about3 a:hover{
       opacity: .6;
  }
  
  #proj a{
        transition:ease-out 0.3s; 
      text-decoration: none;
      
      color:black;
  }
  #proj a:hover{
          opacity: .6;
  
      
  }
  
  
  
  nav li a {
      color: black;
      text-decoration: none;
        
  }
          
          
        
  #limg {
         
      transition:ease-out 0.3s; 
  }
  
  #limg:hover{
   
      transform:scale(.75);
      transition: transform 300ms ease-in;
  }
  #limg2 {
         
      transition:ease-out 0.3s; 
  }
  
  #limg2:hover{
   
      transform:scale(.75);
      transition: transform 300ms ease-in;
  }
  
  #limg3 {
         
      transition:ease-out 0.3s; 
  }
  
  #limg3:hover{
   
      transform:scale(.75);
      transition: transform 300ms ease-in;
  }
  
  #limg4 {
         
      transition:ease-out 0.3s; 
  }
  
  #limg4:hover{
   
      transform:scale(.75);
      transition: transform 300ms ease-in;
  }   
  
  #timg{
         
      transition:ease-out 0.3s; 
  }
  
  #timg:hover{
   
      transform:scale(.75);
      transition: transform 300ms ease-in;
  }
         
  .button {
             
      background:none;
      border: black solid 1px;
      color: black;
      padding: 9px 15px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
      margin: 4px 2px;
      cursor: pointer;         
      transition:ease-out 0.4s;
           
  }
      
  .button:hover {
          
      color:black;     
      border-radius: 15px;    
           
      transition: 0.4s ease-in;
         
  }
  
  
  
  
             footer {
  font-weight:100;
  
      background:white;
      color: black;
  
        height:60px;
            margin-bottom:20px;
            
  }
  
  
  
  ul.flex-container{
  display:flex;
  
    justify-content: center;
  }
  
              .flex-container {
    
                  padding: 0;
                  margin: 4%;
                  margin-left:5%;
                  list-style: none;
                  display: -webkit-box;
                  display: -moz-box;
                  display: -ms-flexbox;
                  display: -webkit-flex;
                  display: flex;
                  -webkit-flex-flow: row wrap;
                  justify-content: space-around;
  
              }
  
  
              .flex-item {
  border-radius: 5%;
             margin-bottom:30px;
                 
                  display:block;
                  margin-right:0;
                  margin-left:0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 6px 10px 0 rgba(0, 0, 0, 0.20);
                  width: 300px;
                  height: 300px;
                  
                  text-align: center;
  
              }
  
       
  #assets img{
      
      position:relative;
      width:15.5%;
  }
  
  
  #color  {
  
  
      left:15%;
    
  }
  
  #type{
      
   left:-2%; 
  }
  
  
  
   #container {
             
       max-width: 1924px;    
       margin: auto;
         
  }
  
  
  
  #screens{
      
      height:100%;
  }
  
  #screens img{
      
      top:6%;
      left:14%;
      position: relative;
      width:70%;
  }
  
  #videopage{
      
      height:100%;;
    
  }
    
  video{
              
      position:relative;     
      width:17%;       
      bottom:40px;        
      left:43%;        
      top:5%;      
  }
  
  #play{
      
      top:10%;
      position: relative;
      left:32%;
      width:35%;
  }
  
  
  @media screen and (max-width:1108px) {
       
      video{
              
          position:relative; 
          min-width:30%;            
          bottom:40px;           
          left:35%;           
          top:5%;
           
      }
      
      
      #videopage{
      
          height:100%;;
  
      }
      
      #screens{
          
          height:700px;
      }
      
      #screens img{
          
          top:6%;
      }
      
  }
     
  @media screen and (max-width:668px) {
          
      #videopage{
     
          height:380px;
  
      }
          
           
      video{
              
          position:relative;
          min-width:40%;      
          bottom:40px;   
          left:30%;   
          top:5%;
   
      }
          
         
      #screens img{
      
          top:6%;
          left:14%;
          position: relative;
          width:80%;
  
      }  
         
      
      #assets img{
      
          left:20%;
          min-width:20%;
  
      }
  
  
      #assets{
      
          height:100%;
  
      }
  
  
  
      #screens{
      
          height:700px;
  
      }
  
      #screens img{
      
          width:80%;
          left:10.5%;
       
  
  
      }
           
      
  
  
  }
  
  @media screen and (max-width:680px) {
      
  
       
      #assets img{
      
     
          position:relative;
          width:70px;
          left:4%;
      
  
      }
      
      
      #assets{
      
          margin:0 auto;
          height:100%;
          padding-bottom:40px;
   
  }
      
      
      #screens img{
      
          top:6%;
          left:4%;
          position: relative;   
          width:95%;
  
      }
      
      #screens{
      
          height:500px;
  
      }
      
      #videopage{
      
          height:100%;;
    
  
      }
  
       video{
              
           position:relative;     
           width:5%;         
           bottom:40px;          
           left:25%;          
           top:5%;
             
            
         
      }
  
  }
  
  
  @media screen and (max-width:650px) {
      body{
          overflow-x: hidden;
      }
       #limg2{
                     display: none;
                  }
                  #limg{
                     display: none;
                  }
                  #limg3{
                     display: none;
                  }
                  #timg{
                     display: none;
                  }
      
    
      #menu-icon {
          
          display: block;
          text-decoration: none;
          color: black;  
          font-size: 40px;
      }
        
      nav ul,
      nav ul:active {
          
          display: none;
          position: absolute;
          top: 45px;
          width: 100%;
          max-width: 230px;
          background-color: #161616;
      
      }
      
      nav li {
           
    display:none;
      }
      
      nav:hover ul {
          
          display: none;
      }
             #menu-icon:hover{
           color:#818181;
       } 
      
      
         
                     iframe{
                      width:350px; 
                      height:260px;
                      margin-left:10px;
                      
                  }
  }
      
  
  @media screen and (max-width:800px) {
      
      
                  #menu-icon {
          
                      display: block;       
                      text-decoration: none;
                      color: black;
                      font-size: 40px;
                  }
        
      
                  nav ul,
      
                  nav ul:active {
          
                      display: none;     
                      position: absolute;        
                      top: 45px;       
                      width: 100%;     
                      max-width: 230px;
                      background-color: purple;
                  }
      
      
                  nav li {
           
                      background-color: #161616;
                      text-align: center;
                      width: 100%;
                      padding: 4px 0;
                      margin: 0;
      
                  }
      
     
                  nav:hover ul {
          
                      display: none;
      
                  }
                #menu-icon:hover{
           color:#818181;
       }
  }
              
          
     