/* in this CSS file, we decide the height, width, margin, padding and other features of each part of our web page
   for different different screen size using media queries */

/* Big tablet 1200px */
@media only screen and (max-width: 1200px){
    .hero-text-box{        
        width: 100%;  
        padding: 0 2%;     
    }

    .row{
        padding: 0 2%;
    }
}

/* Small tablet to big tablet with width 768px to 1023px */
@media only screen and (max-width: 1023px){
    body{
        font-size: 18px;
    }
    
    section{
        padding: 60px 0;
    }

    .long-copy{        
        width: 80%;
        margin: 0 10%;    
    }

    .steps-box:first-child { margin-top: 10px; }
    .steps-box:last-child { margin-bottom: 10px; }
    .works-step { margin-bottom: 40px; }    
    .works-step :last-child { margin-bottom: 60px; } 

    .app-screen { width: 50%; }

    .icon-small { 
        width: 20px; 
        margin-right: 5px;
    }
    .city-feature { font-size: 90%; }

    .plan-box{
        width: 100%;
        margin-left: 0;
    }

    .plan-price { font-size: 250%; }
    .contact-form { width: 80%; }
}

/* Small phones to small tablets with width 481px to 767px */
@media only screen and (max-width: 767px){
    body { font-size: 16px; }    
    section { padding: 30px 0; }

    .row,
    .hero-text-box{ padding: 0 4%; }

    .col {
        width: 100%; 
        margin: 0 0 4% 0;
    }

    .main-nav { display: none; } 
    .mobile-nav-icon { display: inline-block; }
    .main-nav { 
        float: left; 
        margin-top: 30px;
        margin-left: 25px;
    }
    .main-nav li{
        display: block;
    }

    .main-nav li a:link,
    .main-nav li a:visited{
        display: block;
        border: 0;
        padding: 10px 0;
        font-size: 100%;
    }

    .sticky .main-nav { margin-top: 10px; }

    .sticky .main-nav li a:link,
    .sticky .main-nav li a:visited{
        padding: 10px 0;        
    }

    .sticky .mobile-nav-icon i { margin-top: 10px; }
    .sticky .mobile-nav-icon i { color: #555; }

    h1 { font-size: 180%; }
    h2 { font-size: 150%; }

    .long-copy{        
        width: 100%;
        margin: 0;    
    }

    .steps-box:first-child { text-align: center; }

    .app-screen { width: 40%; }

    .works-step div{        
        height: 40px;
        width: 40px;        
        padding: 4px;
        font-size: 120%;
        margin-right: 15px;
    }

    .works-step { margin-bottom: 20px; }    
    .works-step :last-child { margin-bottom: 20px; } 
}

/* Small phone with screen size from 0 to 480 px */
@media only screen and (max-width: 480px){        
    section { padding: 25px 0; }
    .contact-form { width: 100%; }
}