/*1328px*/
@media (max-width: 83em) {
  html {
    font-size: 56.25%;
  }
  .bttn {
    font-size: 2.2rem !important;
  }

  header .bttn {
    font-size: 2.6rem !important;
  }
  .card-pricing a {
    font-size: 2.8rem !important;
  }
  #certificate {
    position: absolute;
    right: 130px;
  }
  nav .bttn-real {
    width: 160px;
  }
}

/*1072px*/
@media (max-width: 67em) {
  body.close #open-bttn2 {
    display: block;
  }

  nav .bttn-real {
    width: 240px;
  }
  header .container {
    text-align: center;
    justify-items: center;
    gap: 0;
    grid-template-columns: 1fr;
  }
  .header-description {
    margin-bottom: 4.8rem;
  }
  .header-description .nav-bttns {
    justify-content: center;
  }
  header img {
    height: 60rem;
    width: 100%;
    object-fit: cover;
    justify-self: center;
  }
  .info .container {
    text-align: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    border-radius: 0.9rem;
    padding: 0;
    column-gap: 4.8rem;
  }
  .info .img {
    margin: 0 auto;
  }

  .info .img-wrapper {
    margin-bottom: 9.6rem;
  }

  .info .info-description {
    justify-self: center;
  }

  .nav-bttns-header {
    flex-direction: column;
    justify-content: center;
    gap: 6.4rem;
    position: fixed;
    height: 100dvh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: #0244a8d7;
    backdrop-filter: blur(2px);
    transform: translateX(0%);
    transition: 0.5s all ease;
  }

  .close .nav-bttns-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
  }
  .nav-bttns-header a {
    font-size: 3.2rem !important;
  }

  .toggle-menu {
    position: fixed;
    top: 12px;
    right: 32px;
    display: block;
    z-index: 1001;
    width: 42px;
    height: 42px;
    cursor: pointer;
  }

  .logo a {
    font-size: 2.6rem !important;
  }
  #certificate {
    position: absolute;
    right: 40px;
  }
}

@media (max-width: 51em) {
  .learn-more .grid {
    grid-template-columns: 1fr;
  }
  .learn-more .card-pricing {
    grid-area: auto;
  }
  .bttn-real {
    text-align: center;
    width: 222px;
    padding: 0.8rem 1rem;
  }
  header .container .nav-bttns {
    gap: 0;
    justify-content: space-evenly;
  }
}

/*656*/
@media (max-width: 41em) {
  #logo-svg {
    width: 32px;
    height: 32px;
  }
  .logo a {
    gap: 0.8rem;
  }
  header .container .nav-bttns {
    gap: 1.2rem;
    justify-content: start;
  }
  .logo a {
    font-size: 2rem !important;
  }
  .contact {
    padding: 9.6rem 4.8rem;
  }
  p {
    font-size: 2rem;
  }
  .primary-heading {
    font-size: 4rem;
  }
  header {
    padding: 6.4rem 1.8rem 12rem 1.8rem;
  }

  .header-description {
    margin: 0 auto;
    margin-bottom: 3.6rem;
    max-width: 55rem;
  }

  .secondary-heading {
    font-size: 3.6rem;
    line-height: 1;
  }

  .contact-box p,
  .user-review p {
    font-size: 2rem;
  }
  .contact-ul li a {
    font-size: 2.4rem;
  }
  .user-reviews {
    position: relative;
    margin: 0 auto;
    max-width: 40rem;
  }
  header img {
    height: 50rem;
    width: 100%;
  }
  #certificate {
    position: absolute;
    right: -40px;
    bottom: -2px;
    width: 36px;
    height: 36px;
  }
  .info .info-description .secondary-heading {
    display: inline;
  }
  .info .info-description p {
    margin-top: 2.4rem;
  }
  .contact-ul li svg {
    width: 36px;
    height: 36px;
  }
  .contact-ul li {
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
  }
  .learn-more {
    padding-top: 19rem;
  }
  .info .img {
    height: 440px;
    max-width: 300px;
    object-fit: cover;
  }
  .info .img-wrapper {
    margin-bottom: 4.8rem;
  }

  .reviews p svg.quote1,
  .reviews p svg.quote2 {
    width: 25px;
    height: 25px;
  }
  .reviews {
    padding-top: 9.6rem;
  }
  .learn-more {
    padding-top: 15rem;
  }
}

/*496*/
@media (max-width: 31em) {
  .reviews {
    padding-top: 4.8rem;
  }
  p {
    line-height: 1.5;
  }
  .contact {
    padding: 6.4rem 2.4rem 0rem 2.4rem;
  }
  .contact .secondary-heading {
    margin-bottom: 2.4rem;
  }

  .contact p {
    margin-bottom: 0.8rem;
  }
  p {
    font-size: 1.8rem;
  }
  header img {
    height: 40rem;
    width: 100%;
  }
  .contact-ul li a {
    font-size: 2rem;
  }
  .primary-heading {
    font-size: 3.6rem;
  }
  header .nav-bttns {
    gap: 0.8rem;
    flex-direction: column;
  }

  header .bttn {
    font-size: 2.4rem !important;
  }
  .user-reviews {
    position: relative;
    margin: 0 auto;
    max-width: 28rem;
  }

  .review-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
  }

  .reviews .container .secondary-heading {
    margin-bottom: 2.4rem;
  }
  .contact-box p,
  .user-review p {
    font-size: 1.6rem;
  }
  .user-review svg {
    width: 30px;
    height: 30px;
  }
  .learn-more {
    padding: 9.6rem 2.4rem;
  }
  .reviews .quote2,
  .reviews .quote1 {
    height: 20px;
    width: 20px;
  }

  .card .card-title {
    font-size: 2.8rem;
    margin-bottom: 1.6rem;
  }

  .learn-more .card {
    padding: 2.4rem 1.2rem;
    max-width: 34rem;
  }

  .card .content-title {
    margin-bottom: 0.8rem;
    font-size: 2rem;
  }

  .card ul li {
    display: grid;
    align-items: center;
    font-size: 1.8rem;
  }

  .card svg {
    width: 2rem;
    height: 2rem;
  }
  .card ul {
    margin-bottom: 1.4rem;
  }
  .reviews .quote2 {
    top: 0;
    right: -22px;
  }
  .reviews .quote1 {
    top: 0;
    left: -22px;
  }

  .info {
    padding: 6.4rem 1.4rem;
  }
  #certificate {
    position: absolute;
    right: auto;
    right: -40px;
    bottom: -4px;
    width: 36px;
    height: 36px;
  }
  .info .info-description p {
    margin-top: 2rem;
  }

  .secondary-heading {
    font-size: 3rem;
  }
  .card.card-pricing ul li p {
    font-size: 1.8rem;
  }

  .card-pricing .price-description {
    font-size: 1.6rem;
  }
  .info .img-wrapper {
    padding-top: 4.8rem;
    margin-bottom: 0rem;
  }
  .info .img {
    height: 350px;
    max-width: 240px;
    object-fit: cover;
  }
  .contact-ul li:last-child {
    padding-bottom: 4.2rem;
  }

  .contact-card-info .contact-a {
    font-size: 1.8rem !important;
  }
  .contact-card-info .svg {
    width: 30px;
    height: 30px;
    fill: var(--main-color-shade);
  }
}
