/* @media only screen and (max-width: 850px) {
  #home_works .top {
    text-align: center;
  }
  #home_works .category_box_container {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  #home_works .category_box_container .category_box {
    height: 200px;
    width: 200px;
  }
  #contacts h1 {
    font-size: 3rem;
  }
  #intro .contents .texts {
    font-size: 50px;
  }
  footer .top .con_redirect a {
    font-size: 45px;
  }
} */


@media only screen and (max-width: 850px) {
  header {
    padding: 35px 0;
  }
  header .left img {
    height: 30px;
  }
  footer {
    overflow-x: hidden !important;
  }
  #intro {
    height: 100% !important;
    width: 100% !important;
    background: url("../images/gif4.gif");
    background-size:cover !important;
    -webkit-background-size: cover;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-position: center !important;
    -webkit-background-position: center;
    -moz-background-position: center !important;
    -o-background-position: center !important;
    background-repeat: no-repeat !important;
    -webkit-background-repeat: no-repeat;
    -moz-background-repeat: no-repeat !important;
    -o-background-repeat: no-repeat !important;
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
 }
  #header_on {
    display: block;
    align-items: right;
    margin-left: 70px;
    font-size: 35px;
  }
  #close_menu {
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    align-items: right;
    margin-left: 70px;
    font-size: 35px;
  }

  header .right{
    width: unset;
  }
  header .right .menus {
    display: none;
    flex-direction: column;
    justify-content: center;
    background: #141414;
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
  }
  header .right .menus .menu {
    font-size: 30px;
    font-weight: bold;
  }
  #intro .contents .texts {
    font-size: 25px;
  }
  #home_works .top h2{
    font-size: 15px;
  }
  #home_works .top {
    font-size: 25px;
    text-align: center;
  }
  #home_works .grid_works .work {
    height: 350px !important;
    width: 98% !important;
    margin: 50px 0;
  }
  footer .top {
    text-align: center;
  }
  footer .top .con_redirect a {
    font-size: 35px;
  }
  footer .bottom {
    flex-direction: column;
    padding: 20px 0px;
    font-size: 13px;
  }
  #works h1 {
    font-size: 35px;
  }
  #works .works_div .filters .filter_names {
    flex-wrap: wrap;
  }
  #works .works_div .filters p {
    font-size: 20px;
  }
  #works .works_div {
    width: 100%;
  }
  #coming__soon{
    font-size: 25px;
  }
  #projects h1 {
    width: 88%;
    font-size: 40px;
  }
  #projects .project_names {
    width: 100%;
    padding: 10px 0;
  }
  #projects .project_names .p_category {
    font-size: 25px;
  }
  #contacts .contact_infos .left {
    width: 100%;
    flex-direction: column;
  }
  #contacts .contact_infos .left .left p {
    padding: 15px 0;
  }
  #contacts .contact_infos .right {
    width: 100%;
  }
  #contacts {
    overflow-x: hidden;
  }
  #contacts h1 {
    text-align: center;
    font-size: 2rem;
  }
  #home_works .side_link {
    transform: rotate(0deg);
    left: unset;
    text-align: center;
    width: 100%;
    font-size: 15px;
  }
  #works .works_div .filters .filter_names a {
    font-size: 14px;
  }
  footer .top .contacts .mails,
  footer .top .contacts .socials {
    font-size: 20px;
  }
  .category_box_container {
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #contacts .contact_infos .left{
    padding: 5px;
  }
  #contacts .contact_infos .left .left{
    width: 100%;
  }
  #contacts .contact_infos .left .right{
    width: 100%;
  }
  #contacts .contact_infos .right form input, #contacts .contact_infos .right form textarea{
    font-size: 13px;
  }
  #contacts h1{
    margin-left: 0;
  }
}

@media only screen and (max-width: 600px) {
  #home_works .category_box_container .category_box{
    height: 200px;
 }
  #intro {
    height: 100% !important;
    width: 100% !important;
    background: url("../images/gif4.gif");
    background-size:cover !important;
    -webkit-background-size: cover;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-position: center !important;
    -webkit-background-position: center;
    -moz-background-position: center !important;
    -o-background-position: center !important;
    background-repeat: no-repeat !important;
    -webkit-background-repeat: no-repeat;
    -moz-background-repeat: no-repeat !important;
    -o-background-repeat: no-repeat !important;
    /* position: relative; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
 }
  header {
    padding: 35px 0;
  }
  header .left img {
    height: 30px;
  }
  footer {
    overflow-x: hidden !important;
  }
  header .right{
    width: 100%;
  }
  #header_on {
    display: block;
    align-items: right;
    margin-left: 70px;
    font-size: 35px;
  }
  #close_menu {
    position: absolute;
    top: 15px;
    right: 15px;
    display: block;
    align-items: right;
    margin-left: 70px;
    font-size: 35px;
  }
  header .right .menus {
    display: none;
    flex-direction: column;
    justify-content: center;
    background: #141414;
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
  }
  header .right .menus .menu {
    font-size: 30px;
    font-weight: bold;
  }
  #intro .contents .texts {
    font-size: 15px;
  }
  #home_works .top h2{
    font-size: 15px;
  }
  #home_works .top {
    font-size: 25px;
    text-align: center;
  }
  #home_works .grid_works .work {
    height: 350px !important;
    width: 98% !important;
    margin: 50px 0;
  }
  footer .top {
    text-align: center;
  }
  footer .top .con_redirect a {
    font-size: 25px;
  }
  footer .bottom {
    flex-direction: column;
    padding: 20px 0px;
    font-size: 8px;
  }
  #works h1 {
    font-size: 35px;
  }
  #works .works_div .filters .filter_names {
    flex-wrap: wrap;
  }
  #works .works_div .filters p {
    font-size: 20px;
  }
  #works .works_div {
    width: 100%;
  }
  #coming__soon{
    font-size: 25px;
  }
  #projects h1 {
    width: 88%;
    font-size: 40px;
  }
  #projects .project_names {
    width: 100%;
    padding: 10px 0;
  }
  #projects .project_names .p_category {
    font-size: 25px;
  }
  #contacts .contact_infos .left {
    width: 100%;
    flex-direction: column;
  }
  #contacts .contact_infos .left .left p {
    padding: 15px 0;
  }
  #contacts .contact_infos .right {
    width: 100%;
  }
  #contacts {
    overflow-x: hidden;
  }
  #contacts h1 {
    text-align: center;
    font-size: 2rem;
  }
  #home_works .side_link {
    transform: rotate(0deg);
    left: unset;
    text-align: center;
    width: 100%;
    font-size: 15px;
  }
  #works .works_div .filters .filter_names a {
    font-size: 14px;
  }
  footer .top .contacts .mails,
  footer .top .contacts .socials {
    font-size: 13px;
  }
  .category_box_container {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: unset;
  }
  #contacts .contact_infos .left{
    padding: 5px;
  }
  #contacts .contact_infos .left .left{
    width: 100%;
  }
  #contacts .contact_infos .left .right{
    width: 100%;
  }
  #contacts .contact_infos .right form input, #contacts .contact_infos .right form textarea{
    font-size: 13px;
  }
  #contacts h1{
    margin-left: 0;
  }
  #home_works .category_box_container .category_box{
    width: 250px;
  }
  #home_works,#projects,#contacts{
    background: #171614;
  }
}

