/******************************navbar section responsiveness***********/


@media(max-width:1281px){

#navbar{
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    background-color: #012346;
    position: fixed;

}


#list_options li:active{

    background-color: #818062;
    border-radius: 5px;
}


#logo{
    width:40%;
    height: 100%;
    display: flex;
    justify-content: left;;
    z-index: 2;
}


#memberoflaw{
    color: white;
    text-align: justify;
    margin-top: 50px;
    font-size: 15px;
    margin-right: 5px;
}

#navoptions{
    width: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#address{
    display: flex;
    width: 100%;
    height:30px;
    justify-content: space-evenly;
    padding: 5px;
    font-family: sans-serif;
    color: white;
    font-size: 12px;
}

#uloptions li{
    padding: 10px;
    margin: 5px;
    font-size: 15px;
    color: white;
    cursor: pointer;
}
  
}



@media(max-width:943px){

#sidebar,#close{
    display: block;
}
#navbar{
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    background-color: #012346;
    position: fixed;

}


#list_options li:active{

    background-color: #818062;
    border-radius: 5px;
}


#logo{
    width:85%;
    height: 100%;
    display: flex;
    justify-content: left;;
    z-index: 2;
}


#memberoflaw{
    color: white;
    text-align: justify;
    margin-top: 50px;
    font-size: 13px;
    margin-right: 5px;
}

#navoptions{
    width: 15%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#address{
    display: none;
}

#options{
    position: fixed;
    z-index: 20;
    width: 100%;
    height: 100vh;
    top: 0px;
    right:0px;
    background-color: white;
    display: none;
    align-content: center;
    justify-content: center;

}

#uloptions{

    display: flex;
    flex-direction: column;
    align-items: center;
}

#uloptions li{
    padding: 10px;
    margin: 5px;
    font-size: 30px;
    color:#012346;
    cursor: pointer;
}


#list_options li{
    padding: 10px;
    color: white;
    cursor: pointer;
}

#list_options li:active{

    background-color: #818062;
    border-radius: 5px;
    width: 100%;
}

  
}

@media (max-width:720px){
    #fade-1-text,#fade-2-text{
        font-size: 20px;
        line-height: 40px;
        word-wrap: break-word;
         width: auto;
        height: 350px;
        margin-right: 20px;
    }
}

@media (max-width:502px){
    #fade-1-text,#fade-2-text{
        font-size: 15px;
        line-height: 30px;
        word-wrap: break-word;
         width: auto;
        height: 350px;
        margin-right: 20px;
    }

    #section6_text{
        font-size: 10px;
        margin-left: 20px;
    }

    #logo img{
        width: 100px;
        height: 80px;
        margin-top: 30px;
    }
    #memberoflaw{
        font-size: 10px;
        color: white;
        text-align: justify;
        margin-top: 50px;
        margin-right: 5px;
    }

    #sidebar{
    position: absolute;
    right: 10px;
    }

    #menu{
    width: 30px;
    height: 5px;
    background-color: white;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

}


/*****************************about section responsiveness css*************************/

@media  (max-width:1130px){
    
#about_text_1{
    
    margin-top: 100px;
}

#about_text_1,#about_text_2,#about_text_3{
    width:450px;
    height: auto;
    padding: 5px;
    font-size: 18px;
    font-family: sans-serif;
    text-align: justify;
}


}

@media (max-width:950px){

#about_text_1{
    margin-top: 100px;
}

#about_text_1,#about_text_2,#about_text_3{
    width:450px;
    height: auto;
    padding: 5px;
    font-size: 18px;
    font-family: sans-serif;
    text-align: justify;
}
#about_logo{
    width: 40%;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about_logo img{
    margin-top: 10%;
    width: auto;
    height: 350px;
}

#about_text_name{
    font-weight: bold;
    font-size: 25px;
    color: #a17c32;
}


}


@media (max-width:870px){

#index_about{
    width: 100%;
    height:fit-content;
    display: flex;
    flex-direction:column-reverse;
    justify-content:center;
    background-color: white;
}


#about_text{
    width:100%;
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

#about_text_1{
    margin-top: 10px;
}

