


/* 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;
}

h1, h2,h3{
            
                font-weight:normal;
                font-family: 'Oswald', sans-serif;
        
            }
        
            p, header{
            
                font-weight: lighter;
        
            }
        
        
            #vidlink:visited {
    
                color:white;
        
            }
        
            a:visited{
            
                color:white;
        
            }
    
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:hover {
     transform:scale(1.03);
    transition: transform 300ms ease-in; 
    
}

            .flex-item {
                transition:ease-out 0.3s; 
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;

            }

     
            .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;
        
            }

        
            video{
            
                width:65%;
                position: relative;
                left:18%;
        
            }
            
       
            h1,h2{
                padding-left:40px;
            }
            
        

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;
      
}
        



#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;
}
      
#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;
}
#timg{
       
    transition:ease-out 0.3s; 
}

#timg:hover{
 
    transform:scale(.75);
    transition: transform 300ms ease-in;
}
  
            body{
     
            
                color:black;
                background: white;
                overflow-x:hidden;
                margin :0 auto;                 
                font-family: 'Open Sans Condensed', sans-serif;
                font-family: 'Lato', sans-serif
        
            }
            
        
            #screenimg{
            
                width:68%;
        
            }
        
            #screens{
                
                position: relative;
                left:17%;
                padding-top:220px;
            
            }
        
        
           /* h1:after {
    
                content:' ';  
                position: absolute;  
                display:block;  
                width: 60px;  
                border:2px solid #ef8e1b;  
                border-radius:4px;  
                -webkit-border-radius:4px;   
                -moz-border-radius:4px;    
                box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);   
                -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);   
                -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
     

            }
    
        */
        
            #vid {
            
                position: relative;          
                width:35%;           
                left:32%;           
                bottom:70px;
        
            }
        
        
            #color {
            
                padding-top: 20px;            
                position: relative;           
                left:30%;            
                width:40%;
        
            }
        
        
            #text{
                padding-top:10px;
                position: relative;            
                left:20%;           
                width:10%; 
       
            }
        
        
        
        
            @media screen and (max-width:568px) {
                
            
                 
                video{
            
                    left:1%;
                    top:20%;
        
                }
       
      
            
                #color { 
                
                    left:17%;             
                    width:35%;
          
                
            
                }
            
            
                video{
            
                    min-width:100%;
                    right:40px;
        
                }
            
                #text{
                
                    left:10%;
                    width:35%;   
            
                }
            
            
                #screenimg{
                
                    position: relative;           
                    width:97%;            
                    right:15.5%;               
                    top:80px
            
                }
          
    
                #vid{
            
                    position: relative;           
                    width:85%;            
                    left:8%;        
                    bottom:70px;
        
                }
        
            }
            
             
            @media screen and (max-width:668px) {
                 
                      
           .main-img{
                    width:100%;
                }
    
                #screenimg{
                
                    position: relative;            
                    width:90%;              
                    right:12%;              
                    top:80px;
            
                }
                 
                  
                #color { 
               
                    left:8%;              
                    width:67%;
                    
                }
                 
                #text{
                     
                    left:5%;                       
                    width:20%; 
                 
                }
                 
                 
                #video1{
                     
                    height:100%;
                 
                }
               
                
                #screens {
                    
                    height:1000px;
                }  
                 
                 
              

            } 
            
        
            @media screen and (max-width:1068px) {
         
            
              
            
                #screenimg{
                
                    position: relative;              
                    width:90%;               
                    right:12%;               
                    top:70px
            
                }
        
            }

        
            @media screen and (max-width:650px) {
                body{
                      overflow-x:hidden;
                }
    
     
                #menu-icon {
        
                    display: block;       
                    text-decoration: none;      
                    color: black;       
                    font-size: 35px;}
      
    
                nav ul, 
                nav ul:active {
        
                    display: none;     
                    position: absolute;
                    top: 45px;       
                    width: 100%;        
                    max-width: 230px;      
                    background-color: #161616;
    
    
                }
    
    
                nav li {
        
                    text-align: center;    
                    width: 100%;   
                    padding: 4px 0;     
                    margin: 0;
    
                }
    
    
                nav:hover ul {
        
                    display: block;
    
                }
      
    
            }
    
    
    

        
             footer {

                 font-weight:100;
   margin-bottom:20px;
	
                 background:white;
	
                 color: black;
	
                 text-align: center;
	 
                 height:60px;
    


}
        
            p {
          
                margin-right:40px; margin-left:40px; max-width:800px;
        
            }
             
            h1,h2{
                
                padding-left:40px;
            }
        
            @media screen and (max-width:680px) {
    
            
                #screens{
                
                    height:200px;
            
                }
     
                #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;
    
    }
                
                   iframe{
                    width:350px; 
                    height:260px;
                    margin-left:-30px;
                    
                }
    
    nav li {
         
  display:none;
    }
    
    nav:hover ul {
        
        display: none;
    }
    
                        #menu-icon:hover{
         color:#818181;
     } 
                 #limg2{
                   display: none;
                }
                #limg{
                   display: none;
                }
                #limg3{
                   display: none;
                }
                #timg{
                   display: none;
                }
                
                 body{
        overflow-x: hidden;
    }
    
}

 /* 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;
    }
}
    
@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;
     }
}
            
        
