/* phones */
@media(min-width:0px) and (max-width: 600px){ 
    /* header */
    header nav a{
        color: white;
    }
    header nav a:hover{
    color: #00bcd4;
    cursor: pointer;

    }
    header{
        flex-direction: column;
        height: fit-content;

    }
    header nav a{
         display: block;
         text-align: start;
         padding: 20px;
    }
   .banner{
    height: fit-content;
     margin-top: 30px;
   }
   .banner img{
    max-width: 100%;
    position: relative;
    left: -10px;
    margin: 30px;
   }
   /* about */
   .about-section{
    flex-wrap: wrap;
    height:fit-content;
    flex-direction: column;
    flex: 1 1 100%;
   }
   .about-main img{ 
    width: 100%; 
    
   }
   .about_heading{
    font-size: 1.2rem;
   }

   .about-main{
    max-width: 100%;
   }
   .about_text p{
    font-size: 15px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
   
   }
   .about_text{
     position: relative;
     top: -40px;
    
   }

    .skill1{
        flex-wrap: wrap;
    }
    .project-card{
        width: 100%;
    }
    img{
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .contact-head{
        font-size: 1.5rem;
        position: relative;
        left: -20px;
    }
    span{
    color: #00ffff;
    }
    .skill-container{
       padding: 0 5%;
    }
    .skill{
        flex: 1 1 100%;
    }
}

/* tables */

@media(min-width: 601px) and (max-width:1000px){
    nav a:hover{
    color: #00bcd4;
    }
    header{
        flex-direction: column;
        height: fit-content;

    }
    .banner{
        height: fit-content;
        margin-top: 30px;
   }
    .about-section{
        height:fit-content;
        flex-wrap: wrap;

    }
    .about_heading{
        margin-top: 70px;
    }
    .about-main{
        flex: 2;
        height: fit-content;
        /* max-width: 100%; */
        flex-wrap: wrap;
        width: 50%;
        margin: 0;
    }
    .about-main img{
        width: 100%;
    }
    .about_text{
        flex: 2;
        width: 50%;
    }
    .about_text p{
        font-size: 15px;
        /* line-height: 12px; */
    }
}

