/* ---- Desktop computers wider than 1420px ------ */
@media only screen and (max-width: 1420px){
    
    .about-me h1{
        font-size: 350%;
    }
}

@media only screen and (max-width: 1300px){
    
    .nav ul{
        margin-top: 30px;
    }
    
    .nav ul li{
        letter-spacing: 3px;
        font-size: 130%;
        padding-right: 15px;
    } 
    
    .about-me h1{
        font-size: 300%;
    }
    
    .top h3{
        font-size: 200%;
    }
    
    .social-container{
        width: 200px;
        height: 200px;
    }

    .social-link{
        width: 200px;
        transition: 0.4s;
    }

    .social-link:hover{
        width: 180px;
    }
    
    .desc .demo-btn:link,
    .desc .demo-btn:visited{
        margin-top: 70px;
        height: 90px;
        width: 250px;
        font-size: 170%;
    }
    
    .close-btn{
        left: 30px;
        top: 20px;
        height: 50px;
        width: 50px;
        font-size: 150%;
        padding-left: 15px;
        background-color: black;
    }
    
    .desc p{
        font-size: 120%;
        margin-top: 70px;
        max-width: 600px;
        word-wrap:break-word;
        text-align:center;
        padding: 5px;
    }
}

@media only screen and (max-width: 1130px){
    header{
        z-index: 0;
    }
    
    .repeated-img{
        width: 100%;
        z-index: -99;
    }
    
    .nav{
        z-index: 2;
        z-index: 999;
        position:static;
    }
    
    .nav ul{
        text-align:  center;
    }
    
    .nav ul li{
        font-size: 90%;
        padding-right: 30px;
    } 
    
    .nav ul li:last-child{
        padding-right: 0;
    }
    
    .link-bg{
        background : rgba(236, 228, 183, .5);
        border-radius: 5%;
        padding: 7px;
    }
    
    .nav ul li a:link,
    .nav ul li a:visited{
        font-size: 140%;
    }
    
    .nav li a:hover,
    .nav li a:active{
        color: #FCFAF9;
        padding-bottom: 9px; 
        padding-top: 9px;
        transition: 0.2s;
    }
    
    .about-me h1{
        margin-bottom: 30px;
        line-height: 130%;
        letter-spacing: 15px;
        display: inline-block;
        max-width: 400px;
        font-size: 350%;
    }
    
    .about-me h2{
        font-size: 140%;
        display: block;
        margin-bottom: 50px;
    }
    
    .lightbulbs{
        width: 45%;
    }
    
    .about-me p{
        font-size: 110%;
        line-height: 190%;
    }
    
    .projects{
        width: 100%;
        height: auto;
    }
    
    .row{
        height: auto;
    }
    
    .project-left{
        width: 100%;
        height: 50vh;
        display: block;
        float: none;
    }
    
    .project-right{
        width: 100%;
        display: block;
        float: none;
        height: 50vh;
    }
    
    footer h5{
        font-size: 70%;
        margin-bottom: 2%;
        margin-right: 2%;
    }

}
    @media only screen and (max-width:950px){
        
        header{
            height: 70px;
        }
        
        .nav ul {
            width: 100%;
            margin-top: 2%;
        }
        
        .nav ul li{
            margin-right: 3%;
            font-size: 80%;
        }
        
        .nav ul li:last-child{
            margin-right: 0;
        }
        
        .nav li a:hover,
        .nav li a:active{
            border-bottom: 4px solid #333333;
            border-top: 4px solid #333333;
            padding-bottom: 2%; 
            padding-top: 2%;
        }
        
        .about-me h1{ 
         font-size: 280%;
        }
        
        .about-me h2{
            font-size: 110%;
            margin-bottom: 50px;
        }
        
        .about-me p{
            margin-top: -233px;
            margin-left: 4%;
            line-height: 180%;
            font-size: 90%;
            max-width: 600px;
        }
        
        .lines-img{
            width: 600px;
            margin-left: 8%;
        }
        
        footer li{
            margin-left: 6%;
        }

        footer li:first-child{
            margin-left: 0;
        }
        
        .social-link{
            width: 180px;
        }
        
        .social-link:hover{
            width: 160px;
        }
        
    } 
    
    @media only screen and (max-width: 790px){
        
        .nav ul li{
            font-size: 70%;
            letter-spacing: 2px;
            padding-right: 2%;
            margin-right: 1%;
        }
        
        .about-me h1{
            font-size: 280%;
        }
        
        .about-me h2{
            font-size:110%;
        }
        
        .lightbulbs{
            width: 40%;
        }
        
        .about-me p {
            margin-right: 10%;
            text-align: center;
            line-height: 190%;
            max-width: 490px;
            font-size: 80%;
            margin-top: -225px;
        }
        
        .lines-img{
            margin-left: 0;
            text-align: center;
        }
        
        
        footer li:first-child{
            margin-left: -30px;
        }
        footer li{
            margin-left: 8%;
        }
        
        
        .social-container{
            position: relative;
            width: 150px;
            height: 150px;
        }
        
        .social-link{
            width: 150px;
        }
        
        .social-link:hover{
            width: 130px;
        }
        
        footer h5{
            font-size: 70%;
            margin-bottom: 2%;
            margin-right: 2%;
        }
    }