#about_text_1,#about_text_2,#about_text_3{
    width:450px;
    height: auto;
    padding: 5px;
    font-size: 18px;
    font-family: sans-serif;
    text-align: justify;
}
#about_logo{
    width:100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about_logo img{
    margin-top: 30%;
    width: auto;
    height: 350px;
}

#about_text_name{
    font-weight: bold;
    font-size: 25px;
    color: #a17c32;
}


}



@media (max-width:500px){

#index_about{
    width: 100%;
    height:fit-content;
    display: flex;
    flex-direction:column-reverse;
    justify-content:center;
    background-color: white;
}


#about_text{
    width:100%;
    height:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
}

#about_text_1,#about_text_2,#about_text_3{
    width:300px;
    height: auto;
    padding: 5px;
    font-size: 15px;
    font-family: sans-serif;
    text-align: justify;
}
#about_logo{
    width:100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about_logo img{
    margin-top: 50%;
    width: auto;
    height: 250px;
}

#about_text_name{
    font-weight: bold;
    font-size: 25px;
    color: #a17c32;
}


}

/***********************************practice area responsiveness started***********************/


@media(max-width:1301px){
    #ourservices{
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}
.card1,.card2,.card3,.card4 {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 300px;
  height: 450px;
  text-align: center;
  border-radius: 10px;
  background-color: white;
  color: black;
  margin: 10px;
  padding: 10px;
  text-align: justify;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 105px;
}

.card1,.card2,.card3{
    margin-top: 15%;
}
}

@media (max-width:979px){


.card1,.card2{
    margin-top: 25%;
}

}


@media (max-width:659px){

.card1{
    margin-top: 30%;
}

}

@media (max-width:480px){

.card1{
    margin-top: 50%;
}

#back_btn {
    width: 85px;
    height: 35px;
    margin-left: 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background-color: #012346;
    color: white;
    font-weight: bold;
}

}


/******************************contact us section started**********************/

@media (max-width:950px)
{

    #help1{
        font-size: 15px;
        font-family: Cursive;
        font-weight: normal;
        color: #D2B06C;
        padding: 10px;
    }

    #help2{
        font-size: 25px;
        color: white;
        font-weight: bold;
        padding: 10px;
    }

    #help3{
        font-size: 25px;
        color: white;
        font-weight: bold;
    }

    #help_logo{
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-family: sans-serif;
        margin-top: 40px;
    }

    #help_email{
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -200px;

    }

    #help_logo i{
        color:#D2B06C;
        font-size: 15px;
        padding: 10px;
    }

    #help_logo i span{
        padding: 10px;
        color: white;
    }

    #contact_us{
        width: fit-content;
        height: fit-content;
        text-align: center;
        font-size: 20px;
        cursor: pointer;
        font-weight: bold;
        color: #D2B06C;
        margin-top: 20px;
    }

    #contact_us_now a{
        color: white;
        text-decoration: none;
        width: 300px;
        height: 150px;
        border-radius: 10px;
        background-color: red;
        padding: 18px;
    }


}


@media (max-width:590px)
{

    #help1{
        font-size: 15px;
        font-family: Cursive;
        font-weight: normal;
        color: #D2B06C;
        padding: 10px;
    }

    #help2{
        font-size: 18px;
        color: white;
        font-weight: bold;
        padding: 10px;
    }

    #help3{
        font-size: 18px;
        color: white;
        font-weight: bold;
    }

    #help_logo{
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-family: sans-serif;
        margin-top: 40px;
    }

    #help_email{
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -200px;

    }

    #help_logo i{
        color:#D2B06C;
        font-size: 15px;
        padding: 10px;
    }

    #help_logo i span{
        padding: 10px;
        color: white;
    }

    #contact_us{
        width: fit-content;
        height: fit-content;
        text-align: center;
        font-size: 15px;
        cursor: pointer;
        font-weight: bold;
        color: #D2B06C;
        margin-top: 20px;
    }

    #contact_us_now a{
        color: white;
        text-decoration: none;
        width: 300px;
        height: 150px;
        border-radius: 10px;
        background-color: red;
        padding: 15px;
    }


}


