@media (min-width: 320px) and (max-width: 575.98px) {
  main {
    overflow: hidden;
  }
  section {
    padding-left: 0px;
    padding-right: 0px;
  }
  #home {
    padding-top: 1rem;
  }
  .reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-img-box {
    width: 300px;
    height: 300px;
  }
  .hero-img-box::before {
    width: 300px;
    height: 300px;
  }
  .label {
    right: -1rem;
    bottom: -1rem;
    font-size: 0.875rem;
  }
  .title h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
  }
  .hero-left {
    margin-top: 4rem;
    margin-left: 1rem;
  }
  .hero-left {
    margin-top: 6rem;
  }
  .res-btn {
    display: block !important;
  }
  .button-primary {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }
  .btn-secondary {
    width: 100%;
    text-align: center;
    margin-left: 0px !important;
  }

  #about {
    margin-top: 0rem;
    padding-top: 7rem;
  }
  .about-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .about-subtitle {
    font-size: 1.2rem;
    line-height: 1.75rem;
  }
  .about-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about_img_box {
    width: 350px;
    height: 500px;
  }
  .about-right {
    margin-top: 1rem;
  }

  .label-tow {
    right: -0.5rem;
    top: -2rem;
    font-size: 0.75rem;
  }
  .sub-label {
    font-size: 1rem;
  }
  .about-text {
    padding-right: 0px !important;
  }

  .skill-header h2 {
    font-size: 18px;
  }
  .skill-header span {
    font-size: 13px;
  }
  .reseum-rightside {
    text-align: center;
  }
  .reseum-leftside {
    padding: 1rem;
  }
  .mind-set-card {
    padding: 1rem;
  }
  .mind-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .mind-subtitle {
    margin-bottom: 0.8rem;
    font-size: 15px;
  }

  .contact-leftside {
    padding-left: 1rem;
  }
  .form-box {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.5rem;
  }
  .res-con-btn {
    margin-bottom: 0px;
  }
  #footer {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .footer-left {
    padding-left: 1rem;
  }
  .footer-left .connect-me {
    display: none;
  }
  .link-box {
    padding-left: 1rem;
  }

  .filter-button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    cursor: pointer;
    font-size: 0.5rem;
    line-height: 1.25rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
  }
  .portfolio-card {
    /* display: flex; */
    /* height: 22rem; */
    max-width: 100% !important;
  }
  .image-placeholder {
    /* height: 100%;  */
    border-top-left-radius: 12px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 0px;
  }
  .image-placeholder img {
    /* height: 100%; */
    /* width: 100%; */
    /* object-fit: contain; */
    object-fit: cover;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
  }
  .portfolio-contain {
    margin-top: 18px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  main {
    overflow: hidden;
  }
  section {
    padding-left: 0px;
    padding-right: 0px;
  }
  #home {
    padding-top: 1rem;
  }
  .reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .sub-title {
    max-width: 30rem;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-img-box {
    width: 300px;
    height: 300px;
  }
  .hero-img-box::before {
    width: 300px;
    height: 300px;
  }
  .label {
    right: -1rem;
    bottom: -1rem;
    font-size: 0.875rem;
  }
  .title h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
  }
  .hero-left {
    margin-top: 4rem;
    margin-left: 1rem;
  }
  .hero-left {
    margin-top: 6rem;
  }
  .res-btn {
    display: block !important;
  }
  .button-primary {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }
  .btn-secondary {
    width: 100%;
    text-align: center;
    margin-left: 0px !important;
  }

  #about {
    margin-top: 0rem;
    padding-top: 7rem;
  }
  .about-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .about-subtitle {
    font-size: 1.2rem;
    line-height: 1.75rem;
  }
  .about-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about_img_box {
    width: 350px;
    height: 500px;
  }
  .about-right {
    margin-top: 1rem;
  }

  .label-tow {
    right: -0.5rem;
    top: -2rem;
    font-size: 0.75rem;
  }
  .sub-label {
    font-size: 1rem;
  }
  .about-text {
    padding-right: 0px !important;
  }

  .skill-header h2 {
    font-size: 18px;
  }
  .skill-header span {
    font-size: 13px;
  }
  .reseum-rightside {
    text-align: center;
  }

  .contact-leftside {
    padding-left: 1rem;
  }
  .form-box {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  #footer {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .footer-left {
    padding-left: 1rem;
  }
  .footer-left .connect-me {
    display: none;
  }
  .link-box {
    padding-left: 1rem;
  }

  .filter-button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1.25rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
  }
  .image-placeholder {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .image-placeholder img {
    object-fit: cover;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
  }
  .portfolio-contain {
    margin-top: 18px;
  }
  .tag {
    font-size: 0.6rem;
  }
  .title {
    font-size: 1rem;
  }
  .description {
    font-size: 12px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  main {
    overflow: hidden;
  }
  section {
    padding-left: 0px;
    padding-right: 0px;
  }
  .button-primary {
    padding-left: 1rem;
    padding-right: 1rem;
}
  #home {
    padding-top: 1rem;
  }
  .container {
    max-width: 838px;
  }
  .sub-title {
    max-width: 30rem;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-img-box {
    width: 300px;
    height: 300px;
  }
  .hero-img-box::before {
    width: 300px;
    height: 300px;
  }
  .label {
    right: -1rem;
    bottom: -1rem;
    font-size: 0.875rem;
  }
  .title h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
  }
  .hero-left {
    margin-top: 4rem;
    margin-left: 1rem;
  }
  .hero-left {
    margin-top: 6rem;
  }
  .res-btn {
    display: block !important;
  }


  #about {
    margin-top: 0rem;
    padding-top: 7rem;
  }
  .about-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .about-subtitle {
    font-size: 1.2rem;
    line-height: 1.75rem;
  }
  .about-left {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .about_img_box {
    width: 350px;
    height: 500px;
  }
  .about-right {
    margin-top: 1rem;
  }

  .label-tow {
    right: -0.5rem;
    top: -2rem;
    font-size: 0.75rem;
  }
  .sub-label {
    font-size: 1rem;
  }
  .about-text {
    padding-right: 0px !important;
  }

  .about-card {
    padding: 1rem;
}

  .skill-header h2 {
    font-size: 18px;
  }
  .skill-header span {
    font-size: 13px;
  }

  .contact-leftside {
    padding-left: 1rem;
  }
  .form-box {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1.5rem;
  }
  .res-con-btn {
    margin-bottom: 0px;
  }

  .reseum-leftside {
    padding: 1.5rem;
  }
  .reseum-rightside {
    padding: 1rem;
  }
  .resume-right-box {
    padding: 1rem;
  }
  .reseum-desc p {
    margin-bottom: 1rem;
  }
  .res-btn, .btn-secondary{
    margin-right: 0px !important;
  }
  #footer {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .footer-left {
    padding-left: 1rem;
  }
  .footer-left .connect-me {
    display: none;
  }
  .link-box {
    padding-left: 1rem;
  }

  .filter-button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    cursor: pointer;
    font-size: 0.7rem;
    line-height: 1.25rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
  }
  .image-placeholder {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .image-placeholder img {
    object-fit: cover;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
  }
  .portfolio-contain {
    margin-top: 18px;
  }
  .tablet-size {
    margin-top: 1.5rem !important;
  }
  .tag {
    font-size: 0.5rem;
  }
  .title {
    font-size: 1rem;
  }
  .description {
    font-size: 12px;
  }
  .contact-btn {
    width: auto;
  }
  .services-box {
    padding: 1rem;
  }
}
@media (min-width: 992px) and (max-width: 1150.98px) {
  /* .about_img_box {
    width: 400px;
    height: 500px;
  } */
  section {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .form-box {
    margin-right: 0px;
  }
}
