html {
  overflow-x: hidden !important;
}

/************************************************************************************
smaller than 1480
*************************************************************************************/

@media screen and (max-width: 1480px) {
}

/************************************************************************************
smaller than 1366
*************************************************************************************/

@media screen and (max-width: 1366px) {
}

/************************************************************************************
smaller than 1280
*************************************************************************************/

@media screen and (max-width: 1280px) {
  .wrapper {
    width: 90%;
  }
  .project-wrapper img {
    width: 216px;
    height: 353px;
  }
  .project-wrapper {
    gap: 20px;
  }
}

/************************************************************************************
smaller than 1170 (the default size of the website)
*************************************************************************************/

@media screen and (max-width: 1170px) {
  .footerFirst_inside {
    gap: 40px;
  }
  .project-wrapper img {
    width: 206px;
    height: 353px;
  }
  .project-wrapper {
    gap: 20px;
  }
  .grid-container{
    height: 306px;
  }
}

/************************************************************************************
smaller than 1024
*************************************************************************************/

@media screen and (max-width: 1024px) {
  .footerFirst_inside {
    gap: 20px;
  }

  .footer_icon {
    gap: 20px;
  }

  .footer_icon .icons {
    font-size: 30px;
  }

  .footer_logo img {
    width: 40px;
  }

  .about-para {
    font-size: 16px;
    line-height: 24px;
  }
  .project-wrapper img {
    width: 206px;
    height: 353px;
  }
  .project-wrapper {
    gap: 15px;
  }
}

/************************************************************************************
smaller than 980
*************************************************************************************/

@media screen and (max-width: 980px) {
  nav {
    display: block;

    #menu {
      display: block;
      font-size: 50px;
      /* margin-right: auto; */
      margin-right: 20px;
      float: right;
      color: #1f1f1f;
    }

    li {
      display: none;
    }

    button {
      display: none;
    }
  }

  .main_hero::before {
    width: 422px !important;
    height: 422px !important;

    .about-para {
      font-size: 14px;
      line-height: 22px;
      padding: 14px 0px 0px 25px;
    }

    .content-left {
      img {
        height: 500px;
        margin-top: -190px;
      }
    }

    .about-button {
      padding: 16px 25px;
    }

    .about-button button {
      font-size: 12px;
      background-color: #9a0500;
    }
  }
  .project-wrapper img {
    width: 156px;
    height: 253px;
  }
  .project-wrapper {
    gap: 10px;
  }
  .grid-container{
    height: 233px;
  }
}

/************************************************************************************
smaller than 768
*************************************************************************************/