@media (max-width:450px)
{

    #help1{
        font-size: 10px;
        font-family: Cursive;
        font-weight: normal;
        color: #D2B06C;
        padding: 10px;
    }

    #help2{
        font-size: 12px;
        color: white;
        font-weight: bold;
        padding: 10px;
    }

    #help3{
        font-size: 12px;
        color: white;
        font-weight: bold;
    }

    #help_logo{
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-family: sans-serif;
        margin-top: 40px;
    }

    #help_email{
        width: 100%;
        height: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -300px;

    }

    #help_logo i{
        color:#D2B06C;
        font-size: 12px;
        padding: 5px;
    }

    #help_logo i span{
        padding: 10px;
        color: white;
    }

    #contact_us{
        width: fit-content;
        height: fit-content;
        text-align: center;
        font-size: 15px;
        cursor: pointer;
        font-weight: bold;
        color: #D2B06C;
        margin-top: -10px;
    }

    #contact_us_now a{
        color: white;
        text-decoration: none;
        width: 300px;
        height: 150px;
        border-radius: 10px;
        background-color: red;
        padding: 10px;
    }


}


/************************card section responsiveness********************/

@media (max-width:950px)
{
    #immigration_law_info,#wills_info,#us_immigration_info,#freedom_info,#wavier_info,#us_visa_info,#refuge_info{
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    #immigration_text,#wills_text,#us_immigration_text,#freedom_text,#wavier_text,#us_visa_text,#refuge_text{
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    #immigration_texts,#wills_texts,#us_immigration_texts,#freedom_texts,#wavier_texts,#us_visa_texts,#refuge_texts{
        padding-left: 20px;
        height: 500px;
        height: auto;
        font-size: 15px;
        color: black;
        word-wrap: break-word;
        line-height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: justify;
    }

    #immigration_img,#wills_img,#us_immigration_img,#freedom_img,#wavier_img,#us_visa_img,#refuge_img{
        width:50%;
        height:100%;
        display: flex;
        justify-content:center;
        align-items: center;
    }


    #immigration_img img,#wills_img img,#us_immigration_img img,#freedom_img img,#wavier_img img,#us_visa_img img,#refuge_img img{
        height: 350px;
        width: 300px;
    }


}


@media (max-width:770px)
{
    #immigration_law_info,#wills_info,#us_immigration_info,#freedom_info,#wavier_info,#us_visa_info,#refuge_info{
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: center;
    }

    #immigration_text,#wills_text,#us_immigration_text,#freedom_text,#wavier_text,#us_visa_text,#refuge_text{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    #immigration_texts,#wills_texts,#us_immigration_texts,#freedom_texts,#wavier_texts,#us_visa_texts,#refuge_texts{
        font-size: 15px;
        color: black;
        word-wrap: break-word;
        line-height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: justify;
    }

    #immigration_img,#wills_img,#us_immigration_img,#freedom_img,#wavier_img,#us_visa_img,#refuge_img{
        width:100%;
        height:100%;
        display: flex;
        justify-content:center;
        align-items: center;
    }


    #immigration_img img,#wills_img img,#us_immigration_img img,#freedom_img img,#wavier_img img,#us_visa_img img,#refuge_img img{
        height: 350px;
        width: 300px;
    }


}



@media (max-width:400px)
{
    #immigration_law_info,#wills_info,#us_immigration_info,#freedom_info,#wavier_info,#us_visa_info,#refuge_info{
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: center;
    }

    #immigration_text,#wills_text,#us_immigration_text,#freedom_text,#wavier_text,#us_visa_text,#refuge_text{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content:center;
        align-items: center;
    }

    #immigration_texts,#wills_texts,#us_immigration_texts,#freedom_texts,#wavier_texts,#us_visa_texts,#refuge_texts{
        font-size: 12px;
        color: black;
        word-wrap: break-word;
        line-height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: justify;
    }

    #immigration_img,#wills_img,#us_immigration_img,#freedom_img,#wavier_img,#us_visa_img,#refuge_img{
        width:100%;
        height:100%;
        display: flex;
        justify-content:center;
        align-items: center;
    }


    #immigration_img img,#wills_img img,#us_immigration_img img,#freedom_img img,#wavier_img img,#us_visa_img img,#refuge_img img{
        height: 300px;
        width: 270px;
    }


}