@media screen and (max-device-width: 369px) {
  section .description-erp-bg-shape-gray,
  section .description-erp-bg-shape-red {
    height: 6210px !important;
  }

  section .bg-solutions-divider {
    height: 6210px !important;
  }

  .bg-solutions .bg-solutions-content .bg-solutions-title h2 {
    font-size: 12px !important;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card {
    margin-top: 80px !important;
  }
}

@media screen and (min-device-width: 370px) and (max-device-width: 450px) {
  section .description-erp-bg-shape-gray,
  section .description-erp-bg-shape-red {
    height: 6095px !important;
  }

  section .bg-solutions-divider {
    height: 6095px !important;
  }

  .bg-solutions .bg-solutions-content .bg-solutions-title h2 {
    font-size: 12px !important;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card {
    margin-top: 80px !important;
  }
}

@media only screen and (max-device-width: 640px) {
  section .description-erp-bg-shape-gray,
  section .description-erp-bg-shape-red {
    height: 5300px;
  }

  section .bg-solutions-divider {
    height: 5300px;
  }

  /* NAV E DESCRIPTION ERP */
  .container {
    max-width: 640px;
  }

  .logo-nav img {
    width: 70px;
    height: 45px;
    margin: 10px 0 0 10px;
  }

  .bg-solutions {
    height: 100%;
    width: 100%;
    background: #1a1d24;
  }

  /* .bg-solutions img {
    width: auto;
  } */

  /* .slider nav ul {
    text-align: center;
  }

  .slider nav ul li {
    font-size: 8px;
  } */

  .description-erp-bg .description-erp .description-er-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-title
    h1 {
    font-size: 19px;
    text-align: center;
    color: white;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-text
    p {
    font-size: 15px;
    text-align: center;
    color: white;
  }

  /* .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-title-btn {
    margin-left: 30px;
  } */

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content {
    margin: 0px 0px 0 0px;
    padding: 0 20px 0px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-image
    img {
    width: 239px;
    height: 262px;
  }

  /* DESCRIPTION ERP BUSINESS */

  .description-erp .description-erp-business .description-erp-business-title {
    margin: 0px 0px 0 0px;
    text-align: center;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-title
    h1 {
    font-family: Roboto;
    font-weight: bold;
    font-size: 23px;
    color: white;
    margin-top: 60px;
    padding: 0 20px;
  }

  .description-erp .description-erp-business .description-erp-business-cards {
    /* display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 90px;
    margin-left: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .description-erp-business-cards {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card {
    height: 170px;
    width: 300px;
    margin-top: 50px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card
    img {
    height: 170px;
    width: 300px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card
    .card-header
    .card-header-title {
    font-size: 20px;
  }

  /* .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-title {
    color: black;
  } */

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog {
    /* display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
    margin-top: 40px;
    margin-left: 75px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #card-blog-3 {
    margin-top: 19px;
  }

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog
    .card-blog {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 320px;
    height: 166px;
    margin-bottom: 70px;
  }

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog
    .card-blog-body
    .card-body-img
    img {
    width: 320px;
    height: 166px;
  }

  /* NOSSA HISTORIA  */

  .our-history-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }

  .our-history-description {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .our-history-description-wrapper {
    width: auto;
  }

  .our-history-description-wrapper .our-history-description-title h2 {
    text-align: center;
    margin-top: 5px;
  }

  .description-erp-bg-shape-gray,
  .description-erp-bg-shape-red {
    height: 5200px;
  }
  .our-history-description-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
  }

  .our-history-description-text p {
    text-align: center;
    font-weight: 300;
    font-size: 16px;
    width: 90%;
  }

  .our-history-video {
    margin-top: 40px;
    width: 100%;
  }

  .our-clients-content .our-clients-title h2 {
    font-size: 1.5rem;
  }

  .our-clients-content .card-client-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
  }

  .card-client {
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  /* .card-client-title {
    margin-right: 30px;
  } */

  .card-client-title h3 {
    font-weight: 300;
  }

  .bg-solutions-divider {
    height: 5200px;
  }

  .bg-solutions-title {
    width: auto;
    margin-top: auto;
  }

  .bg-solutions .bg-solutions-content .bg-solutions-title h2 {
    font-size: 17px;
    font-weight: 800;
  }

  .bg-solutions-content .bg-solutions-btn {
    margin-top: 30px;
  }

  .bg-solutions-content .bg-solutions-btn button {
    width: 150px;
    height: 40px;
    background: #bd2326;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
  }

  .bg-cellphone .bg-cellphone-content .bg-cellphone-title {
    width: auto;
  }

  .bg-cellphone .bg-cellphone-content .bg-cellphone-title h2 {
    font-size: 17px;
  }

  .bg-cellphone-btn button {
    width: 140px;
    height: 35px;
    background: #bd2326;
    border-radius: 7px;
    color: white;
    font-weight: bold;
    font-size: 12px;
  }

  /* FOOTER */

  .info-footer {
    display: flex;
    flex-direction: column;
    padding: 0 0 0 0;
    text-align: center;
  }

  .footer {
    width: 100%;
    height: 700px;
    margin-top: -10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
  }

  .info-company {
    padding: 0 0 0 0;
  }

  .info-company p {
    font-size: 16px;
  }

  .description-erp-bg-shape-gray {
    clip-path: polygon(0px 0px, 75% 0px, 137.37% 101%, 0% 100%);
  }

  .description-erp-bg-shape-red {
    clip-path: polygon(70.38% 0px, 100% 0px, 100% 100%, 5.56% 100%);
  }
}

@media only screen and (min-device-width: 642px) and (max-device-width: 840px) {
  /* NAV E DESCRIPTION ERP */
  .container {
    max-width: 840px;
  }

  .logo-nav img {
    width: 70px;
    height: 45px;
    margin: 10px 0 0 10px;
  }
  .slider nav ul li {
    font-size: 8px;
  }

  .description-erp-bg .description-erp .description-er-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-title
    h1 {
    font-size: 19px;
    text-align: center;
    color: white;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-text
    p {
    font-size: 15px;
    text-align: center;
    color: white;
  }

  /* .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content
    .description-erp-title-btn {
    margin-left: 30px;
  } */

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-content {
    margin: 0px 0px 0 0px;
    padding: 0 20px 0px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .description-erp-bg
    .description-erp
    .description-er-container
    .description-erp-title-image
    img {
    width: 239px;
    height: 262px;
  }

  /* DESCRIPTION ERP BUSINESS */

  .description-erp .description-erp-business .description-erp-business-title {
    margin: 0px 0px 0 0px;
    text-align: center;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-title
    h1 {
    font-family: Roboto;
    font-weight: bold;
    font-size: 23px;
    color: white;
    margin-top: 60px;
    padding: 0 20px;
  }

  .description-erp .description-erp-business .description-erp-business-cards {
    /* display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 90px;
    margin-left: 10px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .description-erp-business-cards {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card {
    height: 170px;
    width: 300px;
    margin-top: 50px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card
    img {
    height: 170px;
    width: 300px;
  }

  .description-erp
    .description-erp-business
    .description-erp-business-cards
    .card
    .card-header
    .card-header-title {
    font-size: 20px;
  }

  /* .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-title {
    color: black;
  } */

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog {
    /* display: grid;
    grid-template-columns: 1fr;
    gap: 100px;
    margin-top: 40px;
    margin-left: 75px; */
    display: flex;
    justify-content: space-around;
    align-content: flex-start;
    margin-top: 54px;
  }

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog
    .card-blog {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 320px;
    height: 166px;
    margin-bottom: 70px;
  }

  .description-erp-bg
    .description-erp
    .description-erp-business
    .description-erp-business-card-blog
    .card-blog-body
    .card-body-img
    img {
    width: 320px;
    height: 166px;
  }

  /* NOSSA HISTORIA  */

  .our-history-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
  }

  .our-history-description {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .our-history-description-wrapper {
    width: auto;
  }

  .our-history-description-wrapper .our-history-description-title h2 {
    text-align: center;
    margin-top: 50px;
  }

  .description-erp-bg-shape-gray,
  .description-erp-bg-shape-red {
    height: 4900px;
  }

  .our-history-description-text p {
    text-align: center;
    font-weight: 300;
  }

  .our-history-video {
    margin-top: 40px;
    width: 100%;
  }

  .our-clients-content .our-clients-title h2 {
    font-size: 1.5rem;
  }

  .our-clients-content .card-client-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
  }

  .card-client {
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  /* .card-client-title {
    margin-right: 30px;
  } */

  .card-client-title h3 {
    font-weight: 300;
  }

  .bg-solutions-divider {
    height: 4900px;
  }

  .bg-solutions-title {
    width: auto;
    margin-top: auto;
  }

  .bg-solutions .bg-solutions-content .bg-solutions-title h2 {
    font-size: 17px;
    font-weight: 800;
  }

  .bg-solutions-content .bg-solutions-btn {
    margin-top: 30px;
  }

  .bg-solutions-content .bg-solutions-btn button {
    width: 150px;
    height: 40px;
    background: #bd2326;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
  }

  .bg-cellphone .bg-cellphone-content .bg-cellphone-title {
    width: auto;
  }

  .bg-cellphone .bg-cellphone-content .bg-cellphone-title h2 {
    font-size: 17px;
  }

  .bg-cellphone-btn button {
    width: 140px;
    height: 35px;
    background: #bd2326;
    border-radius: 7px;
    color: white;
    font-weight: bold;
    font-size: 12px;
  }

  /* FOOTER */

  .footer {
    width: 100%;
    height: 600px;
    background-color: #494440;
    margin-top: -10px;
    border-left: 40px solid #e12f2f;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
  }

  .footer .logo-ibr-class img {
    width: 190px;
    height: 130px;
  }

  .info-company p {
    font-size: 15px;
  }

  .description-erp-bg-shape-gray {
    clip-path: polygon(0px 0px, 75% 0px, 137.37% 101%, 0% 100%);
  }

  .description-erp-bg-shape-red {
    clip-path: polygon(70.38% 0px, 100% 0px, 100% 100%, 5.56% 100%);
  }
}

@media only screen and (min-device-width: 1023px) and (max-device-width: 1279px) {
  .card-body-img img {
    width: 300px;
    height: 160px;
    border-radius: 10px;
  }

  .card-header-title {
    font-size: 17px;
  }

  .our-history-description-wrapper {
    width: 480px;
  }

  .bg-solutions-divider {
    height: 3812px;
  }

  .description-erp-bg-shape-gray {
    height: 3818px;
  }

  .description-erp-bg-shape-red {
    height: 3818px;
  }
}

@media only screen and (min-device-width: 1280px) {
  .bg-solutions-divider {
    height: 3370px;
  }

  .description-erp-bg-shape-gray {
    height: 3380px;
  }

  .description-erp-bg-shape-red {
    height: 3380px;
  }
}

@media only screen and (min-device-width: 1366px) {
  .bg-solutions-divider {
    height: 3440px;
  }

  .description-erp-bg-shape-gray {
    height: 3440px;
  }

  .description-erp-bg-shape-red {
    height: 3440px;
  }
}

@media only screen and (min-device-width: 1600px) {
  .bg-solutions img {
    width: 99vw;
  }

  .bg-cellphone img {
    width: 99vw;
  }
}

@media only screen and (min-device-width: 1920px) {
  .description-erp-business-title {
    margin: 220px 250px 0px 150px;
  }

  .bg-cellphone-title {
    width: 600px;
  }

  .bg-cellphone-title h2 {
    font-size: 50px;
  }
}

@media (max-width: 600px) {
  #menu {
    display: block;
    position: absolute;
    width: 100%;
    top: 70px;
    right: 0px;
    background: #7d1515;
    transition: 0.6s;
    z-index: 1000;
    height: 0px;
    visibility: hidden;
    overflow-y: hidden;
  }
  #nav.active #menu {
    height: calc(100vh - 70px);
    visibility: visible;
    overflow-y: auto;
  }
  #menu a {
    padding: 1rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    color: rgb(255, 255, 255);
    width: 100%;
  }
  #btn-mobile {
    color: white;
    display: flex;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
  }
  #hamburger {
    border-top: 2px solid;
    width: 20px;
  }
  #hamburger::after,
  #hamburger::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }
  #nav.active #hamburger {
    border-top-color: transparent;
  }
  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }
  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  .slider nav ul li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider nav ul li:hover {
    border-bottom: none;
  }

  .title-header {
    width: 95%;
    height: 75%;
    font-size: 17px;
    line-height: 20px;
    text-shadow: 4px 2px 0px #000000;
  }
}