@media screen and (max-width: 768px) {
  .about-para {
    font-size: 12px;
    line-height: 18px;
    padding: 12px 0px 0px 10px;
  }

  .content-left {
    img {
      height: 450px;
      margin-top: -170px;
    }
  }

  .about-button {
    padding: 16px 10px;
  }

  .about-button button {
    font-size: 12px;
    background-color: #9a0500;
    padding: 10px 25px;
  }
  .hero {
    height: 500px;
    .hero_background {
      .hero_left {
        span {
          font-size: 20px;
        }
        h2 {
          font-size: 50px;
        }
      }
      .hero_right {
        .fig1 {
          width: 65%;
        }
        .fig2 {
          width: 30%;
        }
      }
    }
  }
  .masonry-gallery {
    column-count: 2;
  }
  .footerFirst_inside {
    gap: 12px;
    font-size: 14px;
  }

  .footer_icon {
    gap: 20px;
  }

  .footer_icon .icons {
    font-size: 30px;
  }

  .footer_logo img {
    width: 40px;
  }

  .Subscribe {
    font-size: 16px;
  }

  .footerInput {
    width: 240px;
    height: 40px;
  }

  .circle_icons {
    height: 60px;
    width: 60px;
  }

  .footer_copyright {
    font-size: 12px;
  }

  .footer_secondInside {
    gap: 10px;
  }

  .contact {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 650px;
  }
  .contact-container {
    width: 100%;
    margin: 20px auto;
  }
  .form input {
    margin: 10px;
  }
  .contact-container {
    h2 {
      color: white;
      text-align: center;
      font-size: 24px;
      font-weight: 600;
      margin-top: 70px;
    }
  }
  .right {
    width: 100%;
    margin: 20px auto;
  }
  .right-top {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  .contact-us,
  .mail,
  .office,
  .website {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  .contact-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  .flex-box {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .flex-box {
    gap: 20px;
  }

  .insta-text {
    .instaIcon {
      font-size: 40px;
      font-weight: 700;
    }
    p {
      font-size: 34px;
    }
  }
  .grid-container {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 21px;
    row-gap: 19px;
    height: 580px;
    border-radius: 20px;
    margin-top: 10px;
  }
  .project-wrapper img {
    width: 136px;
    height: 223px;
  }
  .project-wrapper {
    gap: 10px;
  }
  
}

/************************************************************************************
smaller than 680
*************************************************************************************/

@media screen and (max-width: 680px) {
  .hero {
    height: 500px;
    .hero_background {
      .hero_left {
        span {
          font-size: 20px;
        }
        h2 {
          font-size: 45px;
        }
      }
      .hero_right {
        .fig1 {
          width: 70%;
        }
        .fig2 {
          width: 35%;
        }
      }
    }
  }

  .about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .content-left {
    width: 80%;
    display: flex;
    justify-content: center;

    img {
      width: 100%;
      height: 350px;
    }
  }

  .content-right {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .about-heading {
    text-align: center;
    padding: 10px 25px;
    margin-top: 10px;
  }

  .about-para {
    text-align: justify;
    line-height: 28px;
    padding: 18px 0px;
  }
}

@media screen and (max-width: 640px) {
  .footerFirst_inside {
    gap: 8px;
    font-size: 12px;
  }

  .footer_icon {
    gap: 10px;
  }

  .footer_icon .icons {
    font-size: 25px;
  }

  .footer_logo img {
    width: 35px;
  }

  .Subscribe {
    font-size: 12px;
  }

  .footerInput {
    width: 200px;
    height: 35px;
  }

  .circle_icons {
    height: 50px;
    width: 50px;
  }

  .footer_copyright {
    font-size: 10px;
  }

  .footer_secondInside {
    gap: 0px;
  }

  .footer_second {
    padding: 10px 0px;
  }

  .footer_secondOutside {
    gap: 10px;
  }
  .hero::before {
    height: 400px;
    width: 400px;
    top: -31%;
    left: -25%;
  }
  .hero::after {
    height: 200px;
    width: 200px;
    top: -9%;
    left: -14%;
  }
  .project-wrapper img {
    width: 96px;
    height: 163px;
  }
  .project-wrapper {
    gap: 5px;
  }
}

/************************************************************************************
smaller than 480
*************************************************************************************/

@media screen and (max-width: 480px) {
  .footer_first {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 10px;
  }

  .footerFirst_inside {
    font-size: 10px;
    margin-top: 5px;
  }

  .footer_icon {
    gap: 5px;
  }

  .footer_icon .icons {
    font-size: 16px;
  }

  .Subscribe {
    font-size: 8px;
  }

  .footer_copyright {
    font-size: 7px;
  }

  .footerInput {
    width: 130px;
    height: 25px;
    font-size: 8px;
    padding: 8px;
  }

  .email_icons {
    font-size: 20px;
  }

  .circle_icons {
    height: 40px;
    width: 40px;
    margin-left: -20px;
  }
  .copyright {
    margin-top: 0px;
  }
  .hero {
    height: 350px;
    .hero_background {
      .hero_left {
        margin-top: 30%;
        span {
          font-size: 20px;
        }
        h2 {
          font-size: 25px;
        }
      }
      .hero_right {
        .fig1 {
          width: 70%;
        }
        .fig2 {
          width: 35%;
          margin-right: 5px;
        }
      }
    }
  }
  .hero::before {
    height: 300px;
    width: 300px;
    top: -19%;
    left: -25%;
  }
  .hero::after {
    height: 200px;
    width: 200px;
    top: -9%;
    left: -14%;
  }
  .form input {
    width: 300px;
  }
  .project-wrapper img {
    width: 76px;
    height: 133px;
  }
  .project-wrapper {
    gap: 5px;
  }
}

/************************************************************************************
smaller than 380
*************************************************************************************/
@media screen and (max-width: 380px) {
  .footer_logo img {
    width: 25px;
  }

  .footerFirst_inside {
    font-size: 8px;
    margin-top: 5px;
  }

  .footer_secondOutside {
    gap: 5px;
  }

  .footerInput {
    width: 110px;
    height: 20px;
    font-size: 6px;
    padding: 4px;
  }

  .footer_copyright {
    font-size: 6px;
  }
  .form input {
    width: 250px;
  }
  .project-wrapper img {
    width: 65px;
    height: 113px;
  }
  .project-wrapper {
    gap: 2px;
  }
}

/************************************************************************************
smaller than 360
*************************************************************************************/
@media screen and (max-width: 360px) {
}

/************************************************************************************
smaller than 320
*************************************************************************************/
