/**---------------------media-query for 600 px------------*/
/*most important thing was adjasting min-widths */
@media only screen and (max-width:600px){

    .row{
        text-align: center;
        display:flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
        padding: 0px 25px;
       
    }
    .cols2,.col3 , .col4,.col5{
        flex-basis: 100%;
        min-width: 200px;
    }
    
    
    
    .sections_container{
        padding: 0 10px;
    }
    .col3{
        min-width: 250px;
        margin-bottom:  70px ;
    }
    .cat-image{
        width: 100%;
    }
    
    
    .col4{
        
        min-width: 200px; 
        padding: 10px;
        margin-bottom: 50px ;
        
    }
    
    
    
    
    /*------offer--------*/
    .offer_image{
        width: 200px;
        padding: 10px;
        
    }
    
    .offers{
        width: 100%;
        background-image: radial-gradient( white ,#ffd6d6 );
        padding: 30px 50px;
        margin-top: 80px;
    
    }
    .small_text{
        font-size: small;
        color:#555;
    }
    /*---------------reviews---------*/
    .reviews{
        text-align: center;
        padding: 25px 100px 0px;
        
    }
    .reviews .col3{
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        padding: 30px 20px;
        transition:  0.5s;
        cursor: pointer;
        
    }
    .reviews .col3:hover{
        transform: translateY(-10px);
        
    }
    .reviews .fa-quote-left {
        font-size: 34px;
        color: #ff523b;
        margin-bottom: 20px;
    }
    
     
    .reviews p{
     font-size:12px;
     margin: 12px 0px;
     color: #777;
    }
    .reviews h3{
    
     color: #555;
     font-size: 16px;
    }
    .reviews-images{
    width: 50px;
     border-radius: 50%;
    margin: 30px 0px;
    }
    /*-----------brands-----------*/
    .brands{
        margin: 70px 0px;
    }
    .col5{
        
        width:160px;
        margin: auto;
        padding: 0px 30px;
        
    }
    .col5 a img{
        width: 100%;
        filter: grayscale(100%);
        transition: transform 0.5s;
    }
    .col5 a img:hover{
        transform: translateY(-5px);
        filter: grayscale(0%);
    }
    /* ----------------footer-------------*/
    .footer{
        background-color: #000;
        padding: 30px 50px 0px;
     }
    .footer .row{
        padding-bottom: 30px;
    }
    .footer-titles{
        color: white;
        margin-bottom: 20px;
    }
    .footer-p{
        color:rgb(129, 120, 120);
        transition: 0.5s;
    }
    .footer-p:hover{
        color: white;
        
    }
    .footer-col1 ,
    .footer-col2 ,
    .footer-col3 ,
    .footer-col4 {
        padding: 20px;
        text-align:center ;
        font-size: 12px;
        
    }
    
    .footer-col1 
     {
        flex-basis: 100%;
    }
    
    .footer-col2 
     {
        flex:1;/*so it takes all the available space*/
    
    }
    .footer-col2 img
     {
      
        width: 200px;
        margin: 5px 0px;
    
    }
    .footer-col3 ,.footer-col4 
     {
        flex-basis: 12%;
        
    
    
    }
    
    
    
    /*------------------accounts-------------*/
    .container{
        display: flex;
        align-items: center;
        justify-content: center;
        padding:10px;
        background-image: radial-gradient( white ,#ffd6d6 );
        
    }
    .form-container{
        width: 330px;
        height: 450px;
        text-align: center;
        background-color: #fff;
        border-radius: 10px;
        position: relative;
        box-shadow:  0px 0px 20px 0px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    .form-container form{
        width: 330px;
        padding: 20px 5px;
        transition: transform 0.5s;
    
    }
    .form-container form a{
        text-decoration: none;
        color: #555;
        font-size: small;
        
    
    }
    
    .form-container input{
        
        width: 100%;
        height: 40px;
        padding: 5px;
        margin: 10px 0px;
        font-size: 14px;
        border: #ccc solid 1px;
        border-radius: 10px;
        
    }
    
    .form-container input:focus{
        
        outline: none;
    }
    
     #register{
         position: absolute;
         top: 100px;
         left: 0px;
         
    
     }
     #login{
         position: absolute;
         top: 140px;
         left:-400px;
        
        }
    
    
     
     
    }