/* BREAKPOINTS */

@media screen and (max-width: 1200px) {
  html {
    font-size: 50%;
    width: 100%;
  }

  .container__cards {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-top: 100px;
    padding-bottom: 100px;
  }

  .nav__imgl {
    width: 12%;
  }

  #darkMode-icon {
    font-size: 3rem;
    bottom: 10rem;
    right: 3rem;
  }

  .footer__contenido {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  }

}

@media (max-width: 1024px) {
  .header {
    padding: 2rem 3%;
  }

  .miVideo {
    object-fit: cover;
  }

  .container_-padre {
    padding: 2rem 3% 1rem;
  }

  .container__servicio {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }

  .container__servicio img {
    width: 100%;
    min-width: 35rem;
    height: auto;
  }

  .container__hijo .heading {
    margin-top: 8rem;
    font-size: 4rem;
  }

  .contenido__servicio .btn {
    text-align: center
  }
}

@media screen and (max-width: 991px) {

  .contact {
    min-height: auto;
  }

  .footer {
    padding: 2rem 3%;
  }

  .footer__contenido {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
  }

  .miVideo {
    object-fit: cover;
  }


}

@media screen and (max-width: 855px) {
  #menu-icon {
    display: block;
  }

  #darkMode-icon {
    position: absolute;
    right: 7rem;
    font-size: 2.6rem;
    margin-bottom: 0.1rem;
  }

  #btn-wsp {
    color: var(--main-color);
  }

  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    height: 100vh;
    width: 100vw;
    padding: 2rem 3%;
    background: #000000e8;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    display: none;
    transition: 300ms all ease;
  }

  .navbar.active {
    display: block;
  }

  .navbar .nav_items {
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    margin-bottom: 45rem;
  }

  .navbar .nav_items {
    display: block;
    position: relative;
    transition: 300ms all;
    padding-top: 15%;
  }

  .nav_items .nav_item {
    font-size: 2rem;
    padding: 1.2rem;
    align-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
    transition: 300ms all;
  }

  .nav_item .list-nav {
    display: block;
    position: relative;
    transform: none;
    transition: 300ms all;
    margin-top: 1rem;
    background-color: transparent;
    border: 1px solid var(--shadow-color);
  }

  .list-nav .sub_menu_link {
    padding: .5rem;
  }

  .navbar a.active {
    color: var(--main-color);
  }

  .navbar a::before {
    display: none;
  }

  .nav_item .nav_link {
    color: var(--main-color);
    font-size: 2rem;
  }

  .header.sticky .nav_link {
    color: var(--main-color);
  }

  .footer__contenido {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  }

  .container__background-triangle {
    display: none;
  }

  .miVideo {
    object-fit: cover;
  }

  .container-contact {
    padding: 0;
  }
  .heading {
    font-size: 3.5rem;
    text-align: center;
    padding: 3rem 0;
  }
}

@media screen and (max-width: 768px) {

  .encabezado_funcion {
    width: 100%;
  }

  .box__funcion {
    width: 100%;
  }

  .footer__contenido {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  }

  .container__form {
    width: 100%;
  }

  .footer__copy {
    padding-bottom: 8rem;
  }

}

@media screen and (max-width: 617px) {
  .title_pricipal {
    display: flex;
    position: relative;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }

  .title_pricipal h1 {
    padding-top: 10rem;
  }

  .text-multiple {
    padding-top: 2rem;
  }

  .container_card_principal {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
    background: var(--fondo);
  }

  .card {
    padding: 2rem;
  }

  .card h2 {
    font-size: 3.5rem;
    color: var(--main-color);
  }

  .box__beneficio__esp h4 {
    font-size: 3rem;
  }

  .imag_ban {
    width: 10rem;
  }

  .price__table {
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
  }



  .footer__contenido {
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
    align-items: center;
    align-content: center;
  }

  .imagen__mascota {
    border: 1px solid var(--shadow-color);
  }

  .arrow_inicio {
    display: flex;
    margin-top: 52%;
  }

  .btn-header {
    width: 110px;
    height: 34px;
  }

  .iconr {
    padding: 1rem;
  }


}

@media screen and (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .footer__contenido {
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    align-items: center;
    align-content: center;
  }

  .footer__copy {
    width: 80%;
  }

  .footer__copyright {
    justify-content: start;
    width: 80%;
  }

  .home {
    padding: 0 3% 5rem;
  }

  .title_pricipal h1 {
    font-size: 5rem;
    margin: 1rem;
  }

  .footer__social {
    margin: 2rem 0;
  }
}

@media screen and (max-width: 365px) {

  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    text-align: center;
    margin-top: 2rem;
  }

  .title_pricipal h1 {
    font-size: 4.5rem;
    margin: 1rem;
  }
}