@media only screen and (max-width: 600px){
    
    header{
        height: 55px;
    }
    
    .nav ul{
        margin-top: 10px;
    }
    
    .nav ul li{
        font-size: 45%;
        margin-right: 2%;
        letter-spacing: 0;
    }
    
    .nav li a:hover,
    .nav li a:active{
        border-bottom: 3px solid #333333;
        border-top: 3px solid #333333;
    }
    
    .lightbulbs{
        width: 70%;
        right: 15%;
    }
    
    
    .about-me h1{
        display: block;
        text-align: center;
        max-width: 100%;
        margin-left:0;
        margin-top: 55%;
        font-size: 240%;
        letter-spacing: 5px;
    }
    
    .about-me h2{
        font-size: 130%;
        text-align: center;
        margin-left: 4%;
    }
    
    .lines-img{
        width: 600px;
    }
    
    .about-me p{
        max-width: 100%;
        letter-spacing: 2px;
        font-size: 85%;
        margin-right: 0;
        margin-top: -225px;
        line-height: 185%;
    }
    
    .desc .demo-btn:link,
    .desc .demo-btn:visited{
        height: 75px;
        width: 200px;
        font-size: 140%;
    }
    
    .close-btn{
        left: 30px;
        top: 20px;
        height: 40px;
        width: 40px;
        font-size: 120%;
        padding-left: 12px;
    }
    
    .desc p{
        font-size: 100%;
        margin-top: 50px;
        max-width: 600px;
        word-wrap:break-word;
        text-align:center;
        padding: 0 35px;
    }
    
    
        footer ul{
        margin-top: 40px;
        margin-bottom: 30px;
        }
    
        footer li:first-child{
            margin-left: -30px;
        }
        footer li{
            margin-left: 8%;
        }
        
        
        .social-container{
            position: relative;
            width: 120px;
            height: 120px;
        }
        
        .social-link{
            width: 120px;
        }
        
        .social-link:hover{
            width: 110px;
        }
        
        footer h5{
            font-size: 50%;
        }
}

@media only screen and (max-width: 460px){
    
    .nav ul li{
        font-size: 45%;
        margin-right: 1%;
        letter-spacing: 0;
    }
    
    .about-me h1{
        font-size: 190%;
    }
    
    .about-me h2{
        font-size: 100%;
    }
    
    .about-me p{
        margin-top: -180px;
        font-size: 70%;
        line-height: 170%;
    }
    
    .lines-img{
        width: 460px;
    }
    
    .close-btn{
        left: 30px;
        top: 20px;
        height: 30px;
        width: 30px;
        font-size: 90%;
        padding-top: 2px;
        padding-left: 9px;
    }
    
    .top h3{
        font-size: 150%;
    }
    
    .project-left{
        height: 25vh;
    }
    
    .project-right{
        height: 25vh;
    }
    
    .desc .demo-btn:link,
    .desc .demo-btn:visited{
        margin-top: 40px;
        height: 35px;
        width: 100px;
        font-size: 60%;
        padding-left: 10px;
        padding-top: 6px;
        border: 3px solid #02020B;
    }
    
    .close-btn{
        left: 30px;
        top: 20px;
        height: 20px;
        width: 20px;
        font-size: 65%;
        padding-left: 6px;
        padding-top: 1px;
    }
    
    .desc p{
        font-size: 50%;
        margin-top: 30px;
        max-width: 600px;
        word-wrap:break-word;
        text-align:center;
        padding: 0 35px;
    }
        footer ul{
            margin-top: 30px;
            margin-bottom: 20px;
        }
    
        footer li:first-child{
            margin-left: -30px;
        }
        footer li{
            margin-left: 7%;
        }
        
        
        .social-container{
            position: relative;
            width: 80px;
            height: 80px;
        }
        
        .social-link{
            width: 80px;
        }
        
        .social-link:hover{
            width: 80px;
        }
        
        footer h5{
            font-size: 40%;
        }
}

@media only screen and (max-width: 375px){
    .nav ul li{
        font-size: 30%;
    }
    
    .nav li a:hover,
    .nav li a:active{
        border-bottom: 2px solid #333333;
        border-top: 2px solid #333333;
    }
    
    .about-me h1{
        letter-spacing: 5px;
        display: block;
        text-align: center;
        font-size: 150%;
    }
    
    .about-me h2{
        text-align: center;
        font-size: 80%;
        margin-left: 6%;
    }
    
    .about-me p{
        letter-spacing: 2px;
        margin-top: -170px;
        line-height: 190%;
        font-size: 60%;
    }
    

}
